1
0
Fork 0
MySQLDumper/tpl/sqlbrowser/mysql_search.tpl

83 Zeilen
3 KiB
Smarty

2011-06-10 21:28:27 +00:00
<div id="sqlsearch">
<form action="sql.php?db={DB_NAME_URLENCODED}&amp;search=1" method="post" name="suche">
<fieldset>
<legend><b>{LANG_SQLSEARCH}</b></legend>
<p class="Formbutton">
<b>{LANG_SQL_SEARCHWORDS}:</b> <input class="Formtext" type="text" style="width:300px;" name="suchbegriffe" value="{SUCHBEGRIFFE}" />
<input type="submit" name="suche" value="{LANG_START_SQLSEARCH}" class="Formbutton" />
<input type="submit" name="reset" value="{LANG_RESET_SEARCHWORDS}" class="Formbutton" onclick="document.suche.suchbegriffe.value='';" />
<span style="font-size:10px;">{LANG_SEARCH_EXPLAIN}<br /></span>
</p>
<br class="clear" />
<fieldset>
<legend><b>{LANG_SEARCH_OPTIONS}</b></legend>
<input type="radio" id="and" name="suchart" value="AND"{AND_SEARCH} />
<label for="and" onmouseover="this.style.cursor='pointer'">{LANG_SEARCH_OPTIONS_AND}</label>
<br />
<input type="radio" id="or" name="suchart" value="OR"{OR_SEARCH} />
<label for="or" onmouseover="this.style.cursor='pointer'">{LANG_SEARCH_OPTIONS_OR}</label>
<br />
<input type="radio" id="concat" name="suchart" value="CONCAT"{CONCAT_SEARCH} />
<label for="concat" onmouseover="this.style.cursor='pointer'">{LANG_SEARCH_OPTIONS_CONCAT}</label>
<br />
{LANG_SEARCH_IN_TABLE}:&nbsp;&nbsp;
<select name="table_selected" size="1" onchange="document.suche.submit();">
{TABLE_OPTIONS}
</select>
<input type="hidden" name="offset" value="0" />
{HIDDEN_FIELDS}
</fieldset>
</fieldset>
</form>
<!-- BEGIN HITS -->
{HITS.LANG_SEARCH_RESULTS}:<br />
<p class="Formbutton">
<input type="button" value="&nbsp;<<&nbsp;" class="Formbutton"
onclick="document.suche.offset.value='{HITS.LAST_OFFSET}';document.suche.submit();"
{HITS.BACK_BUTTON_DISABLED} accesskey="c" />
<input type="button" value="&nbsp;>>&nbsp;" class="Formbutton"
onclick="document.suche.offset.value='{HITS.NEXT_OFFSET}';document.suche.submit();"
{HITS.NEXT_BUTTON_DISABLED} accesskey="v" />
{HITS.LANG_ACCESS_KEYS}
</p>
<br class="clear" />
<br />
<table cellpadding="0" cellspacing="0" class="bdr">
<tr class="thead">
<th class="thead">&nbsp;</th>
<th class="thead" style="text-align:left">#</th>
<!-- BEGIN TABLEHEAD -->
<th class="thead" style="text-align:left">{HITS.TABLEHEAD.KEY}</th>
<!-- END TABLEHEAD -->
</tr>
<!-- BEGIN TABLEROW -->
<tr class="{HITS.TABLEROW.CLASS}">
<td class="nowrap">
<a href="{HITS.TABLEROW.LINK_EDIT}">{HITS.TABLEROW.ICON_EDIT}</a><a href="{HITS.TABLEROW.LINK_DELETE}">{HITS.TABLEROW.ICON_DELETE}</a>
</td>
<td style="text-align:right;">{HITS.TABLEROW.NR}.&nbsp;</td>
<!-- BEGIN TABLEDATA -->
<td>{HITS.TABLEROW.TABLEDATA.VAL}</td>
<!-- END TABLEDATA -->
</tr>
<!-- END TABLEROW -->
</table>
<!-- END HITS -->
<!-- BEGIN NO_RESULTS -->
{NO_RESULTS.LANG_SEARCH_NO_RESULTS}
<!-- END NO_RESULTS -->
<!-- BEGIN NO_ENTRIES -->
{NO_ENTRIES.LANG_NO_ENTRIES}
<!-- END NO_ENTRIES -->
</div>
<script type="text/javascript">
/*<![CDATA[*/
document.suche.suchbegriffe.focus();
/*]]>*/
</script>