<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" type="text/css" href="template/default/content/css/style.css">
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>

<title>Office 515158 2011 OA办公系统</title>
</head>
<body class="bodycolor">
<table width="80%" border="0" align="center" cellpadding="3" cellspacing="0" class="small">
  <tr>
    <td class="Big"><img src="template/default/content/images/notify_new.gif" align="absmiddle"><span class="big3"> 任务进度录入</span>&nbsp;&nbsp;&nbsp;&nbsp;
	<span style="font-size:12px; float:right; margin-right:20px;">
	
	<a href="admin.php?ac=log&fileurl=<?php echo $fileurl?>&did=<?php echo $_GET['did']?>" style="font-size:12px;"><<返回列表页</a></span>
    </td>
  </tr>
</table>
<script Language="JavaScript"> 
function CheckForm()
{
   if(document.save.progress.value=="")
   { alert("完成进度不能为空！");
     document.save.progress.focus();
     return (false);
   }
   if(document.save.content.value=="")
   { alert("内容不能为空！");
     document.save.content.focus();
     return (false);
   }
   
   return true;
}
function sendForm()
{
   if(CheckForm())
      document.save.submit();
}
</script>
<form name="save" method="post" action="?ac=<?php echo $ac;?>&do=add&fileurl=<?php echo $fileurl;?>&did=<?php echo $duty['id'];?>">
	<input type="hidden" name="view" value="add" />
	<input type="hidden" name="did" value="<?php echo $duty['id'];?>" />
	<input type="hidden" name="duid" value="<?php echo $uid['id'];?>" />
<table class="TableBlock" border="0" width="80%" align="center" style="border-bottom:#4686c6 solid 0px;">



	
	<tr>
      <td nowrap class="TableContent" width="15%"> 完成进度：<? get_helps()?></td>
      <td colspan="3" class="TableData">
      <input type="text" name="progress" class="BigInput"  size="15" value="" onKeyUp="value=value.replace(/[^0-9^.]/g,'');" />
      %,注这里填写占总进度的百分之多少</td>
    </tr>
	<tr>
      <td nowrap class="TableContent" width="15%"> 附件文档：</td>
      <td colspan="3" class="TableData">
      <?php echo public_upload('appendix','')?></td>
    </tr>
	<tr>
      <td nowrap class="TableContent" width="15%"> 备注：</td>
      <td colspan="3" class="TableData">
      <textarea name="note" cols="60" rows="5" style="width:590px;" class="BigInput"></textarea></td>
    </tr>
	</table>
<table  width="80%" style="border-left:#4686c6 solid 1px;border-right:#4686c6 solid 1px;" align="center">	
    <tr>
      <td width="15%"  style="border-right:#CCCCCC solid 1px;" class="TableContent">&nbsp;完成内容：<? get_helps()?></td>
      <td width="85%" style="padding-top:10px; padding-bottom:10px; padding-left:3px;">
<?php echo php_ueditor_js();?><?php echo php_ueditor('','600','300');?>
      </td>
    </tr>
</table>
<table class="TableBlock" border="0" width="80%" align="center" style="border-bottom:#4686c6 solid 0px;">
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap height="35">

		<input type="button" name="Submit" value="保存信息" class="BigButton" onclick="sendForm();"> 
        
      </td>
    </tr>
  </table>
</form>
 
</body>
</html>
