📄 index.php
字号:
<?php
require("../../class/connect.php");
include("../../class/db_sql.php");
include("../../class/config.php");
include("../../class/q_functions.php");
include("../../class/class.php");
$link=db_connect();
$empire=new mysqlquery();
$editor=1;
$id=(int)$_GET['id'];
$classid=(int)$_GET['classid'];
if(!$id||!$classid||!$class_r[$classid][tbname])
{
printerror("ErrorUrl","history.go(-1)");
}
$r=$empire->fetch1("select title,titleurl,groupid,classid,newspath,filename,id from {$dbtbpre}ecms_".$class_r[$classid][tbname]." where id='$id' limit 1");
if(empty($r[id]))
{
printerror("ErrorUrl","history.go(-1)");
}
$titleurl=sys_ReturnBqTitleLink($r);
db_close();
$empire=null;
$url="<a href=../../../>首页</a> > <a href='".$titleurl."'>".$r[title]."</a> > 提交错误报告";
include("../../data/template/cp_1.php");
?>
<form name="form1" method="post" action="../../enews/index.php">
<table width="600" border="0" align="center" cellpadding="3" cellspacing="1"class=tableborder>
<tr class=header>
<td height="23" colspan="2">提交错误报告</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="137" height="23"><div align="left">信息标题:</div></td>
<td width="448" height="23"><a href='<?=$titleurl?>' target=_blank><?=$r[title]?></a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="23"><div align="left">您的邮箱:</div></td>
<td height="23"><input name="email" type="text" id="email">
(方便回复您)</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="23"><div align="left">报告内容(*):</div></td>
<td height="23"><textarea name="errortext" cols="60" rows="12" id="name4"></textarea></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="23"> </td>
<td height="23"><input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="重置">
<input name="enews" type="hidden" id="enews" value="AddError">
<input name="id" type="hidden" id="id" value="<?=$id?>">
<input name="classid" type="hidden" id="classid" value="<?=$classid?>"></td>
</tr>
</table>
</form>
<?
include("../../data/template/cp_2.php");
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -