PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?=build_header_seo(); ?>
<title><?=build_header_title(); ?></title>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script src="js/core_global.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
//http://javascript.tunait.com/
//tunait@yahoo.com
function hora(){
var fecha = new Date()
var hora = fecha.getHours()
var minuto = fecha.getMinutes()
var segundo = fecha.getSeconds()
if (hora < 10) {hora = "0" + hora}
if (minuto < 10) {minuto = "0" + minuto}
if (segundo < 10) {segundo = "0" + segundo}
var horita = hora + ":" + minuto + ":" + segundo
document.getElementById('hora').firstChild.nodeValue = horita
tiempo = setTimeout('hora()',1000)
}
function inicio(){
document.write('<span id="hora">')
document.write ('000000</span>')
hora()
}
</script>
<style type="text/css">
<!--
body {
background-image: url(template/<?=$core['config']['template'] ?>/Battle/images/bg_pattern.jpg);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
}
body, div, p, table, th, td, dt, dd, li, input, select, textarea, h1, h2, h3, h4, h5, h6 { font:12px Arial, Verdana, sans-serif; color:#5e5c57; line-height:20px;}
h1, h2, h3, h4, h5, h6, ul, li, ol, dl, dt, dd, form { list-style-type:none; margin:0; padding:0; }
.tmp_left_menu { display:block; width:177px; font-size:1px; line-height:1px; margin:-1px auto 0; border-bottom:1px solid #302f28; }
.tmp_left_menu a { color:#c5c0ad; display:block; font-weight:bold; font-size:11px; line-height:12px; background: url('Battle/images/snb_off.gif') left top no-repeat; padding:5px 0 5px 12px; text-decoration:none;}
.tmp_left_menu a:hover { font-weight:bold; font-size:11px; line-height:12px; color:#b66836; display:block; background: url('Battle/images/snb_off.gif') left top no-repeat; padding:5px 0 5px 12px; text-decoration:none; }
.m_title{
color:#fff; font-size:16pt; padding:12px
}
ul.snb_1dep li.d2_mnu { display:block; width:177px; font-size:1px; line-height:1px; margin:-1px auto 0; border-bottom:1px solid #302f28; }
ul.snb_1dep li.d2_mnu a { color:#c5c0ad; display:block; font-weight:bold; font-size:11px; line-height:12px; background: url('template/<?=$core['config']['template'] ?>/Battle/images/snb_off.gif') left top no-repeat; padding:5px 0 5px 12px; text-decoration:none; }
ul.snb_1dep li.d2_mnu a:hover { font-weight:bold; font-size:11px; line-height:12px; color:#b66836; display:block; background: url('template/<?=$core['config']['template'] ?>/Battle/images/snb_off.gif') left top no-repeat; padding:5px 0 5px 12px; text-decoration:none; }
.ah1n1 {font-size: 13px; font-family: Tahoma; color: #c5c0ad; text-shadow: #000 1px 3px 2px; }
ul.quicklink, #subleft div.quickbnr ul.quicklink { padding:3px 0 0; }
ul.quicklink li, #subleft div.quickbnr ul.quicklink li { font-size:11px; color:#323232; line-height:14px; background: url('template/<?=$core['config']['template'] ?>/Battle/images/bu_ql.gif') 9px 8px no-repeat; padding:2px 16px 0; }
ul.quicklink li a, #subleft div.quickbnr ul.quicklink li a { color:#323232; }
.t_date{
font-weight:bold;
color:#cdcdcd;
letter-spacing:1px;
}
ul.membermnu { position:relative; clear:both; margin-top:3px; padding:0 0 0 16px; }
ul.membermnu li { display:block; height:13px; padding:3px 0 0 0; font-size:11px; vertical-align:top; color:#cfb988;}
ul.membermnu li { display:block; height:13px; padding:3px 0 0 16px; background:url('template/<?=$core['config']['template'] ?>/Battle/images/icon_login_forgot.gif') 0 5px no-repeat; font-size:11px; vertical-align:top; }
ul.membermnu li a{ font-size:11px; color:#cfb988; text-decoration: underline;}
ul.membermnu li a:hover{ font-size:11px; color:#cfb988; text-decoration: underline;}
div.ranking_sub p.r_sub1{float:left; padding:0px 12px; color:#b66836; font-size: 11px;}
div.ranking_sub p.r_sub2{float:left; padding:0px 0px 0 0; color:#b66836; font-size: 11px;}
div.ranking_sub p.r_sub3{float:right; padding:0px 10px 0 0; color:#b66836; font-size: 11px;}
div.ranking_list table{width:184px;}
div.ranking_list table tr th{text-align:right;border-bottom:solid 1px #514d43; line-height:12px; color:#c5c0ad; font-size: 11px;}
div.ranking_list table tr td{padding:2px 0 4px 15px;border-bottom:solid 1px #514d43; line-height:12px; color:#c5c0ad; font-size: 11px;}
div.ranking_list table tr th.bend {border-bottom:0;}
div.ranking_list table tr td.bend {border-bottom:0;}
/*MUCORE CSS*/
fieldset{
background: #ffffff;
border: 1px solid #cccccc;
}
legend{
background: #ECECFF;
border: 1px solid #cccccc;
font: bold 11px Arial, Helvetica, sans-serif;
margin-left: 5px;
}
.yellow a{
color:#fc0;
text-decoration:none;
}
.yellow a:hover{
color:#fffff;
text-decoration:none;
}
.language_select{
margin-top: 0px;
}
.language_select a{
font: 11px Arial, Helvetica, sans-serif;
color: #ffffff;
text-decoration: none;
}
.language_select a:hover{
font: 11px Arial, Helvetica, sans-serif;
color: #ffffff;
text-decoration: underline;
}
.welcome_stats{color:#b57a2c; }
.welcome_stats a {color: #ded1c4; text-decoration: underline;}
.welcome_stats a:hover {color: #ffffff; text-decoration: none;}
.where_nav{
margin:4px; padding:2px;
margin-left: 20px;
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
color: #111111;
}
.where_nav a{
color: #111111;
text-decoration: underline;
}
.where_nav a:hover{
color: #111111;
text-decoration: none;
}
.right_page_content { font:normal 12px/24px Arial, Helvetica, sans-serif; color:#375264; margin-left:15px; margin-bottom: 5px; width: 647px; }
.right_page_content a{color:#8c3f67; text-decoration:underline;}
.right_page_content a:hover{color:#8c3f67; text-decoration:none;}
.tmp_right_content { width: 100%; background-color:#FFFFFF; }
.tmp_m_content { margin:4px; padding:2px; margin-bottom: 10px;}
.tmp_m_content .tmp_right_title {background:url('template/<?=$core['config']['template'] ?>/Battle/images/bg_sub_location.gif') repeat-y; height:29px; font:normal 18px/30px Georgia; color:#555555; padding-left:30px; }
.tmp_m_content .tmp_page_content { font:normal 12px/24px Arial, Helvetica, sans-serif; color:#375264; margin:5px; }
.tmp_m_content .tmp_right_title_ann { background-color:#1E2627; height:20px; position:relative; font:bold 15px/20px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; color:#FFFFFF; padding-left:15px; }
.tmp_m_content .tmp_page_content_ann { font:normal 12px/24px Arial, Helvetica, sans-serif; color:#375264; margin:5px; }
.iN_title{
font-size:17px;
font-weight:bold;
}
.iN_title_mirror{
font-size:17px;
font-weight:bold;
color:#990000;
}
.iN_description{
font:11px/14px Arial, Verdana, sans-serif;
color:#777;
}
.iN_download_title{
font:bold 14px/18px arial; color:#898989;
}
.iN_download_cat{
font-size:17px;
font-weight:bold;
color:#990000;
}
.iN_title a{
font-size:17px;
font-weight:bold;
text-decoration: none;
}
<!--
#hora {
width:100px;
font-family: Tahoma, Verdana, Arial, sans-serif;
font-size: .9em;
color: #c5c0ad;
text-align: center;
}
-->
.iN_title a:hover{
font-size:17px;
font-weight:bold;
text-decoration: none;
color:#b57a2c;
}
.iN_date{
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color:#666666;
}
.iN_news_table tr:hover{
background: #c5c0ad;
}
.iN_news_content{
font-family:Georgia, "Times New Roman", Times, serif;
font-size:13px;
color:#333333;
margin:0px;
padding-top: 6px;
}
.iN_news_content a{
font-family:Georgia, "Times New Roman", Times, serif;
font-size:13px;
margin:0px;
text-decoration: underline;
}
.iN_news_content a:hover{
font-family:Georgia, "Times New Roman", Times, serif;
font-size:13px;
margin:0px;
text-decoration: none;
}
.iN_new_read_more{
color:#ffffff;
font: 10px Arial, Helvetica, sans-serif;
background: #8b0e0e;
padding: 1px;
}
.iN_new_read_more a{
color: #ffffff;
font-size: 10px;
}
.iRg_text{
font: bold 13px Arial, sans-serif; color: #555555;
}
.iRg_inf{
font: 11px fantasy; #555555;
}
.iRg_line{
background:url(template/<?=$core['config']['template'] ?>/Battle/images/inner_line.jpg); background-position:bottom; background-repeat:repeat-x;
font: 11px fantasy; color: #555555;
padding-bottom: 4px
}
.iRg_line_top{
background:url(template/<?=$core['config']['template'] ?>/Battle/images/inner_line.jpg); background-position:top; background-repeat:repeat-x;
font: 11px fantasy; color: #555555;
}
.iR_func_status{
border: 1px solid #cccccc;
background: #ffffff;
padding-left: 4px;
font-size: 11px;
}
.iR_func_status_lacking{
background: #CC3300;
padding: 1px;
padding-left: 3px;
padding-right: 3px;
color: #ffffff;
}
.iR_func_status_free{
background: #00FF00;
padding: 1px;
padding-left: 3px;
padding-right: 3px;
color: #000000;
}
.iR_func_status_free a{
font-size: 11px;
color: #000000;
}
.iRg_inf a{
font: 11px fantasy;
text-decoration: underline;
}
.iRg_inf a:hover{
font: 11px fantasy;
text-decoration: none;
}
.iRg_input{
font-size: 10pt;
font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
background-color: #ffffff;
border: 1px solid #cccccc;
height: 18px;
}
.iRg_terms_agree{
font: 12px Arial, Verdana, sans-serif;
}
.iRg_terms_agree a{
font: 12px Arial, Verdana, sans-serif;
text-decoration: underline;
}
.iR_rank{
background-color: #181C18;
font: bold 11px Georgia, "Times New Roman", Times, serif; color: #ffffff;
}
.iR_stats{
font: 11px Georgia, "Times New Roman", Times, serif; color: #ffffff;
background-color: #5F6D5F;
padding: 1px;
}
.iR_stats_2{
font: 11px Georgia, "Times New Roman", Times, serif; color: #ffffff;
background-color: #CCCCFF;
padding: 1px;
color: #555555;
}
.iR_stats_bg{
background-color: #996600;
}
.iR_stats_level{
border: 1px solid #cccccc;
font: 11px Georgia, "Times New Roman", Times, serif; color: #555555;
background: #ECECFF;
padding: 1px;
}
.iR_stats_reset{
border: 1px solid #cccccc;
font: 11px Georgia, "Times New Roman", Times, serif; color: #555555;
background: #CECEFF;
padding: 1px;
}
.iR_name{
font: bold 13px Arial, sans-serif; color: #FF3300;
}
.iR_class{
font: 12px Impact, fantasy; color: #666666;
}
.iR_status{
font-size: 11px;
}
.iR_task{
font: 11px Georgia, "Times New Roman", Times, serif;
}
.iR_rank_type{
font: bold 16px Arial, sans-serif;
}
.iR_rank_type a{
font: bold 16px Arial, sans-serif;
text-decoration: none;
}
.iR_rank_type a:hover{
font: bold 16px Arial, sans-serif;
text-decoration: none;
color: #990000;
}
.iR_rank_type_sub{
font: 10px fantasy;
}
.iR_rank_type_sub a{
font: 10px fantasy;
text-decoration: none;
}
.iR_rank_type_sub a:hover{
font: 10px fantasy; color:#990000;
text-decoration: none;
}
.msg_success{
background: #c2ffaf;
border: 1px solid #cccccc;
padding: 4px;
padding-left: 33px;
margin-bottom: 6px;
margin-top: 6px;
background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/success.gif);
background-repeat:no-repeat;
background-position: 10px;
font-size: 11px;
font-weight: bold;
color: #444444;
}
.msg_error{
background: #F9F2B9;
border: 1px solid #cccccc;
padding: 4px;
padding-left: 33px;
margin-bottom: 6px;
margin-top: 6px;
background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/warning.gif);
background-repeat:no-repeat;
background-position: 10px;
font-size: 11px;
font-weight: bold;
color: #444444;
}
#rss_feed{
margin-left: 0;
padding-left: 0;
list-style: none;
}
#rss_feed li
{
padding-left: 17px;
background-image: url(template/<?=$core['config']['template'] ?>/Battle/images/rss_icon.gif);
background-repeat: no-repeat;
background-position: 0;
}
#rss_feed li a{
text-decoration: none;
}
#rss_feed li a:hover{
text-decoration: underline;
}
.chat_bg{
border: 1px solid #cccccc;
background: #ffffff;
padding: 4px;
font-size: 11px;
}
.chat_even{
background: #D7D7FF;
padding: 2px;
}
.chat_odd{
padding: 2px;
}
.warehouse_block{
border: 0px;
text-align: center;
background: url(template/<?=$core['config']['template'] ?>/Battle/images/warehouse_block.gif);
}
.warehouse_item_block {
border: 0px;
padding: 0px;
text-align: center;
background: url(template/<?=$core['config']['template'] ?>/Battle/images/warehouse_item_block.gif);
}
.warehouse_bg {
border: 0px;
padding: 0px;
text-align: center;
background: url(template/<?=$core['config']['template'] ?>/Battle/images/warehouse_bg.gif);
}
.item_name{
font: 12px Arial, sans-serif;
color: #ffffff;
font-weight: bold;
}
.item_dur{
font: 11px Arial, sans-serif;
color: #ffffff;
}
.item_requirement{
font: 11px Arial, sans-serif;
color: #ffffff;
}
.item_skill{
font: 11px Arial, sans-serif;
color: #ffffff;
}
.item_options{
font: 11px Arial, sans-serif;
color: #ffffff;
}
.iD_dashed{
border-top: #ffffff dashed 1px;
}
.downloads tr:hover{
background: #ffffff;
}
.curent_step{
background: #FFEF73; border: 1px solid #cccccc;
padding: 2px;
font:bold 11px Arial;
color:#555555;
}
.step{
background: #ECECEC;
border: 1px solid #cccccc;
padding: 2px;
font:bold 11px Arial;
color: #D4D4D4;
}
.hidden_password{
border: 1px solid #cccccc;
background: #ECECEC;
padding: 2px;
width: 200px;
color: #ECECEC;
}
.footer_font{
font: normal 11px Tahoma, Calibri, Verdana, Geneva, sans-serif;
color: #555555;
}
.footer_font a{
padding-bottom:5px;
font: normal 11px Tahoma, Calibri, Verdana, Geneva, sans-serif;
color: #ff0000;
text-decoration: none;
}
.footer_font a:hover{
font: normal 11px Tahoma, Calibri, Verdana, Geneva, sans-serif;
color: #ff0000;
text-decoration: underline;
}
.table_list{
background: #ffffff;
color: #000000;
border: outset 1px #DEE0E2;
}
.table_list .title{
background: #DFDFFF;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding: 2px;
padding-left: 4px;
color: #595959;
border: outset 1px #555555;
}
.table_list .even{
background: #ECECFF;
}
.table_list .content{
font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding: 2px;
padding-left: 4px;
}
.usercp_module{
font-weight:bold;
background-color:#FF0000;
color: #ffffff;
padding: 2px;
padding-left: 4px;
width: 140px;
}
/*
MUCore Shop CSS
*/
.shop_nav{
margin-left: 4px;
border-left: #2A2A2A dashed 1px;
border-bottom: #2A2A2A dashed 1px;
padding: 4px;
font-size: 12px;
}
.shop_nav a:hover{
font-size: 12px;
text-decoration: none;
}
.shop_nav_seelcted{
color: #990000;
}
.shop_body_item{
border: 1px solid #cccccc;
background: #ECECFF;
padding: 2px;
}
.shop_title_item{
font-size: 13px;
font-weight: bold;
background: #5F6D5F;
color: #ffffff;
}
.shop_credits_item{
font: 12px Georgia, "Times New Roman", Times, serif; color: #666666;
font-weight: bold;
}
.shop_class_requirement{
font-size: 11px;
font-style: italic;
margin-top: 10px;
padding: 8px;
color: #777777;
}
.shop_stock_a{
padding: 2px;
background-color: #181C18;
font: bold 11px Georgia, "Times New Roman", Times, serif; color: #ffffff;
}
.shop_stock_o{
padding: 2px;
background-color: #ff9900;
font: bold 11px Georgia, "Times New Roman", Times, serif; color: #ffffff;
}
.shop_credits_disabled {
font-size: 12px;
padding-left: 10px;
color: #cccccc;
}
.shop_credits_enabled {
font-size: 12px;
padding-left: 10px;
color: #ff0000;
}
.shop_ancient{
font-size:14px;
font-weight:bold;
background: blue;
color: #ffffff;
padding: 2px;
}
.shop_button{
padding: 8px;
}
/*
MUCore CSS End
*/
div.shop_list { float:left; margin-left:-21px; padding:8px 0 30px 0; background:url('../image.webzen.net/Global/SUN/news/tbl_dotline.gif') left bottom repeat-x; }
div.shop_list div.sl_box { float:left; position:relative; display:inline; width:332px; margin-left:21px; background: url('../image.webzen.net/Global/SUN/shop/bg_item_list.gif') 0 19px no-repeat; }
div.shop_list div.sl_box a { display:block; position:relative; width:332px; height:110px; margin:19px 0 0 0; }
div.shop_list div.sl_box a:hover { color:#727171; text-decoration:underline; }
div.shop_list div.sl_box a:hover strong { text-decoration:underline; }
div.shop_list div.sl_box a:hover p.coin { text-decoration:underline; }
div.shop_list div.sl_box a:hover p.text { text-decoration:underline; }
div.shop_list div.sl_box a span.itemnew { display:block; position:absolute; top:-1px; right:-1px; width:47px; height:36px; background: url('../image.webzen.net/Global/SUN/common/icon/item_new.gif') left top no-repeat; cursor:pointer; }
div.shop_list div.sl_box a span.itemhot { display:block; position:absolute; top:-1px; right:-1px; width:47px; height:36px; background: url('../image.webzen.net/Global/SUN/common/icon/item_popular.gif') left top no-repeat; cursor:pointer; }
div.shop_list div.sl_box a span.itemevent { display:block; position:absolute; top:-1px; right:-1px; width:47px; height:36px; background: url('../image.webzen.net/Global/SUN/common/icon/item_event.gif') left top no-repeat; cursor:pointer; }
div.shop_list div.sl_box a span.itemsale { display:block; position:absolute; top:-1px; right:-1px; width:47px; height:36px; background: url('../image.webzen.net/Global/SUN/common/icon/item_sale.gif') left top no-repeat; cursor:pointer; }
div.shop_list div.sl_box a span.itemtag span { display:none; }
div.shop_list div.sl_box a dl { width:320px; overflow:hidden; cursor:pointer; }
div.shop_list div.sl_box a dl dt { position:relative; float:left; width:66px; height:54px; padding:15px 15px 0 15px; }
div.shop_list div.sl_box a dl dt img { margin:14px; }
div.shop_list div.sl_box a dl dt span.frame { display:block; width:66px; height:66px; background: url('../image.webzen.net/Global/SUN/shop/bg_item_frame.gif') no-repeat; }
div.shop_list div.sl_box a dl dd { float:left; width:221px; padding-top:15px; }
div.shop_list div.sl_box a dl dd strong { display:block; font:bold 11px/14px arial; color:#5e5c57; }
div.shop_list div.sl_box a dl dd p.coin { padding:7px 0; border-bottom:1px solid #afaca0; font:10px/11px arial; color:#323232; }
div.shop_list div.sl_box a dl dd p.coin span { font:11px/11px arial; color:#b66836; }
div.shop_list div.sl_box a dl dd p.text { width:221px; height:30px; border-top:1px solid #edebe3; font:11px/14px arial; color:#5e5c57; padding:3px 0 0 0; overflow:hidden; }
.Estilo36 {color: #c5c0ad}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style></head>
<script type="text/javascript" language="javascript">
var flash = {
param : { url:"", w:"", h:"", wmode:"window", base:"./", vars:"" },
MainPromotion : function(el){
if(el){
this.param.url = "template/<?=$core['config']['template'] ?>/Battle/images/mainBannerffe4.swf?xmlLocation=" + el + "";
} else {
this.param.url = "template/<?=$core['config']['template'] ?>/Battle/images/mainBanner.swf";
}
this.param.w = "510";
this.param.h = "162";
this.param.wmode = "transparent";
this.param.base = "index.html";
flash.write(this.param.url,this.param.w,this.param.h,this.param.wmode,this.param.base,this.param.vars);
},
write : function(url,w,h,wmode,base,vars){
strObject = "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" id=\"obj_flash\" width=\"" + w + "\" height=\"" + h + "\">\n";
strObject += " <param name=\"allowScriptAccess\" value=\"always\" />\n";
strObject += " <param name=\"quality\" value=\"high\" />\n";
strObject += " <param name=\"movie\" value=\"" + url + "\" />\n";
strObject += " <param name=\"wmode\" value=\"" + wmode + "\" />\n";
strObject += " <param name=\"base\" value=\"" + base + "\" />\n";
strObject += " <param name=\"flashvars\" value=\"" + vars + "\" />\n";
strObject += " <embed src=\"" + url + "\" width=\"" + w + "\" height=\"" + h + "\" quality=\"high\" wmode=\"" + wmode + "\" base=\"" + base + "\" flashvars=\"" + vars + "\" allowScriptAccess=\"always\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n";
strObject += "</object>\n";
document.write(strObject);
}
};
</script>
<body>
<script type="text/javascript">
<!--
var currentTime = new Date();
var c_hours = currentTime.getHours() ;
var c_minutes = currentTime.getMinutes();
time_c_d = c_hours;
function make_header_welcome(time,user,last_msg){
if(time < '1'){
welcome_start = "Czy to nie czas na pojscie spac";
welcome_end = '?';
}
else if(time < '2'){
welcome_start = "Up late, aren't we";
welcome_end = '?';
}
else if(time < '4'){
welcome_start = "Having trouble sleeping";
welcome_end = '?';
}
else if(time < '5'){
welcome_start = "Still can't sleep";
welcome_end = '?';
}
else if(time < '7'){
welcome_start = "Aren't you the early bird";
welcome_end = '?';
}
else if(time <'12'){
welcome_start = "Dzien dobry";
welcome_end = '.';
}
else if(time < '13'){
welcome_start = "Enjoying your lunch break";
welcome_end = '?';
}
else if(time < '17'){
welcome_start = "Pozdrowienia od Administracji";
welcome_end = '.';
}
else if(time < '18'){
welcome_start = "What's for dinner";
welcome_end = '?';
}
else if(time < '22'){
welcome_start = "Dobry Wieczor";
welcome_end = '.';
}
else if(time < '23'){
welcome_start = "Jak ci sie u nas gra";
welcome_end = '?';
}else{
welcome_start = "Shouldn't you be going to bed soon";
welcome_end = '?';
}
document.getElementById('welcome_stats').innerHTML = welcome_start+', '+user+welcome_end+last_msg;
}
//-->
</script><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_buttons_left.jpg); background-repeat:no-repeat; background-position:right;"> </td>
<td width="1008" height="119"><img src="template/<?=$core['config']['template'] ?>/Battle/images/bg_buttons_center.jpg" usemap="#buttons" border="0"></td>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_buttons_right.jpg); background-repeat:no-repeat; background-position:left;"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg.jpg); background-repeat:no-repeat; background-position:center top; ">
<table width="1144" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 130px; ">
<tr>
<td width="220" align="center" valign="bottom">
<table width="216" height="55" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom: 10px; ">
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_servertime.png); background-repeat:repeat; "><div align="center" class="t_date" style="margin-top: 16px; "><font color="#DED394"><script type="text/javascript">inicio()
var xMes = new Array('Styczen', 'Luty', 'Marzec', 'Kwiecien', 'Maj', 'Czerwiec', 'Lipiec', 'Sierpien', 'Wrzesien',
'Pazdziernik', 'Listopad', 'Grudzien');
var xDate = new Date;
document.write(xMes[xDate.getMonth()] + " rok " +
xDate.getFullYear());
// -->
</SCRIPT>
</div></td>
</tr>
</table>
</td>
<td> </td>
<td width="220" valign="bottom">
<table width="214" height="123" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="bottom" style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_sub_login_top.gif); background-position:bottom; background-repeat:no-repeat;" align="center">
<div id="download" onclick="location.href='index.php?page_id=register'">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="164" height="123" style="margin-right: 5px; ">
<param name="movie" value="template/<?=$core['config']['template'] ?>/Battle/images/startBTN.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="template/<?=$core['config']['template'] ?>/Battle/images/startBTN.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="164" height="123" wmode="transparent"></embed>
</object>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="1144" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="220" valign="top">
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="44" style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/stit_bg.gif) "><div class="m_title">Panel Logowania</div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_snbmid.gif); background-repeat:repeat-y; "><?
if($user_login == '1'){
echo '<div class="tmp_left_menu">
<ul>';
$m_uss_row_ = get_sort('engine/cms_data/mods_uss.cms','¦');
$count_m_uss = 0;
foreach ($m_uss_row_ as $tr){
explode("¦",$tr);
$count_m_uss++;
if($tr[6] == '1'){
if($tr[3] != ACCOUNTSETTINGS_CMS_USER){
echo '<li class="list_menu"><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.USER_CMS_PAGE.'&'.USER_GET_PAGE.'='.$tr[3].'">'.str_replace($menu_links_title,$menu_links_translated,$tr[2]).'</a></li>';
}
}
}
echo ' </ul>
</div>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="4">
<tr>
<td align="left" class="yellow"><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.USER_CMS_PAGE.'&'.USER_GET_PAGE.'='.ACCOUNTSETTINGS_CMS_USER.'">'.link_account_settings.'</a></td>
<td align="right" class="yellow"><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'=logout">'.link_log_out.'</a></td>
</tr>
</table>
';
}else{
echo '<form method="post" action="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.LOGIN_CMS_PAGE.'" name="uss_login_form">
<table width="190" border="0" align="center" cellpadding="0" cellspacing="4">
<tr>
<td style="height: 25px; padding-left: 2px; " width="130"><input type="text" name="uss_id" maxlength="10" size="16" class="login_field" value="Wpisz login" OnClick="this.value=\'\'"></td>
<td rowspan="2"><input type="image" src="template/'.$core['config']['template'].'/Battle/images/login_button.gif" width="52" height="36" onclick="uss_login_form.submit();"></td>
</tr>
<tr>
<td style="height: 25px; padding-left: 2px;"><input type="password" name="uss_password" class="login_field" value="PASSWORD" maxlength="12" size="16" OnClick="this.value=\'\'"><input type="hidden" name="process_login"></td>
</tr>
<tr>
<td style="height: 25px; padding-left: 2px;" colspan="2" align="left" class="yellow"><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.LOSTPASSWORD_CMS_PAGE.'">'.link_lost_password.'</a></td>
</tr>
<tr>
<td style="height: 25px; padding-left: 2px;" colspan="2" align="left" class="yellow">'.text_start_play_now.'</span> <a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.REGISTER_CMS_PAGE.'">'.link_sign_up.'</a></td>
</tr>
</table>
</form>';
}
?></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_snbbtm.gif); background-repeat:no-repeat; height:14px; "> </td>
</tr>
</table>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="44" style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/stit_bg.gif) "><div class="m_title">Menu</div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_snbmid.gif); background-repeat:repeat-y; ">
<ul class="snb_1dep"><?
$m_row_ = get_sort('engine/cms_data/pag_d.cms','¦');
# echo $test[1][2][3];
foreach ($m_row_ as $li){
# explode("¦",$li);
switch ($li[7]){
case '0':
if($li[8] == '1'){
if($li[6] != '0'){
echo '<li class="d2_mnu"><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$li[3].'">'.str_replace($menu_links_title,$menu_links_translated,$li[2]).'</a></li>';
}
}
break;
case '1':
switch ($li[11]){
case '1': $target = "_blank"; break;
case '0': $target = "_self"; break;
}
echo '<li class="d2_mnu"><a href="'.$li[10].'" target="'.$target.'">'.str_replace($menu_links_title,$menu_links_translated,$li[2]).'</a></li> ';
break;
}
}
?>
</ul></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_snbbtm.gif); background-repeat:no-repeat; height:14px; "> </td>
</tr>
</table>
<table width="214" height="54" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td><a href="<?=ROOT_INDEX.'?'.LOAD_GET_PAGE.'='?>downloads"><img src="template/<?=$core['config']['template'] ?>/Battle/images/bt_sub_download.jpg" width="214" height="54"></a></td>
</tr>
</table>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td><img src="template/<?=$core['config']['template'] ?>/Battle/images/sub_title_quicklink.gif" width="214" height="32"></td>
</tr>
<tr>
<td>
<ul class="quicklink">
<b> </b>
<li><b><a href="https://www.facebook.com/pages/Blast-Mu/479225052192266">Facebook</a></b></li>
<li><b><a href="#">Twitter</a></b></li>
<li><b><a href="mailto:serwerblastmu@gmail.com">Kontakt</a></b></li>
<li><b><a href="http://forum.blast-mu.pl">Forum</a></b></li>
<li><b><a href="http://blast-mu.pl/index.php?page_id=dotacja">Kredyty za dotacje</a></b></li>
<li>
</li>
<b/>
</ul>
</td>
</tr>
</table></td>
<td valign="top">
<table width="680" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_sub_right.gif); background-repeat:no-repeat; height:10px; "></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_sub.gif); background-repeat:repeat-y; ">
<div class="where_nav">
<?
if(CMS_NAVBAR == '1'){
if(isset($_GET[LOAD_GET_PAGE])){
$l_load = file("engine/cms_data/pag_d.cms");
foreach ($l_load as $l_name){
$l_name = explode("¦",$l_name);
if($l_name[3] == $page_check_id){
$primary_l = $l_name[2];
break;
}
}
}
if(isset($_GET[USER_GET_PAGE])){
$ti2_td = xss_clean(safe_input($_GET[USER_GET_PAGE],"_"));
$l2_load = file("engine/cms_data/mods_uss.cms");
foreach ($l2_load as $l2_name){
$l2_name = explode("¦",$l2_name);
if($l2_name[3] == $ti2_td){
$secondary_l = $l2_name[2];
break;
}
}
}
if(!isset($_GET[LOAD_GET_PAGE])){
#>
$title_p = '<a href="'.$core['config']['website_url'].'">'.$core['config']['websitetitle'].'</a>';
}elseif (isset($_GET[LOAD_GET_PAGE])){
if(isset($_GET[USER_GET_PAGE])){
$usercp_module_title = str_replace($modules_text_tile,$modules_text_translate,$secondary_l);
$title_p = '<a href="'.$core['config']['website_url'].'">'.$core['config']['websitetitle'].'</a> > <a href="'.$core['config']['website_url'].'/'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$l_name[3].'">'.str_replace($menu_links_title,$menu_links_translated,$primary_l).'</a> > <a href="'.$core['config']['website_url'].'/'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$l_name[3].'&panel='.$l2_name[3].'">'.$usercp_module_title.'</a>';
}else{ $title_p = '<a href="'.$core['config']['website_url'].'">'.$core['config']['websitetitle'].'</a> > <a href="'.$core['config']['website_url'].'/'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$l_name[3].'">'.str_replace($menu_links_title,$menu_links_translated,$primary_l).'</a>';}
}
echo '
<div class="where_nav">
<table cellpadding="0" cellspacing="0" border="0" >
<tr>
<td align="left"><img src="template/'.$core['config']['template'].'/Battle/images/arrow.gif" border="0"></td>
<td> </td>
<td width="100%" align="left">'.$title_p.'</td>
</table>
</div>';
}
if($page_check_id != ANNOUNCEMENTS_CMS_PAGE){
require('engine/announcement_config.php');
if($core['ANNOUNCEMENT']['ACTIVE'] == '1'){
$ann_file = array_reverse(file('engine/variables_mods/announcements.tDB'));
$count_ann = '0';
foreach ($ann_file as $ann){
$ann = explode("¦",$ann);
if($ann[3] > time()){
$ann_found = '1';
$ann_title = $ann[1];
$ann_date = $ann[2];
$ann_id = $ann[0];
; break;
}
}
}
if($ann_found == '1'){
echo '
<div class="tmp_m_content">
<div class="tmp_right_title">'.text_announcement.'</div>
<div class="tmp_page_content">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td rowspan="3" align="left" width="60"><img src="template/'.$core['config']['template'].'/images/announcement.gif" width="38" height="38"></td>
<td align="left" style="padding-top: 2px; padding-bottom: 2px;"><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.ANNOUNCEMENTS_CMS_PAGE.'#announcement-'.$ann_id.'">'.$ann_title.'</a></td>
<td align="right" class="ann_date">'.date('F j, Y | H:i',$ann_date).'</td>
</tr>
<tr>
<td colspan="2" align="left" style="background-image:url(template/'.$core['config']['template'].'/images/inner_line.jpg); height: 2px;"></td>
</tr>
';
if($core['ANNOUNCEMENT']['AUTHOR'] == '1'){
echo '<tr>
<td colspan="2" align="right"><b>'.$core['config']['admin_nick'].'</b> (Administrator)</td>
</tr>';
}
echo '</table></div>
</div>
';
}
}
$load_pages = file('engine/cms_data/pag_d.cms');
foreach ($load_pages as $pages_loaded){
$pages_loaded = explode("¦",$pages_loaded);
if($pages_loaded[3] == $page_check_id){
$p_loaded_array = preg_split( "/\ /", $pages_loaded[5]);
$p_l = '1';
break;
}
}
if($p_l == '1'){
$load_mods = file('engine/cms_data/mods.cms');
foreach ($load_mods as $mods_loaded){
$mods_loaded = explode("¦",$mods_loaded);
if(in_array($mods_loaded[0],$p_loaded_array)){
$_c_id_m[] = $mods_loaded[0];
}else {
$_c_id_m[] = 'NULL';
}
}
$co=0;
foreach ($p_loaded_array as $give){
#echo $give;
if(in_array($give,$_c_id_m)){
foreach ($load_mods as $give_me_out){
$give_me_out = explode("¦",$give_me_out);
if($give_me_out[0] == $give){
if($give_me_out[4] == '1'){
if($_GET[LOAD_GET_PAGE] == USER_CMS_PAGE && isset($_GET[USER_GET_PAGE])){
$construct_title = $secondary_l;
}else{
$construct_title = $give_me_out[3];
}
echo '<div class="tmp_m_content">
<div class="tmp_right_title">'.htmlspecialchars(str_replace($modules_text_tile,$modules_text_translate,$give_me_out[3])).'</div>
<div class="tmp_page_content">';
if($give_me_out[1] == '1'){
if(is_file("pages_modules/".$give_me_out[2]."")){
include('pages_modules/'.$give_me_out[2].'');
}else{
echo 'Unable to load module file, reason: not found.';
}
}elseif ($give_me_out[1] == '0'){
if(is_file('engine/cms_data/cms_co/'.$give_me_out[0].'_cms.cms')){
include('engine/cms_data/cms_co/'.$give_me_out[0].'_cms.cms');
}else{
echo 'Unable to load module content, reason: not found.';
}
}
echo '</div> </div>';
}
}
}
}
}
}
?>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_sub_bottom.gif); background-repeat:no-repeat; height:10px; "> </td>
</tr>
</table>
</td>
<td width="220" valign="top"><div align="center">
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/bg_sub_login.gif); height:130px; padding-right: 10px;" valign="top">
<div class="welcome_stats" id="welcome_stats" align="center" style="margin-top: 30px;"><span style=" margin-bottom: 10px;">
<?
if ($user_login == '1') {
echo '<script type="text/javascript">make_header_welcome(time_c_d,\'<a href="">'.$user_auth_id.'</a>\',\'\');</script>';
}else{
echo ''.text_not_loggd_in.', <a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.LOGIN_CMS_PAGE.'">'.text_log_in.'</a>';
}
?>
</span></div>
<div align="center" class="language_select">
<br><br>
<?
if($core['language_switch'] == '1'){
foreach ($languages as $language_id => $language_data){
echo ' <img src="template/'.$core['config']['template'].'/Battle/images/flags/'.$language_data[2].'"> <a href="'.ROOT_INDEX.'?change_language='.$language_id.'">'.$language_data[0].'</a>';
}
}
?></div>
</td>
</tr>
</table>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px;">
<tr>
<td height="37" style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/right_box_top.gif); "><img src="template/<?=$core['config']['template'] ?>/Battle/images/title_top_characters.jpg" width="100" height="11" style="margin-left: 15px; "></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/right_bogx_bg.jpg) ">
<table width="160" align="center">
<tr>
<td><div align="center">Nr.</div></td>
<td><div align="center">Nick</div></td>
<td><div align="center">Level</div></td>
<td><div align="center">Resy</div></td>
</tr>
<tr>
<?
$query=mssql_query("select TOP 25 Name, cLevel, Resets from Character Where ctlcode != 32 and ctlcode !=8 order by Resets desc, cLevel desc");
while($row=mssql_fetch_assoc($query)){
$namez=$row['Name'];
$levelz=$row['cLevel'];
$resetsz=$row['Resets'];
?>
<td style="color: rgb(196, 37, 0); font-weight: bold;"><div align="center">
<?=++$count1;?> </div></td>
<td><div align="center" class="Estilo36">
<?=$namez;?></div></td>
<td><div align="center" class="Estilo36">
<?=$levelz;?> </div></td>
<td><div align="center">
<?=$resetsz;?> </div></td>
</tr>
<?
}
?>
</table></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/right_bogx_bottom.gif); height:9px; "></td>
</tr>
</table>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="37" style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/right_box_top.gif); "><img src="template/<?=$core['config']['template'] ?>/Battle/images/title_top_guilds.jpg" width="80" height="11" style="margin-left: 15px; "></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/right_bogx_bg.jpg) "><table width="160" align="center">
<tr>
<td><div align="center">Nr.</div></td>
<td><div align="center">Nick</div></td>
<td><div align="center"></div></td>
<td><div align="center">Logo</div></td>
</tr>
<?
$count1 = 0;
$Guild=mssql_query("select TOP 15 * from MuOnline.dbo.guild order by G_Score desc");
while($row=mssql_fetch_assoc($Guild)){
$G_Namez=$row['G_Name'];
$G_Markz=$row['G_Mark'];
$G_Scorez=$row['G_Score'];
$Resetsz=$row['Resets'];
$logo=urlencode(bin2hex($G_Markz));
?>
<td style="color: rgb(196, 37, 0); font-weight: bold;"><div align="center">
<?=++$count1;?>
</div></td>
<td><div align="center" class="Estilo36"><?=$G_Namez;?></div></td>
<td><div align="center" class="Estilo36">
<?=$G_Scorez;?>
</div></td>
<td><img src="get.php?aL=<?=$logo;?>.png" alt="" width="20" height="20"></td>
</tr>
<?
}
?>
</table></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/Battle/images/right_bogx_bottom.gif); height:9px; "></td>
</tr>
</table>
</div></td>
</tr>
</table>
</td>
</tr>
</table>
<div style="margin-top: 40px; margin-bottom: 20px;">
<div align="center" class="footer_font">
<!-- Do not remove MMORPG Core copyright notice -->
<?=build_footer(),$XX= base64_decode('PGRpdiBjbGFzcz0iZm9vdGVyX2ZvbnQiIGFsaWduPSJjZW50ZXIiPlRlbXBsYXRlIGJ5ICYjMjcy
O2EmIzExMDM7JiMxMDYzO29pJyBTJiMxMDgyOyYjMTA5NTstDQo8L2Rpdj4=');?>
</div>
</div>
<map name="buttons">
<area shape="rect" coords="87,61,134,79" href="index.php">
<area shape="rect" coords="185,61,267,79" href="index.php?page_id=downloads">
<area shape="rect" coords="315,57,390,80" href="index.php?page_id=rankings">
<area shape="rect" coords="580,59,643,80" href="index.php?page_id=register">
<area shape="rect" coords="698,59,750,80" href="http://forum.blast-mu.pl">
<area shape="rect" coords="804,60,880,80" href="index.php?page_id=login">
</map>
<center><!-- stat.4u.pl NiE KaSoWaC -->
<a target=_top href="http://stat.4u.pl/?serwerblastmu" title="statystyki stron WWW"><img alt="stat4u" src="http://adstat.4u.pl/s4u.gif" border="0"></a>
<script language="JavaScript" type="text/javascript">
<!--
function s4upl() { return "&r=er";}
//-->
</script>
<script language="JavaScript" type="text/javascript" src="http://adstat.4u.pl/s.js?serwerblastmu"></script>
<script language="JavaScript" type="text/javascript">
<!--
s4uext=s4upl();
document.write('<img alt="stat4u" src="http://stat.4u.pl/cgi-bin/s.cgi?i=serwerblastmu'+s4uext+'" width="1" height="1">')
//-->
</script>
<noscript><img alt="stat4u" src="http://stat.4u.pl/cgi-bin/s.cgi?i=serwerblastmu&r=ns" width="1" height="1"></noscript>
<!-- stat.4u.pl KoNiEc --></center>
</body>
</html>