-
Notifications
You must be signed in to change notification settings - Fork 0
/
Preindex.php
executable file
·41 lines (40 loc) · 2.28 KB
/
Preindex.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
<?php
/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
$File1Name = dirname($_SERVER['PHP_SELF'])."/";
$File2Name = $_SERVER['PHP_SELF'];
$File3Name=str_replace($File1Name, null, $File2Name);
if ($File3Name=="Preindex.php"||$File3Name=="/Preindex.php") {
require('inc/403.html');
exit(); }
require('MySQL.php');
if ($SkinSet['CopyRightType']=="CopyRight 1") {
$Endpage = "<table class=\"crtable1\" style=\"font-size:11px; width:auto; width: 100%;\">\n<tr class=\"crtable2\">\n<td><div style=\"text-align: center;\" class=\"copyright\">Powered by: ".$DF2kV3." © ".GMTimeChange("Y",GMTimeSend(null),$YourOffSet)." <a href=\"http://cooldude2k.co.funpic.org/\">Game Maker 2k</a></div></td></tr>\n<tr class=\"crtable3\"><td><div style=\"text-align: center;\" class=\"copyright\">".$SkinSet['CopyRight']."</div></td></tr>\n</table>"; }
if ($SkinSet['CopyRightType']!="CopyRight 1") {
$Endpage = "<div class=\"copyright\">".$DF2kV1."<br />\n".$SkinSet['CopyRight']."</div>"; }
?>
<!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" xml:lang="en-US" lang="en-US">
<head>
<meta http-equiv="content-language" content="en-US" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-15" />
<meta name="Generator" content="EditPlus" />
<meta name="Author" content="null" />
<meta name="Keywords" content="null" />
<meta name="Description" content="null" />
<meta name="ROBOTS" content="Index, FOLLOW" />
<meta name="revisit-after" content="1 days" />
<meta name="GOOGLEBOT" content="Index, FOLLOW" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<?php echo $SkinSet['CSSHTML']."\n"; ?>
<script type="text/javascript" src="misc/KernelJS.php"></script>