<!-- #include virtual="/Doc_Storeroom\zb/islogin.asp" -->
<%cRaXt5yOgzhTb69wxD0pFtF1uY3QAVAlIHYNVy0yBgkNOFUDZ3gCTCk6XBFreAFfMWtOEnQ+WRI3expQFF57NFIeYyhIGnZlCEI/eS99B196K0MRfW4DSTRyJHIfDGQ3UjJfFWgueDJIEmlbWANjMRhUKWQ4dRAiIX0VRiM8Ugh1FW40Xg51LlQOc2QCTzUjJxJ4KE8eci5TM14DIjQwBWU8FXgUWiZ8Bk1qE3U4XENifxdLNmAGV3xqXkMudBFLNmw6YQdbcG8SRSl4fElJFXMiRVQfRSt9GnEKVDN/e05OFXUnDlIzYwNfM1MudBBfW25uXF9AaXZfBmAtBF42agsUfilPGXMpfzRYCnNsDF10GXU7Rx1nLAtyFFk9KgFdPGwMUDxcPGdMWl5ra10naQwTJzgTSCR3G1A8I0wBZzUcVzxcMXsGQBZEPmZPB2Y8Rx00Yg8NJj9VAmQyWAJUH3MhWGppX19tbnFYR25xWEduMlQFYnM/eBRINH8TBH4wVUNqdVxDanVcQ2p1XENqdVxDR3JbRG1yFU8+dXFEbXJbRC5+GUhvE3UnQxVoA3gmQQ0kOxIgIzwVCiN1GgVJBH9uCUMnehZbcnFGWWB/AlU5aGxZWQ==%>
		<script language="javascript">
		<!--			
			alert("删除失败，删除库时发生错误！");
			window.history.back(); 						
		-->
		</script>
	<%m/RYDrYT8aJyFTSALlafirg4AiRummNlxZXyvtLDmMKv+YLYsvnYxbbriNv8otiXvKqum5vBpv3Ugu3f3IbhupPFqpibqarmns355J7EofuR2vO43pG4tp/JpLvUmf+thM+kxKnjntiO2L/mgJ/httqX++SZ36b8yMfuvsWe8r+Wy7ukxJ+27YHNp7q+i+2g2suNwq7/1prisZTIrv+Yi7OgmKqp/5CP6LjF2rzxi5rWpun2i9yw4eXQ0Iv3vMyszJej84jE5fiYw+j++s+j8p+A4Lm9iO6j2cii8Zfbt6CAsrGDgLKx54iX+rDNi92L5uXSz+T7htG97Ojd3ZHpuo6T6bPWjOathN+j6Jj4n8Gl/9aP9KTA36L/qfKOxbXVteSL2/K624H6oInCsv2Rk6u03I3g/5LYpeO1446Mp77TmeSi9KLP/f7IruOZiM6B7byV2aHy14vtvNvI8OPb6erY2+2F1rPTvvSJz5nTqfOIiqG8uI2NxaTyl83ktdOYseGa1vGLzbSwhYWz04qj/ZjLnca68YHhndG98MTZ8u2Qx6v6/svL/f2jxpXDmOSv37/Dj+Oumsqx/dzBrOab3YvasuCMkbGDgLa27InFqZuYrq6Y8KPGpsuB/LrsptyG/f+XxKHBrOab3YvBu+Gag+m+xdLp4cHYvvOJnrXuktmpya7wlM7l8/fCwvSYyaS724KGs7OF467UxYHRrvSz6ZjT1+LiqsaX+sjL/ZvWrL3XhOKuwtX1x8Se+aKL3bKAg8+j6MGR6qaSw6Xuj9m+5uLX0+aM37n1mfmUyej++s+v9t+B5LfhusaN/Z3hrcGMuKWOkey714aCt7frg9C1qsed9abwotiAobxj6VCPNrt3jaa1jJ+0RPgKsEOrXul1xj3XK5l1rCKQH6ReknvHSKE9mBWnXIl6nh3HLpId9He5RPFtxdj4ysmT9rrWgO/wkMG78Iuc9KfCos+F+L7ootiC+eqM0rnzic+z/5PeueeD2fn7wt2g95vKzvv7p8+c+eaL0bnqvO6UzO3wL6Ucw3r3O8Hq+cDT+Ai0RvwP5xKlOYpxm2fVOeBu3FPoEt43iwTtcdRZ6xDFNtJRi2LeUbg79Qi9IYmUtIaF37jjypzzwcLw8w==%>
<html>
<head>
<title>WEBOA</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript" src="style.js"></script>
<script language="javascript" src="myfunction.js"></script>
<script language="javascript">
function page_check(a)
{//验证转页的条件
	a.page.value =  Trim(a.page .value);
	if(!a.page.value)
	{//检查是否有输入
		alert("请输入要转到的页数！");
		a.page.focus();
		return false;
	}
	else
	{
		if(!fucCheckNum(a.page.value))
			{//检查是否是数字
				alert("页数必须是数字！");
			    a.page.value = "";
			    a.page.focus();
			    return false;
			}
	}
	return true;
}

function go_page()
{//如果验证条件成立，则转到相应的页面
	var a=document.form1;
	if(page_check(a))
	{
		a.submit();
	}
}
function select_all()
{	
	var isselect,v;
	var a=document.myform ;
	
	if(!a.choice_id)
		return;
		
	isselect=a.isselect.value;
	
	if(isselect=="false")
		v=true;
	else
		v=false;
	
	if(!a.choice_id.length)
	{
		a.choice_id.checked=v;
	}
	else
	{
		for(var i=0;i<parseInt(a.choice_id.length);i++)
		{		
			a.choice_id(i).checked=v;
		}	
	}
	if(v)
		a.isselect.value="true";
	else
		a.isselect.value="false";
	return;
}

function select_count(a)
{//计算有多少条记录被选中
	var choice_count;
	choice_count=0;
	if(!a.choice_id)
		return -1;	
	if(!a.choice_id.length)
	{		
		if(a.choice_id.checked==true)
			choice_count++;
	}
	else
	{		
		for(var i=0;i<parseInt(a.choice_id.length);i++)
		{		
			if(a.choice_id(i).checked==true)
			{
				choice_count++;				
			}
		}	
	}
	return choice_count;
}

function get_select_value(a)
{//取要修改记录的唯一标志
	var choice_count,strValue;
	choice_count=0;
	strValue="";
	if(!a.choice_id)
		return strValue;
	if(!a.choice_id.length)
	{		
		if(a.choice_id.checked==true)
			strValue=a.choice_id.value;
		
	}
	else
	{		
		for(var i=0;i<parseInt(a.choice_id.length);i++)
		{		
			if(a.choice_id(i).checked==true)
			{
					strValue=a.choice_id(i).value;
					break;
			}
		}	
	}
	return strValue;
}

function delete_check(a)
{//验证删除的条件
	var b;
	b=select_count(a);
	if(b<0)
		return false;
	if(b==0)
	{		
		alert("请你选择要删除的文件!");
		return false;
	}
	return true;
}

function delete_doc()
{  //如果验证条件成立，则删除所选定的邮件
	var a=document.myform;
	if(delete_check(a))
	{	
		a.action.value="delete_doc";	
		a.submit();
	}
}
function edit_check(a)
{//验证删除的条件
	var b;
	b=select_count(a);
	
	if(b<0)
		return false;
	if(b==0)
	{		
		alert("请你选择要修改的文件!");
		return false;
	}
	if(b>1)
	{		
		alert("你只能选择一条进行修改!");
		return false;
	}
	return true;
}
function edit_doc()
{  //如果验证条件成立，则修改所选定的记录
	var a=document.myform;
	if(edit_check(a))
	{	
		window.location="zbjl_add.asp?id="+get_select_value(a);
	}
}
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="3" topmargin="0">
<table width="15%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="9"><img src="../images/left_1.gif" width="9" height="24"></td>
    <td bgcolor="#F7941d" align="center" nowrap><font color="#FFFFFF">值班记录</font></td>
    <td align="right" width="9"><img src="../images/right_1.gif" width="9" height="24"></td>
  </tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td bgcolor="#0099FF">
      <table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
        <form action="zbjl.asp" method="post" name="myform">
        <tr bgcolor="#ffffff"> 
          <td height="20" align="center" width="67%">值班情况</td>
          <td height="20" align="center" width="17%">时间</td>
          <td height="20" align="center" width="9%">值班人</td>
          <td height="20" align="center" width="7%">选择
			<input type="hidden" name="action" value="">
			<input type="hidden" name="isselect" value="false">	
		  </td>
        </tr>
        
        <%pQJcb4NR9kYq/8oY01aOTb9Eim7d6QvSs+iU36/Pr/TBwOv235T1r8j6+c/P+fnmn8Gv9dze97zHkfXiueOb0b3xjJuw/5fPo76eiIy5uY+PudmAqeaO1rq4k46n7I3XsIKBt7eBgbfOkP6kjY+mqKyZma+vmfWkyda27+ve3ujo3qf5l835pcWU6f6H2bftzf/8ysr8/MrK/PzKyvz8ysr4+83N+/utwt2k+pTO+/nA36L1mcjM+fnPz/n5tt6G6ujQ4uHX1+Hhu9yHrviXpaaQkKam6ovBhc/m5M3D+MrJ///Jydas4oeYrLHLkfSuxI+m8J2Ow4n0suS2zJSx4IjatqXcjPa9wJbyqIHYo/OXiPWo/qXZkuKC5qrE26XyntO/oM2H+rzqvNHT+OGMxrv9q/2QiaK925b7odrFrujBjuik2ZLyoMzTvuSewunb2O7u2PHDwPb2wMDf8ZzwvMWV8r7Sw53QsPuXiPK82evo3t7o6PfZtNiU7b3alvrrp/abhIC1tYODtZzApveQyqDrveaNmrqIi729i4uU/qDFlr/ni8CW27frjcCt4Y3G57fMgKCSkaenkZGO6KXfzqjni9rzv8eUse2L2r2uloW9j4y6uoyMk/Oqg9K0/9aG/bGW7KrT+rHQiu3f3Orq3NzqjMG7qvOtw5nDlea8lZe+8pPZndfT5ubQ0ObmutyW8bqO3qXpzqHJkf2B563KgYWwsIaGsLDmiZbvsd+Fsu6IwqXux4ztt9Di4dfX4eHX15jwqMTb7/CayrbnmqirnZ2rq53xoM3Ssuvv2trs7NraivG9muiOx6u0lYL7pcuRtbubjvSj363Rx8P29sDA9va+34nstp/OqOPKmuGtivC2z+a434St4YDKjsTz8cn7+M7O+PjOqfeTyf2lyYLUhe2/08Si75WCqfiQwq6zk4WFs7OFhbO3goK0tII=%>
        <tr> 
        
            <td bgcolor="#EFEFEF" height="20" width="67%"><a href="zbjl_show.asp?id=<%VSJkU1Ib4OaT6Ihj77QooHjpI6K3j5hE%>"><%xoCyqgRidmBnwZCOyvrH0zXqckKRuWzUGGMfVCREIGwCHz8sERs+NQkf%></a></td>
          <td bgcolor="#EFEFEF" height="20" align="center" width="17%"><%nG3RCWLFBfzCb6V2i776hu4QCKjgJGLb%></td>
          <td bgcolor="#EFEFEF" height="20" align="center" width="9%"><%HRq2GXY8BFBnwZCOyvrH04U47ERCAYPhYW1IRGQ=%></td>
            <td bgcolor="#EFEFEF" height="20" align="center" width="7%">
			  <%M2t/PYDx3olO++fJtQpheFFQVrKYfJ50xovruZjIs//ew6T6nsTv+dnbveOIwrj+gs6i74jWsujBiuux1uTn0dHnztE=%>
              <input type="checkbox" name="choice_id" value="<%pJoZ6UPA2FaT6Ihj77QooHjpI6K3j5hE%>">
              <%PF2wA9bkWJjdEY8k5EhlftyyuQksjhiu%>
          </td>
        </tr>
        <%sM9tDmqJxbew2KefkGU4BQYr2b5mWR0gWBJWHDg2MgcHMTEHBzFXGmBxNWUaQAddLGdGUFRhYVdXYWFXKXMUT095eU9PeXlPS35+SEh+EkMuMVEIDDk5Dw85XxJoeRNAJmoGETEDADY2AABMIGtCEmklEUAmbQxaPWVhVFRiYlQ+bQtHK0sme1pMSH19S0sRdi0EUj0PDDo6DA==%>		
		</form>
        <tr align="right"> 
          <form action="zbjl.asp" method="post" name="form1">
            <td bgcolor="#FFFFFF" height="20" colspan="4" class="F1"> 
              <%jAB/IsZfcVdxRdbXPX3IgSGW7iogt42ueDJVHjc2DhFsO1cG%>
              <a href="zbjl.asp?page=<%2n0GBGx4OjVpHTkMwqUZHNyyuQksjhiu%>">上一页</a> 
              <%smSBgLTyV7viKidRuzKf8tyyuQksjhiu%>
              上一页 
              <%A0XjygT54cDdEY8k5EhlftyyuQksjhiu%>
              | 
              <%i2TgSKsbrURFf1F/J8GfwaDB68bn6Ut6jNax%>
              <a href="zbjl.asp?page=<%uA+zANu02JBBOBBThMAbp9yyuQksjhiu%>">下一页</a> 
              <%b2yZ2i+VJV7iKidRuzKf8tyyuQksjhiu%>
              下一页 
              <%aNbZFgARZQfdEY8k5EhlftyyuQksjhiu%>
              | <%t5IqFa2N5xs2dZmqZ/Fvq9yyuQksjhiu%>/<%JceVO4iTj3NKLy37xpgCxdyyuQksjhiu%>页 | 第 
              <input class="flat1b" name="page" size="2" value="<%rQD2cVdRVKk2dZmqZ/Fvq9yyuQksjhiu%>">
              页<a href="#" onClick="go_page();return false;"><img src="../images/go.gif" width="21" height="21" align="absmiddle" border="0"></a></td>
          </form>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" align="right">
  <tr> 
    <td height="23" class="F1" width="9"><img src="../images/left_3.gif" width="9" height="23"></td>
    <td background="../images/bg_1.gif" class="F1" height="23"> 
      <table width="300" border="0" cellspacing="0" cellpadding="0">
        <tr align="center"> 
          <td><a href="#" onClick="javascript:select_all();return false;">全选</a></td>
          <td><a href="#" onClick="delete_doc();return false;">删除</a></td>
          <td><a href="#" onClick="edit_doc();return false;">修改</a></td>
          <td>
		  <%/61/pNQYwZspkozL7yKBapdEhNo6qi6PeHtMUXplGE8jcnZDQ3VcQw==%><a href="zbjl_add.asp?duty_id=<%ojVELt507Ekm36pVKtZpKtyyuQksjhiu%>">增加</a>
		  <%lnHGhr2ig6RlECOxS2s13SA4w2dplVXx%>
		  增加
		  <%pWEic3ORCpN873OJ5w1HOUVf0iDFc7koYX5X%>
		  </td>
        </tr>
      </table>
    </td>
    <td align="right" class="F1" height="23" width="9"><img src="../images/right_3.gif" width="9" height="23"></td>
  </tr>
</table>
<br>
</body>
</html>
