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

  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. {
  10. if (document.form1.filename.value=="")
  11. {
  12. alert("文件名不能为空。");
  13. document.form1.filename.focus();
  14. return false;
  15. }
  16. }
  17. </script>
  18. </head>
  19. <body bgcolor="#F2F4F3" leftmargin="15" topmargin="10">
  20. <table width=98% border=0 cellpadding=0 cellspacing=0 bordercolor=#111111 style="border-collapse: collapse">
  21. <form method="POST" action="tpl.php" name=form1 onSubmit="return Post()">
  22. <input type="hidden" name="action" value="savenewfile" />
  23. <tr>
  24. <td width=78% valign="top">
  25. <table border=0 cellpadding=0 cellspacing=0 style="border-collapse: collapse" width=100%>
  26. <tr>
  27. <td width=16% height="25">工作目录:</td>
  28. <td width="84%"> &nbsp;&nbsp;&nbsp; <input name="path" size=40 value="<?php echo $path;?>" >
  29. (空白表示根目录 ,不允许用 “..” 形式的路径)</td>
  30. </tr>
  31. <tr>
  32. <td width=16% height="25">文件名称:</td>
  33. <td>
  34. &nbsp;&nbsp;&nbsp;
  35. <input name="filename" size="40" value="newfile.htm" />
  36. </td>
  37. </tr>
  38. <tr>
  39. <td width=16% height="25">文件内容:</td>
  40. <td>&nbsp;&nbsp;&nbsp;
  41. <textarea name="content" cols="150" rows="20" style="width:99%;"></textarea>
  42. </td>
  43. </tr>
  44. </table>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td>
  49. <br />
  50. <input type="submit" value=" 保 存 " name='B1' class="coolbg np" />
  51. &nbsp;
  52. <input type="reset" value="取消修改" name='B2' class="coolbg np" />
  53. &nbsp;
  54. <input type="button" value="不理返回" name='B4' class="coolbg np" onClick="javascript:history.go(-1);" />
  55. <br /> <br />
  56. </td>
  57. </tr>
  58. </form>
  59. </table>
  60. </body>
  61. </html>