?? ratio_tm.js
字號:
////////////////////////////////////////////////////
// 廣州市 CK 聯合網絡小組 //
// //
// WEB: www.hk666b.com www.pnqk.com //
// //
// QQ: 66622488 //
////////////////////////////////////////////////////
//
//
var xmldoc="";
var new_id;
var new_team;
var new_ratio;
var new_module;
var new_Amoney;
var new_Aratio;
var new_Alow;
var Sqlid=new Array();
var Ratio=new Array();
var Team=new Array();
var Module=new Array();
var Amoney=new Array();
var Aratio=new Array();
var Alow=new Array();
xmldoc=new ActiveXObject("Microsoft.XMLDOM");
function abc(){
if(loadxml()){
Sqlid=new_id.split(";");
Ratio=new_ratio.split(";");
Team=new_team.split(";");
Module=new_module.split(";");
Amoney=new_Amoney.split(";");
Aratio=new_Aratio.split(";");
Alow=new_Alow.split(";");
readxmldata();
xmldoc.close;
}
}
//
function loadxml(){
xmldoc.async="false";
xmldoc.load(xmlUrl);
if (xmldoc.readyState != 4){ return false; }
new_id =xmldoc.selectSingleNode("CKSIX/id").text;
new_ratio=xmldoc.selectSingleNode("CKSIX/ratio").text;
new_team =xmldoc.selectSingleNode("CKSIX/team").text;
new_module=xmldoc.selectSingleNode("CKSIX/module").text;
new_Amoney=xmldoc.selectSingleNode("CKSIX/Amoney").text;
new_Aratio=xmldoc.selectSingleNode("CKSIX/Aratio").text;
new_Alow =xmldoc.selectSingleNode("CKSIX/Alow").text;
return true;
}
//
function readxmldata(){
var a="<table border=0 width=100% cellpadding=0 cellspacing=1 class=Title5>";
a+="<tr align=center height=24 class=BjTextColor><td width=54>"+Show_hm+"<td width=54>"+Show_ma+"<td width=54>"+Show_ra;
a+="<td width=54>"+Show_mo+"<td width=54>"+Show_mr+"<td width=54>"+Show_md+"<td width=30>"+Show_edit;
a+="<td width=2 rowspan=50 bgcolor=#fffffff><td width=54>"+Show_hm+"<td width=54>"+Show_ma+"<td width=54>"+Show_ra;
a+="<td width=54>"+Show_mo+"<td width=54>"+Show_mr+"<td width=54>"+Show_md+"<td width=30>"+Show_edit;
a+="<tr align=center height=24>";
var brs=0;
var pmbs=0;
len=Team.length;
for (i=0; i<len-1; i++){
brs++;
pmbs++;
newId=Sqlid[i]; //ID
newTeam=Team[i]; //號碼
newRatio=Ratio[i]; //賠率
newModule=Module[i]; //模率
newAmoney=Amoney[i]; //級別金額
newAratio=Aratio[i]; //級別賠率
newAlow=Alow[i]; //級別保底
if(Show_gif=='gif') a+="<td class='name'><img src=skins/m/"+newTeam+".gif></td>";
else a+="<td class='name'>"+newTeam+"</td>";
a+="<td class='ratio'><input name='Module"+newId+"' size='5' Maxlength='6' value='"+newModule+"' onBlur='Chnos(this)'></td>";
a+="<td class='ratio'><input name='Ratio"+newId+"' size='5' Maxlength='6' value='"+newRatio+"' onBlur='Chnos(this)'></td>";
a+="<td class='Amoney'><input name='Amoney"+newId+"' size='5' Maxlength='6' value='"+newAmoney+"' onBlur='Chnos(this)'></td>";
a+="<td class='Aratio'><input name='Aratio"+newId+"' size='5' Maxlength='6' value='"+newAratio+"' onBlur='Chnos(this)'></td>";
a+="<td class='Alow'><input name='Alow"+newId+"' size='5' Maxlength='6' value='"+newAlow+"' onBlur='Chnos(this)'></td>";
a+="<td class='change'><INPUT onclick=\"javascript:modify_post('"+newId+"')\" type=submit value='"+Show_edit+"' style='width:30px; border: 0px solid #FBFFFC; background-color: #FBFFFC' title='"+newTeam+"'></td>";
if(pmbs==15 && Show_gif=='pm16'){a+="<tr align=center height=24>"; brs=0; pmbs=0;}
if(brs==2 && i !=len-2){a+="<tr align=center height=24>"; brs=0; }
}
document.all.score.innerHTML=a; //輸出
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -