1
0
Fork 0
MySQLDumper/tpl/sqlbrowser/sqlbox.tpl
2015-05-22 13:43:20 +02:00

56 Zeilen
2,8 KiB
Smarty

<p class="sqlheadmenu">
<a href="main.php?action=db&amp;dbid={DBID}" onclick="setMenuActive('m1');" title="{LANG_BACK_TO_DB_OVERVIEW}">
<img src="{ICONPATH}arrowleft.gif" alt="" title=""></a>
<a title="{LANG_TOOLBOX}" href="sql.php?db={DB}&amp;dbid={DBID}&amp;context=3">
<strong>[{LANG_TOOLS}]</strong></a>
&nbsp;<strong>{LANG_DB}:</strong>
`<a title="{LANG_DB}" href="sql.php?db={DB}&amp;dbid={DBID}"><strong>{DB}</strong></a>`
<!-- BEGIN TABLE_SELECTED -->
&nbsp;<strong>{LANG_TABLE}:</strong> `<a href="sql.php?db={DB}&amp;dbid={DBID}&amp;tablename={TABLENAME}" title="{LANG_SQL_TABLEVIEW}"><strong>{TABLENAME}</strong></a>`
<!-- END TABLE_SELECTED -->
</p>
<!-- BEGIN SQLUPLOAD -->
<form action="{SQLUPLOAD.POSTTARGET}" method="post" enctype="multipart/form-data">
<table class="bordersmall">
<tr>
<td>{SQLUPLOAD.LANG_OPENSQLFILE}</td>
<td><input type="file" name="upfile" class="Formbutton"></td>
<td><input type="submit" class="Formbutton" name="submit_openfile" value="{SQLUPLOAD.LANG_OPENSQLFILE_BUTTON}"></td>
<td>{SQLUPLOAD.LANG_SQL_MAXSIZE}: <b>{SQLUPLOAD.MAX_FILESIZE}</b></td>
</tr>
</table>
</form>
<!-- END SQLUPLOAD -->
<div id="ymysqlbox">
<form action="sql.php" method="post">
<div id="sqlheaderbox">
<a href="#" onclick="resizeSQL(0);">
<img src="{ICONPATH}close.gif" width="16" height="16" alt="" border="0" vspace="0" hspace="0" align="bottom"></a>&nbsp;&nbsp;
<a href="#" onclick="resizeSQL(1);">
<img src="{ICONPATH}arrowup.gif" width="16" height="16" alt="show less" border="0" vspace="0" hspace="0" align="bottom"></a>
&nbsp;<a href="#" onclick="resizeSQL(2);"><img src="{ICONPATH}arrowdown.gif" width="16" height="16" alt="show more" border="0" vspace="0" hspace="0" align="bottom"></a>
&nbsp;&nbsp;&nbsp;
<input class="Formbutton" type="button" onclick="document.location.href='{PARAMS}&amp;context=1'" value="{LANG_SQL_BEFEHLE}">
<!-- BEGIN SQLCOMBO -->
{SQLCOMBO.SQL_COMBOBOX}&nbsp;&nbsp;
<!-- END SQLCOMBO -->
{TABLE_COMBOBOX}&nbsp;
<input class="Formbutton" type="reset" name="reset" value="{LANG_RESET}">&nbsp;
<input class="Formbutton" type="submit" name="execsql" value="{LANG_SQL_EXEC}">&nbsp;
&nbsp;&nbsp;<a href="{PARAMS}&amp;readfile=1">{ICON_UPLOAD}</a>
&nbsp;&nbsp;<a href="{PARAMS}&amp;search=1">{ICON_SEARCH}</a>
&nbsp;&nbsp;<a href="{MYSQL_REF}" title="{MYSQL_HELP}" target="_blank">{ICON_MYSQL_HELP}</a>
</div>
<div>
<textarea style="height:{BOXSIZE}px;" name="sqltextarea" id="sqltextarea" rows="4" cols="10">{BOXCONTENT}</textarea>
<div class="sqlbox-warning" align="center">{LANG_SQL_WARNING}</div>
<input type="hidden" name="db" value="{DB}">
<input type="hidden" name="tablename" value="{TABLENAME}">
<input type="hidden" name="dbid" value="{DBID}">
</div>
</form>
</div>
<br>