<!--#include file="check_out.asp"-->
<!--#include file="conn.asp"-->
<html>
<head><title>同学资料填写</title>
<link type="text/css" rel="stylesheet" href="css.css"/>
</head>
<body>
<%
dim chk,id
id=trim(request("id"))
chk=trim(request("chk"))
if chk="edt" then
  if not IsInt(id) or id="" then
    response.write "对不起参数错误"
	response.end
  end if
  sql="select * from kefu where id="&id
  set rs=server.CreateObject("adodb.recordset")
  rs.open sql,conn
  if not rs.eof then
    company=trim(rs("company"))
    lxname=trim(rs("lxname"))
    tel=trim(rs("tel"))
    fax=trim(rs("fax"))
    mob=trim(rs("mob"))
    email=trim(rs("email"))
    address=trim(rs("address"))
    qq=trim(rs("qq"))
    bz=inHtml(trim(rs("bz"))) 
	sex=trim(rs("sex"))
	work=trim(rs("work"))
  end if
  rs.close
  set rs=nothing
else
  chk="add"
end if

%>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="left" height="30"></td>
  </tr>
</table>
<table width="300" height="26" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" class="fb"><a href="member_add.asp" class="t1">添加个人资料</a></td>
    <td align="center" class="fb"><a href="member_list.asp" class="t1">查看全部同学资料</a></td>
  </tr>
</table>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="left" height="20"></td>
        </tr>
</table>
      <table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="28" align="left" valign="middle" class="fb"><strong>同学资料填写：</strong><span class="f12hui">（请同学们详细准确无误填写）</span></td>
        </tr>
</table>
      <table width="600" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#AFDBDE">
        <form name="form1" method="post" action="kehu_save.asp?act=<%=chk%>&id=<%=id%>">
          <tr bgcolor="#FFFFFF">
            <td align="right">姓名：</td>
            <td align="left"><label>
              <input name="lxname" type="text" id="lxname3" size="15" value="<%=lxname%>" />
            </label></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right">性别：</td>
            <td align="left">
              <input name="sex" type="radio" value="男" <%if sex="" or sex="男" then%> checked<%end if%>>
男
<input name="sex" type="radio" value="女" <%if sex="女" then%> checked<%end if%>>
女&nbsp;</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right">所在单位：</td>
            <td align="left"><input name="company" type="text" id="company" size="40" value="<%=company%>" /></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right">公司主营业务：</td>
            <td align="left"><textarea name="bz" cols="60" rows="4" id="bz"><%=bz%></textarea>            </td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right">职位：</td>
            <td align="left"><input name="work" type="text" id="work" size="15" value="<%=work%>"></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right">办公电话：</td>
            <td align="left"><input name="tel" type="text" id="tel" size="40" value="<%=tel%>" /></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right">传真：</td>
            <td align="left"><input name="fax" type="text" id="fax" size="40" value="<%=fax%>" /></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right">手机：</td>
            <td align="left"><input name="mob" type="text" id="mob" size="40" value="<%=mob%>" /></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right"> Email：</td>
            <td align="left"><input name="email" type="text" id="email" size="40" value="<%=email%>" /></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right">QQ：</td>
            <td align="left"><input name="qq" type="text" id="qq" size="40" value="<%=qq%>" /></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align="right">详细地址：</td>
            <td align="left"><input name="address" type="text" id="address" size="60" value="<%=address%>" /></td>
          </tr>

          <!--<tr bgcolor="#FFFFFF">
                <td align="right">时间：</td>
              <td align="left">
			  <input type="text" name="inDate" size="26" maxlength="19" value="<%=indate%>"  readonly>
<input type="button" name="change2" value="展开"  onclick="show_cele_date(change2,'','',inDate)">
               </td>
            </tr>-->

          <tr bgcolor="#FFFFFF">
            <td align="right"></td>
            <td align="left"><input type="submit" name="Submit" value=" 提 交 " />            </td>
          </tr>
        </form>
      </table>
      <table width="600" height="26" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="left" class="fb">&nbsp;</td>
          </tr>
</table>
        <table width="600" height="26" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="left" class="fb">系统制作：<a href="http://www.21it.com" target="_blank">江西世纪网络</a></td>
          </tr>
        </table>
</body>
</html>
