57 Zeilen
2,8 KiB
Smarty
57 Zeilen
2,8 KiB
Smarty
|
<p class="sqlheadmenu">
|
||
|
<a href="main.php?action=db&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}&dbid={DBID}&context=3">
|
||
|
<strong>[{LANG_TOOLS}]</strong></a>
|
||
|
<strong>{LANG_DB}:</strong>
|
||
|
`<a title="{LANG_DB}" href="sql.php?db={DB}&dbid={DBID}"><strong>{DB}</strong></a>`
|
||
|
<!-- BEGIN TABLE_SELECTED -->
|
||
|
<strong>{LANG_TABLE}:</strong> `<a href="sql.php?db={DB}&dbid={DBID}&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>
|
||
|
<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>
|
||
|
<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>
|
||
|
|
||
|
<input class="Formbutton" type="button" onclick="document.location.href='{PARAMS}&context=1'" value="{LANG_SQL_BEFEHLE}">
|
||
|
<!-- BEGIN SQLCOMBO -->
|
||
|
{SQLCOMBO.SQL_COMBOBOX}
|
||
|
<!-- END SQLCOMBO -->
|
||
|
{TABLE_COMBOBOX}
|
||
|
<input class="Formbutton" type="reset" name="reset" value="{LANG_RESET}">
|
||
|
<input class="Formbutton" type="submit" name="execsql" value="{LANG_SQL_EXEC}">
|
||
|
|
||
|
<a href="{PARAMS}&readfile=1">{ICON_UPLOAD}</a>
|
||
|
<a href="{PARAMS}&search=1">{ICON_SEARCH}</a>
|
||
|
<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>
|