-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
116 lines (105 loc) · 5.22 KB
/
Copy pathindex.php
File metadata and controls
116 lines (105 loc) · 5.22 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?php
require realpath(dirname(__FILE__) . "/class/init.php");
require realpath(dirname(__FILE__) . "/control/session/unsaved.php");
if (isset($_SESSION['we']) && isset($_GET['we']) && ($_GET['we']==$_SESSION['we'])) {
unset($_SESSION['we']);
Util::__errorSummary(WRITALE_ERR_GEN);
}
if (isset($_SESSION['unverified_nonce']) && isset($_GET['u_n'])) {
unset($_SESSION['unverified_nonce']);
Util::__errorSummary(WRITALE_ERR_UNVERIFIED);
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title> Writale </title>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content ="Writale is a social way to build stories,
by leaving it incomplete for people and posting picture, which can fire several stories." />
<link rel="stylesheet" type="text/css" href="//<?php echo $_SERVER['HTTP_HOST']; ?>/style/universal.css" />
<link rel="stylesheet" type="text/css" href="//<?php echo $_SERVER['HTTP_HOST']; ?>/style/style-2192013223.css" />
<link rel="canonical" href="https://writale.com" />
<link rel="shortcut icon" type="image/x-icon" href="//<?php echo $_SERVER['HTTP_HOST']; ?>/resource/image/icon/favicon.ico" />
<script src="//<?php echo $_SERVER['HTTP_HOST']; ?>/script/common.js"></script>
</head>
<body id="writale-home-body">
<div id="fb-root"></div>
<script src="//<?php echo $_SERVER['HTTP_HOST']; ?>/script/fbsdk.js"></script>
<div class="logo-container">
<a href="//<?php echo $_SERVER['HTTP_HOST']; ?>">
<img src="resource/image/logo/writale-darkslateblue.jpg" alt="Writale logo" />
</a>
</div>
<div class="login-panel">
<form action="<?php echo $_protocol . $_SERVER['HTTP_HOST'] . '/login'; ?>" method="POST" id="writale-homepage-form" autocomplete="off">
<div id="email-form">
<input type="text" id="inpt-text1" name="email" class="si-inpt" title="Enter your username or email address"/>
<div class="form-place-holder" id="fpl-email">Username or Email</div>
<br />
<br />
<input type="password" id="inpt-text2" name="passwd" class="si-inpt" title="Enter your password here" />
<div class="form-place-holder" id="fpl-passwd">Password</div>
<div id="forgot-password" title="Recover your password">
Forgot Password?
</div>
</div>
<div id="remember-me"><input type="checkbox" name="rembme" id="cb-remb" value="rem" /><div id="remb-place-holder">Remember Me</div>
</div>
<button id="login-button" type="submit" name="login">Log In</button>
</form>
<div class="button-panel">
<input type="hidden" id="fb-login-nonce" value="<?php echo $_SESSION['fblogin_n']; ?>" />
<div class="button-std" id="fb-login-button">Login With Facebook</div>
<!-- <div id="fb-footer">
<ul>
<li>No Need to create a new account.</li>
<li>One less password to remember.</li>
</ul>
</div> -->
</div>
<div id="fb-home-text">Or, if you have Facebook account</div>
<div id="header">Have an account? Start here</div>
</div>
<div class="big-picture" id="home-page-mashup">
<img src="//<?php echo $_SERVER['HTTP_HOST']; ?>/resource/image/home-mashup/home-mashup-2.jpg" alt="Writale Mashup"/>
</div>
<div class="full-width-plate" id="head-box">
<div id="unsaved-utility-main">
<a href="<?php echo $_protocol . $_SERVER['HTTP_HOST'] . '/signup'; ?>">
<div class="unsaved-panel-button" id="signup-main-butt">
SIGNUP
</div>
</a>
<a href="#">
<div class="unsaved-panel-button" id="privacy-main-butt">
PRIVACY
</div></a>
<a href="#">
<div class="unsaved-panel-button" id="terms-main-butt">
TERMS
</div></a>
</div>
</div>
<script>
window.onload = function() {
form_utility();
forgot_password_link();
adjustPicture();
};
window.onresize = adjustPicture;
function adjustPicture () {
$.getElementById("home-page-mashup").style.left = "46%";
if(window.innerWidth<990) {
$.getElementById("home-page-mashup").style.left = "400px";
}
else if(window.innerWidth<1165)
$.getElementById("home-page-mashup").style.left = "39%";
}
</script>
<?php
include realpath(dirname(__FILE__).'/control/decorator/utilbottom.php'); ?>
</body>
</html>