Advertisement
snavy

Untitled

Apr 25th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 15.89 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.         <title>Ghost-Evo</title>
  5.         <meta name="author" content="Inwob" />
  6.         <meta http-equiv="content-language" content="pl" />
  7.         <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
  8.         <meta name="keywords" content="free online game,free multiplayer game,ots,open tibia server,tibia,otserv,rpg,orshabaal,war,ots tibia,ip changer,lista ots,forum ots" />
  9.         <link rel="shortcut icon" href="http://evolera.se/layouts/pandaria/images/server.ico" type="image/x-icon">
  10.         <link rel="icon" href="http://evolera.se/layouts/pandaria/images/server.ico" type="image/x-icon">
  11.         <link rel="stylesheet" type="text/css" href="/layouts/<?php echo $layout_name;?>/style.css" />
  12.         <link rel="stylesheet" type="text/css" href="http://evolera.se/layouts/pandaria/basic.css" />
  13.         <!-- <link rel="stylesheet" type="text/css" href="./layouts/pandaria/slide.css" /> -->
  14.         <link type="text/css" href="http://evolera.se/layouts/pandaria/js/jquery-ui-1.8.19.custom.css" rel="stylesheet" />
  15.         <script type="text/javascript" src="http://evolera.se/layouts/pandaria/js/jquery.js"></script>
  16.         <script type="text/javascript" src="http://evolera.se/layouts/pandaria/js/jqueryui.js"></script>
  17.         <script type="text/javascript" src="http://evolera.se/layouts/pandaria/js/scripts.js"></script>
  18.         <script type="text/javascript" src="http://evolera.se/layouts/pandaria/js/highcharts.js"></script>
  19.         <script src="http://evolera.se/js/modules/exporting.js"></script>
  20.         <script type="text/javascript">
  21.             $(function(){
  22.                 function hideAll() {
  23.                     $("#menu").find('div:has(div)').each(function() {
  24.                         $(this).toggle();
  25.                     });
  26.                 }
  27.  
  28.                 function showCurrent() {
  29.                     var url = unescape(window.location.href.replace(/#.*/, ''));
  30.                     var base = window.location.protocol + '//' + window.location.host + window.location.pathname.replace(/[^\/\\]+$/, '');
  31.  
  32.                     $("#menu").find('a').each(function(){
  33.                         if (unescape($(this)[0].href.replace(/#.*/, '')) == url || (unescape($(this)[0].href.replace(/#.*/, '')) + '/')  == url) {
  34.                             $(this).parent().parent().parent().show();
  35.                             return (false);
  36.                         }
  37.                     });
  38.                 }
  39. $("#menu div.category").click(function() {
  40. var temp = $(this).next();
  41. if (typeof(temp.attr('id')) == 'string' && !temp.is(':visible')) {
  42. $("#menu").find('div:has(div:has(div)):visible').each(function() {
  43. if (temp.attr('id') != $(this).attr('id')) {
  44. $(this).hide('blind', 500);
  45. }
  46. });
  47. temp.show('blind', 500);
  48. } else if (typeof(temp.attr('id')) == 'string' && temp.is(':visible')) {
  49. temp.hide('blind', 500);
  50. }
  51. });
  52.                 hideAll();
  53.                 showCurrent();
  54.             });
  55.  
  56.  
  57. var current_time = 1380906114;
  58. var later = 1379758000;
  59.  
  60. function cutDown()
  61. {
  62.     current_time += 1;
  63.     days = (later - current_time) / 60 / 60 / 24;
  64.     daysRound = Math.floor(days);
  65.  
  66.     hours = (later - current_time) / 60 / 60;
  67.     hoursRound = Math.floor(hours);
  68.  
  69.     hours2 = (later - current_time) / 60 / 60 - (24 * daysRound);
  70.     hoursRound2 = Math.floor(hours2);
  71.  
  72.     minutes = (later - current_time) / 60 - (24 * 60 * daysRound) - (60 * hoursRound2);
  73.     minutesRound = Math.floor(minutes);
  74.  
  75.     seconds = (later - current_time) - (24 * 60 * 60 * daysRound) - (60 * 60 * hoursRound2) - (60 * minutesRound);
  76.     secondsRound = Math.round(seconds);
  77.     if(hoursRound < 0 || minutesRound < 0 || secondsRound < 0)
  78.     {
  79.         document.getElementById("hours").innerHTML=0;
  80.         document.getElementById("minutes").innerHTML=0;
  81.         document.getElementById("seconds").innerHTML=0;
  82.     } else {
  83.         document.getElementById("hours").innerHTML=hoursRound;
  84.         document.getElementById("minutes").innerHTML=minutesRound;
  85.         document.getElementById("seconds").innerHTML=secondsRound;
  86.     }
  87.     window.setTimeout("cutDown()", 1000);
  88. }
  89. window.setTimeout("cutDown()", 1000);
  90. </script>
  91.  
  92.         <style type="text/css">
  93. .alpha_wrapper {
  94.         padding-top: 8px;
  95.         float: left;
  96.         position: relative;
  97.         color: #fff;
  98.         width: 96px;
  99.         text-align: center;
  100. }
  101. .name {
  102.         white-space: nowrap;
  103.         color: rgb(0, 255, 0);
  104.         font-size:10px;
  105.         width: 50%;
  106.         margin: 0px auto;
  107.         padding-bottom: 2px;
  108.         font-family: Verdana;
  109.         text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  110. }
  111. .skull {
  112.         background: transparent url(images/redskull.gif) no-repeat;
  113.         position: absolute;
  114.         top: 31px;
  115.         left: 57px;
  116.         width: 11px;
  117.         height: 11px;
  118.         width: 50%;
  119.         margin: 0px auto;
  120. }
  121.         </style>
  122. <script type="text/javascript">
  123.                 var rotateNow = 0;
  124.  
  125.                 function rotateSlider() {
  126.                     var a = $$("#slider_rotate img").length,
  127.                         b = rotateNow;
  128.                     rotateNow++;
  129.                     if (rotateNow == a) rotateNow = 0;
  130.                     oldMorph = new Fx.Morph($$("#slider_rotate img")[b], {
  131.                         duration: "long",
  132.                         transition: Fx.Transitions.Sine.easeOut
  133.                     });
  134.                     oldMorph.start({
  135.                         opacity: 0
  136.                     });
  137.                     newMorph = new Fx.Morph($$("#slider_rotate img")[rotateNow], {
  138.                         duration: "long",
  139.                         transition: Fx.Transitions.Sine.easeOut
  140.                     });
  141.                     newMorph.start({
  142.                         opacity: 1
  143.                     })
  144.                 }
  145.                 window.addEvent("domready", function () {
  146.                     if ($$("#slider_rotate img").length > 0) {
  147.                         $$("#slider_rotate img")[0].setStyle("opacity", 1);
  148.                         rotateSlider.periodical(4000)
  149.                     }
  150.                 });
  151.             </script>
  152.  
  153.     </head>
  154.     <!-- Disabled
  155.     <div id="flags">
  156.     <img src="./layouts/pandaria/images/facebook.png" alt="follow us">
  157.     </div>
  158.     -->
  159.     <body>
  160. <div id="fb-root"></div>
  161.  
  162.  
  163. <script>(function(d, s, id) {
  164.   var js, fjs = d.getElementsByTagName(s)[0];
  165.   if (d.getElementById(id)) return;
  166.   js = d.createElement(s); js.id = id;
  167.   js.src = "//connect.facebook.net/pl_PL/all.js#xfbml=1";
  168.   fjs.parentNode.insertBefore(js, fjs);
  169. }(document, 'script', 'facebook-jssdk'));</script>
  170.         <div id="main_container">
  171.             <div id="main_container_head">
  172.                 <div id="main_container_bg">
  173.                     <div id="status_box">
  174.                         <center>
  175.                             <table id="serverinfo" cellspacing="4" cellpadding="0" border="0" width="100%">
  176.                                 <tr>
  177.                                     <td>IP Address: <strong style="font-size: 15px !important;"><?php echo $config['server']['ip']; ?></strong></td>
  178.                                 </tr>
  179.                                 <tr>
  180.                                     <td >Login Port: <strong><?php echo $config['server']['loginPort']; ?></strong></td>
  181.                                 </tr>
  182.                                 <tr>
  183.                                     <td>Client Version: <strong>8.6</strong></td>
  184.                                 </tr>
  185.                                 <tr>
  186.                                     <td >Server Status: <b>
  187.                                         <font color="#b0fa00"><?php if($config['status']['serverStatus_online'] == 0) { echo 'Offline'; } else { echo 'Online';} ?></font></b></td>
  188.                                 </tr>
  189.                                 <tr>
  190.                                     <td>
  191.                                         Players Online: <strong><?php echo $config['status']['serverStatus_players'];?></strong>
  192.                                     </td>
  193.                                 </tr>
  194.                             </table>
  195.                         </center>
  196.                     </div>
  197.                 </div>
  198.  
  199.             <div id="menu">
  200.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/news_menu.png);"></div>
  201.                 <div id="community">
  202.                     <div class="link_first">
  203.                         <div class="box">
  204.                             <a href="?subtopic=latestnews">Homepage</a>
  205.                         </div>
  206.                     </div>
  207.                     <div class="link_last">
  208.                         <div class="box">
  209.                             <a href="https://www.facebook.com/pages/Evoleraorg/277985565606099?ref=hl">Follow Us</a>
  210.                         </div>
  211.                     </div>
  212.                 </div>
  213.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/account_menu.png);"></div>
  214.                 <div id="account">
  215.                     <div class="link_first">
  216.                         <div class="box">
  217.                             <a href="?subtopic=accountmanagement">Account Management</a>
  218.                         </div>
  219.                     </div>
  220.                     <div class="link">
  221.                         <div class="box">
  222.                             <a href="?subtopic=createaccount">Create Account</a>
  223.                         </div>
  224.                     </div>
  225.                     <div class="link">
  226.                         <div class="box">
  227.                             <a href="?subtopic=lostaccount">Lost Account?</a>
  228.                         </div>
  229.  
  230.                     </div>                  </div>
  231.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/community_menu.png);"></div>
  232.                 <div id="community">
  233.                     <div class="link_first">
  234.                         <div class="box">
  235.                             <a href="?subtopic=characters">Character Search</a>
  236.                         </div>
  237.                     </div>
  238.                     <div class="link">
  239.                         <div class="box">
  240.                             <a href="?subtopic=whoisonline">Who is online?</a>
  241.                         </div>
  242.                     </div>
  243.                     <div class="link">
  244.                         <div class="box">
  245.                             <a href="?subtopic=guilds">Guilds List</a>
  246.                         </div>
  247.                     </div>
  248.                     <div class="link">
  249.                         <div class="box">
  250.                             <a href="?subtopic=war">Guild Wars</a>
  251.                         </div>
  252.                     </div>
  253.                     <div class="link">
  254.                         <div class="box">
  255.                             <a href="?subtopic=houses">Houses</a>
  256.                         </div>
  257.                     </div>
  258.                     <div class="link">
  259.                         <div class="box">
  260.                             <a href="?subtopic=highscores">Highscores</a>
  261.                         </div>
  262.                     </div>
  263.                     <div class="link">
  264.                         <div class="box">
  265.                             <a href="?subtopic=bridge">Bridgescores</a>
  266.                         </div>
  267.  
  268.                     </div>
  269.                     <div class="link">
  270.                         <div class="box">
  271.                             <a href="?subtopic=map_stream">Map Stream [NEW]</a>
  272.                         </div>
  273.                     </div>
  274.                 <div class="link">
  275.                         <div class="box">
  276.                             <a href="?subtopic=cast">Cast System [NEW]</a>
  277.                         </div>
  278.                     </div>
  279.                     <div class="link">
  280.                         <div class="box">
  281.                             <a href="?subtopic=bans">Banishments</a>
  282.                         </div>
  283.                     </div>
  284.                     <div class="link_last">
  285.                         <div class="box">
  286.                             <a href="?subtopic=support">Support Team</a>
  287.                         </div>
  288.                     </div>
  289.                 </div>
  290.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/library_menu.png);"></div>
  291.                 <div id="library">
  292.  
  293.                     <div class="link_first">
  294.                         <div class="box">
  295.                             <a href="?subtopic=serverinfo">Server Information</a>
  296.                         </div>
  297.                     </div>
  298.                     <div class="link_last">
  299.                         <div class="box">
  300.                             <a href="?subtopic=tibiarules">Rules</a>
  301.                         </div>
  302.                     </div>
  303.                 </div>
  304.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/forum_menu.png);"></div>
  305.                 <div id="forum">
  306.                     <div class="link_forum">
  307.                         <div class="box">
  308.                             <a href="?subtopic=forum">Forum Boards</a>
  309.                         </div>
  310.                     </div>
  311.                     </div>
  312.                 <a href="https://www.facebook.com/pages/Evoleraorg/277985565606099?ref=hl"><div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/facebook_menu.png);"></div></a>
  313.                 <div id="shop">
  314.                 </div>
  315.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/shop_menu.png);"></div>
  316.                 <div id="shop">
  317.                     <div class="link_first">
  318.                         <div class="box">
  319.                             <a href="?subtopic=buypoints">Buy Points</a>
  320.                         </div>
  321.                     </div>
  322.                     <div class="link_single">
  323.                         <div class="box">
  324.                             <a href="?subtopic=shopsystem">Shop Offers</a>
  325.                     </div>
  326.                     </div>
  327.                 </div>
  328.                                                                                     <br />          <script type="text/javascript">
  329.     google_ad_client = "ca-pub-1923612213454867";
  330.     google_ad_slot = "4113637635";
  331.     google_ad_width = 300;
  332.     google_ad_height = 250;
  333. </script>
  334. <!-- Torgot -->
  335. <script type="text/javascript"
  336. src="//pagead2.googlesyndication.com/pagead/show_ads.js">
  337. </script>
  338.                 </div>
  339.  
  340.             <div id="main_container2">
  341.  
  342.             <script type='text/javascript'>InitializePage();</script>
  343.             <div class="must_be"></div>
  344.             <div class="wrapper">               <div class="header"></div>
  345.                 <div class="body">
  346.  
  347.  
  348.                     <div class="text">
  349.  
  350.  
  351. <div class="header_" style="overflow-y:hidden;overflow-x:hidden;">
  352.     <div style="position:relative;left:50%;width:10px;margin-left:-480px;" id="put">
  353.  
  354. <script type="text/javascript">
  355. <!--
  356.  
  357.  
  358. function disableSelection(target){
  359.  
  360.     if (typeof target.onselectstart!="undefined")
  361.         target.onselectstart=function(){return false}
  362.  
  363.     else if (typeof target.style.MozUserSelect!="undefined")
  364.         target.style.MozUserSelect="none"
  365.     else
  366.         target.onmousedown=function(){return false}
  367.  
  368.     target.style.cursor = "default"
  369. }
  370.  
  371. disableSelection(document.body);
  372.  
  373. var uid = Math.floor(Math.random()*(10000000-1))+10000000;
  374.  
  375. function getBgProp(k, a) {
  376.     var s = 'transparent url(';
  377.                 if(k[3] == 0)
  378.                     s += 'http://item-images.ots.me/860/'+k[11]+'.gif';
  379.                 else
  380.                     s += 'http://outfit-images.ots.me/outfit.php?id='+k[3]+'&addons='+k[4]+'&head='+k[5]+'&body='+k[6]+'&legs='+k[7]+'&feet='+k[8]+'&mount='+k[9]+'&dir='+k[10]+'&animation='+a;
  381.  
  382.                 s += ') no-repeat right bottom';
  383.     return s;
  384. }
  385.  
  386. function handler(data, hid) {
  387.         if (hid == 1) {
  388.                 try { var obj = eval("(" + data + ")"); }
  389.                 catch(err) {}
  390.  
  391.                 var s = '';
  392.                 for (x in obj) {
  393.                         var k = obj[x];
  394.                         s += '<div style="z-index:999;position:absolute;top:'+((k[1])*32-15)+'px;left:'+((k[0])*32-7)+'px;width:64px;height:64px;background:'+getBgProp(k, 1)+';">\
  395.                         <div class="alpha_wrapper">\
  396.                                 <div class="name" style="margin: 5px 19px">'+x.replace(/(&nbsp)/g,' ')+'<\/div>\
  397.                                 <div style="margin-left: 34px; margin-top: -7px; width: 25px; height: 2px; background-color: rgb(0, 191, 0); border: 1px solid black;"><\/div>';
  398.                         if(k[12] >= 3)
  399.                                 s += '<div class="skull" style="background-image:url(images/skulls/'+(k[12] == 3 ? 'white' : (k[12] == 4 ? 'red' : 'black')) + 'skull.gif);">&nbsp;<\/div>';
  400.  
  401.                         s += '<\/div><\/div>';
  402.                  }
  403.                 document.getElementById('put').innerHTML = s;
  404.                 setTimeout("update", 1);
  405.  
  406.         } else {
  407.                 //break;
  408.                 // Move existing
  409.                 var jq = $("#stream_" + xn);
  410.                 //jq.stop();
  411.                 //jq.css('top', intPos[xn][0]+'px');
  412.                 //jq.css('left', intPos[xn][1]+'px');
  413.                 jq.css('z-index', (k[1]-32200)+'');
  414.                 jq.css('background', getBgProp(k, 1));
  415.  
  416.                 var newPos = new Array();
  417.                 newPos[0] = caT(k[1]);
  418.                 newPos[1] = caL(k[0]);
  419.  
  420.                 function mv(jq, t, l, si) {
  421.                     jq.animate({top: (t < 0 ? '-' : '+') + "="+Math.abs(t)+"px", left: (l < 0 ? '-' : '+') + "="+Math.abs(l)+"px"}, si, "linear");
  422.                     intPos[xn][0] += t;
  423.                     intPos[xn][1] += l;
  424.                     jq.css('background', getBgProp(k, 2));
  425.                     //newPos[0] += t;
  426.                     //newPos[1] += l;
  427.                 }
  428.   }
  429. }
  430. function update(hid) {
  431.         var xhr;
  432.         try {
  433.                 xhr=new XMLHttpRequest();
  434.         }
  435.         catch (e) {
  436.                 try {
  437.                         xhr=new ActiveXObject("Msxml2.XMLHTTP");
  438.                 }
  439.                 catch (e) {
  440.                         try {
  441.                                 xhr=new ActiveXObject("Microsoft.XMLHTTP");
  442.                         }
  443.                         catch (e) {
  444.                                 alert("Your browser does not support AJAX!");
  445.                                 return false;
  446.                         }
  447.                 }
  448.         }
  449.         if (hid == 1) {
  450.                 xhr.open("GET","/cache/stream.json?"+Math.random(), true);
  451.         } else {
  452.                 //xhr.open("GET","lv_update.php?id="+uid, true);
  453.         }
  454.         xhr.onreadystatechange=function() {
  455.                 if(xhr.readyState==4) {
  456.                         handler(xhr.responseText, hid);
  457.                         setTimeout(update,1,1);
  458.                 }
  459.         }
  460.  
  461.         xhr.send(null);
  462. }
  463. //setTimeout(update,100,1);
  464. handler({"2": ["",1003,1003,6,132,2,115,0,132,114,0,3,0,1],
  465. }, 1);
  466. update(1);
  467. //setTimeout(update,100,2);
  468. </script>
  469. </div> </div>
  470.                     </div>
  471.                 </div>
  472.                 <div class="footer"></div>
  473.             </div>
  474.  
  475.             <script type='text/javascript'>InitializePage();</script>
  476.             <div class="wrapper2">
  477.  
  478.                 <div class="header"></div>
  479.                 <div class="body">
  480.                     <div class="text">
  481.                         <?php echo $main_content; ?>
  482.                     </div>
  483.                 </div>
  484.                 <div class="footer"></div>
  485.                 <br>
  486.                 <br>
  487.             </div>
  488.         </div>
  489.         <!--<form action="index.html" method="post">
  490.             <input type="hidden" name="name" value="">
  491.         </form>-->
  492.     </body>
  493. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement