assd / templates /index.html
asv7j's picture
Update templates/index.html
eaf2fb5 verified
raw
history blame
2.8 kB
<!DOCTYPE html>
<head>
<link rel="stylesheet" type="text/css" href="https://girlschat.org/chat/js/fancybox/jquery.fancybox.css?v=1.71" media="screen" />
<link rel="stylesheet" type="text/css" href="https://girlschat.org/chat/css/font-awesome.min.css?v=1.71" />
<link rel="stylesheet" type="text/css" href="https://girlschat.org/chat/css/selectboxit.css?v=1.71" />
<link rel="stylesheet" type="text/css" href="https://girlschat.org/chat/js/jqueryui/jquery-ui.min.css?v=1.71" />
<link rel="stylesheet" type="text/css" href="https://girlschat.org/chat/css/main.css?v=1.71" />
<link rel="stylesheet" type="text/css" href="https://girlschat.org/chat/control/login/girlschat/login.css?v=1.71" />
<link id="gradient_sheet" rel="stylesheet" type="text/css" href="https://girlschat.org/chat/css/colors.css?v=1.71" />
<link id="actual_theme" rel="stylesheet" type="text/css" href="https://girlschat.org/chat/css/themes/Lite/Lite.css?v=1.71" />
<link rel="stylesheet" type="text/css" href="https://girlschat.org/chat/css/responsive.css?v=1.71" />
<script data-cfasync="false" src="https://girlschat.org/chat/js/jquery-1.11.2.min.js?v=1.71"></script>
</head>
<body>
<div id="small_modal" class="small_modal_out modal_back" style="display: block;">
<div id="small_modal_in" class="small_modal_in modal_in" style="max-width: 400px;">
<div class="modal_top">
<div class="modal_top_empty">
</div>
<div class="modal_top_element close_modal">
</div>
</div>
<div id="small_modal_content" class="modal_content small_modal_content"><div id="login_form_box" class="pad_box">
<div class="boom_form">
<p class="label">Username / Email</p>
<input id="user_username" class="user_username full_input" type="text" maxlength="50" name="username" value="Your preset value here" readonly>
<p class="label tpad5">Password</p>
<input id="user_password" class="full_input" maxlength="30" type="password" name="password"><br>
</div>
<div class="login_control">
<button onclick="sendLogin();" type="button" class="theme_btn full_button large_button"> Login</button>
</div>
</div>
<script>
var waitReply = 0;
sendLogin = function(){
var upass = $('#user_password').val();
var uuser = $('#user_username').val();
if(upass == '' || uuser == ''){
return false;
}
else if (/^\s+$/.test($('#user_password').val())){
$('#user_password').val("");
return false;
}
else {
if(waitReply == 0){
waitReply = 1;
$.post('login', {
password: upass,
username: uuser
}, function(response) {
if(response == 1){
$('#user_password').val("");
}
else if (response == 2){
$('#user_password').val("");
}
else if (response == 3){
location.reload();
}
waitReply = 0;
});
}
else {
return false;
}
}
}
</script>
</body>