<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title><!--{$smarty.const.MICE_TITLE}--></title>
<base href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/" />
<link href="css/Default.css" rel="stylesheet" type="text/css" />
<link href="css/fieldset.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
var baseurl = '<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/';
</script>
<script type="text/javascript" src="js/Main.js"></script>
</head>

<body>
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-collapse: separate; border-spacing: 6px;">
	  <form action="<!--{$formaction}-->" method="post" name="form1" id="form1" onsubmit="return CheckForm()">
      <tr valign="top">
        <td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
			
			<tr>
			  <td width="100%" style="padding:6px 10px;" class="blockTd">
			  <div style="float: left;"><img src="imgs/Icons/icon034a12.gif" />留言编辑</div>
			  <div style="float: right; white-space: nowrap;vertical-align:middle;"><a href='javascript:history.back(-1);' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon008a20.gif" /><b>返回&nbsp;</b></a></div>
			 </td>
            </tr>
            <tr>
              <td style="padding-top:0px;padding-left:6px;padding-right:6px;padding-bottom:8px;">

<!--内容开始-->
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" >
	<form action="" method="post" name="form1" id="form1">
	<tr>
		<td width="70%" valign="top">
			<fieldset class="adminform">
				<legend>输入SQL语句</legend>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" height="240">
					<tr>
						<td width="65" class="key" height='20'>说明:</td>
						<td colspan="2">
							&nbsp;1、本功能直接操作数据库，对系统不熟悉者请勿使用；<br>
							&nbsp;2、多个SQL语句之间用分号(;)分割；<br>
							&nbsp;3、表名无需带前缀,比如user表,表名可以直接写为#__user；<br><br>
						</td>
					</tr>
					<tr>
						<td width="65" class="keyred" height='20'>SQL语句:</td>
						<td colspan="2">
							&nbsp;<textarea name="sql" cols="90" rows="10"><!--{$sql}--></textarea>
						</td>
					</tr>
				</table>
			</fieldset>
		</td>
	</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
	<tr > 
		<td bgcolor="#F9F9F9" height="30" valign='middle'>
			&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="执行[E]" accesskey="e"/>&nbsp;&nbsp;<input type="reset" value="重置[R]" accesskey="r"/>
		</td>
	</tr>
	</form>
</table>
<br>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" >
	<form action="<!--{$formaction}-->" method="post" name="form2" id="form2" onsubmit="mice_checkbox_getvalue(document.form2.clist)">
	<tr>
		<td width="70%" valign="top">
			<fieldset class="adminform">
				<legend>执行结果</legend>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
					<tr>
						<td>
							&nbsp;<!--{$exeresult}-->
						</td>
					</tr>
				</table>
			</fieldset>
		</td>
	</tr>
</table>

<!--内容结束-->
		</td>
		</tr>
	</table></td>
  </tr>
  </form>
</table>
</body>
</html>