📄 index.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUIV="PRAGMA" CONTENT="CACHE">
<META HTTP-EQUIV="EXPIRES" CONTENT="TUE,04 Dec 2096 21:29:02 GMT">
<title>道具商店</title>
<style type="text/css">
<!--
.pt10 { font-size: 12px; text-decoration: none}
.pt9 { font-size: 9pt}
.pred_bg { font-size: 14px; color: #FFFFFF; background-color: #FF6633}
.phei_bg { font-size: 14px; color: #FFFFFF; background-color: #808080}
.p2{ font-size: 14px; color: #0000FF;}
-->
</style>
</head>
<script language="javascript">
var appletmark="";
var shopval=new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
function c_value(ename,evalue,iID)
{
var a = document.all.item(iID);
for(i=0; i<a.length; i++)
{
if(a.item(i).name==ename)
a.item(i).innerText=evalue;
}
}
function getImoney()
{
return opener.document.ChatGame.getMoney();
}
function show_shop()
{
var idx1=0;
var idx2=0;
var idx3=0;
for(var i=0;i<16;i++)
{
shopval[i]=opener.document.ChatClient.getDaojuPrice(i);
var iname="pr"+i;
c_value(iname," "+shopval[i]+"万 ","PR");
}
appletmark=opener.document.ChatClient.getAppletMark();
c_value("mymoney",""+getImoney(),"TL");
infostr=opener.document.ChatClient.getShopCount()+"";
var astr="";
for(var x=0;x<16;x++)
{
var objnum=opener.document.ChatClient.getShopObj(x);
if(objnum>0)
{
var y=x+1;
astr=astr+","+y+"号";
}
var iname="cu"+x;
c_value(iname,""+objnum,"CU");
}
if(astr=="")
astr="对不起!本商店现在没有物品出售,请下次再来。";
else
astr="恭喜!本商店现在有"+astr.substring(1)+"物品出售,请购买。";
while(idx2>=0)
{
idx2=infostr.indexOf("",idx1);
if(idx2>0)
{
var temval=infostr.substring(idx1,idx2);
idx1=idx2+1;
var iname="to"+idx3;
c_value(iname,temval,"TO");
idx3++;
}
else
break;
}
c_value("atitle",astr,"TL");
}
function buy(idx)
{
if(appletmark=="" || appletmark!=opener.document.ChatClient.getAppletMark())
{
alert("本页面已经超时了,请重新打开窗口。");
window.close();
return false;
}
inum=opener.document.ChatClient.getShopObj(idx);
if(inum==0)
alert("暂时没有本类道具供出售。");
else if(confirm("本道具的售价为 "+shopval[idx]+"万¥,你确定要购买吗?"))
{
selshopval=shopval[idx]*10000;
imoney=eval(getImoney());
if(imoney<selshopval)
alert("你身上的现金不够。");
else
{
opener.document.ChatClient.buyShopObj(idx);
imoney=imoney-selshopval;
inum--;
c_value("mymoney",""+imoney,"TL");
c_value("cu"+idx,""+inum,"CU");
}
}
}
</script>
<body bgcolor="#C0C0C0" topmargin="5" leftmargin="5" onload="setTimeout('show_shop()',1000)" oncontextmenu="self.event.returnValue=false">
<table border="1" width="100%" height="100%" bordercolor="#A5A5A5" bordercolorlight="#A5A5A5"
bordercolordark="#A5A5A5" cellspacing="0" cellpadding="5">
<tr>
<td width="100%" bgcolor="#C3C3C3" height="10%"><table border="0" width="100%">
<tr>
<td width="50%"><strong>道具商店</strong></td>
<td width="50%" align="right"><input type="button" value="离开商店" onclick="window.close()"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" bgcolor="#FFF7F7">
<div align="center">
<br>
<table width="500" border="0" align="center">
<tr>
<td class="pt10"><font color="#ff0000" name="atitle" id="TL">正在读取商品列表信息,请稍候......</font><br>
您现在的现金是:<font color="#FF6600" name="mymoney" id="TL">0</font>¥
</td>
</tr>
</table>
</div>
<div align="center">
<table border="0" width="500" class="pt10">
<tr>
<td colspan="2" bgcolor="#3333CC" width="238"><font color="#FFFFFF">1.自由头像选择器</font></td>
<td width="6"> </td>
<td colspan="2" bgcolor="#3333CC" width="238"><font color="#FFFFFF">2.系统公告发布器</font></td>
</tr>
<tr>
<td height="97" align="center">
<img src="image/1.gif" width=75 height=75 border="1"><img src="image/sale.gif">
</td>
<td valign="top" width="135" class="pt9">
<p>价 格:<font class="pred_bg" name="pr0" id="PR"> 0 </font><br>
共销售:<font class=p2 name="to0" id="TO">0</font><br>
现销售:<font class=p2 name="cu0" id="CU">0</font><br>
<br> <a href="javascript:buy(0)">购 买</a>
</p>
</td>
<td> </td>
<td align="center">
<img src="image/2.gif" width=75 height=75 border="1"><img src="image/sale.gif">
</td>
<td height="97" valign="top" width="135" class="pt9">
<p>价 格:<font class="pred_bg" name="pr1" id="PR"> 0 </font><br>
共销售:<font class=p2 name="to1" id="TO">0</font><br>
现销售:<font class=p2 name="cu1" id="CU">0</font><br>
<br> <a href="javascript:buy(1)">购 买</a>
</p>
</td>
</tr>
<tr>
<td bgcolor="#FFCC00" colspan="2">这个东东可以让你自由选择所有的私人头像。</td>
<td> </td>
<td bgcolor="#FFCC00" colspan="2">可以给聊天室所有人发一个系统公告的东西。</td>
</tr>
</table>
</div>
<div align="center"><br>
<table border="0" width="500" class="pt10">
<tr>
<td colspan="2" bgcolor="#3333CC" width="238"><font color="#FFFFFF">3.道具查看器</font></td>
<td width="6"> </td>
<td colspan="2" bgcolor="#3333CC" width="238"><font color="#FFFFFF">4.IP查看器</font></td>
</tr>
<tr>
<td height="97" align="center">
<img src="image/3.gif" width=75 height=75 border="1"><img src="image/sale.gif">
</td>
<td valign="top" width="135" class="pt9">
<p>价 格:<font class="pred_bg" name="pr2" id="PR"> 0 </font><br>
共销售:<font class=p2 name="to2" id="TO">0</font><br>
现销售:<font class=p2 name="cu2" id="CU">0</font><br>
<br> <a href="javascript:buy(2)">购 买</a>
</p>
</td>
<td> </td>
<td align="center">
<img src="image/4.gif" width=75 height=75 border="1"><img src="image/sale.gif">
</td>
<td height="97" valign="top" width="135" class="pt9">
<p>价 格:<font class="pred_bg" name="pr3" id="PR"> 0 </font><br>
共销售:<font class=p2 name="to3" id="TO">0</font><br>
现销售:<font class=p2 name="cu3" id="CU">0</font><br>
<br> <a href="javascript:buy(3)">购 买</a>
</p>
</td>
</tr>
<tr>
<td bgcolor="#FFCC00" colspan="2">用这个东东你才能查到别人身上有什么道具。</td>
<td> </td>
<td bgcolor="#FFCC00" colspan="2">没有什么,只能用于查对方的IP地址。</td>
</tr>
</table>
</div>
<div align="center"><br>
<table border="0" width="500" class="pt10">
<tr>
<td colspan="2" bgcolor="#3333CC" width="238"><font color="#FFFFFF">5.隐身衣</font></td>
<td width="6"> </td>
<td colspan="2" bgcolor="#3333CC" width="238"><font color="#FFFFFF">6.红外透视器(反隐身)</font></td>
</tr>
<tr>
<td height="97" align="center">
<img src="image/5.gif" width=75 height=75 border="1"><img src="image/sale.gif">
</td>
<td valign="top" width="135" class="pt9">
<p>价 格:<font class="pred_bg" name="pr4" id="PR"> 0 </font><br>
共销售:<font class=p2 name="to4" id="TO">0</font><br>
现销售:<font class=p2 name="cu4" id="CU">0</font><br>
<br> <a href="javascript:buy(4)">购 买</a>
</p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -