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

138 lines
6.8KB

  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" href="../static/css/bootstrap.min.css">
  8. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link href='css/base.css' rel='stylesheet' type='text/css'>
  10. <script language="javascript" src="../static/js/jquery.js"></script>
  11. <script language="javascript" src="../static/js/dedeajax2.js"></script>
  12. <link href="../static/css/daterangepicker.css" rel="stylesheet">
  13. <script type="text/javascript" src="../static/js/moment.min.js"></script>
  14. <script type="text/javascript" src="../static/js/daterangepicker.js"></script>
  15. <script type="text/javascript" src="./js/main.js"></script>
  16. </head>
  17. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  18. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3">
  19. <tr>
  20. <td height="28" background="images/tbg.gif" style="padding-left:10px;"><b><a
  21. href="sys_task.php"><u>计划任务管理</u></a></b> &gt;&gt; 修改任务</td>
  22. </tr>
  23. <tr>
  24. <td height="200" bgcolor="#FFFFFF" valign="top">
  25. <form action="sys_task_edit.php" method="post" enctype="multipart/form-data" name="form1"
  26. onSubmit="return checkSubmit();" ;>
  27. <input type="hidden" name="dopost" value="save" />
  28. <input type="hidden" name="id" value="<?php echo $row['id']; ?>" />
  29. <table width="96%" border="0" cellspacing="1" cellpadding="3" align="center" class="table table-borderless">
  30. <tr>
  31. <td class='bline' width="200" height="36" align="center">任务名称:</td>
  32. <td class='bline'>
  33. <input name="taskname" type="text" class='pubinputs' id="taskname" size="30"
  34. value="<?php echo $row['taskname']; ?>" />
  35. </td>
  36. </tr>
  37. <tr>
  38. <td class='bline' height="36" align="center">运行程序:</td>
  39. <td class='bline'>
  40. <input name="dourl" type="text" id="dourl" size="30" class='pubinputs'
  41. value="<?php echo $row['dourl']; ?>" />
  42. (程序必须放在../plus/task目录,因此填写文件名即可)
  43. </td>
  44. </tr>
  45. <tr>
  46. <td class='bline' height="80" align="center">任务说明:</td>
  47. <td class='bline'><textarea name="description" id="description"
  48. style="width:380px;height:60px"><?php echo $row['description']; ?></textarea></td>
  49. </tr>
  50. <tr>
  51. <td class='bline' height="36" align="center">是否启用:</td>
  52. <td class='bline'>
  53. <label><input name="nislock" type="radio" value="0" <?php if($row['islock']==0) echo " checked"; ?>>
  54. 启用</label>&nbsp;
  55. <label><input name="nislock" type="radio" value="1" <?php if($row['islock']==1) echo " checked"; ?>>
  56. 不启用</label>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td class='bline' height="36" align="center">循环方式:</td>
  61. <td class='bline'>
  62. <label><input name="runtype" type="radio" value="0" <?php if($row['runtype']==0) echo " checked"; ?>>
  63. 循环</label>&nbsp;
  64. <label><input type="radio" name="runtype" value="1" <?php if($row['runtype']==1) echo " checked"; ?>>
  65. 一次性</label>
  66. </td>
  67. </tr>
  68. <tr>
  69. <td class='bline' height="36" align="center">执行时间:</td>
  70. <td class='bline'>
  71. <?php
  72. list($h, $m) = explode(':', $row['runtime']);
  73. ?>
  74. <input name="h" type="text" class="pubinputs" id="h" style="width:30px" value="<?php echo $h; ?>">
  75. 时(24小时制)
  76. <input name="m" type="text" class="pubinputs" id="m" style="width:30px" value="<?php echo $m; ?>">
  77. </td>
  78. </tr>
  79. <tr>
  80. <td class='bline' height="36" align="center">执行周期:</td>
  81. <td class='bline'>
  82. <label><input name="freq" type="radio" value="1" <?php if($row['freq']==1) echo " checked"; ?>>
  83. 天</label>&nbsp;
  84. <label><input type="radio" name="freq" value="7" <?php if($row['freq']==7) echo " checked"; ?>>
  85. 周</label>&nbsp;
  86. <label><input type="radio" name="freq" value="30" <?php if($row['freq']==30) echo " checked"; ?>>
  87. 月</label>
  88. </td>
  89. </tr>
  90. <tr>
  91. <td class='bline' height="36" align="center">开始时间:</td>
  92. <td class='bline'>
  93. <input name="starttime" type="text" class="datepicker" id="starttime"
  94. value="<?php echo ( empty($row['starttime']) ? '' : GetDateMk($row['starttime']) ); ?>">
  95. </td>
  96. </tr>
  97. <tr>
  98. <td class='bline' height="36" align="center">结束时间:</td>
  99. <td class='bline'>
  100. <input name="endtime" type="text" class="datepicker" id="endtime"
  101. value="<?php echo ( empty($row['endtime']) ? '' : GetDateMk($row['endtime']) ); ?>">
  102. (不限不要填写)
  103. </td>
  104. </tr>
  105. <tr>
  106. <td class='bline' align="center">
  107. 附加参数:
  108. </td>
  109. <td class='bline'>
  110. 通过get方式向运行的程序发送的参数,格式为:<b>&lt;t:parameter key='名称' value='值' /&gt;</b><br />
  111. <textarea name="parameter" id="parameter"
  112. style="width:480px;height:150px"><?php echo $row['parameter']; ?></textarea>
  113. </td>
  114. </tr>
  115. <tr>
  116. <td class='bline' height="28" align="center">上次运行时间:</td>
  117. <td class='bline'>
  118. <?php echo (empty($row['lastrun']) ? '没运行过' : GetDateTimeMk($row['lastrun'])); ?>
  119. </td>
  120. </tr>
  121. <tr>
  122. <td height="51">&nbsp;</td>
  123. <td>
  124. <button type="submit" name="Submit" class="btn btn-secondary"> 提 交 </button>   
  125. <button type="reset" name="Submit" class="btn btn-secondary"> 重 置 </button>
  126. </td>
  127. </tr>
  128. </table>
  129. </form>
  130. </td>
  131. </tr>
  132. </table>
  133. </body>
  134. </html>