BVB Source Codes

Seven VIP jubilee dance CMS management system Show Hits.asp Source code

Return Download Seven VIP jubilee dance CMS management system: download Hits.asp Source code - Download Seven VIP jubilee dance CMS management system Source code - Type:.asp
  1. <!--#include file="Sql_Conn.asp"-->
  2. <%
  3. if request.querystring("l")="dj" then
  4. id=trim(request.QueryString("id"))
  5. set rs=server.createobject("adodb.recordset")
  6. sql="select * from ylmv_dj where dj_id="&cstr(id)
  7. rs.open sql,conn,1,3
  8.         rs("Hits")=rs("Hits")+1
  9.         If DateDiff("D", rs("LastHitTime"), Now()) <= 0 Then
  10.             rs("DayHits") = rs("DayHits") + 1
  11.         Else
  12.             rs("DayHits") = 1
  13.         End If
  14.         If DateDiff("ww", rs("LastHitTime"), Now()) <= 0 Then
  15.             rs("WeekHits") = rs("WeekHits") + 1
  16.         Else
  17.             rs("WeekHits") = 1
  18.         End If
  19.         If DateDiff("m", rs("LastHitTime"), Now()) <= 0 Then
  20.             rs("MonthHits") = rs("MonthHits") + 1
  21.         Else
  22.             rs("MonthHits") = 1
  23.         End If
  24.         rs("LastHitTime") = Now()
  25.         rs.Update
  26. %>
  27. document.write('<font color=\"#FF0000\"><%=rs("hits")%><\/font>');
  28. <%
  29. set rs=nothing
  30. conn.close
  31. set conn=nothing
  32.  
  33. elseif request.querystring("l")="special" then
  34. SpecialID=trim(request.QueryString("id"))
  35. set rs=server.createobject("adodb.recordset")
  36. sql="select * from ylmv_djspecial where SpecialID="&cstr(SpecialID)
  37. rs.open sql,conn,1,3
  38.                 rs("hits")=rs("hits")+1
  39.                 rs.Update
  40. %>
  41. document.write('<font color=\"#FF0000\"><%=rs("hits")%><\/font>');
  42. <%
  43. set rs=nothing
  44. conn.close
  45. set conn=nothing
  46.  
  47. elseif request.querystring("l")="web" then
  48. UserID=trim(request.QueryString("id"))
  49. set rs=server.createobject("adodb.recordset")
  50. sql="select * from Ylmv_Web where UserID="&cstr(UserID)
  51. rs.open sql,conn,1,3
  52.                 rs("hits")=rs("hits")+1
  53.                 rs.Update
  54. %>
  55. document.write('<font color=\"#FF0000\"><%=rs("hits")%><\/font>');
  56. <%
  57. set rs=nothing
  58. conn.close
  59. set conn=nothing
  60. end if
  61. %>
downloadHits.asp Source code - Download Seven VIP jubilee dance CMS management system Source code
Related Source Codes/Software:
Jie Yang v0.6.3 article system - System functions: 1, the system settings A confi... 2016-09-21
Download IT mop stand (with site to download the database ACC) - Background management: http://www.xxx.com/admin/ad... 2016-09-21
Pcook CMS bubble guest v3.0 SDCMS version - Developed by Asp+Access, and meet the needs of sma... 2016-09-21
PeterCMS3 v3.2 - PeterCMS is the original sirenCMS and a series of ... 2016-09-21
Subdomain hosting edition v1.9 s taobao, pat - The background site admin 2016-09-21
126oo CMS film station system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
Copy the site source code v2.01 - It is ok to cover the folder % S 2016-09-21
ETsale simple product sales management system V3.0 formal version - ETsale3.0 is developed by PHP+MySQL+Smarty+jQuery ... 2016-09-21
Mobile - shop. Tk all source code - Admin admin.php no database. The total data Modi... 2016-09-22
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