<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%option explicit%>
<!--#include file="../Conn.asp"-->
<!--#include file="../Task/TaskConfig.asp"-->
<!--#include file="../HSK_Cls/HSK.MemberCls.asp"-->
<!--#include file="../HSK_Cls/HSK.Label.CommonCls.asp"-->
<%
Dim KSCls
Set KSCls = New User_LogScore
KSCls.HSK_Run()
Set KSCls = Nothing

Class User_LogScore
        Private KS,KSUser
		Private CurrentPage,totalPut,TotalPages,SQL
		Private RS,MaxPerPage
		Private TempStr,SqlStr
		Private Sub Class_Initialize()
			MaxPerPage =20
		  Set KS=New PublicCls
		  Set KSUser = New UserCls
		End Sub
        Private Sub Class_Terminate()
		 Set KS=Nothing
		 Set KSUser=Nothing
		End Sub
		%>
		<!--#include file="../HSK_Cls/UserFunction.asp"-->
		<%
		Public Sub loadMain()	
		IF Cbool(KSUser.UserLoginChecked)=false Then
		  Response.Write "<script>top.location.href='Login';</script>"
		  Exit Sub
		End If
		Call KSUser.Head()
		Call KSUser.InnerLocation("我要赚钱")
		
	  %>

	 <br/>
	 <style type="text/css">
	  .splittd{height:100px;font-size:16px;padding-left:10px;}
	  .red{color:red;}
	 </style>
	  <script type="text/javascript">
						  function copyToClipboard(txt) {
							 if(window.clipboardData) {
									 window.clipboardData.clearData();
									 window.clipboardData.setData("Text", txt);
							 } else if(navigator.userAgent.indexOf("Opera") != -1) {
								  window.location = txt;
							 } else if (window.netscape) {
								  try {
									   netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
								  } catch (e) {
									   alert("被浏览器拒绝！\n请在浏览器地址栏输入'about:config'并回车\n然后将'signed.applets.codebase_principal_support'设置为'true'");
								  }
								  var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard);
								  if (!clip)
									   return;
								  var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable);
								  if (!trans)
									   return;
								  trans.addDataFlavor('text/unicode');
								  var str = new Object();
								  var len = new Object();
								  var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);
								  var copytext = txt;
								  str.data = copytext;
								  trans.setTransferData("text/unicode",str,copytext.length*2);
								  var clipid = Components.interfaces.nsIClipboard;
								  if (!clip)
									   return false;
								  clip.setData(trans,null,clipid.kGlobalClipboard);
							 }
								  alert("复制成功！")
						}
		 </script>
	<div style="height:40px; margin:auto; width:210px; height:35px;"><a href="User_SubUserView.asp"><span style="background:url(Images/nav_title_bg.jpg) no-repeat -5px -5px; color:#FFFF00; font-weight:bold; line-height:32px; text-align:center; display:block; text-decoration:none">查看我推广的用户</span></a></div>
	<table border="0" align="center" style="width:100%;">
        <%if KS.Setting(140)="1" Then%>
				<tr>
				  <td class="splittd">
				      <table>
					    <tr>
						  <td><strong>任务名称：</strong></td>
						  <td><span class="red">将本站推荐给朋友将获得积分</span></td>
						</tr>
						<tr>
						 <td><strong>任务介绍：</strong></td>
						 <td>成功推荐一个访问者,您就可以增加 <font color=red><%=KS.Setting(141)%></font> 个积分，同一个IP只计一次分！</td>
						</tr>
						<tr>
						 <td valign="top"><strong>复制代码：</strong></td>
						 <td>
						  <div id="copytext" style="border:1px solid #cccccc;height:65px;width:500px;overflow:scroll"><%=Replace(Replace(KS.Setting(142),"{$UID}",Server.URLEncode(KSUser.UserName)),"{$GetSiteUrl}",KS.GetDomain)%></div>
						  <br/><button class="pn" type="button" onClick="copyToClipboard(document.getElementById('copytext').innerHTML);"><strong>复制代码</strong></button>
						 </td>
					    </tr>
				    </table>
													
				  </td>
	  </tr>
		 <%end if%>
<%if KS.Setting(143)="1" Then%>
		   <tr>
				<td class="splittd"><br/>
				  <table>
				   <tr>
				    <td><strong>任务名称：</strong></td>
					<td><span class="red">推荐朋友注册将获得积分和发布点，具体请看下面说明</span></td>
				   </tr>
				   <tr>
				    <td><strong>任务介绍：</strong></td>
					<td>成功推荐一个用户注册,您就可以增加 <font color=red><%=KS.Setting(144)%></font> 个积分,同一天内推荐同一个IP的用户注册，只计一次分！</td>
				   </tr>
				   <tr>
				    <td valign="top"><strong>复制代码： </strong>
					</td>
					<td>
					 <div style="border:1px solid #cccccc;height:65px;width:500px;overflow:scroll" id="copytext1"><%=KS.GetDomain%>?do=reg&amp;uid=<%=Server.URLEncode(KSUser.UserName)%></div>
									<br/>
									<button class="pn" name="button2" type="button" onClick="copyToClipboard($('#copytext1').text()+'\n<%=Replace(KS.Setting(145),"'","\'")%>');"><strong>复制链接</strong></button>	</td>
					</tr>
				  </table>
			 </td>
      </tr>
			 <%end if%>
			 
				<tr>
				  <td class="splittd">
				      <table>
					    <tr>
						  <td><strong>任务名称：</strong></td>
						  <td><span class="red">邮件邀请好友注册</span></td>
						</tr>
						<tr>
						 <td><strong>任务介绍：</strong></td>
						 <td>给好友发送邀请邮件，好友通过收到的邮件里的链接成功注册为本站会员，您就可以增加 <font color=red><%=KS.Setting(144)%></font> 个积分，同一天内推荐<br />
						   同一个IP的朋友注册，只计一次分！</td>
						</tr>
						<tr>
						 <td valign="top"></td>
						 <td><button class="pn" type="button" onClick="location.href='User_friend.asp?Action=mail'"><strong>我要参加</strong></button>
						 </td>
					    </tr>
				    </table>
													
				  </td>
	  </tr>
			 
			 
		 </table>
				<br> <br><font color="#FF0000">
              &nbsp; &nbsp; <strong>推广说明：</strong><br />
              &nbsp; &nbsp; 您可以通过QQ群发，站内信，店铺留言，QQ空间，百度论坛等做推广平台广告，点击您的推广链接进来注册的会员都是您推荐的<br />
              &nbsp; &nbsp; 会员，只需推荐一次，终身受益，往后日子真金白银等你拿。<br />
              &nbsp; &nbsp; 推广奖励1：每推荐一个会员都即时获得<font color=red><%=KS.Setting(144)%></font> 个积分；<br />
              &nbsp; &nbsp; 推广奖励2：被推荐人发布任务数量累计<%=Promotion_FaBuTaskCountNum%>次(支持倍增)后，推荐人将获得<%=Promotion_FaBuReturnPointNum%>个发布点，同时您的上级推荐人也奖励<%=FormatNumber(Promotion_Second_ReturnPointNum,1,-1)%>个发布点，举例：<br />
              &nbsp; &nbsp; <strong>被推荐人如果发布1000个任务，您获得<%=1000/Promotion_FaBuTaskCountNum*Promotion_FaBuReturnPointNum%>个发布点 &times; 您总推荐了500人 &times; <%=FormatNumber(TaskPointExchangeMoneyVIP,2,-1)%>元 = <%=(1000/Promotion_FaBuTaskCountNum)*Promotion_FaBuReturnPointNum*500*TaskPointExchangeMoneyVIP%> 人民币<br />
              &nbsp; &nbsp; 而你的上级推荐人同时也获得：<%=(1000/Promotion_FaBuTaskCountNum)*Promotion_Second_ReturnPointNum*500*TaskPointExchangeMoneyVIP%> 人民币</strong><br />
              &nbsp; &nbsp; <strong><font color="#0000FF">更精彩：当被推荐人发布任务数量累计达到<%=Promotion_FaBuTaskCountNum*2%>次或<%=Promotion_FaBuTaskCountNum*3%>次等倍增数值时，再次获得上面相同人民币。<br />
              &nbsp; &nbsp; 朋友，您赚钱的机会来临了，心动不如行动！GO。。。</font></strong><br />
              &nbsp; &nbsp; 声明：我们鼓励会员积极推广，但严禁通过恶意推广赚积分和发布点，一经发现，封号处理，发布点及存款做没收处理，罚款解封，请<br />
              &nbsp; &nbsp; 各会员不要拿自己的金钱赌博！<br />
              &nbsp; &nbsp; 另：所有赚得的积分都可以兑换成发布点，或兑换成现金。 <a href="user_exchange.asp?Action=Point" target="_blank"><font color="#FF0000">兑换发布点>></font></a> &nbsp; <a href="user_exchange.asp?Action=Money" target="_blank"><font color="#FF0000">兑换资金>></font></a>
              </font>
		        <%
  End Sub
    
  
End Class
%> 
