File size: 2,796 Bytes
2201635
 
c5dc16c
 
 
 
 
 
 
 
 
 
 
2201635
c5dc16c
2201635
c5dc16c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
eaf2fb5
c5dc16c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2201635
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!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>