日期:2014-05-16 浏览次数:20693 次
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
</head>
<!--#include file="adoconn.asp"-->
<!--#include file="identify.asp"-->
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="2" id="xueshengku_html" style="padding-left:0px;"></td>
</tr>
</table>
<body>
<form action="" method="post" name="form1">
<div id="add_plan">
<table width="403" cellspacing="1" cellpadding="1" border="0">
<tr>
<td align="left" bgcolor="#009999"><font size="2" color="#000000">时间:</font>
<input name="ph" type="text" id="ph" size="7" value="0">
<input name="fsj" type="text" id="fsj" size="7" value="<%=formatdatetime(now,3)%>">
<td align="center"><input name="add_plan2" type="button" id="add_plan2" value="添加" onClick="javascript:add1();window.location.reload();"/> <input name="reset" type="reset" id="reset" value="关闭" onClick="javascript:close1();"/></td>
</tr>
</table>
</form>
</div>
</body>
<div id="edit_plan" style="background-color:#ffffff; height:130px;" ></div>
<script language="javascript" src="jquery.js"></script>
<script language="javascript" src="modify_ajax_yc.js"></script>
<script language="javascript">
$.post("plan2.asp?jihao1=<%=request("jihao1")%>&jihao2=<%=request("jihao2")%>&xingm=<%=request("xingm")%>",{act:"list"},
function(data)
{
$("#xueshengku_html").html(data);
}
);
function fpage(str)
{
//这里要分割str
m=str.replace("?","");
n=m.split("&");
ko='';
page=1;
for(i=0;i<n.length;i++)
{
s0=n[i];//得到 page=2 act=list id=578
s1=s0.split("=");
if(s1[0]=="page")
{
page=s1[1];
}
}
$.post("plan2.asp?jihao1=<%=request("jihao1")%>&jihao2=<%=request("jihao2")%>&xingm=<%=request("xingm")%>",{act:"list",page:page},
function(data)
{
$("#xueshengku_html").html(data);
}
);
}
function edit1(id)
{
$.post("plan2.asp?jihao1=<%=request("jihao1")%>&jihao2=<%=request("jihao2")%>&xingm=<%=request("xingm")%>",{id:id,act:"edit"},
function(data)
{
str=data.split("|");
//alert(str);
str0='<table width="100%" border="1" cellspacing="0" cellpadding="0"></table>';
document.getElementById("edit_plan").innerHTML=str0;
//$("#edit_plan").html(str0);
$("#edit_plan").css("display","block");
}
&