award.asp
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:4k
源码类别:

数据库编程

开发平台:

ASP/ASPX

  1. <% Option Explicit %>
  2. <!--#include file="../../FS_Inc/Const.asp" -->
  3. <!--#include file="../../FS_Inc/Function.asp" -->
  4. <!--#include file="../../FS_InterFace/MF_Function.asp" -->
  5. <!--#include file="../lib/strlib.asp" -->
  6. <!--#include file="../lib/UserCheck.asp" -->
  7. <%'Copyright (c) 2006 Foosun Inc. Code by Einstein.liu
  8. dim obj_mf_sys_obj,MF_Domain,MF_Site_Name,tmp_c_path
  9. set obj_mf_sys_obj = Conn.execute("select top 1 MF_Domain,MF_Site_Name from FS_MF_Config")
  10. if obj_mf_sys_obj.eof then
  11. strShowErr = "<li>找不到主系统配置信息!</li>"
  12. Response.Redirect("../lib/error.asp?ErrCodes="&Server.URLEncode(strShowErr)&"&ErrorUrl=")
  13. Response.end
  14. else
  15. MF_Domain = obj_mf_sys_obj("MF_Domain")
  16. MF_Site_Name = obj_mf_sys_obj("MF_Site_Name")
  17. end if
  18. obj_mf_sys_obj.close:set obj_mf_sys_obj = nothing
  19. tmp_c_path =MF_Domain &"/"&G_VIRTUAL_ROOT_DIR
  20. %>
  21. <html xmlns="http://www.w3.org/1999/xhtml">
  22. <head>
  23. <title>抽奖-网站内容管理系统</title>
  24. <meta name="keywords" content="风讯cms,cms,FoosunCMS,FoosunOA,FoosunVif,vif,风讯网站内容管理系统">
  25. <meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
  26. <meta content="MSHTML 6.00.3790.2491" name="GENERATOR" />
  27. <meta name="Keywords" content="Foosun,FoosunCMS,Foosun Inc.,风讯,风讯网站内容管理系统,风讯系统,风讯新闻系统,风讯商城,风讯b2c,新闻系统,CMS,域名空间,asp,jsp,asp.net,SQL,SQL SERVER" />
  28. <link href="../images/skin/Css_<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>/<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>.css" rel="stylesheet" type="text/css">
  29. <script language="javascript" src="../../FS_Inc/prototype.js"></script>
  30. <script language="javascript" src="../../FS_Inc/CheckJs.js"></script>
  31. <script language="javascript" src="../../FS_Inc/PublicJS.js"></script>
  32. <script language="javascript" src="../../FS_Inc/coolWindowsCalendar.js"></script>
  33. </head>
  34. <body id="mainContainer">
  35. <table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" class="table">
  36.   <tr>
  37.     <td>
  38.       <!--#include file="../top.asp" -->
  39.     </td>
  40.   </tr>
  41. </table>
  42. <table width="98%" height="135" border="0" align="center" cellpadding="1" cellspacing="1" class="table">
  43.     <tr class="back"> 
  44.       <td   colspan="2" class="xingmu" height="26"> <!--#include file="../Top_navi.asp" --> </td>
  45.     </tr>
  46.     <tr class="back"> 
  47.       <td width="18%" valign="top" class="hback"> <div align="left"> 
  48.           <!--#include file="../menu.asp" -->
  49.         </div></td>
  50.       <td width="82%" valign="top" class="hback"><table width="99%" border="0" align="center" cellpadding="5" cellspacing="1" class="table">
  51.         <tr class="hback"> 
  52.           <td class="hback"><strong>位置:</strong><a href="../../">网站首页</a> &gt;&gt; 
  53.             <a href="../main.asp">会员首页</a> &gt;&gt; <a href="award.asp">抽奖</a></td>
  54.         </tr>
  55.         <tr class="hback">
  56.           <td class="hback"><a href="#" onClick="gotoPanel(1)"><img src="../images/award.gif" alt="积分抽奖" border="0">积分抽奖</a>&nbsp;&nbsp;<a href="#" onClick="gotoPanel(2)"><img src="../images/award.gif" alt="积分兑换" border="0">积分兑换</a>&nbsp;&nbsp;<a href="#" onClick="gotoPanel(3)"><img src="../images/award.gif" alt="积分问答" border="0">积分问答</a></td>
  57.         </tr>
  58.         <tr class="hback">
  59.           <td class="hback"><img src="../images/Currentaward.gif" alt="我的中奖记录" width="16" height="16"><a href="#" onClick="gotoPanel(4)">我的中奖记录</a></td>
  60.         </tr>
  61.         <tr class="hback">
  62.           <td class="hback"></td>
  63.         </tr>
  64. <tr>
  65. <td align="center" class="hback">
  66. <iframe src="awardPane.asp" frameborder="0" id="AwardPane" width="100%" height="600"></iframe>
  67. </td>
  68. </tr>
  69.       </table>
  70.   </td>
  71.     </tr>
  72.       </table>
  73.   </td>
  74.     </tr>
  75.     <tr class="back"> 
  76.       <td height="20"  colspan="2" class="xingmu"> <div align="left"> 
  77.           <!--#include file="../Copyright.asp" -->
  78.         </div></td>
  79.     </tr>
  80. </table>
  81. </body>
  82. </html>
  83. <script language="javascript">
  84. <!--
  85. function gotoPanel(panel)
  86. {
  87. switch(panel)
  88. {
  89. case 2:url="awardChange.asp";break;
  90. case 3:url="awardAnswer.asp";break;
  91. case 4:url="myAwardRecord.asp";break
  92. default:url="awardPane.asp";break;
  93. }
  94. $("AwardPane").src=url;
  95. }
  96. -->
  97. </script>
  98. <%
  99. Set Conn=nothing
  100. Set User_Conn=nothing
  101. Set Fs_User = Nothing
  102. %>