国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.3KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  6. <title>文件编辑</title>
  7. <link rel="stylesheet" type="text/css" href="css/base.css">
  8. <script>
  9. function Post() {
  10. if (document.form1.filename.value == "") {
  11. alert("文件名不能为空。");
  12. document.form1.filename.focus();
  13. return false;
  14. }
  15. }
  16. </script>
  17. </head>
  18. <body bgcolor="#F2F4F3" leftmargin="15" topmargin="10">
  19. <table width=98% border=0 cellpadding=0 cellspacing=0 bordercolor=#111111 style="border-collapse: collapse">
  20. <form method="POST" action="tpl.php" name=form1 onSubmit="return Post()">
  21. <input type="hidden" name="action" value="savenewfile" />
  22. <tr>
  23. <td width=78% valign="top">
  24. <table border=0 cellpadding=0 cellspacing=0 style="border-collapse: collapse" width=100%>
  25. <tr>
  26. <td width=16% height="25">工作目录:</td>
  27. <td width="84%"> &nbsp;&nbsp;&nbsp; <input name="path" size=40 value="<?php echo $path;?>">
  28. (空白表示根目录 ,不允许用 “..” 形式的路径)</td>
  29. </tr>
  30. <tr>
  31. <td width=16% height="25">文件名称:</td>
  32. <td>
  33. &nbsp;&nbsp;&nbsp;
  34. <input name="filename" size="40" value="newfile.htm" />
  35. </td>
  36. </tr>
  37. <tr>
  38. <td width=16% height="25">文件内容:</td>
  39. <td>&nbsp;&nbsp;&nbsp;
  40. <textarea name="content" cols="150" rows="20" style="width:99%;"></textarea>
  41. </td>
  42. </tr>
  43. </table>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td>
  48. <br />
  49. <input type="submit" value=" 保 存 " name='B1' class="coolbg np" />
  50. &nbsp;
  51. <input type="reset" value="取消修改" name='B2' class="coolbg np" />
  52. &nbsp;
  53. <input type="button" value="不理返回" name='B4' class="coolbg np" onClick="javascript:history.go(-1);" />
  54. <br /> <br />
  55. </td>
  56. </tr>
  57. </form>
  58. </table>
  59. </body>
  60. </html>