|
- <!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
-
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
- <title>计划任务</title>
- <link rel="stylesheet" href="../static/css/bootstrap.min.css">
- <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
- <link href='css/base.css' rel='stylesheet' type='text/css'>
- <script language="javascript" src="../static/js/jquery.js"></script>
- <script language="javascript" src="../static/js/dedeajax2.js"></script>
- <link href="../static/css/daterangepicker.css" rel="stylesheet">
- <script type="text/javascript" src="../static/js/moment.min.js"></script>
- <script type="text/javascript" src="../static/js/daterangepicker.js"></script>
- <script type="text/javascript" src="./js/main.js"></script>
- </head>
-
- <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
- <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3">
- <tr>
- <td height="28" background="images/tbg.gif" style="padding-left:10px;"><b><a
- href="sys_task.php"><u>计划任务管理</u></a></b> >> 修改任务</td>
- </tr>
- <tr>
- <td height="200" bgcolor="#FFFFFF" valign="top">
- <form action="sys_task_edit.php" method="post" enctype="multipart/form-data" name="form1"
- onSubmit="return checkSubmit();" ;>
- <input type="hidden" name="dopost" value="save" />
- <input type="hidden" name="id" value="<?php echo $row['id']; ?>" />
- <table width="96%" border="0" cellspacing="1" cellpadding="3" align="center" class="table table-borderless">
- <tr>
- <td class='bline' width="200" height="36" align="center">任务名称:</td>
- <td class='bline'>
- <input name="taskname" type="text" class='pubinputs' id="taskname" size="30"
- value="<?php echo $row['taskname']; ?>" />
- </td>
- </tr>
- <tr>
- <td class='bline' height="36" align="center">运行程序:</td>
- <td class='bline'>
- <input name="dourl" type="text" id="dourl" size="30" class='pubinputs'
- value="<?php echo $row['dourl']; ?>" />
- (程序必须放在../plus/task目录,因此填写文件名即可)
- </td>
- </tr>
- <tr>
- <td class='bline' height="80" align="center">任务说明:</td>
- <td class='bline'><textarea name="description" id="description"
- style="width:380px;height:60px"><?php echo $row['description']; ?></textarea></td>
- </tr>
- <tr>
- <td class='bline' height="36" align="center">是否启用:</td>
- <td class='bline'>
- <label><input name="nislock" type="radio" value="0" <?php if($row['islock']==0) echo " checked"; ?>>
- 启用</label>
- <label><input name="nislock" type="radio" value="1" <?php if($row['islock']==1) echo " checked"; ?>>
- 不启用</label>
- </td>
- </tr>
- <tr>
- <td class='bline' height="36" align="center">循环方式:</td>
- <td class='bline'>
- <label><input name="runtype" type="radio" value="0" <?php if($row['runtype']==0) echo " checked"; ?>>
- 循环</label>
- <label><input type="radio" name="runtype" value="1" <?php if($row['runtype']==1) echo " checked"; ?>>
- 一次性</label>
- </td>
- </tr>
- <tr>
- <td class='bline' height="36" align="center">执行时间:</td>
- <td class='bline'>
- <?php
- list($h, $m) = explode(':', $row['runtime']);
- ?>
- <input name="h" type="text" class="pubinputs" id="h" style="width:30px" value="<?php echo $h; ?>">
- 时(24小时制)
- <input name="m" type="text" class="pubinputs" id="m" style="width:30px" value="<?php echo $m; ?>">
- 分
- </td>
- </tr>
- <tr>
- <td class='bline' height="36" align="center">执行周期:</td>
- <td class='bline'>
- <label><input name="freq" type="radio" value="1" <?php if($row['freq']==1) echo " checked"; ?>>
- 天</label>
- <label><input type="radio" name="freq" value="7" <?php if($row['freq']==7) echo " checked"; ?>>
- 周</label>
- <label><input type="radio" name="freq" value="30" <?php if($row['freq']==30) echo " checked"; ?>>
- 月</label>
- </td>
- </tr>
- <tr>
- <td class='bline' height="36" align="center">开始时间:</td>
- <td class='bline'>
- <input name="starttime" type="text" class="datepicker" id="starttime"
- value="<?php echo ( empty($row['starttime']) ? '' : GetDateMk($row['starttime']) ); ?>">
- </td>
- </tr>
- <tr>
- <td class='bline' height="36" align="center">结束时间:</td>
- <td class='bline'>
- <input name="endtime" type="text" class="datepicker" id="endtime"
- value="<?php echo ( empty($row['endtime']) ? '' : GetDateMk($row['endtime']) ); ?>">
- (不限不要填写)
- </td>
- </tr>
- <tr>
- <td class='bline' align="center">
- 附加参数:
- </td>
- <td class='bline'>
- 通过get方式向运行的程序发送的参数,格式为:<b><t:parameter key='名称' value='值' /></b><br />
- <textarea name="parameter" id="parameter"
- style="width:480px;height:150px"><?php echo $row['parameter']; ?></textarea>
- </td>
- </tr>
- <tr>
- <td class='bline' height="28" align="center">上次运行时间:</td>
- <td class='bline'>
- <?php echo (empty($row['lastrun']) ? '没运行过' : GetDateTimeMk($row['lastrun'])); ?>
- </td>
- </tr>
- <tr>
- <td height="51"> </td>
- <td>
- <button type="submit" name="Submit" class="btn btn-secondary"> 提 交 </button>
- <button type="reset" name="Submit" class="btn btn-secondary"> 重 置 </button>
- </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
-
- </html>
|