国内流行的内容管理系统(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.

61 lines
2.3KB

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