Файл: Source/pages/inc/header.php
Строк: 277
<?php
/*
* Script name: Points4Prize
* Author: Soft Projects
* Date created: 15/07/2015
*/
?>
<!DOCTYPE HTML>
<html lang = "en">
<head>
<meta charset="utf-8" />
<title>
<?php
$maint = $GLOBALS['site_name'];
if (!isset($m) or $m == "home") {
echo $GLOBALS['site_name'];
} elseif ($m == "register") {
echo "Register - $maint";
} elseif ($m == "lostpassword") {
echo "Sign up - $maint";
} elseif ($m == "login") {
echo "Login - $maint";
} elseif ($m == "rules") {
echo "Rules - $maint";
} elseif ($m == "terms") {
echo "Terms - $maint";
} elseif ($m == "partners") {
echo "Partners - $maint";
} elseif ($m == "prizes") {
echo "Prizes - $maint";
} elseif ($m == "rankings") {
echo "Ranking - $maint";
} elseif ($m == "awarded") {
echo "Winners - $maint";
} elseif ($m == "forum") {
echo "Forum - $maint";
} elseif ($m == "contact-us") {
echo "Contact us - $maint";
} elseif ($m == "error") {
echo "Error - $maint";
} elseif ($m == "pm") {
echo "Messages - $maint";
} elseif ($m == "readpm") {
echo "Read message - $maint";
} elseif ($m == "sendpm") {
echo "Send message - $maint";
} elseif ($m == "forprizegames") {
echo "Games - $maint";
} elseif ($m == "cp") {
echo "Control Panel - $maint";
} elseif ($m == "tankgame") {
echo "The Last Tank - $maint";
} elseif ($m == "user") {
echo "$_GET[n] - $maint";
} elseif ($m == "prize") {
$id = str_replace(" ", "", $_GET['id']);
$id = sprintf("%s", mysql_real_escape_string($id));
$prizetitleq = mysql_query("SELECT * FROM vn_prizes WHERE id='{$id}'") or die(mysql_error());
$prizetitle = mysql_fetch_assoc($prizetitleq);
echo "$prizetitle[title] - $maint";
}
?>
</title>
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta property="og:type" content="" />
<meta property="og:title" content="" />
<meta property="og:image" content="" />
<meta property="og:description" content="" />
<meta property="og:url" content="<?php echo $GLOBALS['site_url']; ?>" />
<meta property="og:site_name" content="<?php echo $GLOBALS['site_name']; ?>" />
<link rel="shortcut icon" type="image/png" href="<?php echo $GLOBALS['site_url']; ?>assets/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['site_url']; ?>assets/css/grid.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['site_url']; ?>assets/css/reset.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['site_url']; ?>assets/css/font-awesome.min.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['site_url']; ?>assets/css/dat-menu.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['site_url']; ?>assets/css/main-stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['site_url']; ?>assets/css/responsive.css" media="screen" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,700|Oswald:300,400,700|Source+Sans+Pro:300,400,600,700&subset=latin,latin-ext" />
<!--[if lt IE 9 ]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
#featured-img-1 {
background-image: url(<?php echo $GLOBALS['site_url']; ?>uploads/slider/image-1.jpg);
}
#featured-img-2 {
background-image: url(<?php echo $GLOBALS['site_url']; ?>uploads/slider/image-2.jpg);
}
#featured-img-3 {
background-image: url(<?php echo $GLOBALS['site_url']; ?>uploads/slider/image-3.jpg);
}
#featured-img-4 {
background-image: url(<?php echo $GLOBALS['site_url']; ?>uploads/slider/image-4.jpg);
}
/* Man content & sidebar top lne, default #256193 */
#sidebar .panel,
#main-box #main {
border-top: 5px solid #256193;
}
/* Slider colors, default #256193 */
a.featured-select,
#slider-info .padding-box ul li:before,
.home-article.right ul li a:hover {
background-color: #256193;
}
/* Button color, default #256193 */
.panel-duel-voting .panel-duel-vote a {
background-color: #256193;
}
/* Menu background color, default #000 */
#menu-bottom.blurred #menu > .blur-before:after {
background-color: #000;
}
/* Top menu background, default #0D0D0D */
#header-top {
background: #0D0D0D;
}
/* Sidebar panel titles color, default #333333 */
#sidebar .panel > h2 {
color: #333333;
}
/* Main titles color, default #353535 */
#main h2 span {
color: #353535;
}
/* Selection color, default #256193 */
::selection {
background: #256193;
}
/* Links hover color, default #256193 */
.article-icons a:hover,
a:hover {
color: #256193;
}
/* Image hover background, default #256193 */
.article-image-out,
.article-image {
background: #256193;
}
/* Image hover icons color, default #256193 */
span.article-image span .fa {
color: #256193;
}
table{
border-collapse:collapse;
width:100%;
}
.blue{
border:2px solid #256193;
border-radius:4px;
}
.blue thead{
background:#256193;
}
.purple{
border:2px solid #9B59B6;
}
.purple thead{
background:#9B59B6;
}
thead{
color:white;
}
th,td{
text-align:left;
padding-left: 15px;
padding-top: 10px;
padding-bottom: 10px;
}
tbody tr:nth-child(even){
background:#ECF0F1;
}
tbody tr:hover{
}
.fixed{
top:0;
position:fixed;
width:auto;
display:none;
border:none;
}
.scrollMore{
margin-top:600px;
}
.cntSeparator { font-size:54px; margin:-10px 2px 0px 2px; color:#000000; }
#cd { width:310px; margin:0px auto; }
.up{
cursor:pointer;
} .page{ display: inline-block; margin-right: 1px; font-style: normal; font-size: 13px; font-weight: bold; padding: 9px 16px; background-color: #256193; border-radius: 3px; border: 1px solid transparent; box-shadow: 0px 130px 100px -100px rgba(255, 255, 255, 0.2) inset, 0px 1px 0px rgba(255, 255, 255, 0.2) inset; text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5); color: #FFF; transition: all 0s ease 0s; } .page:hover{ display: inline-block; margin-right: 1px; font-style: normal; font-size: 13px; font-weight: bold; padding: 9px 16px; background-color: #519623; border-radius: 3px; border: 1px solid transparent; box-shadow: 0px 130px 100px -100px rgba(255, 255, 255, 0.2) inset, 0px 1px 0px rgba(255, 255, 255, 0.2) inset; text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5); color: #FFF; transition: all 0s ease 0s; } .npage{ display: inline-block; margin-right: 1px; font-style: normal; font-size: 13px; font-weight: bold; padding: 9px 16px; background-color: #519623; border-radius: 3px; border: 1px solid transparent; box-shadow: 0px 130px 100px -100px rgba(255, 255, 255, 0.2) inset, 0px 1px 0px rgba(255, 255, 255, 0.2) inset; text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5); color: #FFF; transition: all 0s ease 0s; }
.accordion .accordion-tab > a {
display: block;
margin-bottom: 15px;
font-weight: bold;
font: 14px "Open Sans",sans-serif;
font-size: 14px;
text-decoration: none !important;
position: relative;
}
</style>
<script>
function jump(loc) { window.location = loc;}
function openwindow(src,title) {
var docwidth = $(document).width();
var pad = ((docwidth - 880)/2)-10;
var props = "width=880,height=400,left="+pad+",top=150,screenX="+pad+",screenY=150";
window.open(src,title,props);
}
</script>
<script type='text/javascript' src='<?php echo $GLOBALS['site_url']; ?>assets/jscript/jquery-1.11.2.min.js'></script>
<script type='text/javascript' src='<?php echo $GLOBALS['site_url']; ?>assets/jscript/modernizr.custom.50878.js'></script>
<script type='text/javascript' src='<?php echo $GLOBALS['site_url']; ?>assets/jscript/iscroll.js'></script>
<script type='text/javascript' src='<?php echo $GLOBALS['site_url']; ?>assets/jscript/dat-menu.js'></script>
<script type='text/javascript'>
var strike_featCount = 4;
var strike_autostart = true;
var strike_autoTime = 7000;
</script>
<script type='text/javascript' src='<?php echo $GLOBALS['site_url']; ?>assets/jscript/theme-script.js'></script>
<script type="text/javascript">
/* <![CDATA[ */
(function () {
try {
var s, a, i, j, r, c, l = document.getElementsByTagName("a"), t = document.createElement("textarea");
for (i = 0; l.length - i; i++) {
try {
a = l[i].getAttribute("href");
if (a && a.indexOf("/cdn-cgi/l/email-protection") > -1 && (a.length > 28)) {
s = '';
j = 27 + 1 + a.indexOf("/cdn-cgi/l/email-protection");
if (a.length > j) {
r = parseInt(a.substr(j, 2), 16);
for (j += 2; a.length > j && a.substr(j, 1) != 'X'; j += 2) {
c = parseInt(a.substr(j, 2), 16) ^ r;
s += String.fromCharCode(c);
}
j += 1;
s += a.substr(j, a.length - j);
}
t.innerHTML = s.replace(/</g, "<").replace(/>/g, ">");
l[i].setAttribute("href", "mailto:" + t.value);
}
} catch (e) {
}
}
} catch (e) {
}
})();
/* ]]> */
</script>
<style>
hr{
border:none;
border-top:1px dashed #696969;
}
</style>
</head>