BVB Source Codes

Jie Yang v0.6.3 article system Show admin_check.asp Source code

Return Download Jie Yang v0.6.3 article system: download admin_check.asp Source code - Download Jie Yang v0.6.3 article system Source code - Type:.asp
  1. <%
  2. '查看登录的用户是否存在
  3. sql="select * from Article_admin where A_user='"&Request.Cookies("JYcms")("A_user")&"'"
  4. Set rs=Server.CreateObject("ADODB.RecordSet")
  5. rs.open sql,conn,1,1
  6. if rs.eof then
  7.   closers(rs)
  8.   Response.Write ("<script>{top.location.href='"&SiteUrl&InstallDir&AdminDir&"/admin_login.asp';}</script>")
  9.   response.end
  10. else
  11.         if Request.Cookies("JYcms")("A_pass")<>rs("A_pass") then
  12.           closers(rs)
  13.           Response.Write ("<script>{top.location.href='"&SiteUrl&InstallDir&AdminDir&"/admin_login.asp';}</script>")
  14.           response.end
  15.         else
  16.           Response.Cookies("JYcms")("A_flag")=rs("A_flag")
  17.           Response.Cookies("JYcms")("A_type")=rs("A_type")
  18.         end if
  19. end if
  20. Closers(rs)
  21.  
  22. '文章内容管理系统通用管理权限函数名称
  23. Function JYAdminLevel(sValue)    
  24.         JYAdminLevel=False
  25.         If sValue<>"" Then
  26.                 If Instr(","&Request.Cookies("JYcms")("A_flag")&",",","&sValue&",")>0 Or Request.Cookies("JYcms")("A_type")="超级管理员" Then
  27.                         JYAdminLevel=True
  28.                 Else
  29.                         JYAdminLevel=False
  30.                 End If
  31.         End If
  32. End Function
  33. %>
downloadadmin_check.asp Source code - Download Jie Yang v0.6.3 article system Source code
Related Source Codes/Software:
Jilin classification information release system v5.0 trial version - A ready-made classifieds site publishing system, h... 2016-09-21
Linyi CMS v6.5 market classification information - A. supply and demand information function: informa... 2016-09-21
Tesco discount net SQL version - And presentations, faster. 2016-09-21
- electronic enterprise website management system In a fully functional version - Super suitable for enterprise agents build a corpo... 2016-09-21
Rio mesh network hard disk system v3.0 - System functions: 1, increase the progress of Asp... 2016-09-21
Classified information network business in suzhou - Overall module: classification of supply and deman... 2016-09-21
NPOINT virtual host v1.7.0 formal version management system - The system main function is introduced 2016-09-21
IDC sales web site - Beautiful IDC sales web site source code 2016-09-21
Oo 126 CMS movie site system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
Pcook CMS bubble guest v3.0 SDCMS version - Developed by Asp+Access, and meet the needs of sma... 2016-09-21
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top