{*
 * CubeCart v6
 * ========================================
 * CubeCart is a registered trade mark of CubeCart Limited
 * Copyright CubeCart Limited 2015. All rights reserved.
 * UK Private Limited Company No. 5323904
 * ========================================
 * Web:   http://www.cubecart.com
 * Email:  sales@cubecart.com
 * License:  GPL-3.0 https://www.gnu.org/licenses/quick-guide-gplv3.html
 *}
<div id="general" class="tab_content">
	<h3>{$LANG.maintain.title_query_db}</h3>
	<p>{$INFO} {if !empty($PREFIX)} {$LANG.maintain.table_prefix}: '{$PREFIX}'{/if}</p>
	<form action="{$VAL_SELF}" method="post">
		<fieldset><legend>{$LANG.maintain.query_box}</legend>
		<textarea name="query" id="query" rows="20" style="width: 100%">{$VAL_QUERY}</textarea>
	  <div>
		<input type="hidden" name="execute" value="1">
		<input type="hidden" name="previous-tab" id="previous-tab" value="sql">
		<input type="submit" value="{$LANG.common.go}">
	  </div>
	  </fieldset>
	  <input type="hidden" name="token" value="{$SESSION_TOKEN}">
	</form>
</div>