原本给图片找 地方放 结果迅速的被锁贴 管理员的效率也太高了 呵呵
被锁的在这里\
http://www.cwebgame.com/thread-232204-1-1.html
180大大暂时联络不上 暂时把代码放这里吧。
本代码实现“一键进游戏”
AMD联盟定制登录页(效率优先版).html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict //EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta name="author" c />
<meta http-equiv="Content-Type" c />
<meta name="keywords" c />
<meta name="description" c />
<meta name="robots" c />
<meta name="language" c />
<meta name="distribution" c />
<meta name="audience" c />
<meta name="author-mail" c />
<meta name="publisher" c />
<meta name="copyright" c />
<meta http-equiv="expires" c />
<meta http-equiv="pragma" c />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<title>AMD联盟专用登录器</title>
<script language="JavaScript" >
function changeAction(type) {
if(type != "register" && document.loginForm.universe.value == '') {
alert('你没有选择一个宇宙。');
}
else {
if(type == "login") {
var url = "http://" + document.loginForm.universe.value + "/game/reg/login2.php";
document.loginForm.action = url;
}
else if (type=="getpw") {
var url = "http://" + document.loginForm.universe.value + "/game/reg/mail.php";
document.loginForm.action = url;
document.loginForm.submit();
}
else if(type == "register") {
var url = "http://" + document.registerForm.universe.value + "/game/reg/newredirect.php";
document.registerForm.action = url;
}
}
}
</script>
<style type="text/css">
<!--
.STYLE2 {
font-size: x-large;
font-weight: bold;
color: #FF0000;
font-style: italic;
background-repeat: no-repeat;
}
.STYLE3 {
font-size: 18;
color: #9900CC;
}
body {
margin-top: 10px;
background-color: #FF99FF;
background-image: url(
http://www.cwebgame.com/attachments/20080823_865026744720ba7001451EGLum3nbD1q.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
}
.STYLE4 {color: #FF0000}
.STYLE5 {color: #CC6600}
.STYLE6 {color: #CCFF00}
.STYLE7 {color: #0000FF}
.STYLE8 {color: #330000}
.STYLE10 {
color: #999999;
font-size: x-large;
}
A:link {text-decoration: none; color:#000000}
A:visited {text-decoration: none; color: #000000}
A:active {text-decoration: none; color: #FF0000}
A:hover {text-decoration: underline; color: FF0000}
body{font-size=9pt}
TH{FONT-SIZE: 9pt}
TD{ FONT-SIZE: 9pt}
.intro{
position:absolute;
left:0;
top:0;
layer-background-color:#9999ff;
background-color:#9999ff;
border:0.1px solid red
}
-->
</style>
</head>
<body >
<div align="center" style="background-color:#FF9966">
<div id="login_input" >
<table cellspacing="0" cellpadding="0" border="0"><tr style="vertical-align:top;"><td style="padding-right:4px;">
<form name="loginForm" action="" method="POST" target="_self" >
<input type="hidden" name="v" value="2">
<span><select tabindex="1" name='universe' class="eingabe" style="width:144px;">
<option value="">选择一个宇宙</option>
<option value="uni1.ogame.cn.com" >
1. 宇宙</option>
<option value="uni2.ogame.cn.com" >
2. 宇宙</option>
<option value="uni3.ogame.cn.com" >
3. 宇宙</option>
<option value="uni4.ogame.cn.com" >
4. 宇宙</option>
<option value="uni5.ogame.cn.com" >
5. 宇宙</option>
<option value="uni6.ogame.cn.com" >
6. 宇宙</option>
<option value="uni7.ogame.com.cn" selected="selected" >
7. 宇宙</option></select></span><!--这里可以很方便的设置您默认登录的宇宙,方法:在想要登录的宇宙后面添加属性selected="selected" -->
<td style="padding-right:3px;">
<span><input tabindex="2" class="eingabe" value="我的帐户" maxlength="20" name="login" style="width:111px;top:0px"/></span>
<td><!--“我的帐户”位置可以替换成你的游戏帐户,这样可以更快的进入游戏。 -->
<span><input name="pass" type="password" class="eingabe" style="width:113px;top:0px" tabindex="3" value="我的密码" maxlength="20" /><!--“我的密码”位置可以替换成你的游戏密码,这样可以更快的进入游戏。注意:这个的密码是明文的,请注意保管! --></span>
<td style="padding-top:2px;">
<!--<span class="link" style="padding-left:7px;">LOGIN</span>-->
<input type="submit" name="button" id="button" value="登 录"></form></tr></table></div></div></div>
<script>document.loginForm.universe.focus();</script>
<!--上面是功能区,下面是外观区,请根据具体需要做相关的更改。 -->
<div align="center" class="STYLE2">
<marquee direction=up scrollamount=2 scrolldelay=50 onmouseover='this.start()' onmouseout='this.start()' height=400>
<table width="100%" border="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="600" height="440" align="center"><div align="center" class="STYLE3">
<span class="STYLE6">☆</span><span class="STYLE5">☆</span><span class="STYLE4">★</span><span class="STYLE7">☆</span><span class="STYLE8">☆</span><br />
<span class="STYLE10">风起云翳,傲宇世万物,战日月亦乾坤不倒。<br />
星烁苍穹,耀九宵冥月,啸长空惊天地失光。<br />
云盖碧天,笑八方豪杰,御四海已举世无双。<br />
<br />
欢迎来到联盟页,目前本盟暂时只招收前200名成员。谢谢合作,如入盟请发坐标及排名.<br />
<br />
我们是孤独的狼.我们会将鲜红的吻献给我们所看重的猎物.请不要在攻击后对我们有所抱怨.<br />
这里是宇宙.残酷的战场.请各自做好FS.</span></div></td>
<td> </td>
</tr>
</table>
</marquee>
</div>
<div id="i1" class="intro"></div><div id="i2" class="intro"></div>
<script language="JavaScript">
var speed=20
var temp=new Array();
var temp2=new Array();
if (document.layers){
for (i=1;i<=2;i++){
temp
=eval("document.i"+i+".clip");
temp2=eval("document.i"+i);
temp.width=window.innerWidth/2;
temp.height=window.innerHeight;
temp2.left=(i-1)*temp.width;
}
}
else if (document.all){
var clipright=document.body.clientWidth/2,clipleft=0
for (i=1;i<=2;i++){
temp=eval("document.all.i"+i+".style");
temp.width=(document.body.clientWidth/2+10);
temp.height=(document.body.offsetHeight+200);
temp.left=(i-1)*parseInt(temp.width);
}
}
function openWindow(){
window.scrollTo(0,0);
if (document.layers){
temp[1].right-=speed;
temp[2].left+=speed;
if (temp[2].left>window.innerWidth/2)
clearInterval(stopWindow);
}
else if (document.all){
clipright-=speed;
temp[1].clip="rect(0 "+clipright+" auto 0)";
clipleft+=speed;
temp[2].clip="rect(0 auto auto "+clipleft+")";
if (clipright<=0)
clearInterval(stopWindow);
}
}
function init(){
stopWindow=setInterval("openWindow()",100)
}
init();
</script>
</body>
</html>