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

📄 function.js

📁 这支以宽游戏软件 大家可以以内过来不知道法做什么
💻 JS
字号:
if(!money) var money = 50;
//------------------------------------------------
// 各个页面的说明文字
//------------------------------------------------
var notice1 = "充值成为VIP会员,再满的房间想进就进!以下列三种方式充值VIP时请选择使用您的<b><font color=red>游戏帐号</font></b>,您目前的游戏帐号为<a style=\"cursor:hand\" onclick=\"javascript:copyText('"+ username +"')\" ><b><font color=red>"+username+"</font></b> <u>(点击复制,在充值页面粘贴即可)</u>";
var notice2 = notice1;
var notice3 = notice1;
var notice4 = notice1;
var notice5 = notice1;
var notice6 = notice1;
var notice7 = notice1;
var notice8 = notice1;
var notice9 = notice1;
var notice10 = notice1;
var notice11 = notice1;
var notice12 = notice1;



//------------------------------------------------
// VIP转换率来源,各个Source不同的含义
//	21 :  "普通用户进客服房间的提示"
//	22 :  "普通用户进别人的VIP房间的提示"
//	23 :  "魔法免疫被踢出房间后的提示"
//	24 :  "普通用户挤人满的房间的提示"
//	25 :  "普通用户进自己的VIP房间的提示"
//	26 :  "普通用户进入高等级房间的提示"
//	27 :  "更多功能提示"
//	28 :  "HOT房间普通用户启动游戏的提示"
//	29 :  "HOT房间普通用户被踢出来的提示"
//	30 :  "进入按时收费房间的提示"
//	31 :  "有浩币的普通用户进入人满房间的提示"
//	32 :  "按时收费房间余额不足把普通用户踢出来的提示"
//------------------------------------------------
var Source1 = 21;
var Source2 = 22;
var Source3 = 23;
var Source4 = 24;
var Source5 = 25;
var Source6 = 26;
var Source7 = 27;
var Source8 = 28;
var Source9 = 29;
var Source10 = 30;
var Source11 = 31;
var Source12 = 32;

//------------------------------------------------
//快钱Source
//------------------------------------------------
var KQSource1 = 1;
var KQSource2 = 2;
var KQSource3 = 3;
var KQSource4 = 4;
var KQSource5 = 5;
var KQSource6 = 6;
var KQSource7 = 7;
var KQSource8 = 8;
var KQSource9 = 9;
var KQSource10 = 10;
var KQSource11 = 11;
var KQSource12 = 12;


function copyText(content) 
{
	 window.clipboardData.setData("Text",content);
	 alert("您可以在充值页面的“游戏账号”输入框中用CTRL+V或右键粘贴您的账号:"+content);
}


//------------------
//电信宽带
//------------------
	function ClickGoVnet(){
		window.open("http://vip.cga.com.cn/chinavnet/SelectADSL.htm?userid="+userid+"&username="+username);
	}
	

//------------------
//固定电话
//------------------

	function ClickGoTel(){
		//window.open("http://vip.cga.com.cn/get_emoney/ebilling_input.aspx?productid=20170100&userid="+userid);
		window.open("http://vip.cga.com.cn/deposit/telemoney.aspx?userid="+userid+"&username="+username);
	}
	

//------------------
//eBilling小额充值
//------------------
	function ClickGoEbilling(){
		//window.open("http://vip.cga.com.cn/get_emoney/ebilling_input.aspx?productid=20170100&userid="+userid);
		window.open("http://vip.cga.com.cn/deposit/ebilling/ebilling.aspx?userid="+userid+"&username="+username);
	}

//------------------
//浩币充值VIP
//------------------
	function ClickGoHB(){
		window.open("http://vip.cga.com.cn/withdraw/person.aspx?showtype=bu");
	}
	
//------------------
//盛大游戏卡
//------------------
	function ClickGoSD(){
		window.open("http://vip.cga.com.cn/join_vip/Shanda.aspx?userid="+userid+"&username="+username);
	}
	
//------------------
//网上支付
//------------------
	function ClickGoWeb(){
		//window.open("http://www.cga.com.cn/VipHelp/bank.htm?userid="+userid+"&username="+username);
		window.open("http://vip.cga.com.cn/deposit/BankCard.aspx?userid="+userid+"&username="+username);
	}
	

//------------------
//Esales支付
//------------------
	function ClickGoEsales(){
		//window.open("http://www.cga.com.cn/VipHelp/bank.htm?userid="+userid+"&username="+username);
		window.open("http://vip.cga.com.cn/get_emoney/NetworkBar.aspx?userid="+userid+"&username="+username);
	}


//------------------
//成为VIP页面
//------------------
	function checkVip()
	{
		window.open("http://www.cga.com.cn/VipHelp/vip.htm?userid="+userid+"&username="+username);
	}
	
//------------------
//更多成为VIP方式
//------------------
	function MoreVip()
	{
		window.open("http://www.cga.com.cn/VipHelp/vip.htm?userid="+userid+"&username="+username);
	}
	
//------------------
//更多获得浩币方式
//------------------
	function MoreHB()
	{
		window.open("http://www.cga.com.cn/VipHelp/emoney.htm?userid="+userid+"&username="+username);
	}
	
//------------------
//欢乐新手包
//------------------
	function Happy()
	{
		window.open("http://vip.cga.com.cn/activity/HappyWeekendPack.aspx?userid="+userid+"&username="+username);
	}

//------------------
//手机短信订阅
//------------------
function checkMobile()
{
	var mobile = document.getElementById('mobile').value;

	var reg=/^((\(\d{3}\))|(\d{3}\-))?13\d{9}$/;
	if(!reg.test(mobile))
	{
		alert('请输入正确的手机号!');
		return false;
	}
	else
	{
	//source = 渠道弹出:2	
	if(source =="") source=2;
	//var source = 2;
	
	//HWTV房间提示
	if (channelid == "10000007") source=33;
	
	window.open("http://vip.cga.com.cn/sms/smsvipsmall.aspx?userid="+userid+"&mobile="+mobile+"&type=2&source="+source,"","width=450,height=500,scrollbars=yes");
	}
}

//------------------
//手机短信订阅,直接到账务中心页面
//------------------
function toSMSVip()
{
	if(source =="") source=2;
	//HWTV房间提示
	if (channelid == "10000007") source=33;
	
	window.open("http://vip.cga.com.cn/sms/smsvip.aspx?userid="+userid+"&username="+username+"&source="+source);
}

/*快钱*/
function ClickGo200HB()
{
	//window.open("http://adp.cga.com.cn/ADPolestar/lgs/way/;er=&mv=710&pu=holdfast&ad=0154002?http://ernie.cga.com.cn//99Bill5Grade/index.aspx");
	window.open("http://pv.cga.com.cn/KuaiQianStakeout/default.asp?source="+KQsource+"&userid="+userid+"&username="+username);
}

⌨️ 快捷键说明

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