{*
 * CubeCart v6
 * ========================================
 * CubeCart is a registered trade mark of CubeCart Limited
 * Copyright CubeCart Limited 2025. All rights reserved.
 * UK Private Limited Company No. 5323904
 * ========================================
 * Web:   https://www.cubecart.com
 * Email:  hello@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>
	  
	</form>
	<p><strong>{$LANG.common.tip}:</strong> {$LANG.maintain.sql_delimiter}</p>
	<h4>{$LANG.common.example}:</h4>
	<p class="courier">UPDATE `CubeCart_inventory` SET `tax_type` = 1; #EOQ<br>
	DELETE FROM `CubeCart_logo` WHERE `status` = 0; #EOQ</p>
</div>