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

📄 web_company_viplevel.asp

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


 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<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>
  <tr>
    <td height="10"></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" bgcolor="eff0eb">
  <tr> 
    <td align="left" bgcolor="#FFFFFF">
<table width="500" border="0" cellpadding="4" cellspacing="1" bordercolor="#111111" bgcolor="#FFFFFF" class="text01" style="border-collapse: collapse">
        <tr bgcolor="eff0eb"> 
          <td width="10%" height="25" align="center" bgcolor="eff0eb"> 编号</td>
          <td width="25%" height="25" align="left" bgcolor="eff0eb"> 
            <p align="left">类别名称</td>
          <td width="25%" height="25" align="left" bgcolor="eff0eb"> 下载联系方式次数</td>
          <td width="20%" align="left">发布职位数</td>
          <td height="25"> <p align="center">操作</td>
        </tr>
        <%
SQL = "Select * From [pH_Company_VipLevel]"
Set Rs = Conn.Execute(SQL)
While Not Rs.Eof
 
%>
        <Form action="?action=submit&id=<%= Rs("i_Id") %>" method="post" name="<%= "theForm"&Rs("i_Id") %>">
          <tr bgcolor="eff0eb"> 
            <td width="8%" height="25"  align="center"><%= Rs("i_Id") %></td>
            <td width="20%" height="25" align="left" ><%= Rs("i_VipName") %></td>
            <td height="25" align="left" > <input name="vipclick" type="text" size="8" value="<%= Rs("i_VipClick") %>"> 
            </td>
            <td height="25" align="left" > <input name="vipjob" type="text" id="vipjob" value="<%= Rs("i_VipJob") %>" size="8"></td>
            <td height="25" align="center" > <input type="submit" name="Submit" value="编辑" onClick="{if(confirm('确实要修改改类别的参数!')){return true;}return false;}"></td>
          </tr>
        </Form>
        <% 
 Rs.Movenext
Wend
Rs.Close
Set Rs = Nothing



 %>
      </table> 
    </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="100%" border="0" align="left" cellpadding="0" cellspacing="1" bgcolor="eff0eb">
        <tr> 
          <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="0">
              <tr> 
                <td height="25" bgcolor="eff0eb"> &nbsp;注意:请谨慎修改下载联系方式的次数和发布职位的数</td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
<% 
Sub Submit()
 Dim VipClick,VipQx,Id,VipJob
 VipClick = SafeRequest("VipClick")
 
 Id = SafeRequest("Id")
 VipJob = SafeRequest("VipJob")
 SQL = "Update [pH_Company_VipLevel] Set i_VipClick="&VipClick&",i_VipJob="&VipJob&" Where i_Id="&Cstr(Id)
 Conn.Execute(SQL)
 CloseDB
 Response.Redirect "Web_Company_VipLevel.asp"
End Sub

Call CloseDB()
 %>

⌨️ 快捷键说明

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