This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.php
293 lines (277 loc) · 13.7 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<?php error_reporting(E_ALL ^ E_DEPRECATED); ?>
<!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>
<meta http-equiv="Content-Type" content="A text-based MMORPG with a lot of kick. Get started by signing up and defeating the enemies that destroyed your home town. Updates come frequently! Player chat! Random Drops! And its all free to you!" />
<meta name="KEYWORDS" content="MMORPG; RPG; game; multiplayer; online; fun; free; games; role; playing; Neflaria; Shimlar; Race War Kingdoms; Dragon; Kingdoms; War; Immoral; Attack; Immoral Attack; Immortal; Domain; Heroes; Old; School; Lost; Runes; Fallen; Immortals; Fallen Immortals; Eternal; Wars; Eternal Wars;" >
<meta name="DESCRIPTION" content="A free text-based MMORPG with a lot of kick. Get started by signing up and defeating the enemies that destroyed your home town. Updates come frequently! Player chat! Random Drops! And its all free to you!">
<title>The Fallen Immortals! Online Text-Based MMORPG</title>
<script src="ajax.js" type="text/javascript"></script>
<script src="dom.js" type="text/javascript"></script>
<script src="functions.js" type="text/javascript"></script>
<script src="homefunctions.js" type="text/javascript"></script>
<script src="gamefunctions.js" type="text/javascript"></script>
<script src="chatroomfunctions.js" type="text/javascript"></script>
<style type="text/css">
body {
background-attachment: scroll;
background-color: #000;
background-position: right;
text-align: center;
}
a {
color: #999;
}
#container {
position: relative;
left:-40px;
margin: 0 auto;
width: 1080px;
}
#top {
background-image: url(images/Untitled-1_01.gif);
height: 209px;
width: 1024px;
background-repeat: no-repeat;
background-color: #000;
visibility: visible;
position: absolute;
left: 40px;
top: 0px;
}
#leftSide {
background-image: url(images/Untitled-1_02.gif);
height: 422px;
width: 67px;
position: absolute;
top: 209px;
background-color: #000;
background-repeat: no-repeat;
left: 40px;
}
#content {
background-color: #000;
background-image: url(images/Untitled-1_03.png);
background-repeat: no-repeat;
position: absolute;
height: 367px;
width: 879px;
left: 107px;
top: 209px;
}
#rightSide {
background-color: #000;
background-image: url(images/Untitled-1_04.gif);
background-repeat: no-repeat;
position: absolute;
height: 422px;
width: 78px;
left: 986px;
top: 209px;
}
#bottom {
background-color: #000;
background-image: url(images/Untitled-1_05.gif);
background-repeat: no-repeat;
position: absolute;
height: 55px;
width: 879px;
left: 107px;
top: 576px;
font-family: "Times New Roman", Times, serif;
font-size: 14px;
font-style: normal;
color: #666;
text-align: center;
}
#homeLink {
background-image: url(images/homeLink.png);
background-repeat: no-repeat;
height: 25px;
width: 78px;
position: absolute;
left: 35px;
top: -10px;
}
#aboutLink {
background-image: url(images/aboutLink.png);
background-repeat: no-repeat;
height: 25px;
width: 90px;
position: absolute;
left: 130px;
top: -10px;
}
#updatesLink {
background-image: url(images/updatesLink.png);
background-repeat: no-repeat;
height: 25px;
width: 110px;
position: absolute;
left: 235px;
top: -10px;
}
#voteLink {
background-image: url(images/voteLink.png);
background-repeat: no-repeat;
height: 25px;
width: 75px;
position: absolute;
left: 360px;
top: -10px;
}
#contactLink {
background-image: url(images/contactLink.png);
background-repeat: no-repeat;
height: 25px;
width: 120px;
position: absolute;
left: 450px;
top: -10px;
}
#displayArea {
font-family: "Times New Roman", Times, serif;
font-size: 16px;
color: #CFB164;
left: 30px;
position: absolute;
top: 30px;
overflow: auto;
right: 20px;
bottom: 20px;
text-align: left;
font-weight: bold;
clip: rect(auto,auto,auto,auto);
}
#loginForm {
border-right-style: none;
padding-bottom: 30px;
}
#registerForm {
position: absolute;
left: 400px;
top: 0px;
border-left-style: dotted;
padding-left: 10px;
}
#activity {
position: absolute;
left: 855px;
top: 35px;
text-align: left;
background-image: url(images/activityBox.png);
background-repeat: no-repeat;
height: 75px;
width: 150px;
font-family: "Times New Roman", Times, serif;
font-size: 16px;
color: #CFB164;
padding-top: 13px;
padding-left: 10px;
}
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35665413-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div id="container">
<div id="top"></div>
<div id="leftSide"></div>
<div id="activity">
<?php
$dbhost = "localhost";
$database = "homestead";
$dbuser = "homestead";
$dbpass = "secret";
$login = mysql_connect($dbhost, $dbuser, $dbpass) or trigger_error(mysql_error(),E_USER_ERROR);
mysql_select_db($database) or die("Where?");
$time = time() - "600";
$findonline = mysql_query("SELECT * FROM characters WHERE lastactive>'".$time."'");
$numonline = mysql_num_rows($findonline);
$time = time() - "604800";
$findweek = mysql_query("SELECT * FROM characters WHERE lastactive>'".$time."'");
$numweek = mysql_num_rows($findweek);
$findregistered = mysql_query("SELECT * FROM characters");
$numregistered = mysql_num_rows($findregistered);
?>
Online: <?=$numonline?><br />
Week: <?=$numweek?><br />
Registered: <?=$numregistered?>
</div>
<div id="content">
<a id="homeLink" href="index.php"></a><a id="aboutLink" href="#about"></a><a id="updatesLink" href="Javascript: updates();"></a><a id="voteLink" href="Javascript: votepage();"></a><a id="contactLink" href="Javascript: contact();"></a>
<div id="displayArea">
<div id="loginForm">
<h3>Login</h3><br />
<form name="loginForm" id="loginForm" onsubmit="this.disabled=true;this.value='Submitting...';goLogin();">
Username: <input type="text" id="username" /><br />
Password: <input type="password" id="password" /><br />
<input type="button" id="login" name="login" value="Login" onclick="this.disabled=true;this.value='Submitting...';goLogin();" />
</form><br />
<a href="Javascript: forgotPassword();">Forgot Password</a>
</div>
<div id="registerForm">
<h3>Register</h3><br />
<form name="registrationForm" id="registrationForm" onsubmit="this.disabled=true;this.value='Submitting...';goRegister();">
Username: <input type="text" id="usernamereg" maxlength="20" /><br />
Password: <input type="password" id="passwordreg" /><br />
Password Confirm: <input type="password" id="passwordvreg" /><br />
Email: <input type="text" id="emailreg" /><br />
Gender: <select id="genderreg">
<option value="Male">Male</option>
<option value="Female">Female</option>
</select><br />
Class: <select id="classreg">
<option value="Fighter">Fighter</option>
<option value="Mage">Mage</option>
</select><br />
<?php
$comrade = isset($_GET['comrade']);
if(is_null($comrade) || $comrade === null){
print("Refferal: <input type=\"text\" id=\"comrade\" value=\"\" readonly /><br />");
}else{
print("Refferal: <input type=\"text\" id=\"comrade\" value=\"".$comrade."\" readonly /><br />");
}
?>
<input type="button" id="register" value="Register" onclick="this.disabled=true;this.value='Submitting...';goRegister();" />
</div>
<!--------------------------------->
<div id="about">
<h3><u>About the game</u></h3>
<i> This is a game about one being(yourself) going up against evil, in order to restore peace in the world. TFI has been in development since December 2010, and has evolved in a great manner. Constant updates to keep you entertained, and bug fixes when they happen. We are hosted on a Dedicated server and will always be up and running as long as the player base stays up, that\'s our guarentee.<br />
<br />
The main objective of the game is to select an oponent in which you can kill and do so; while reaping the rewards of experience points, gold, stat points, blood, bag drops, and more. Applying Scavenger to fighting will allow you to get even more rewards, even Cash drops(Real life currency to Game currency). Use stat points upon leveling up to make your character stronger in ways like no other. Join a guild to get more from exp and gold drops.<br />
<br />
Many features have been build in to keep you playing; Voodoo system, Mining and Forge system, PvP system, and Class swap and upgrade system. Try it out today! Register and follow the link in your email to begin playing. What's the worst that could happen?</i>
</div>
<!--------------------------------->
<div id="story">
<h3><u>Story Line...</u></h3>
<i> A sudden loud crash awakes you from a sleep, that feels as though it was forever. Gaining consciousness, you feel as though something is not right. You sit up and notice that the wall of your home is crumbling down, and a fire in the midst of your home. "What happened?", you say puzzled beyond belief. On your feet, you see no living movement beyond the fire. "How long was I asleep? Where is everyone?", you say, questioning everything going on around you. Last you remember was a great thunderstorm. One that you ponder, real or just a dream. You try to remember more, only achieving a headache, failing to remember anything other than a bright white light just before you woke up. "I must have been struck by a lightning bolt. I can't remember my name... my family?", you say to yourself.<br />
<br />
You begin trailing across what used to be your yard. "I can't believe... I... so much energy... Why am I not dead?" Entering into what used to be your home you see a body on the ground facing away from you. A pool of blood running the same way the body is facing, you rush to see if they are okay. Quickly dropping to your knees and pulling the face in your direction... "No!......", you say as a memory settles in. Now looking into the eyes of your wife, tears quickly begin to run down your face. "Why is this happening!", you say quivering and burrowing your face into her chest.<br />
<br />
Grasping the lifeless body you carry her up the stairs. At the top of the stairs in the room directly in front of you, you dare not to look in there for more than a second, quickly turning to the right and walking down the hall to the last door on the right. You open the door seeing the room still in tact as you continue over to the side of the bed. Laying her down a last kiss is given as you say, "I will find out who did this to you. I swear.... I swear..." Turning back you walk out the door and begin pacing down the hall again. Once again you peer to the room on the right, above the stairs, only to know if this is real. The lifeless bodies of children lay upon the floor.<br />
<br />
As you make your way to the bottom of the stairs you collapse, falling down the last ten stairs hearing, "Good evening, wouldn't you say?" Your head smashes into the last step causing you to go unconscious.<br />
<br />
You wake up to a pail of cold water drenching you while your eyes slowly open. Two disgusting beasts hold you down, cursing at you with some of the most foulest of words. "Why are you doing this!", you shout. Suddenly you hear foot steps coming from the darkness in front of you. "The living beings of this earth have been like a treat. Something I can't seem to get my mind off of... Your souls are too easy to control. Your so weak and pathetic.", says the man. "Who are you?", you demand. "I?... I am just another demon. They call me Abaddon." You ask, "Did you do this?". "Well yes child, I did. You see I have been planning this for so long. Your world is so corrupt making it so easy to enter your world. Once we got here we saw that everything was uncontrolled. But that's why I am here. I am a higher power.", explains Abaddon. "I won't let you do this. I am going to stop you... You killed my family! Let me up now so I can rearrange your face.", you say in a very distinctive tone. Abaddon chuckles and says, "You have much to learn. I see you are stronger than the others which is why you are still alive now. I should keep you as a pet. Although you haven't seen very much beyond your home. So I am going to let you look over the world with your own eyes. You will see that I have changed everything for the better. It is a fight that the whole world is involved in, I believe you will like it..." Abaddon then signals his beasts to cut your throat. "Such an adorable little pest.", Abaddon says as he walks out the door.<br />
<br />
Again for the last time you wake up. "Did I just dream?", you say. Feeling your throat you find a scar. "I don't understand. I should be dead... Am I... immortal? It can't be... This isn't real!!! Either way I am still alive. I need to find Abaddon and send him back to the deepest depths of hell. I must start training immediately.", you say. You begin gathering your things in a backpack, only taking necessary items. Your adventure begins... Good luck!</i>
</div>
</div>
</div>
<div id="rightSide"></div>
<div id="bottom">Copyright © 2010, Alexander J Jezior (Ajezior).<br />We encourage you to take a look at Privacy Policy and Terms And Conditions before browsing this site.<br /><br />
</div>
</div>
</body>
</html>