Advertisement
snavy

Untitled

Apr 25th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 15.59 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="http://evolera.se/layouts/pandaria/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><?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.                             </table>
  190.                         </center>
  191.                     </div>
  192.                 </div>
  193.  
  194.             <div id="menu">
  195.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/news_menu.png);"></div>
  196.                 <div id="community">
  197.                     <div class="link_first">
  198.                         <div class="box">
  199.                             <a href="?subtopic=latestnews">Homepage</a>
  200.                         </div>
  201.                     </div>
  202.                     <div class="link_last">
  203.                         <div class="box">
  204.                             <a href="https://www.facebook.com/pages/Evoleraorg/277985565606099?ref=hl">Follow Us</a>
  205.                         </div>
  206.                     </div>
  207.                 </div>
  208.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/account_menu.png);"></div>
  209.                 <div id="account">
  210.                     <div class="link_first">
  211.                         <div class="box">
  212.                             <a href="?subtopic=accountmanagement">Account Management</a>
  213.                         </div>
  214.                     </div>
  215.                     <div class="link">
  216.                         <div class="box">
  217.                             <a href="?subtopic=createaccount">Create Account</a>
  218.                         </div>
  219.                     </div>
  220.                     <div class="link">
  221.                         <div class="box">
  222.                             <a href="?subtopic=lostaccount">Lost Account?</a>
  223.                         </div>
  224.  
  225.                     </div>                  </div>
  226.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/community_menu.png);"></div>
  227.                 <div id="community">
  228.                     <div class="link_first">
  229.                         <div class="box">
  230.                             <a href="?subtopic=characters">Character Search</a>
  231.                         </div>
  232.                     </div>
  233.                     <div class="link">
  234.                         <div class="box">
  235.                             <a href="?subtopic=whoisonline">Who is online?</a>
  236.                         </div>
  237.                     </div>
  238.                     <div class="link">
  239.                         <div class="box">
  240.                             <a href="?subtopic=guilds">Guilds List</a>
  241.                         </div>
  242.                     </div>
  243.                     <div class="link">
  244.                         <div class="box">
  245.                             <a href="?subtopic=war">Guild Wars</a>
  246.                         </div>
  247.                     </div>
  248.                     <div class="link">
  249.                         <div class="box">
  250.                             <a href="?subtopic=houses">Houses</a>
  251.                         </div>
  252.                     </div>
  253.                     <div class="link">
  254.                         <div class="box">
  255.                             <a href="?subtopic=highscores">Highscores</a>
  256.                         </div>
  257.                     </div>
  258.                     <div class="link">
  259.                         <div class="box">
  260.                             <a href="?subtopic=bridge">Bridgescores</a>
  261.                         </div>
  262.  
  263.                     </div>
  264.                     <div class="link">
  265.                         <div class="box">
  266.                             <a href="?subtopic=map_stream">Map Stream [NEW]</a>
  267.                         </div>
  268.                     </div>
  269.                 <div class="link">
  270.                         <div class="box">
  271.                             <a href="?subtopic=cast">Cast System [NEW]</a>
  272.                         </div>
  273.                     </div>
  274.                     <div class="link">
  275.                         <div class="box">
  276.                             <a href="?subtopic=bans">Banishments</a>
  277.                         </div>
  278.                     </div>
  279.                     <div class="link_last">
  280.                         <div class="box">
  281.                             <a href="?subtopic=support">Support Team</a>
  282.                         </div>
  283.                     </div>
  284.                 </div>
  285.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/library_menu.png);"></div>
  286.                 <div id="library">
  287.  
  288.                     <div class="link_first">
  289.                         <div class="box">
  290.                             <a href="?subtopic=serverinfo">Server Information</a>
  291.                         </div>
  292.                     </div>
  293.                     <div class="link_last">
  294.                         <div class="box">
  295.                             <a href="?subtopic=tibiarules">Rules</a>
  296.                         </div>
  297.                     </div>
  298.                 </div>
  299.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/forum_menu.png);"></div>
  300.                 <div id="forum">
  301.                     <div class="link_forum">
  302.                         <div class="box">
  303.                             <a href="?subtopic=forum">Forum Boards</a>
  304.                         </div>
  305.                     </div>
  306.                     </div>
  307.                 <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>
  308.                 <div id="shop">
  309.                 </div>
  310.                 <div class="category" style="background: url(http://evolera.se/layouts/pandaria/images/shop_menu.png);"></div>
  311.                 <div id="shop">
  312.                     <div class="link_first">
  313.                         <div class="box">
  314.                             <a href="?subtopic=buypoints">Buy Points</a>
  315.                         </div>
  316.                     </div>
  317.                     <div class="link_single">
  318.                         <div class="box">
  319.                             <a href="?subtopic=shopsystem">Shop Offers</a>
  320.                     </div>
  321.                     </div>
  322.                 </div>
  323.                                                                                     <br />          <script type="text/javascript">
  324.     google_ad_client = "ca-pub-1923612213454867";
  325.     google_ad_slot = "4113637635";
  326.     google_ad_width = 300;
  327.     google_ad_height = 250;
  328. </script>
  329. <!-- Torgot -->
  330. <script type="text/javascript"
  331. src="//pagead2.googlesyndication.com/pagead/show_ads.js">
  332. </script>
  333.                 </div>
  334.  
  335.             <div id="main_container2">
  336.  
  337.             <script type='text/javascript'>InitializePage();</script>
  338.             <div class="must_be"></div>
  339.             <div class="wrapper">               <div class="header"></div>
  340.                 <div class="body">
  341.  
  342.  
  343.                     <div class="text">
  344.  
  345.  
  346. <div class="header_" style="overflow-y:hidden;overflow-x:hidden;">
  347.     <div style="position:relative;left:50%;width:10px;margin-left:-480px;" id="put">
  348.  
  349. <script type="text/javascript">
  350. <!--
  351.  
  352.  
  353. function disableSelection(target){
  354.  
  355.     if (typeof target.onselectstart!="undefined")
  356.         target.onselectstart=function(){return false}
  357.  
  358.     else if (typeof target.style.MozUserSelect!="undefined")
  359.         target.style.MozUserSelect="none"
  360.     else
  361.         target.onmousedown=function(){return false}
  362.  
  363.     target.style.cursor = "default"
  364. }
  365.  
  366. disableSelection(document.body);
  367.  
  368. var uid = Math.floor(Math.random()*(10000000-1))+10000000;
  369.  
  370. function getBgProp(k, a) {
  371.     var s = 'transparent url(';
  372.                 if(k[3] == 0)
  373.                     s += 'http://item-images.ots.me/860/'+k[11]+'.gif';
  374.                 else
  375.                     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;
  376.  
  377.                 s += ') no-repeat right bottom';
  378.     return s;
  379. }
  380.  
  381. function handler(data, hid) {
  382.         if (hid == 1) {
  383.                 try { var obj = eval("(" + data + ")"); }
  384.                 catch(err) {}
  385.  
  386.                 var s = '';
  387.                 for (x in obj) {
  388.                         var k = obj[x];
  389.                         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)+';">\
  390.                         <div class="alpha_wrapper">\
  391.                                 <div class="name" style="margin: 5px 19px">'+x.replace(/(&nbsp)/g,' ')+'<\/div>\
  392.                                 <div style="margin-left: 34px; margin-top: -7px; width: 25px; height: 2px; background-color: rgb(0, 191, 0); border: 1px solid black;"><\/div>';
  393.                         if(k[12] >= 3)
  394.                                 s += '<div class="skull" style="background-image:url(images/skulls/'+(k[12] == 3 ? 'white' : (k[12] == 4 ? 'red' : 'black')) + 'skull.gif);">&nbsp;<\/div>';
  395.  
  396.                         s += '<\/div><\/div>';
  397.                  }
  398.                 document.getElementById('put').innerHTML = s;
  399.                 setTimeout("update", 1);
  400.  
  401.         } else {
  402.                 //break;
  403.                 // Move existing
  404.                 var jq = $("#stream_" + xn);
  405.                 //jq.stop();
  406.                 //jq.css('top', intPos[xn][0]+'px');
  407.                 //jq.css('left', intPos[xn][1]+'px');
  408.                 jq.css('z-index', (k[1]-32200)+'');
  409.                 jq.css('background', getBgProp(k, 1));
  410.  
  411.                 var newPos = new Array();
  412.                 newPos[0] = caT(k[1]);
  413.                 newPos[1] = caL(k[0]);
  414.  
  415.                 function mv(jq, t, l, si) {
  416.                     jq.animate({top: (t < 0 ? '-' : '+') + "="+Math.abs(t)+"px", left: (l < 0 ? '-' : '+') + "="+Math.abs(l)+"px"}, si, "linear");
  417.                     intPos[xn][0] += t;
  418.                     intPos[xn][1] += l;
  419.                     jq.css('background', getBgProp(k, 2));
  420.                     //newPos[0] += t;
  421.                     //newPos[1] += l;
  422.                 }
  423.   }
  424. }
  425. function update(hid) {
  426.         var xhr;
  427.         try {
  428.                 xhr=new XMLHttpRequest();
  429.         }
  430.         catch (e) {
  431.                 try {
  432.                         xhr=new ActiveXObject("Msxml2.XMLHTTP");
  433.                 }
  434.                 catch (e) {
  435.                         try {
  436.                                 xhr=new ActiveXObject("Microsoft.XMLHTTP");
  437.                         }
  438.                         catch (e) {
  439.                                 alert("Your browser does not support AJAX!");
  440.                                 return false;
  441.                         }
  442.                 }
  443.         }
  444.         if (hid == 1) {
  445.                 xhr.open("GET","/cache/stream.json?"+Math.random(), true);
  446.         } else {
  447.                 //xhr.open("GET","lv_update.php?id="+uid, true);
  448.         }
  449.         xhr.onreadystatechange=function() {
  450.                 if(xhr.readyState==4) {
  451.                         handler(xhr.responseText, hid);
  452.                         setTimeout(update,1,1);
  453.                 }
  454.         }
  455.  
  456.         xhr.send(null);
  457. }
  458. //setTimeout(update,100,1);
  459. handler({"2": ["",1003,1003,6,132,2,115,0,132,114,0,3,0,1],
  460. }, 1);
  461. update(1);
  462. //setTimeout(update,100,2);
  463. </script>
  464. </div> </div>
  465.                     </div>
  466.                 </div>
  467.                 <div class="footer"></div>
  468.             </div>
  469.  
  470.             <script type='text/javascript'>InitializePage();</script>
  471.             <div class="wrapper2">
  472.  
  473.                 <div class="header"></div>
  474.                 <div class="body">
  475.                     <div class="text">
  476.                         <?php echo $main_content; ?>
  477.                     </div>
  478.                 </div>
  479.                 <div class="footer"></div>
  480.                 <br>
  481.                 <br>
  482.             </div>
  483.         </div>
  484.     </body>
  485. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement