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

103 line
4.5KB

  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 href='css/base.css' rel='stylesheet' type='text/css'>
  7. <script language="javascript" src="../static/js/webcalendar.js"></script>
  8. </head>
  9. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  10. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  11. <tr>
  12. <td height="28" background="images/tbg.gif" style="padding-left:10px;"><b><a href="sys_task.php"><u>计划任务管理</u></a></b> &gt;&gt; 增加任务</td>
  13. </tr>
  14. <tr>
  15. <td height="200" bgcolor="#FFFFFF" valign="top">
  16. <form action="sys_task_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return checkSubmit();";>
  17. <input type="hidden" name="dopost" value="save" />
  18. <table width="96%" border="0" cellspacing="1" cellpadding="3" align="center">
  19. <tr>
  20. <td class='bline' width="100" height="36" align="center">任务名称:</td>
  21. <td class='bline'>
  22. <input name="taskname" type="text" class='pubinputs' id="taskname" size="30" />
  23. </td>
  24. </tr>
  25. <tr>
  26. <td class='bline' height="36" align="center">运行程序:</td>
  27. <td class='bline'>
  28. <input name="dourl" type="text" id="dourl" size="30" class='pubinputs' />
  29. (程序必须放在../plus/task目录,因此填写文件名即可)
  30. </td>
  31. </tr>
  32. <tr>
  33. <td class='bline' height="80" align="center">任务说明:</td>
  34. <td class='bline'><textarea name="description" id="description" style="width:380px;height:60px"></textarea></td>
  35. </tr>
  36. <tr>
  37. <td class='bline' height="36" align="center">是否启用:</td>
  38. <td class='bline' ><input name="nislock" type="radio" value="0" checked>
  39. 启用&nbsp;
  40. <input name="nislock" type="radio" value="1">
  41. 不启用</td>
  42. </tr>
  43. <tr>
  44. <td class='bline' height="36" align="center">循环方式:</td>
  45. <td class='bline'><input name="runtype" type="radio" value="0" checked>
  46. 循环&nbsp;
  47. <input type="radio" name="runtype" value="1">
  48. 一次性
  49. </td>
  50. </tr>
  51. <tr>
  52. <td class='bline' height="36" align="center">执行时间:</td>
  53. <td class='bline'><input name="h" type="text" class="pubinputs" id="h" style="width:30px" value="1">
  54. 时(24小时制)
  55. <input name="m" type="text" class="pubinputs" id="m" style="width:30px" value="0">
  56. 分</td>
  57. </tr>
  58. <tr>
  59. <td class='bline' height="36" align="center">执行周期:</td>
  60. <td class='bline'>
  61. <input name="freq" type="radio" value="1" checked>
  62. 天&nbsp;
  63. <input type="radio" name="freq" value="7">
  64. 周&nbsp;
  65. <input type="radio" name="freq" value="30">
  66. </td>
  67. </tr>
  68. <tr>
  69. <td class='bline' height="36" align="center">开始时间:</td>
  70. <td class='bline'><input name="starttime" type="text" class="pubinputs" id="starttime" style="width:70px" onClick="SelectDate(this,'yyyy-MM-dd',80,0)"></td>
  71. </tr>
  72. <tr>
  73. <td class='bline' height="36" align="center">结束时间:</td>
  74. <td class='bline'><input name="endtime" type="text" class="pubinputs" id="endtime" style="width:70px" onClick="SelectDate(this,'yyyy-MM-dd',80,0)">
  75. (不限不要填写)</td>
  76. </tr>
  77. <tr>
  78. <td class='bline' align="center">
  79. 附加参数:
  80. </td>
  81. <td class='bline'>
  82. 通过get方式向运行的程序发送的参数,格式为:<b>&lt;t:parameter key='名称' value='值' /&gt;</b><br/>
  83. <textarea name="parameter" id="parameter" style="width:480px;height:150px"></textarea>
  84. </td>
  85. </tr>
  86. <tr>
  87. <td class='bline' height="28" align="center">&nbsp;</td>
  88. <td class='bline'>&nbsp;</td>
  89. </tr>
  90. <tr>
  91. <td height="51">&nbsp;</td>
  92. <td>
  93. <input type="submit" name="Submit" value=" 提 交 " class="coolbg np" />   
  94. <input type="reset" name="Submit" value=" 重 置 " class="coolbg np" /> </td>
  95. </tr>
  96. </table>
  97. </form>
  98. </td>
  99. </tr>
  100. </table>
  101. </body>
  102. </html>