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

119 lines
5.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_edit.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return checkSubmit();";>
  17. <input type="hidden" name="dopost" value="save" />
  18. <input type="hidden" name="id" value="<?php echo $row['id']; ?>" />
  19. <table width="96%" border="0" cellspacing="1" cellpadding="3" align="center">
  20. <tr>
  21. <td class='bline' width="100" height="36" align="center">任务名称:</td>
  22. <td class='bline'>
  23. <input name="taskname" type="text" class='pubinputs' id="taskname" size="30" value="<?php echo $row['taskname']; ?>" />
  24. </td>
  25. </tr>
  26. <tr>
  27. <td class='bline' height="36" align="center">运行程序:</td>
  28. <td class='bline'>
  29. <input name="dourl" type="text" id="dourl" size="30" class='pubinputs' value="<?php echo $row['dourl']; ?>" />
  30. (程序必须放在../plus/task目录,因此填写文件名即可)
  31. </td>
  32. </tr>
  33. <tr>
  34. <td class='bline' height="80" align="center">任务说明:</td>
  35. <td class='bline'><textarea name="description" id="description" style="width:380px;height:60px"><?php echo $row['description']; ?></textarea></td>
  36. </tr>
  37. <tr>
  38. <td class='bline' height="36" align="center">是否启用:</td>
  39. <td class='bline'>
  40. <input name="nislock" type="radio" value="0" <?php if($row['islock']==0) echo " checked"; ?>>
  41. 启用&nbsp;
  42. <input name="nislock" type="radio" value="1" <?php if($row['islock']==1) echo " checked"; ?>>
  43. 不启用
  44. </td>
  45. </tr>
  46. <tr>
  47. <td class='bline' height="36" align="center">循环方式:</td>
  48. <td class='bline'>
  49. <input name="runtype" type="radio" value="0" <?php if($row['runtype']==0) echo " checked"; ?>>
  50. 循环&nbsp;
  51. <input type="radio" name="runtype" value="1" <?php if($row['runtype']==1) echo " checked"; ?>>
  52. 一次性
  53. </td>
  54. </tr>
  55. <tr>
  56. <td class='bline' height="36" align="center">执行时间:</td>
  57. <td class='bline'>
  58. <?php
  59. list($h, $m) = explode(':', $row['runtime']);
  60. ?>
  61. <input name="h" type="text" class="pubinputs" id="h" style="width:30px" value="<?php echo $h; ?>">
  62. 时(24小时制)
  63. <input name="m" type="text" class="pubinputs" id="m" style="width:30px" value="<?php echo $m; ?>">
  64. </td>
  65. </tr>
  66. <tr>
  67. <td class='bline' height="36" align="center">执行周期:</td>
  68. <td class='bline'>
  69. <input name="freq" type="radio" value="1" <?php if($row['freq']==1) echo " checked"; ?>>
  70. 天&nbsp;
  71. <input type="radio" name="freq" value="7" <?php if($row['freq']==7) echo " checked"; ?>>
  72. 周&nbsp;
  73. <input type="radio" name="freq" value="30" <?php if($row['freq']==30) echo " checked"; ?>>
  74. </td>
  75. </tr>
  76. <tr>
  77. <td class='bline' height="36" align="center">开始时间:</td>
  78. <td class='bline'>
  79. <input name="starttime" type="text" class="pubinputs" id="starttime" style="width:70px" onClick="SelectDate(this,'yyyy-MM-dd',80,0)" value="<?php echo ( empty($row['starttime']) ? '' : GetDateMk($row['starttime']) ); ?>">
  80. </td>
  81. </tr>
  82. <tr>
  83. <td class='bline' height="36" align="center">结束时间:</td>
  84. <td class='bline'>
  85. <input name="endtime" type="text" class="pubinputs" id="endtime" style="width:70px" onClick="SelectDate(this,'yyyy-MM-dd',80,0)" value="<?php echo ( empty($row['endtime']) ? '' : GetDateMk($row['endtime']) ); ?>">
  86. (不限不要填写)
  87. </td>
  88. </tr>
  89. <tr>
  90. <td class='bline' align="center">
  91. 附加参数:
  92. </td>
  93. <td class='bline'>
  94. 通过get方式向运行的程序发送的参数,格式为:<b>&lt;t:parameter key='名称' value='值' /&gt;</b><br/>
  95. <textarea name="parameter" id="parameter" style="width:480px;height:150px"><?php echo $row['parameter']; ?></textarea>
  96. </td>
  97. </tr>
  98. <tr>
  99. <td class='bline' height="28" align="center">上次运行时间:</td>
  100. <td class='bline'>
  101. <?php echo (empty($row['lastrun']) ? '没运行过' : GetDateTimeMk($row['lastrun'])); ?>
  102. </td>
  103. </tr>
  104. <tr>
  105. <td height="51">&nbsp;</td>
  106. <td>
  107. <input type="submit" name="Submit" value=" 提 交 " class="coolbg np" />   
  108. <input type="reset" name="Submit" value=" 重 置 " class="coolbg np" />
  109. </td>
  110. </tr>
  111. </table>
  112. </form>
  113. </td>
  114. </tr>
  115. </table>
  116. </body>
  117. </html>