⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 web_educate_update.asp

📁 直接附加数据库! 修改 Include/ Class_Main.asp 为自己信息 后台admin admin 绍兴人才网程序
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<!--#include file="../Include/Class_Pass.asp" -->
<!--#include file="Web_Session.asp" -->
<% 
Dim Action,Comid,PageNo
Dim TypeId,TypeName,News
'//检测是否跨站
Call Check_url()
'//检测管理员是否有权限操作该页面
If Instr(1,Session("Web_Power"),"140") <= 0 Then 
  Call CloseDB()
  Response.write "对不起!您没有访问该页面的权限..."
  Response.End()
End If

Action = Request.QueryString("action")
If Action = "submit" Then Call Submit() '//调用保存数据的函数

Schid     = Replace_Text(Request.QueryString("Schid"))
PageNo    = Request.QueryString("PageNo")

'//调用存储过程
Set Cmd = Server.CreateObject("ADODB.Command")
Cmd.ActiveConnection = Conn
Cmd.CommandText = "Edu_BasicInfo"
Cmd.CommandType = 4
Cmd.Parameters.Append Cmd.CreateParameter("@Schid",200,1,30)
Cmd.Parameters("@Schid") = Schid
Set Rs = Cmd.Execute
If Rs.Eof Then
 CloseRs
 Set Cmd = Nothing
 CloseDB
 Response.write "没有找到会员资料!"
 Response.End()
End if

Tmp = Rs.GetRows() '//将数据填充到数组

'//0院校名,1院校性质,2图片文件,3成立年份,4现有资产,5资金类型,6人员数目,7介绍,8联系人,9电话,10传真,11网站,12邮政编码,13邮件地址,14通信地址,15所在省份,16城市
'//如 Tmp(0,0) 表示院校名称
CloseRs
Set Cmd = Nothing

'//功能代码
SchoolName              = Tmp(0,0)
Properity               = Tmp(1,0)
BannerFile              = Tmp(2,0)
Set_Year                = Tmp(3,0)
Reg_Currency            = Tmp(4,0)
CurrencyType            = Tmp(5,0)
Workers                 = Tmp(6,0)
School_Memo             = Tmp(7,0)
ContactPerson           = Tmp(8,0)
Phone                   = Tmp(9,0)
Fax                     = Tmp(10,0)
WebHome                 = Tmp(11,0)
ZipCode                 = Tmp(12,0)
Email                   = Tmp(13,0)
Address                 = Tmp(14,0)
Locus_Area              = Tmp(15,0)
Locus_City              = Tmp(16,0)

If School_Memo <> "" Then School_Memo = Replace(School_Memo,"<br>",Chr(13))
SchoolType = Cls_EducateType(Properity)
 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script language="JavaScript" src="../js/Company_Basicinfo.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<link href="../CSS/css.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="5"></td>
  </tr>
  <tr> 
    <td height="25" bgcolor="fb7a03">&nbsp;<font color="#FFFFFF">::<strong>编辑信息</strong></font></td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="5"></td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr> 
    <td align="left"><table width="80%" border="0" cellspacing="0" cellpadding="0">
        <form action="?action=submit" name="edit" method="post" onSubmit="return form_check();">
          <tr> 
            <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="eeeeee">
                <tr> 
                  <td bgcolor="#FFFFFF"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr> 
                        <td height="2"></td>
                      </tr>
                    </table>
                    <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="eeeeee">
                      <tr> 
                        <td height="25" bgcolor="f5f5f5"><b><font color="#000000">&nbsp;基本信息</font></b></td>
                      </tr>
                    </table>
                    <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1">
                      <tr> 
                        <td width="18%" height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 机构名称:</td>
                        <td height="25" bgcolor="f9f9f9"> <input name="schoolname" type="text" id="schoolname" size="50" maxlength="50" style="width:200px;" value="<%= Schoolname %>">
                          如:北京大学</td>
                      </tr>
                      <tr> 
                        <td height="25" align="right">机构性质:</td>
                        <td height="25"> <select name="properity" id="properity" style="width:120px;">
                            <option value="10" <% If Properity = 10 Then Response.write "Selected" %>>国有企业</option>
                            <option value="20" <% If Properity = 20 Then Response.write "Selected" %>>民营企业</option>
                            <option value="30" <% If Properity = 30 Then Response.write "Selected" %>>外商独资企业</option>
                            <option value="40" <% If Properity = 40 Then Response.write "Selected" %>>合资企业</option>
                            <option value="50" <% If Properity = 50 Then Response.write "Selected" %>>股份制企业</option>
                            <option value="60" <% If Properity = 60 Then Response.write "Selected" %>>集体企业</option>
                            <option value="70" <% If Properity = 70 Then Response.write "Selected" %>>事业单位</option>
                            <option value="80" <% If Properity = 80 Then Response.write "Selected" %>>社会团体</option>
                            <option value="90" <% If Properity = 90 Then Response.write "Selected" %>>行政机关</option>
                            <option value="100" <% If Properity = 100 Then Response.write "Selected" %>>其他类别</option>
                            <option value="110" <% If Properity = 110 Then Response.write "Selected" %>>高等院校</option>
                          </select></td>
                      </tr>
                      <tr> 
                        <td width="18%" height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 成立年份:</td>
                        <td height="25" bgcolor="f9f9f9"><input name="set_year" type="text" size="4" maxlength="4" value="<%= Set_year %>">
                          年</td>
                      </tr>
                      <tr> 
                        <td height="25" align="right"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 现有资产:</td>
                        <td height="25"><input name="reg_currency" type="text" size="25" maxlength="25" style="width:100px;"  value="<%= Reg_currency %>">
                          万元 
                          <select name="currencytype" id="currencytype" style="width:80px;">
                            <option value="1" <% If Currencytype = 1 Then Response.write "Selected" %>>人民币</option>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -