forked from Shadowss/TravianZ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
164 lines (161 loc) · 8.08 KB
/
index.php
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?php
#################################################################################
## ##
## -= YOU MUST NOT REMOVE OR CHANGE THIS NOTICE =- ##
## ##
## --------------------------------------------------------------------------- ##
## ##
## Project: ZravianX ##
## Version: 2011.10.31 ##
## Filename: notification/index.php ##
## Developed by: ZZJHONS ##
## License: Creative Commons BY-NC-SA 3.0 ##
## Copyright: ZravianX (c) 2011 - All rights reserved ##
## URLs: http://zravianx.zzjhons.com ##
## Source code: http://www.github.com/ZZJHONS/ZravianX ##
## ##
#################################################################################
include("../GameEngine/config.php");
include("../GameEngine/Lang/".LANG.".php");
include("lang/".LANG.".php");
if(T4_COMING==true){
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo SERVER_NAME; ?></title>
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="content-language" content="<?php echo LANG; ?>" />
<link href="gpack/notification_v1_zzjhons/lang/en/lang.css" rel="stylesheet" type="text/css" />
<link href="gpack/notification_v1_zzjhons/lang/en/compact.css?f4b7i rel="stylesheet" type="text/css" />
<script type="text/javascript" src="crypt.js"></script>
<script type="text/javascript">
Travian.Translation.add({'allgemein.cancel': 'Abbrechen','allgemein.ok': 'OK','allgemein.send': 'com'});
</script>
</head>
<body class="webkit chrome">
<div id="backgroundLeft"></div>
<div id="backgroundRight"></div>
<div id="background">
<div id="content-container">
<img alt="Logo" id="logoMed" src="img/x.gif" />
<div id="header">
<img src="img/x.gif" id="brand" alt="Travian"/> <?php echo $lang['notification']['awaits_you']; ?></div>
<div id="text-container">
<h1 id="first"><?php echo $lang['notification']['join_now']; ?></h1>
<div><?php echo $lang['notification']['new_challenges']; ?></div>
</div>
<div id="senden-container">
<h2><?php echo $lang['notification']['notify_me']; ?>:</h2>
<div id="form-container">
<form method="post" action="index.php?email=error">
<div>
<label for="emailInput" class="maillabel"><?php echo $lang['notification']['email']; ?>:</label>
<input type="text" class="text" name="registerMail" id="emailInput" maxlength="50" value="" />
<button type="submit" value="send" name="sendRegisterMail" id="sendRegisterMail" class="orange">
<div class="button-container">
<div class="button-position">
<div class="btl">
<div class="btr">
<div class="btc"></div>
</div>
</div>
<div class="bml">
<div class="bmr">
<div class="bmc"></div>
</div>
</div>
<div class="bbl">
<div class="bbr">
<div class="bbc"></div>
</div>
</div>
</div>
<div class="button-contents"><?php echo $lang['notification']['send']; ?></div>
</div>
</button>
<div class="clear"></div>
<div id="errordiv" class="error">
<?php if(!isset($_GET['email'])) { $_GET['email'] = ""; } if ($_GET['email'] == "error") { echo $lang['notification']['error']; } ?>
</div>
<div id="checks">
<input type="checkbox" class="check" name="newsletter" id="newsletter" />
<label for="newsletter" class="newslabel"><?php echo $lang['notification']['i_agree']; ?></label>
<div class="clear"></div>
</div>
</div>
</form>
</div>
</div>
<div id="facebook-container">
<div id="fb-widget">
<div id="fb-widget-head"></div>
<div id="fb-widget-content">
<iframe id="fb-container" src="http://www.facebook.com/plugins/likebox.php?href=<?php echo $lang['notification']['facebook_page']; ?>&width=182&colorscheme=light&connections=9&stream=false&header=false&height=260" scrolling="no" frameborder="0"></iframe>
</div>
<div id="fb-widget-bottom"></div>
</div>
</div>
<div id="js-container">
<h2><?php echo $lang['notification']['see_features']; ?>:</h2>
<img id="featureLookHead" src="img/x.gif" alt="<?php echo $lang['notification']['screenshots']; ?>" />
<div id="textContainer">
<span id="featureTitel"><?php echo $lang['notification']['new_design']; ?></span>
<span id="featureText"><?php echo $lang['notification']['new_graphics']; ?></span>
</div>
<div id="screensNav-container">
<div class="but_div_active" id="but_div_0" onmouseover="Travian.Notification.screenNav(0);" onmouseout="Travian.Notification.contslide();"></div>
<div class="but_div" id="but_div_1" onmouseover="Travian.Notification.screenNav(1);" onmouseout="Travian.Notification.contslide();"></div>
<div class="but_div" id="but_div_2" onmouseover="Travian.Notification.screenNav(2);" onmouseout="Travian.Notification.contslide();"></div>
<div class="but_div" id="but_div_3" onmouseover="Travian.Notification.screenNav(3);" onmouseout="Travian.Notification.contslide();"></div>
<div class="but_div" id="but_div_4" onmouseover="Travian.Notification.screenNav(4);" onmouseout="Travian.Notification.contslide();"></div>
</div>
</div>
<div id="devBlog-container">
<a target="_blank" href="#" class ="devlabel"><?php echo $lang['notification']['more']; ?></a>
</div>
<div id="fbt-container">
<a target="_blank" href="#" title="post a message on Twitter" id="twitter"></a>
<a target="_blank" href="#" title="post a message on Facebook" id="facebook"></a>
</div>
<script type="text/javascript">
window.addEvent('domready', function()
{
Travian.Notification.screenTitel = new Array();
Travian.Notification.screenTitel[0] = "<?php echo $lang['notification']['title1']; ?>";
Travian.Notification.screenTitel[1] = "<?php echo $lang['notification']['title2']; ?>";
Travian.Notification.screenTitel[2] = "<?php echo $lang['notification']['title3']; ?>";
Travian.Notification.screenTitel[3] = "<?php echo $lang['notification']['title4']; ?>";
Travian.Notification.screenTitel[4] = "<?php echo $lang['notification']['title5']; ?>";
Travian.Notification.screenText = new Array();
Travian.Notification.screenText[0] = "<?php echo $lang['notification']['desc1']; ?>";
Travian.Notification.screenText[1] = "<?php echo $lang['notification']['desc2']; ?>";
Travian.Notification.screenText[2] = "<?php echo $lang['notification']['desc3']; ?>";
Travian.Notification.screenText[3] = "<?php echo $lang['notification']['desc4']; ?>";
Travian.Notification.screenText[4] = "<?php echo $lang['notification']['desc5']; ?>";
Travian.Notification.screenInit();
});
</script>
</div>
<div id="footer-container">
<div id="footer">
<a href="../index.php#agb" target="_blank"><?php echo AGB; ?></a> |
<a href="../index.php#spielregeln" target="_blank"><?php echo SPIELREGELN; ?></a> |
<a href="../index.php#impressum" target="_blank"><?php echo SPIELREGELN; ?></a>
<br />
© 2012 Travian
</div>
</div>
</div>
</body>
</html>
<?php
}else{
header("Location: ../index.php");
exit;
}
?>