Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.63 KB | None | 0 0
  1. <?
  2. require('config.php');
  3. require('config_ini.php');
  4. require('_sys/functions.php');
  5.  
  6. sec_session_start();
  7.  
  8.  
  9.  
  10.  
  11. /*
  12. //DELETE TEMP FILES
  13. $path = ROOT.'/_sys/process/change_mail/';
  14. $files = scandir($path);
  15. foreach($files as $file) {
  16. unlink($path.$file);
  17. }
  18. */
  19.  
  20.  
  21.  
  22.  
  23. if($_GET['op'] == 'item' || isset($_GET['start_from']) || isset($_GET['iN']) || isset($_GET['li'])){
  24. header('HTTP/1.1 404 Not Found');
  25. include('404.php');
  26. die();
  27. }
  28.  
  29.  
  30. //FOR SHOP CHECK & BLACKSMITH
  31.  
  32. if(isset($_GET['u'])){
  33.  
  34. if($_GET['u'] == 'webshop' && is_numeric($_GET['buy'])){
  35.  
  36. if(isset($_POST['process_item'])){
  37. if($_POST['webshop_token'] != $_SESSION['webshop_token']){
  38. $can_t_shop_now = '1';
  39. }else{
  40. $can_t_shop_now = '0';
  41. }
  42. }
  43.  
  44.  
  45. $_SESSION['webshop_token'] = md5(session_id() . microtime(true));
  46. }elseif($_GET['u'] == 'blacksmith' && ($_GET['upgrade'] == 'level' || $_GET['upgrade'] == 'joh' || $_GET['upgrade'] == 'exc')){
  47.  
  48. if(isset($_POST['process_item'])){
  49. if($_POST['blacksmith_token'] != $_SESSION['blacksmith_token']){
  50. $can_t_do_job_now = '1';
  51. }else{
  52. $can_t_do_job_now = '0';
  53. }
  54. }
  55.  
  56.  
  57. $_SESSION['blacksmith_token'] = md5(session_id() . microtime(true));
  58. }elseif($_GET['u'] == 'clearinv'){
  59.  
  60. if(isset($_POST['process'])){
  61. if($_POST['clearinv_token'] != $_SESSION['clearinv_token']){
  62. $can_t_do_job_now = '1';
  63. }else{
  64. $can_t_do_job_now = '0';
  65. }
  66. }
  67.  
  68.  
  69. $_SESSION['clearinv_token'] = md5(session_id() . microtime(true));
  70. }elseif($_GET['u'] == 'itemstovault'){
  71.  
  72. if(isset($_POST['process'])){
  73. if($_POST['itemstovault_token'] != $_SESSION['itemstovault_token']){
  74. $can_t_do_job_now = '1';
  75. }else{
  76. $can_t_do_job_now = '0';
  77. }
  78. }
  79.  
  80.  
  81. $_SESSION['itemstovault_token'] = md5(session_id() . microtime(true));
  82. }elseif($_GET['u'] == 'clearskills'){
  83.  
  84. if(isset($_POST['process'])){
  85. if($_POST['clearskills_token'] != $_SESSION['clearskills_token']){
  86. $can_t_do_job_now = '1';
  87. }else{
  88. $can_t_do_job_now = '0';
  89. }
  90. }
  91.  
  92.  
  93. $_SESSION['clearskills_token'] = md5(session_id() . microtime(true));
  94. }elseif($_GET['u'] == 'exchangevippoints'){
  95.  
  96. if(isset($_POST['process'])){
  97. if($_POST['exchangevippoints_token'] != $_SESSION['exchangevippoints_token']){
  98. $can_t_do_job_now = '1';
  99. }else{
  100. $can_t_do_job_now = '0';
  101. }
  102. }
  103.  
  104.  
  105. $_SESSION['exchangevippoints_token'] = md5(session_id() . microtime(true));
  106. }
  107.  
  108. }
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116. if(isset($_SESSION['user_id'], $_SESSION['username'], $_SESSION['login_string'])) {
  117. $memb___id = safe($_SESSION['username'],'','12');
  118. $memb_guid = safe($_SESSION['user_id'],'','12');
  119. $logged_html = '1';
  120.  
  121. $session_expire_login = safe($_SESSION['expire'],'','12');
  122.  
  123. $time_left_expire_login = (time()-$session_expire_login);
  124. if($time_left_expire_login >= 600){
  125. $_SESSION = array();
  126. $params = session_get_cookie_params();
  127. setcookie(session_name(), '', time() - 42000, $params["path"], $params["domain"], $params["secure"], $params["httponly"]);
  128. session_destroy();
  129.  
  130. $memb___id='';
  131. $logged_html = '';
  132. $memb_guid = '';
  133.  
  134. $session_expired_notify = '1';
  135.  
  136. }
  137.  
  138. $_SESSION['expire'] = time();
  139.  
  140. }else{
  141. $memb___id='';
  142. $logged_html = '';
  143. $memb_guid = '';
  144.  
  145. }
  146.  
  147.  
  148.  
  149. post_check($memb___id);
  150. get_check($mucore['website_url'],$memb___id);
  151.  
  152.  
  153.  
  154.  
  155.  
  156. if(isset($_GET['page']) && !empty($_GET['page'])){
  157. $page_id = safe($_GET['page'],'');
  158.  
  159. foreach($mucore['page'] as $set_page_id => $set_page){
  160. $set_page_array[] = $set_page_id;
  161. }
  162.  
  163. if(in_array($page_id,$set_page_array)){
  164. $page['title'] = $mucore['page'][$page_id]['title'].' - ';
  165. $page['file'] = $mucore['page'][$page_id]['file'];
  166. $page['title_nav'] = $mucore['page'][$page_id]['title'];
  167. $page['title_info'] = $mucore['page'][$page_id]['title_info'];
  168. $page['seo_desc'] = $mucore['page'][$page_id]['meta_description'];
  169. $go_page = '1';
  170. }else{
  171. header('Location: '.$mucore['website_url'].'');
  172. }
  173.  
  174. }else{
  175. $go_page = '1';
  176. $page_id = 'home';
  177. $page['title'] = $mucore['page'][$page_id]['title'].' - ';
  178. $page['file'] = $mucore['page'][$page_id]['file'];
  179. $page['title_nav'] = $mucore['page'][$page_id]['title'];
  180. $page['title_info'] = $mucore['page'][$page_id]['title_info'];
  181. $page['seo_desc'] = $mucore['page'][$page_id]['meta_description'];
  182. $go_page = '1';
  183.  
  184. }
  185.  
  186.  
  187.  
  188. if(isset($_GET['u']) && !empty($_GET['u'])){
  189. $page_id_u = safe($_GET['u'],'');
  190.  
  191. foreach($mucore['page_u'] as $set_page_id_u => $set_page_u){
  192. $set_page_array_u[] = $set_page_id_u;
  193. }
  194.  
  195. if(in_array($page_id_u,$set_page_array_u)){
  196. $page_u['title'] = $mucore['page_u'][$page_id_u]['title'].' - ';
  197. $page_u['file'] = $mucore['page_u'][$page_id_u]['file'];
  198. $page_u['title_nav'] = $mucore['page_u'][$page_id_u]['title'];
  199. $page_u['title_info'] = $mucore['page_u'][$page_id_u]['title_info'];
  200. $go_page_u = '1';
  201. }else{
  202. header('Location: '.$mucore['website_url'].'');
  203. }
  204.  
  205. }
  206.  
  207.  
  208. if($go_page_u == '1' && $logged_html == ''){
  209.  
  210.  
  211. setcookie('lasturl',$_SERVER['REQUEST_URI']);
  212.  
  213.  
  214.  
  215. }
  216.  
  217. //echo strlen($page['seo_desc']);
  218.  
  219. //FACEBOOK PLUGIN
  220. //require('plugin/facebook/config.php');
  221.  
  222.  
  223.  
  224.  
  225. if(FACEBOOK_LOGIN == '1' && (($page_id == 'user' && $page_id_u == 'account') || ($page_id == 'register' && $logged_html == ''))){
  226.  
  227.  
  228.  
  229. require('plugin/facebook/engine/facebook.php');
  230.  
  231.  
  232. require('plugin/facebook/engine/header_facebook.php');
  233. }
  234.  
  235.  
  236.  
  237.  
  238. $no_seo_array = array('user','contact','lostpassword','rankings');
  239. if(in_array($page_id,$no_seo_array)){
  240. $no_seo = '<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">';
  241. }
  242.  
  243.  
  244. ?>
  245. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  246. <html xmlns="http://www.w3.org/1999/xhtml">
  247. <head>
  248. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  249. <title><?=$page_u['title'].$page['title'].$mucore['website_title']; ?></title>
  250. <meta name="description" content="<?=$page['seo_desc']; ?>">
  251. <?=$no_seo ;?>
  252.  
  253. <link rel="stylesheet" href="images/main.css" type="text/css">
  254.  
  255.  
  256. <meta name="google-site-verification" content="<?=$mucore['google_site_verificaiton']; ?>" />
  257. </head>
  258. <body>
  259.  
  260. <div class="bg" align="center" style="background: url('images/<?=$mucore['template']; ?>/bg_center_top.jpg') no-repeat center top;">
  261.  
  262. <div style="width: 900px; padding-top: 250px;" align="center" class="top_menu">
  263.  
  264. <a href="<?=$mucore['website_url']; ?>" title="<?=$muonline_seo_title;?> <?=$mucore['website_title']; ?> Server">Home</a> &nbsp;&nbsp;&nbsp;&nbsp;
  265. <a href="<?=$mucore['website_url']; ?>/downloads.html" title="Download <?=$muonline_seo_title; ?> Game">Downloads</a> &nbsp;&nbsp;&nbsp;&nbsp;
  266. <a href="<?=$mucore['website_url']; ?>/register.html" title="Register new account on <?=$muonline_seo_title; ?> Server">Register</a> &nbsp;&nbsp;&nbsp;&nbsp;
  267. <a href="<?=$mucore['website_url']; ?>/index.php?page=user&u=rank">Rankings</a> &nbsp;&nbsp;&nbsp;&nbsp;
  268. <a href="http://www.zhypernetwork.com/zhyper_wiki/index.php?title=Main_Page" target="_blank" rel="nofollow">Wiki Guide</a> &nbsp;&nbsp;&nbsp;&nbsp;
  269. <a href="<?=$mucore['forum_url']; ?>" target="_blank" rel="nofollow">Forum</a> &nbsp;&nbsp;&nbsp;&nbsp;
  270. <a href="<?=$mucore['website_url']; ?>/index.php?page=contact">Contact</a>
  271.  
  272. </div>
  273.  
  274.  
  275. </div>
  276.  
  277. <div class="bg_pattern" align="center">
  278.  
  279. <?
  280.  
  281.  
  282. require('plugin/castlesiege/config.php');
  283. require('_sys/cache/castlesiege.php');
  284.  
  285. if(CASTLESIEGE_ENABLED == '1' && $page_id == 'home'){
  286.  
  287. $battletoday = date("l");
  288. $battleDate = strtotime("next ".CASTLESIEGE_DAYSTART." ".CASTLESIEGE_TIMESTART."");
  289. $battletimeOffset = $battleDate - time();
  290.  
  291.  
  292. if($battletoday == CASTLESIEGE_DAYSTART) {
  293.  
  294. $currentTime = strtotime(date("H:i:s"));
  295. $battleTimeToday = strtotime(CASTLESIEGE_TIMESTART);
  296.  
  297.  
  298.  
  299. $timeOffsetToday = $battleTimeToday - time();
  300.  
  301. if($battleTimeToday > $currentTime) {
  302.  
  303.  
  304. // CS BATTLE IS TODAY
  305. $siege_in = $timeOffsetToday;
  306. }else{
  307. $timeOffsetToday = $timeOffsetToday*(-1);
  308.  
  309. if((CASTLESIEGE_BATTLETIME*60) > $timeOffsetToday) {
  310. // CS BATTLE IN PROGRESS
  311. } else {
  312. $siege_in= $battletimeOffset;
  313. }
  314. }
  315. } else {
  316. // CS BATTLE IS ON NEXT DATE
  317. $siege_in = $battletimeOffset;
  318. }
  319.  
  320. $siege_in = sprintf("%2d%s%2d%s%2d%s%2d", floor($siege_in/86400), ':', floor($siege_in/3600)%24, ':', ($siege_in/60)%60, ':', $siege_in%60);
  321. $siege_in = explode(":",$siege_in);
  322.  
  323. echo '
  324.  
  325. <link rel="stylesheet" href="plugin/castlesiege/images/siege.css" type="text/css">
  326.  
  327.  
  328.  
  329.  
  330. <div class="siege_bg">
  331.  
  332. <div style="float:left; margin-top: 15px; margin-left: 15px; width: 320px;">
  333.  
  334. <div style="float:left; text-align:left; width: 60px;">
  335.  
  336. <div style="background: #1d1c1a;width:60px;"><img src="logo.php?hex='.$castlesiege['guild_logo'].'" title="guild logo" width="60"></div>
  337. </div>
  338.  
  339. <div style="float:left; margin-left: 10px; text-align:left;">
  340. <div class="siege_info" style="margin-top: 0px;">Castle Owner</div>
  341.  
  342. <div class="siege_guild" style="margin-top: 15px;">
  343.  
  344. <span>
  345. <a href="'.$mucore['website_url'].'/index.php?page=user&u=rank&rank=guild&gid='.$castlesiege['guild'].'">
  346. '.decode(safe($castlesiege['guild'],''),$mucore['cryptkey']).'
  347.  
  348. </a>
  349.  
  350. </span>
  351.  
  352. </div>
  353.  
  354.  
  355. </div>
  356.  
  357. <div style="clear:both;"></div>
  358.  
  359. <div style="text-align:left; margin-top: 15px;">
  360. <div class="siege_info">Castle Siege Battle Starts In</div>
  361. <div class="siege_guild" style="margin-top: 10px;">'.$siege_in[0].'<span>d</span> '.$siege_in[1].'<span>h</span> '.$siege_in[2].'<span>m</span> '.$siege_in[3].'<span>s</span></div>
  362.  
  363. </div>
  364.  
  365.  
  366.  
  367.  
  368.  
  369. </div>
  370.  
  371.  
  372. <div style="float:left; margin-top: 15px; width: 250px; text-align:left;">
  373. <div class="siege_info">Resets Hall of Fame</div>';
  374.  
  375. require('_sys/cache/rank_resets.php');
  376.  
  377. $rank_resets = json_decode($rank['resets'],TRUE);
  378.  
  379. $cr=0;
  380. foreach($rank_resets as $rank_var){
  381. $cr++;
  382. echo '<div style="margin-bottom: 2px; margin-left: 5px;" class="rank_name">'.$cr.'. '.htmlspecialchars(decode($rank_var['name'],$mucore['cryptkey']), ENT_QUOTES, 'UTF-8').' <span>('.$rank_var['resets'].')</span></div>';
  383. }
  384. echo '
  385. </div>
  386.  
  387. <div style="float:left; margin-top: 15px; width: 200px; text-align:left;">
  388. <div class="siege_info">Guild Rankings</div>';
  389.  
  390.  
  391. require('_sys/cache/rank_guild.php');
  392.  
  393. $rank_resets = json_decode($rank['guild'],TRUE);
  394.  
  395. $cr=0;
  396. foreach($rank_resets as $rank_var){
  397. $cr++;
  398. echo '<div style="margin-bottom: 2px; margin-left: 5px;" class="rank_name">'.$cr.'. '.htmlspecialchars(decode($rank_var['name'],$mucore['cryptkey']), ENT_QUOTES, 'UTF-8').' <span>- '.$rank_var['score'].'</span></div>';
  399. }
  400.  
  401.  
  402.  
  403. echo '
  404. </div>
  405.  
  406.  
  407.  
  408. <div style="clear:both;"></div>
  409.  
  410.  
  411.  
  412. </div>
  413.  
  414.  
  415. ';
  416. }
  417. ?>
  418. <div class="content">
  419. <div style="width: 952px;">
  420. <div class="left_side" align="center">
  421.  
  422.  
  423.  
  424.  
  425. <?
  426. if(isset($_GET['u']) && $_GET['u'] == 'webshop'){
  427.  
  428.  
  429. echo '
  430. <a name="shop"></a>
  431. <div style="margin-top: 20px; width: 280px;" align="left">
  432. <h2 style="margin:0px;padding:0px;">'.$mucore['website_title'].' Webshop</h2>
  433. <div style="font-size:11px; margin-top: 5px; color: #fff;">
  434. Our webshop is exclusively available only for members. Here you will find the latest items available from the game at an amazing price!
  435. </div>
  436.  
  437. <div style="margin-top: 5px;" align="right"><a href="index.php">Go Back to Member Area</a></div>
  438.  
  439. </div>';
  440.  
  441. require('plugin/webshop/config.php');
  442.  
  443.  
  444.  
  445. $is_webshop = '1';
  446.  
  447. if(isset($_GET['cat']) && is_numeric($_GET['cat'])){
  448. $item_category_gid = safe($_GET['cat'],'');
  449. if(array_key_exists($item_category_gid,$items_categories)){
  450. $category_pressent = '1';
  451. }
  452. }
  453.  
  454.  
  455. foreach ($items_categories as $item_category_id => $item_category_var){
  456. if($category_pressent == '1' && $item_category_gid == $item_category_id){
  457. $item_cats_nav[] = '<li class="left_menu_active">'.$item_category_var.'</li>';
  458.  
  459. $item_cat_title = $item_category_var;
  460.  
  461. }else{
  462. $item_cats_nav[] = '<li><a href="index.php?page=user&u=webshop&cat='.$item_category_id.'#shop">'.$item_category_var.'</a></li>';
  463. }
  464.  
  465. }
  466.  
  467.  
  468. echo '<div style="margin-top: 20px;"></div>
  469.  
  470. <div class="box_title">
  471. Category
  472. </div>
  473. <ul class="left_menu">
  474.  
  475. '.implode("\n",$item_cats_nav).'
  476. </ul>
  477. <div class="box_bottom"></div>
  478.  
  479. ';
  480.  
  481.  
  482.  
  483.  
  484. }
  485. ?>
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495. <?
  496.  
  497. if($is_webshop != '1'){
  498. echo '
  499.  
  500. <a href="'.$mucore['website_url'].'/index.php?page=user&u=donate"><img src="images/donate_banner.gif" style="margin-top: 12px;" border="0"></a>
  501.  
  502. <div style="margin-top: 10px;"></div>
  503.  
  504. <div class="box_title">
  505. Member Area
  506. </div>';
  507.  
  508.  
  509.  
  510. if($logged_html == '1'){
  511. echo '
  512.  
  513.  
  514.  
  515. <ul class="left_menu">
  516. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=exchangevippoints">Exchange VIP Points</a></li>
  517. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=clearskills">Clear Skills</a></li>
  518. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=itemstovault">Move Items to Vault</a></li>
  519. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=clearinv">Clear Inventory</a></li>
  520. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=charstatus">Characters Status</a></li>
  521. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=donate">Donate</a></li>
  522. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=vote">Vote 4 Points</a></li>
  523. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=reset">Reset Character</a></li>
  524. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=resetpk">Reset PK Status</a></li>
  525. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=unstuck">Unstuck Character</a></li>
  526. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=fixstats">Fix Stats</a></li>
  527. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=addstats">Add Stats</a></li>
  528. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=blacksmith" style="color: #ff0000; font-style: italic;">Blacksmith</a></li>
  529. <li><a href="'.$mucore['website_url'].'/index.php?page=user&u=webshop" style="color: #ff0000; font-style: italic;">Webshop</a></li>
  530.  
  531. </ul>
  532.  
  533.  
  534.  
  535. <div align="left" style="width: 280px; margin-top: 10px; margin-bottom: 10px;">
  536.  
  537. Welcome '.$memb___id.'
  538. <div align="left" style="margin-top: 12px; width: 284px;">
  539.  
  540.  
  541.  
  542. <div style="float:left;"><a href="'.$mucore['website_url'].'/index.php?page=user&u=account">ACCOUNT MANAGEMENT</a></div>
  543.  
  544. <div style="float:right;">
  545. <input type="button" class="small_button" value="Logout" onclick="location.href=\' process.php?call=logout\';">
  546. </div>
  547.  
  548.  
  549. <div style="clear:both;"></div>
  550.  
  551.  
  552. </div>
  553.  
  554. </div>
  555.  
  556. ';
  557.  
  558. }else{
  559. echo '
  560.  
  561. <div class="box_bottom"></div>
  562. <div align="left" style="width: 280px; margin-top: 10px; margin-bottom: 10px;">
  563.  
  564. <form action="process.php?call=login" method="post">
  565.  
  566. <div style="margin-top: 20px;"></div>
  567. <div style="float:left; width: 100px;">Username</div>
  568. <div style="float:left; width: 180px;"><input type="text" value="" name="user" class="field" style="width: 177px;" maxlength="15"></div>
  569.  
  570. <div style="clear:both;"></div>
  571. <div style="margin-top: 10px;"></div>
  572.  
  573. <div style="float:left; width: 100px;">Password</div>
  574. <div style="float:left; width: 180px;"><input type="password" value="" name="password" class="field" style="width: 177px;" maxlength="15"></div>
  575.  
  576. <div style="clear:both;"></div>
  577.  
  578.  
  579.  
  580.  
  581. <div style="margin-top: 10px;"></div>
  582.  
  583. <div style="float:left; width: 100px;">Captcha</div>
  584. <div style="float:left; width: 180px;">
  585.  
  586.  
  587.  
  588.  
  589.  
  590. <div style="float:right; width: 100px;">
  591. <input type="text" name="captcha" class="field" style="width: 97px;" maxlength="4" value="enter code here" onselect="this.value=\'\';" onclick="this.value=\'\';">
  592. </div>
  593.  
  594. <div style="float:left; width: 50px;">
  595. <img src="captcha.php" title="captcha">
  596. </div>
  597.  
  598. <div style="float:left; width: 30px; line-height: 26px; font-size: 14px; color: #fff;" align="center">
  599. &raquo;
  600. </div>
  601.  
  602. </div>
  603.  
  604.  
  605.  
  606. <div style="clear:both;"></div>
  607.  
  608.  
  609.  
  610. <div align="right" style="margin-top: 12px; width: 284px;">
  611.  
  612. <div style="float:left;"><a href="'.$mucore['website_url'].'/index.php?page=lostpassword">&raquo; Lost Password</a></div>
  613.  
  614. <div style="float:right;">
  615. <input type="submit" class="small_button" value="Login">
  616. </div>
  617.  
  618.  
  619. <div style="clear:both;"></div>
  620.  
  621. ';
  622. if(FACEBOOK_LOGIN == '1'){
  623.  
  624. echo '<div align="left" style="margin-top: 10px;"><a href="javascript:void(0)" onclick="location.href=\'process.php?call=loginfb\'"><img src="plugin/facebook/images/login.gif" title="facebook login"></a></div>';
  625.  
  626. }
  627.  
  628. echo '
  629.  
  630.  
  631. </div>
  632. </form>
  633. </div>
  634.  
  635.  
  636. ';
  637. }
  638.  
  639.  
  640.  
  641. echo '<div class="box_bottom"></div>';
  642. }
  643.  
  644.  
  645.  
  646.  
  647. ?>
  648.  
  649.  
  650.  
  651.  
  652. <a href="<?=$mucore['website_url']; ?>/index.php?page=user&u=vote"><img src="images/vote_points_banner.gif" style="margin-top: 20px;" border="0"></a>
  653. <a href="http://www.zhypernetwork.com/zhyper_wiki/index.php?title=Main_Page"><img src="http://i.imgur.com/VlZab2Y.gif" style="margin-top: 20px;" border="0"></a>
  654.  
  655.  
  656. <div style="margin-top: 20px;"></div>
  657.  
  658. <div class="box_title">
  659. Castle Siege
  660. </div>
  661.  
  662.  
  663. <div style="width: 300px; padding-top: 10px; padding-bottom: 10px;">
  664. <div style="float:left; width:170px; font-size: 13px;" align="left">
  665.  
  666.  
  667. <div style="border-bottom: 1px dashed #ccc; height: 25px;">
  668. Guild Owner: <a href="<?=$mucore['website_url']; ?>/index.php?page=user&u=rank&rank=guild&gid=<?=$castlesiege['guild'] ; ?>"><?=decode(safe($castlesiege['guild'],''),$mucore['cryptkey']); ?></a>
  669. </div>
  670. <div style="border-bottom: 1px dashed #ccc; height: 25px;">
  671. Guild Master: <a href="<?=$mucore['website_url']; ?>/index.php?page=user&u=rank&info=<?=$castlesiege['guild_owner'] ; ?>"><?=decode(safe($castlesiege['guild_owner'],''),$mucore['cryptkey']); ?></a>
  672. </div>
  673. </div>
  674. <div style="float:right; width:121px;" align="right"><div style="background: #1d1c1a;width:100px;"><img src="logo.php?hex=<?=$castlesiege['guild_logo']; ?>" title="guild logo"></div></div>
  675.  
  676. <div style="clear:both"></div>
  677. </div>
  678.  
  679. <div class="box_bottom"></div>
  680.  
  681.  
  682. <div style="margin-top: 30px;"></div>
  683. <div class="left_title">
  684. Navigation Menu
  685.  
  686. </div>
  687.  
  688.  
  689. <div class="left_top_menu"></div>
  690. <ul class="left_menu">
  691. <li><a href="<?=$mucore['website_url']; ?>">Home</a></li>
  692. <li><a href="<?=$mucore['website_url']; ?>/downloads.html" title="Download <?=$muonline_seo_title; ?> Game">Downloads</a></li>
  693. <li><a href="<?=$mucore['website_url']; ?>/register.html" title="Register new account on <?=$muonline_seo_title; ?> Server">Register</a></li>
  694. <li><a href="<?=$mucore['website_url']; ?>/index.php?page=user&u=rank">Rankings</a></li>
  695. <li><a href="http://www.zhypernetwork.com/zhyper_wiki/index.php?title=Main_Page" target="_blank" rel="nofollow">Wiki Guide</a></li>
  696. <li><a href="<?=$mucore['website_url']; ?>/index.php?page=user&u=donate" rel="nofollow">Donate</a></li>
  697. <li><a href="<?=$mucore['forum_url']; ?>" target="_blank">Forum</a></li>
  698.  
  699. </ul>
  700. <div class="left_bottom_menu"></div>
  701.  
  702.  
  703.  
  704. <div style="margin-top: 20px;"></div>
  705.  
  706. <div class="box_title">
  707. Facebook Page
  708. </div>
  709.  
  710. <iframe src="http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fzhypernetworks&amp;width=300&amp;height=258&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:289px; background:#fff;"></iframe>
  711.  
  712.  
  713.  
  714. <div class="box_bottom"></div>
  715.  
  716.  
  717. <div style="margin-top: 20px;"></div>
  718.  
  719. </div>
  720.  
  721. <div class="right_side">
  722.  
  723. <div class="nav_bar">
  724. <div class="nav_bar_location">
  725. <?
  726. $nav_bar = $mucore['website_title'];
  727. if($go_page == '1'){
  728. $nav_bar .=' &raquo; '.$page['title_nav'];
  729. }
  730.  
  731. if($go_page_u == '1'){
  732. $nav_bar .=' &raquo; '.$page_u['title_nav'];
  733. }
  734.  
  735.  
  736. ?>
  737.  
  738. <?=$nav_bar; ?>
  739. </div>
  740. </div>
  741.  
  742.  
  743. <div class="page">
  744.  
  745. <?
  746.  
  747. if($go_page == '1'){
  748. if(is_file('page_sys/'.$page['file'].'')){
  749. echo '<h1>';
  750.  
  751. if($go_page_u == '1'){
  752. echo $page_u['title_nav'];
  753. $title_info = $page_u['title_info'];
  754. }elseif($go_page == '1'){
  755. echo $page['title_nav'];
  756. $title_info = $page['title_info'];
  757.  
  758. }
  759.  
  760.  
  761. echo '
  762. </h1>
  763. <div class="page_title_info">
  764. '.$title_info.'
  765. </div>
  766. ';
  767. echo '
  768. <div style="background-color: rgba(0, 0, 0, 0.3); margin-top: 10px;">
  769. <div style="padding-left: 20px; padding-top: 15px; padding-bottom: 20px; padding-right: 20px;">';
  770. include('page_sys/'.$page['file'].'');
  771. echo '</div></div>';
  772. }else{
  773. echo alert('Page system could not be found!','0');
  774. }
  775.  
  776. }
  777.  
  778. ?>
  779.  
  780. </div>
  781.  
  782.  
  783.  
  784.  
  785. </div>
  786.  
  787. <div style="clear:both"></div>
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. </div>
  797. </div>
  798. </div>
  799.  
  800. <?
  801. if($logged_html == '1'){
  802.  
  803. echo '
  804. <script type="text/javascript">
  805.  
  806. function session_extend() {
  807. var r = confirm("Your login session is about to expire!\nPress OK button to extend!");
  808. if (r == true) {
  809. location.href=\''.$mucore['website_url'].'/index.php?page='.$page_id.'&u='.$page_id_u.'\';
  810. } else {
  811.  
  812. }
  813. }
  814.  
  815.  
  816. setTimeout(session_extend, 480000);
  817.  
  818. </script>
  819.  
  820. ';
  821.  
  822.  
  823. }
  824.  
  825.  
  826. if($session_expired_notify == '1'){
  827. echo '<script type="text/javascript">
  828. alert(\'Your login session has expired,\nPlease login again.\');
  829. </script>
  830. ';
  831. }
  832. ?>
  833.  
  834. </body>
  835. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement