battles/top_menu.php

194 lines
9.3 KiB
PHP
Raw Normal View History

2018-01-28 16:40:49 +00:00
<!DOCTYPE html>
<html>
<HEAD>
<meta content="text/html; charset=utf-8" http-equiv=Content-type>
<script src="http://yandex.st/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<style>
.btn0 {
2018-01-28 16:40:49 +00:00
background: url(/i/newd/up_right_dec.jpg) no-repeat;
width: 78px;
height: 33px;
margin-top: 1px;
}
.btn7 {
background: url(/i/newd/up_right_dec2.jpg) no-repeat;
width: 19px;
height: 33px;
}
.btn2, .btn4, .btn20, .btn5, .btn6 {
2018-01-28 16:40:49 +00:00
cursor: pointer;
width: 32px;
height: 33px;
}
.btn2 {
background: url(/i/newd/up_butt2.jpg) no-repeat 0 -33px;
2018-01-28 16:40:49 +00:00
}
.btn4 {
background: url(/i/newd/up_butt4.jpg) no-repeat 0 -33px;
}
.btn20 {
background: url(/i/newd/m_link1.png) no-repeat 0 -33px;
}
.btn5 {
background: url(/i/newd/up_butt5.jpg) no-repeat 0 -33px;
}
.btn6 {
background: url(/i/newd/up_butt6.jpg) no-repeat 0 -33px;
}
.btn5:hover, .btn6:hover, .btn20:hover, .btn4:hover, .btn2:hover {
background-position: 0 0;
2018-01-28 16:40:49 +00:00
width: 32px;
cursor: pointer;
}
li {
display: inline-block;
float: right;
}</style>
<script>
setTimeout(function () {
location.href = "plrfr.php"
}, 52161000);
function ShowActions2() {
$('#btn2').removeClass('btn22');
$('#btn2').addClass('btn2');
var o = top.frames['main'].document;
if (o.frames && o.frames['leftmap']) {
o = o.frames['leftmap'].document;
}
if (!o.getElementById("actiondiv")) {
newdiv2 = o.createElement("div"),
newdiv2.setAttribute("id", "actiondiv");
newdiv2.setAttribute("style", "display:none;");
newdiv2.setAttribute("style", "z-index:99999;");
o.body.appendChild(newdiv2);
}
var el = o.getElementById("actiondiv");
txt = '<span style="color:#8F0000;font-weight:bold;">Текущие акции<br><br>';
2018-01-28 16:40:49 +00:00
txt += '<table border=0 width=400><tr><td rowspan=2 width="60" valign=top><img alt="" src="/i/action/sale_pictures2.jpg"></td><td style="color:#8F0000;font-weight:bold;"><a href="http://old-dark.ru" target="_blank" style="font-size: 10pt;font-family: Verdana,Arial,Helvetica,Tahoma,sans-serif;color: #038;text-decoration: none;">Акция "Установи изображение"</a></td></tr><tr><td style="font-size: 10pt;font-family: Verdana,Arial,Helvetica,Tahoma,sans-serif;color:black;font-weight:normal;">Спешите! Скидка на установку любых изображений.<br><small><i>Акция действует в настоящий момент c 01/03/2016 00:00 по 15/03/2016 00:00</i></small></td></tr><tr><td colspan=2 height=25><img src="/i/newd/pop/razdelitel1.png"></td></tr></table>';
txt += '<table border=0 width=400><tr><td rowspan=2 width="60" valign=top><img alt="" src="/i/action/sale_junior2.jpg"></td><td style="color:#8F0000;font-weight:bold;">"Подарки новичкам"</td></tr><tr><td style="font-size: 10pt;font-family: Verdana,Arial,Helvetica,Tahoma,sans-serif;color:black;font-weight:normal;">Перейдя на 5й уровень Вы получите ценное долларовое обмундирование в подарок.</td></tr><tr><td colspan=2 height=25><img src="/i/newd/pop/razdelitel1.png"></td></tr></table>';
el.innerHTML = '<table border=0 cellspacing=0 cellpadding=0 width=505><tr><td width=505 style="background-repeat: no-repeat;" background="/i/newd/pop/up_bg.jpg"><img OnClick="document.getElementById(\'actiondiv\').style.display = \'none\';" OnMouseOut="this.src=\'/i/newd/pop/close_butt.jpg\';" OnMouseOver="this.src=\'/i/newd/pop/close_butt_hover.jpg\';" src="/i/newd/pop/close_butt.jpg" align=right></td></tr><tr><td background="/i/newd/pop/bg-y.jpg" align="center">' + txt + '</td></tr><tr><td width=500 height=8 background="/i/newd/pop/down_bg.jpg"></td></tr>';
el.style.display = "";
el.style.position = "absolute";
el.style.width = "550px;";
el.style.left = "50%";
el.style.top = "10%";
el.style.marginLeft = "-275px";
$.get('plrfr.php?save=1');
}
top.an = 1;
</script>
<script type="text/javascript">
/* <![CDATA[ */
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17715832-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';
2018-01-28 16:40:49 +00:00
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
(function (b) {
(function (a) {
"__CF" in b && "DJS" in b.__CF ? b.__CF.DJS.push(a) : "addEventListener" in b ? b.addEventListener("load", a, !1) : b.attachEvent("onload", a)
})(function () {
"FB" in b && "Event" in FB && "subscribe" in FB.Event && (FB.Event.subscribe("edge.create", function (a) {
_gaq.push(["_trackSocial", "facebook", "like", a])
}), FB.Event.subscribe("edge.remove", function (a) {
_gaq.push(["_trackSocial", "facebook", "unlike", a])
}), FB.Event.subscribe("message.send", function (a) {
_gaq.push(["_trackSocial", "facebook", "send", a])
}));
"twttr" in b && "events" in twttr && "bind" in twttr.events && twttr.events.bind("tweet", function (a) {
if (a) {
var b;
if (a.target && a.target.nodeName === "IFRAME")a:{
2018-01-28 16:40:49 +00:00
if (a = a.target.src) {
a = a.split("#")[0].match(/[^?=&]+=([^&]*)?/g);
b = 0;
for (var c; c = a[b]; ++b)if (c.indexOf("url") === 0) {
b = unescape(c.split("=")[1]);
break a
}
}
b = void 0
}
_gaq.push(["_trackSocial", "twitter", "tweet", b])
}
})
})
})(window);
/* ]]> */
</script>
</HEAD>
<body bgcolor="#d7d7d7">
<table border=0 cellpadding=0 cellspacing=0 width="100%"
style="height: 33px; background: url(/i/newd/bricks_bg.jpg) repeat-x;border-spacing: 0; border-collapse: collapse;">
2018-01-28 16:40:49 +00:00
<tr>
<td width=210 style="min-width:210px;" align="left">
<img src="http://capitalcity.old-dark.ru/i/newd/up_left_dec.png">
</td>
<td align="center" style="position: relative;min-width: 350px;">
<table border=0 width=350 cellpadding=0 cellspacing=0>
<tr>
<td align=left width=1><img src="i/newd/up_center_left.png"></td>
<td style="background: url(/i/newd/up_center_bg.jpg) repeat-x;position:relative;vertical-align:top;"
2018-01-28 16:40:49 +00:00
align="center" width=100%>
<!-- RADIO PLACEHOLDER -->
</td>
<td align="right" width=1><img src="i/newd/up_center_right.png"></td>
</tr>
</table>
</td>
<td width=460 style="min-width:460px;">
<ul style="margin: -5px 0 0;">
2018-01-28 16:40:49 +00:00
<li>
<div class="btn7"></div>
</li>
<li><a href="#" onclick="top.cht('/user_anketa.php'); return false;" title="Анкета">
<div class="btn2" title="Анкета"></div>
</a></li>
<li><a href="#" onclick="top.cht('/blocknote.php'); return false;" title="Блокнот">
<div class="btn5" title="Блокнот"></div>
</a></li>
<li><a href="#" onclick="top.cht('/friend.php'); return false;" title="Друзья">
<div class="btn6" title="Друзья"></div>
</a></li>
<li><a href="#" onclick="top.cht('/ref.php'); return false;" title="Заработок">
<div class="btn4" title="Заработок"></div>
</a></li>
<li><a href="#" onclick="top.cht('/main.php?edit=1'); return false;" title="Инвентарь">
<div class="btn20" title="Инвентарь"></div>
</a></li>
<?php if ($user['first'] != 99): ?>
2018-01-28 16:40:49 +00:00
<li><a href="#" OnClick="ShowActions2();">
<div id="btn2" class="btn22" title="Квест"></div>
</a></li>
<?php endif; ?>
2018-01-28 16:40:49 +00:00
<li>
<div class="btn0"></div>
</li>
</ul>
</td>
</tr>
</table>
</body>
</html>