-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
155 lines (107 loc) · 3.98 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
<?php
session_start();
include ('includes/dbvars.php'); // MISC DB VARIABLES
include ('db_data.php'); // ITEM,SPELLS,MISC CODES
include ('lang/'.LANG.'.php'); // LANGUAGE FILE
include ('includes/pages.php'); // PAGES FOR DISPLAY
include ('includes/functions.php'); // MISC FUNCTIONS
// CONNECT TO THE SQL SERVER
$conn = @mysql_connect(HOST,SQL_USERNAME,SQL_PASSWORD);
if( !$conn )
die(mysql_error());
// COOKIE CHECK (SEE IF THEY WENT AFK TO LONG)
if( !isset($_COOKIE['vwowstatus']) ){
// THEY'RE AFK - GANK EM'!! ROAR!!!!
unset($_SESSION['userid']);
}
else
{
//ADD SOME MORE TIME SINCE THEY ARE STILL HERE
setcookie( "vwowstatus",1,time() + AFK );
}
?>
<HTML>
<HEAD>
<META NAME="Author" CONTENT="Klyxmaster">
<script type="text/javascript" src="scripts/tips.js"></script>
<script type="text/javascript" src="scripts/popmap.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="fast.css" />
<LINK REL="FAVICON" HREF="wow.ico">
<TITLE>
<?php echo $lang[LANG]['site_name'];?>
</TITLE>
</HEAD>
<BODY>
<!-- Begin Table -->
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="1440" HEIGHT="899" >
<TR>
<TD ROWSPAN="4" COLSPAN="1" WIDTH="265" HEIGHT="899"><IMG NAME="full_mockup0" SRC="FAST_theme/wowtemplates1_1x1.jpg" WIDTH="265" HEIGHT="899" BORDER="0"></TD>
<?php /* ----------------------- [ HEADER ] ---------------------------------*/?>
<TD ROWSPAN="1" COLSPAN="3" WIDTH="910" HEIGHT="382" BACKGROUND="FAST_theme/wowtemplates1_1x2.jpg" valign="top">
<!-- /* ----------[[ PLEASE DO NOT REMOVE THE FOLLOWING - ZARD WORKED HARD AND DID A GREAT JOB ]]----*/ -->
<div style="float:right;font-size:10px;" align="right">Webpage Graphics by
<a href="http://be.net/niloalexandre" target="_blank">Zardom002 </a>
<br/>Image changes by <a href="http://www.google.com/recaptcha/mailhide/d?k=01cB-gMIDW-K9xSilCz-G7oQ==&c=VZrBSZ694AKXLIjiYCXi5fRPIQGyWO1s2GBPo7Zt36Q=" target="_balnk">Klyxmaster</a>
</div>
</TD>
<?php /* ----------------------- [ END HEADER ] ---------------------------------*/?>
<TD ROWSPAN="4" COLSPAN="1" WIDTH="265" HEIGHT="899">
<IMG NAME="full_mockup2" SRC="FAST_theme/wowtemplates1_1x3.jpg" WIDTH="265" HEIGHT="899" BORDER="0">
</TD>
</TR>
<TR>
<?php /* ---------------- [ MENU BAR ] ----------------------------*/?>
<TD ROWSPAN="1" COLSPAN="3" WIDTH="910" HEIGHT="27" BACKGROUND="FAST_theme/wowtemplates1_2x1.jpg" valign="middle" align="center">
<center class="menu">
<?php include('top_mnu.php');?>
</center>
</TD>
<?php /* ---------------- [ END MENU BAR ] ----------------------------*/?>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="3" WIDTH="910" HEIGHT="12">
<IMG NAME="wowtemplates14" SRC="FAST_theme/wowtemplates1_3x1.jpg" WIDTH="911" HEIGHT="12" BORDER="0"></TD>
</TR>
<?php /* ---------------- [ LOGIN AND ACCT INFO ] ----------------------------*/?>
<TR>
<TD ROWSPAN="1" COLSPAN="1" WIDTH="194" HEIGHT="478" BACKGROUND="FAST_theme/wowtemplates1_4x1.jpg">
<?php
if( !isset($_SESSION['userid']) )
{
//USER NOT LOGGED IN - DISPLAY LOGIN FORM
include('login.php');
}
else
{
//USER IS LOGGED IN, DISPLAY SOME BASIC INFO
include('user_status.php');
}
?>
</TD>
<?php /* ---------------- [ ***MAIN CENTER DISPLAY*** ] ----------------------------*/?>
<TD ROWSPAN="1" COLSPAN="1"
WIDTH="522" HEIGHT="478"
BACKGROUND="FAST_theme/wowtemplates1_4x2.jpg"
valign="top"
>
<center>
Welcome to <B><?php echo $lang[LANG]['site_name'];?></B><br/>
...<I><?php echo $lang[LANG]['tag_line'];?></I><br/>
</center>
<?php include('parse_pages.php');?>
</TD>
<?php /* ---------------- [ ***END MAIN CENTER DISPLAY*** ] ----------------------------*/?>
<?php /* ---------------- [ RIGHT SIDEBAR ] ----------------------------*/?>
<TD ROWSPAN="1" COLSPAN="1" WIDTH="194" HEIGHT="478" BACKGROUND="FAST_theme/wowtemplates1_4x3.jpg" style="overflow:hidden;">
<center>
<?php
include('search.php');
include('server_nfo.php');
?>
</center>
</TD>
</TR>
</TABLE>
<!-- End Table -->
</BODY>
</HTML>