This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
81 lines (69 loc) · 2.9 KB
/
header.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
<?
include('connect.php');
include('function.spamstop.php');
include('function.newname.php');
include('function.whitelist.php');
include('function.email.php');
include('function.nonlatin.php');
include('function.rssadd.php');
include('function.play.php');
include('function.findlang.php');
if(!isset($_GET['L'])) {
$conf_lang = function_findlang($_SERVER['REMOTE_ADDR'],$db_pref);
} else {
$conf_lang = $_GET['L'];
}
include('function.lang.php');
$sql_langcode = 'SELECT `Code` FROM `'.$db_pref.'langs` WHERE `ID` = \''.$conf_lang.'\'';
$raw_langcode = mysql_query($sql_langcode);
$dat_langcode = mysql_fetch_array($raw_langcode);
echo('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$dat_langcode['Code'].'" lang="'.$dat_langcode['Code'].'">
<head>
<title>'.function_lang('MAIN_TITLE',$conf_lang,$db_pref).'</title>
<meta http-equiv="content-type"
content="text/html;charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="keywords" content="mn, mnlist, list, microlist, micro-nation, micronation, mikronation, micronatie, micronations, mikronationen, directory, microdirectory, micronational, flags, forums, websites, danny wallace, lovely, kingdom of lovely, citizens required, how to start your own country, how to start a micronation, talossa, atlantium, sealand, Hutt River Province, Norton, King, Kingdom, Prince, Principality, Republic, Government, The Mouse that Roared, The Mouse Roars Again, simgov, MMORPG" />');
if(substr($_SERVER['PHP_SELF'],-9)=="index.php") {
echo(' <style type="text/css">
@import url(http://www.google.com/cse/api/branding.css);
</style>');
}
$address = explode('/',$_SERVER[SCRIPT_NAME]);
$bits = count($address);
if($address[($bits-1)]=="add_new3.php") {
echo('<meta http-equiv="refresh" content="2;url=index.php" />');
}
?>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="shortcut icon" href="faviconF.ico" />
</head>
<body>
<div id="button"><a href="http://dr-spangle.com"><img src="http://dr-spangle.com/images/home.php" alt="Home" /></a></div>
<div id="main">
<?
echo('<a class="image" href="index.php"><img src="images/'.function_lang('BANNER_IMG',$conf_lang,$db_pref).'" alt="'.function_lang('TITLE_ALT',$conf_lang,$db_pref).'" /></a>');
if(1==0) {
echo('<script type="text/javascript"><!--
google_ad_client = "pub-5547405481417256";
/* ForumList */
google_ad_slot = "2848926708";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>');
}
echo('
<script type="text/javascript">
var RecaptchaOptions = {
theme : \'blackglass\',
lang : \''.$dat_langcode['Code'].'\'
};
</script>');
?>
<br /><br />