Created
February 22, 2014 01:25
-
-
Save hzhopen/9147140 to your computer and use it in GitHub Desktop.
clientlog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="http://ptres.37wan.com/js/sq/lib/sq.core.js"></script> | |
<script type="text/javascript" src="http://ptres.37wan.com/js/sq/widget/sq.login.js"></script> | |
<script type="text/javascript" src="http://ptres.37wan.com/js/sq/widget/sq.clientlog.js?t=<?php echo time();?>"></script> | |
SQ.ClientLog.login({ | |
login_account: loginAccount, | |
password: password, | |
remember_me: ( rememberMe == "true" ) ? 1 : 0, | |
gameid: "<?php echo DEFAULT_GAME_ID;?>", | |
backUrl: "server.php?refer=<?php echo $refer;?>&uid=<?php echo $uid;?>" | |
}); | |
SQ.ClientLog.register({ | |
login_account: login_account, | |
password: password, | |
password1: password1, | |
refer: "<?php echo $refer;?>", | |
uid: "<?php echo $uid;?>", | |
installtime: "<?php echo $installtime;?>", | |
game_id: "<?php echo DEFAULT_GAME_ID;?>", | |
server_id: "<?php echo $reco_server["ID"];?>", | |
backUrl: "<?php echo $reco_url;?>", | |
postType: "" | |
}); | |
<script type="text/javascript" src="http://ptres.37wan.com/js/sq/lib/sq.core.js"></script> | |
<script type="text/javascript" src="http://ptres.37wan.com/js/sq/widget/sq.login.js"></script> | |
SQ.Login.toOut(function() { | |
window.location="index.php?refer=<?php echo $refer;?>&uid=<?php echo $uid;?>"; | |
}); | |
SQ.Login.toLog({ | |
login_account: loginAccount, | |
password: password, | |
remember_me: ( rememberMe == "true" ) ? 1 : 0, | |
success: function() { | |
window.location = "server.php?refer=<?php echo $refer;?>"; | |
}, | |
fail: function( res ) { | |
if ( res && res.msg ) { | |
$( "#error_msg" ).html( "* " + res.msg ); | |
alert( res.msg ); | |
} | |
} | |
}); | |
<meta http-equiv="refresh" content="0; url=http://lw.37wan.com/" /> | |
action=loginGame | |
logoutweb | |
gameid: "193", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment