report.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. if(!defined('InEmpireCMS'))
  3. {
  4. exit();
  5. }
  6. ?>
  7. <?php
  8. $public_diyr['pagetitle']='提交错误报告';
  9. $url="<a href=../../../>首页</a>&nbsp;>&nbsp;<a href='".$titleurl."'>".$r[title]."</a>&nbsp;>&nbsp;提交错误报告";
  10. require(ECMS_PATH.'e/template/incfile/header.php');
  11. ?>
  12. <form name="form1" method="post" action="../../enews/index.php">
  13. <table width="600" border="0" align="center" cellpadding="3" cellspacing="1"class=tableborder>
  14. <input type="hidden" name="cid" value="<?=$cid?>">
  15. <tr class=header>
  16. <td height="23" colspan="2">提交错误报告</td>
  17. </tr>
  18. <tr bgcolor="#FFFFFF">
  19. <td width="137" height="23"><div align="left">信息标题:</div></td>
  20. <td width="448" height="23"><a href='<?=$titleurl?>' target=_blank><?=$r[title]?></a></td>
  21. </tr>
  22. <tr bgcolor="#FFFFFF">
  23. <td height="23"><div align="left">您的邮箱:</div></td>
  24. <td height="23"><input name="email" type="text" id="email">
  25. (方便回复您)</td>
  26. </tr>
  27. <tr bgcolor="#FFFFFF">
  28. <td height="23"><div align="left">报告内容(*):</div></td>
  29. <td height="23"><textarea name="errortext" cols="60" rows="12" id="name4"></textarea></td>
  30. </tr>
  31. <?php
  32. if($public_r['reportkey'])
  33. {
  34. ?>
  35. <tr bgcolor="#FFFFFF">
  36. <td height="23">验证码:</td>
  37. <td height="23">
  38. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  39. <tr>
  40. <td width="52"><input name="key" type="text" id="key" size="6">
  41. </td>
  42. <td id="reportshowkey"><a href="#EmpireCMS" onclick="edoshowkey('reportshowkey','report','<?=$public_r['newsurl']?>');" title="点击显示验证码">点击显示验证码</a></td>
  43. </tr>
  44. </table>
  45. </td>
  46. </tr>
  47. <?php
  48. }
  49. ?>
  50. <tr bgcolor="#FFFFFF">
  51. <td height="23">&nbsp;</td>
  52. <td height="23"><input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="重置">
  53. <input name="enews" type="hidden" id="enews" value="AddError">
  54. <input name="id" type="hidden" id="id" value="<?=$id?>">
  55. <input name="classid" type="hidden" id="classid" value="<?=$classid?>"></td>
  56. </tr>
  57. </table>
  58. </form>
  59. <?php
  60. require(ECMS_PATH.'e/template/incfile/footer.php');
  61. ?>