www.gusucode.com > Destoon B2B仿淘宝电子商务网站 UTF8 v6.0源码程序 > destoon/admin/template/database_execute.tpl.php
<?php defined('DT_ADMIN') or exit('Access Denied'); include tpl('header'); show_menu($menus); ?> <form method="post" action="?" onsubmit="return check();"> <input type="hidden" name="file" value="<?php echo $file;?>"/> <input type="hidden" name="action" value="<?php echo $action;?>"/> <div class="tt">执行SQL</div> <table cellpadding="2" cellspacing="1" class="tb"> <tr> <td> <textarea name="sql" id="sql" style="width:98%;height:150px;overflow:visible;font-family:Fixedsys,verdana;"></textarea></td> </tr> <tr> <td> <input type="submit" name="submit" value="执 行" class="btn"/> <span id="dsql" class="f_red"></span></td> </tr> </table> </form> <script type="text/javascript"> function check() { if(Dd('sql').value == '') { Dmsg('SQL语句不能为空', 'sql'); return false; } return confirm('确定要执行此语句吗?此操作将不可恢复'); } </script> <script type="text/javascript">Menuon(3);</script> <?php include tpl('footer');?>