Changeset 550
- Timestamp:
- Mar 29, 2009, 11:57:40 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/html.php
r470 r550 1 1 <?php 2 class Html { 2 3 class Html 4 { 3 5 private $values; 4 6 private $db; 5 // -- 6 7 8 $this ->db = &$db;9 10 $this -> html_cfg = array(11 "charset" => "utf-8",12 "author" => "Zork",13 "copyright" => "(C) 2008 Heroes of Fantasy, All rights reserved.",14 "favicon" => "imgs/fav",15 "title" => "Heroes of Fantasy",16 "description" => "Heroes of Fantasy free WoW server běžící na programu MaNGOS",17 "keywords" => "wowserver, world of warcraft, free, wow, server, hof, heroes of fantasy, zdechov, mangos"18 );19 if (count($values) > 1 OR $values[0] != 0 AND $values[0] != "0")20 { 21 $result_cfg = array_merge ($this -> html_cfg, $values);22 foreach ($result_cfg as $name => $value)23 {$this -> {$name} = $value;}24 }25 else26 {27 foreach ($this -> html_cfg as $name => $value)28 {$this -> {$name} = $value;}29 }30 31 32 // -- 33 private function CfgChck($value)34 35 if (isset($this ->{$value}))36 37 return $this -> {$value};38 }39 else40 {41 return "Undefined";42 43 } 44 45 46 $code = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">7 8 public function __construct($values,$db) 9 { 10 $this->db = &$db; 11 // default config 12 $this->html_cfg = array 13 ( 14 "charset" => "utf-8", 15 "author" => "Zork", 16 "copyright" => "(C) 2008 Heroes of Fantasy, All rights reserved.", 17 "favicon" => "imgs/fav", 18 "title" => "Heroes of Fantasy", 19 "description" => "Heroes of Fantasy free WoW server běžící na programu MaNGOS", 20 "keywords" => "wowserver, world of warcraft, free, wow, server, hof, heroes of fantasy, zdechov, mangos" 21 ); 22 23 if((count($values) > 1) or ($values[0] != 0) and ($values[0] != 0)) 24 { 25 $result_cfg = array_merge ($this->html_cfg, $values); 26 foreach($result_cfg as $name => $value) 27 $this->{$name} = $value; 28 } else 29 { 30 foreach($this->html_cfg as $name => $value) 31 $this->{$name} = $value; 32 } 33 } 34 35 private function CfgChck($value) 36 { 37 if(isset($this->{$value})) 38 { 39 return($this->{$value}); 40 } else 41 { 42 return('Undefined'); 43 } 44 } 45 46 public function Start() 47 { 48 $code = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"> 47 49 <html> 48 50 <head> … … 65 67 <!--[if IE]><link rel=\"stylesheet\" type=\"text/css\" href=\"styles/ie.css\" /><![endif]--> 66 68 </head> 67 <body> 68 "; 69 $this -> TimerStart(); 70 echo $code; 71 } 72 // -- 73 private function TimerStart() 74 { 75 $time_start = microtime(); 76 $time_start = explode(" ",$time_start); 77 $time_start = $time_start[1] + $time_start[0]; 78 $this -> time_start = $time_start; 79 } 80 // -- 81 private function TimerStop() 82 { 83 $round = "100000"; 84 $time_start = $this -> time_start; 85 $time_stop = microtime(); 86 $time_stop = explode(" ",$time_stop); 87 $time_stop = $time_stop[1] + $time_stop[0]; 88 $deltatime = $time_stop - $time_start; 89 $deltatime = (round(($deltatime*$round)))/$round; 90 return $deltatime; 91 } 92 // -- 93 public function Stop() 94 { 95 $time = $this -> TimerStop(); 96 $code = " 97 <!-- Vygenerováno za : ".$time." s --> 98 </body> 99 </html> 100 "; 101 echo $code; 102 } 103 // -- 104 public function Pager ($get,$dir_pages,$def) 105 { 106 $anti_ref = array ( 107 "server" => "5", 108 "events" => "2", 109 "aukce" => "2", 110 "gmlog" => "300", 111 "online" => "2", 112 ); 113 $site_show = "./".$dir_pages."/".$get.".php"; 114 if (isset($anti_ref[$get])) 115 { 116 if (!$this -> Antirefresh($anti_ref[$get],$get)) 117 { 118 119 if ($site_show != "" AND is_readable($site_show)) 120 {return $site_show;} 121 else 122 {return "./".$dir_pages."/".$def.".php";} 123 } 124 else 125 { 126 $this -> RefreshMsg($this -> Antirefresh($anti_ref[$get],$get),$get); 127 return "./".$dir_pages."/free.php"; 128 } 129 } 130 else 131 { 132 if ($site_show != "" AND is_readable($site_show)) 133 {return $site_show;} 134 else 135 {return "./".$dir_pages."/".$def.".php";} 136 } 137 } 138 public function Antirefresh ($value,$page) 139 { 140 $hash = md5($page); 141 if (isset($_SESSION["rf".$hash."rsh"])) 142 { 143 $refresh = $_SESSION["rf".$hash."rsh"] + $value; 144 if (time() < $refresh) 145 { 146 $dif = $refresh - time(); 147 return $dif; 148 } 149 } 150 $_SESSION["rf".$hash."rsh"] = time(); 151 } 152 // -- 153 public function RefreshMsg ($dif,$get) 154 { 155 if ($dif != 0) 156 { 157 if ($dif > 60) 158 { 159 $dif = round( $dif / 60)." min"; 160 $refresh = 30; 161 } 162 else 163 { 164 $dif = $dif." s"; 165 $refresh = 2; 166 } 167 echo " 168 <center><h3>Refresh omezení</h3></center> 69 <body>"; 70 $this->TimerStart(); 71 echo($code); 72 } 73 74 private function TimerStart() 75 { 76 $time_start = microtime(); 77 $time_start = explode(' ', $time_start); 78 $time_start = $time_start[1] + $time_start[0]; 79 $this->time_start = $time_start; 80 } 81 82 private function TimerStop() 83 { 84 $round = 100000; 85 $time_start = $this->time_start; 86 $time_stop = microtime(); 87 $time_stop = explode(' ', $time_stop); 88 $time_stop = $time_stop[1] + $time_stop[0]; 89 $deltatime = $time_stop - $time_start; 90 $deltatime = (round(($deltatime * $round))) / $round; 91 return($deltatime); 92 } 93 94 public function Stop() 95 { 96 $time = $this->TimerStop(); 97 $code = '<!-- Vygenerováno za : ".$time." s -->'. 98 '</body></html>'; 99 echo($code); 100 } 101 102 public function Pager($get, $dir_pages, $def) 103 { 104 $anti_ref = array 105 ( 106 "server" => 5, 107 "events" => 2, 108 "aukce" => 2, 109 "gmlog" => 300, 110 "online" => 2, 111 ); 112 $site_show = "./".$dir_pages."/".$get.".php"; 113 if(isset($anti_ref[$get])) 114 { 115 if(!$this->Antirefresh($anti_ref[$get], $get)) 116 { 117 if(($site_show != '') and is_readable($site_show)) return($site_show); 118 else return('./'.$dir_pages.'/'.$def.'.php'); 119 } else 120 { 121 $this->RefreshMsg($this -> Antirefresh($anti_ref[$get], $get), $get); 122 return("./".$dir_pages."/free.php"); 123 } 124 } else 125 { 126 if($site_show != "" AND is_readable($site_show)) return($site_show); 127 else return("./".$dir_pages."/".$def.".php"); 128 } 129 } 130 131 public function Antirefresh($value, $page) 132 { 133 $hash = md5($page); 134 if(isset($_SESSION["rf".$hash."rsh"])) 135 { 136 $refresh = $_SESSION["rf".$hash."rsh"] + $value; 137 if(time() < $refresh) 138 { 139 $dif = $refresh - time(); 140 return($dif); 141 } 142 } 143 $_SESSION["rf".$hash."rsh"] = time(); 144 } 145 146 public function RefreshMsg($dif, $get) 147 { 148 if($dif != 0) 149 { 150 if($dif > 60) 151 { 152 $dif = round($dif / 60)." min"; 153 $refresh = 30; 154 } else 155 { 156 $dif = $dif." s"; 157 $refresh = 2; 158 } 159 echo("<center><h3>Refresh omezení</h3></center> 169 160 Stránka nepovoluje tak krátký čas pro refresh (znovunačtení).<br /> 170 161 Další načtení stránky <b>?page=".$get."</b> bude možné za <b>".$dif."</b>.<br /> 171 162 Pokud tento čas vyčkáte budete přesměrován automaticky ! 172 <meta http-equiv=\"refresh\" content=\"".$refresh.";url=\"> 173 "; 174 } 175 176 } 177 // -- 178 public function PrgStart() 179 { 180 echo " 181 <table align=\"center\" width=\"346\" height=\"417\" border=\"0\" style=\"background-image: url(imgs/web/prg.gif);\"> 163 <meta http-equiv=\"refresh\" content=\"".$refresh.";url=\">"); 164 } 165 } 166 167 public function PrgStart() 168 { 169 echo("<table align=\"center\" width=\"346\" height=\"417\" border=\"0\" style=\"background-image: url(imgs/web/prg.gif);\"> 182 170 <tr height=\"80\"> 183 171 <td width=\"20\"></td> … … 189 177 <tr> 190 178 <td width=\"20\"></td> 191 <td align=\"center\" valign=\"top\">"; 192 } 193 // -- 194 public function PrgStop () 195 { 196 echo " 197 </td> 179 <td align=\"center\" valign=\"top\">"); 180 } 181 182 public function PrgStop() 183 { 184 echo("</td> 198 185 <td width=\"20\"></td> 199 186 </tr> … … 203 190 <td width=\"20\"></td> 204 191 </tr> 205 </table>" ;206 207 // -- 208 public function ShowNews($kategorie)209 210 192 </table>"); 193 } 194 195 public function ShowNews($kategorie) 196 { 197 include("inc/db.php"); 211 198 global $db_webu; 212 199 213 if ($kategorie == "all") 200 if($kategorie == "all") 201 { 202 $where = " "; 203 } else 204 { 205 $where = "WHERE `category` = '".$kategorie."'"; 206 } 207 208 mysql_connect($db_server, $db_user, $db_pass); 209 mysql_select_db($db_webu); 210 $limit = 5; 211 212 $pocet = mysql_num_rows(mysql_query("SELECT id FROM `articles`".$where."ORDER BY `date` DESC;")); 213 $offset = ($_GET["offset"] ? $_GET["offset"] : $pocet); 214 215 if($pocet != 0) 216 { 217 mysql_query('SET NAMES utf8'); 218 $result = mysql_query("SELECT * FROM articles $where ORDER BY date DESC, id DESC LIMIT $limit OFFSET " . ($pocet - $offset)); 219 while($row = mysql_fetch_array($result)) 220 { 221 switch ($row["category"]) 214 222 { 215 $where = " "; 223 case 1: 224 $cat = "Server novinky"; 225 $link = "servernews"; 226 break; 227 case 2: 228 $cat = "GM novinky"; 229 $link = "gmnews"; 230 break; 231 case 3: 232 $cat = "In-game novinky"; 233 $link = "gamenews"; 234 break; 235 case 4: 236 $cat = "Články"; 237 $link = "articles"; 238 break; 216 239 } 217 else 218 { 219 $where = "WHERE `category` = '".$kategorie."'"; 220 } 221 222 mysql_connect("$db_server", "$db_user", "$db_pass"); 223 mysql_select_db($db_webu); 224 $limit = 5; 225 226 227 $pocet = mysql_num_rows(mysql_query("SELECT id FROM `articles`".$where."ORDER BY `date` DESC;")); 228 $offset = ($_GET["offset"] ? $_GET["offset"] : $pocet); 229 230 if ($pocet != 0) 231 { 232 mysql_query("SET NAMES 'utf8'"); 233 $result = mysql_query("SELECT * FROM articles $where ORDER BY date DESC, id DESC LIMIT $limit OFFSET " . ($pocet - $offset)); 234 while($row = mysql_fetch_array($result)){ 235 switch ($row["category"]) 236 { 237 case 1: 238 $cat = "Server novinky"; 239 $link = "servernews"; 240 break; 241 case 2: 242 $cat = "GM novinky"; 243 $link = "gmnews"; 244 break; 245 case 3: 246 $cat = "In-game novinky"; 247 $link = "gamenews"; 248 break; 249 case 4: 250 $cat = "Články"; 251 $link = "articles"; 252 break; 253 } 254 $date_arr = explode(" ",$row["date"]); 255 $date = explode("-",$date_arr[0]); 256 $time = mktime(0,0,0,$date[1],$date[2],$date[0]); 257 $human_date = date ("d.m.Y",$time); 258 echo " 259 <table align=\"center\" border=\"1\" width=\"500\"> 240 $date_arr = explode(' ', $row['date']); 241 $date = explode('-', $date_arr[0]); 242 $time = mktime(0, 0, 0, $date[1], $date[2], $date[0]); 243 $human_date = date ("d.m.Y", $time); 244 echo("<table align=\"center\" border=\"1\" width=\"500\"> 260 245 <tr> 261 246 <td><b>".$row["title"]."</b></td> … … 272 257 </tr> 273 258 </table> 274 <br /> 275 "; 259 <br />"); 260 } 261 echo("<p align=center>"); 262 if($offset < $pocet) 263 { 264 echo("<a href='$_SERVER[PHP_SELF]" . ($offset + $limit < $pocet ? "?offset=" . ($offset + $limit) : "") . "'><-- novější</a>\n "); 265 } 266 if($offset > $limit) 267 { 268 echo(" <a href='$_SERVER[PHP_SELF]?offset=" . ($offset - $limit) . "'>starší --></a>\n"); 269 } 270 } else 271 { 272 echo("<center><h3>Žádný článek v této kategorii !</h3></center>"); 273 } 274 } 275 276 function QuickNew() 277 { 278 global $server; 279 280 if(isset($_COOKIE["hof-quick"]) AND $_COOKIE["hof-quick"] == "no") 281 { 282 } else 283 { 284 echo('<table align="center" border="1" width="500">'. 285 '<tr>'. 286 '<td><b>Rychlý přehled</b></td>'. 287 '<td width="100">'.date('d.m.Y', time()).'</td>'. 288 '</tr>'. 289 '<tr>'. 290 '<td colspan="2">'. 291 '<b>Server : </b>'.$server->ServerImg($server->ServerOnline('wow.zdechov.net', 8085)).'<b> (<a href="?page=online">'.$server->MangosOnline().' hráčů</a>) | Patch 3.0.9 | <a href="http://wow.zdechov.net/pages/realmlist.wtf">Realmlist</a> | Více info <a href="?page=server">zde</a></b>'. 292 '</td></tr></table><br />'); 293 } 294 } 276 295 } 277 echo"<p align=center>"; 278 if ($offset < $pocet) { 279 echo "<a href='$_SERVER[PHP_SELF]" . ($offset + $limit < $pocet ? "?offset=" . ($offset + $limit) : "") . "'><-- novější</a>\n "; 280 } 281 if ($offset > $limit) { 282 echo " <a href='$_SERVER[PHP_SELF]?offset=" . ($offset - $limit) . "'>starší --></a>\n"; 283 } 284 285 286 287 288 289 290 } 291 else 292 { 293 echo "<center><h3>Žádný článek v této kategorii !</h3></center>"; 294 } 295 } 296 297 } 296 298 297 ?> -
trunk/inc/server.php
r548 r550 1 1 <?php 2 class Server { 2 3 class Server 4 { 3 5 private $db; 4 6 public function __construct ($db) … … 361 363 } 362 364 } 365 } 363 366 364 365 366 367 }368 367 ?> -
trunk/index.php
r546 r550 1 1 <?php 2 2 3 session_start(); 3 4 include_once("./inc/db.php"); … … 5 6 include_once("./inc/player.php"); 6 7 include_once("./inc/server.php"); 8 7 9 // classes start 8 $player = new Player($db);9 $server = new Server($db);10 $html = new Html("0",$db);11 include_once ("./functions.php");10 $player = new Player($db); 11 $server = new Server($db); 12 $html = new Html(0, $db); 13 include_once('./functions.php'); 12 14 $html -> Start(); 13 if (isset($_COOKIE["hof-random"]) AND $_COOKIE["hof-random"] == "no") 14 { 15 $num_headers = 1; 16 } 17 else 18 { 19 $num_headers = 8; 20 } 21 echo " 22 <div id=\"page\"> 23 <style> 24 #header{height: 174px;background-image: url(imgs/web/headers/header".rand(0,$num_headers-1).".jpg);} 25 a {font-family: Times New Roman; color: #4c4c4c; text-decoration: none; } 26 a:hover {font-family: Times New Roman; color: black; text-decoration: underline; } 27 </style> 28 <div id=\"header\"></div> 29 <div id=\"top\"></div> 30 <div id=\"menu\"> 31 "; 15 if(isset($_COOKIE['hof-random']) AND $_COOKIE['hof-random'] == 'no') $num_headers = 1; 16 else $num_headers = 8; 32 17 33 // menu start 34 echo "<div id=\"mainmenu\"><br /><br />"; 35 echo "<a href=\"?page=main\">Úvod</a><br />"; 36 echo "<a href=\"?page=server\">Server</a><br />"; 37 echo "<a href=\"?page=register\">Registrace</a><br />"; 38 // echo "<a href=\"?page=register\">Komunikace hráčů</a><br />"; 39 echo "<a href=\"?page=begin\">Jak začít</a><br />"; 40 echo "<a href=\"http://wow.zdechov.net/forum/\" target=\"_blank\">Fórum</a><br />"; 41 echo "<a href=\"?page=gmteam\">GM Tým</a><br />"; 42 echo "<a href=\"?page=acc\">Správa účtu</a><br />"; 43 echo "<a href=\"/bug_tracker\">Nahlaš Bug</a><br />"; 44 //echo "<a href=\"http://wow.zdechov.net/databaze/\" target=\"_blank\">Databáze</a><br />"; 45 echo "<a href=\"?page=download\">Stahování</a><br />"; 46 echo "<a href=\"?page=links\">Odkazy</a><br />"; 47 echo "<a href=\"?page=online\">Online hráči</a><br />"; 48 echo "<a href=\"#\" onclick=\"popup('../mmadmin/pomm_public/pomm.php', 758, 525);return false;\">Mapa hráčů</a><br />"; 49 echo "<a href=\"?page=guildy\">Guildy</a><br />"; 50 echo "<a href=\"?page=gh\">Domky Guild</a><br />"; 51 echo "<a href=\"?page=arena\">Arény</a><br />"; 52 echo "<a href=\"?page=aukce\">Aukce</a><br />"; 53 echo "<a href=\"?page=events\">Eventy</a><br />"; 54 echo "<a href=\"?page=dotation\">Dotace</a><br />"; 55 echo "<a href=\"?page=teamspeak\">Team speak</a><br />"; 56 echo "<a href=\"?page=gmlog\">GM log</a><br />"; 57 // echo "<a href=\"?page=admins\">Admin tým</a><br />"; 58 59 60 echo "<a href=\"?page=search\">Vyhledávání</a><br />"; 61 echo "</div>"; 18 echo('<div id="page">'. 19 '<style>'. 20 '#header{height: 174px;background-image: url(imgs/web/headers/header'.rand(0, $num_headers - 1).'.jpg);}'. 21 'a {font-family: Times New Roman; color: #4c4c4c; text-decoration: none; }'. 22 'a:hover {font-family: Times New Roman; color: black; text-decoration: underline; } '. 23 '</style>'. 24 '<div id="header"></div>'. 25 '<div id="top"></div>'. 26 '<div id="menu">'); 27 28 $MenuItems = array( 29 array('link' => '?page=main', 'Text' => 'Úvod'), 30 array('link' => '?page=server', 'Text' => 'Server'), 31 array('link' => '?page=register', 'Text' => 'Registrace'), 32 array('link' => '?page=begin', 'Text' => 'Jak začít'), 33 array('link' => 'forum/', 'Text' => 'Fórum', 'Target' => '_blank'), 34 array('link' => '?page=gmteam', 'Text' => 'GM Tým'), 35 array('link' => '?page=acc', 'Text' => 'Správa účtu'), 36 array('link' => 'bug_tracker/', 'Text' => 'Nahlaš Bug'), 37 array('link' => '?page=download', 'Text' => 'Stahování'), 38 array('link' => '?page=links', 'Text' => 'Odkazy'), 39 array('link' => '?page=online', 'Text' => 'Online hráči'), 40 array('link' => '#', 'Text' => 'Mapa hráčů', 'OnClick' => "popup('../mmadmin/pomm_public/pomm.php', 758, 525); return false;"), 41 array('link' => '?page=guildy', 'Text' => 'Guildy'), 42 array('link' => '?page=gh', 'Text' => 'Domky Guild'), 43 array('link' => '?page=arena', 'Text' => 'Arény'), 44 array('link' => '?page=events', 'Text' => 'Eventy'), 45 array('link' => '?page=dotation', 'Text' => 'Dotace'), 46 array('link' => '?page=teamspeak', 'Text' => 'Team speak'), 47 array('link' => '?page=gmlog', 'Text' => 'GM log'), 48 array('link' => '?page=search', 'Text' => 'Vyhledávání'), 49 ); 50 51 echo('<div id="mainmenu"><br /><br />'); 52 foreach($MenuItems as $Item) 53 { 54 if(array_key_exists('OnClick', $Item)) $OnClick = ' onclick="'.$Item['OnClick'].'"'; 55 else $OnClick = ''; 56 if(array_key_exists('Target', $Item)) $Target = ' target="'.$Item['Target'].'"'; 57 else $Target = ''; 58 59 echo('<a href="'.$Item['link'].'"'.$OnClick.$Target.'>'.$Item['Text'].'</a><br />'); 60 } 61 echo('</div>'); 62 63 62 64 echo " 63 65 <center> … … 77 79 </div> 78 80 <div id=\"content\">"; 81 79 82 // obsah start 80 83 $include = 1; 81 if (isset($_GET["logout"]) AND $player ->Check())84 if(isset($_GET["logout"]) AND $player->Check()) 82 85 { 83 86 echo "<center>"; 84 $player ->Logout();87 $player->Logout(); 85 88 echo "</center>"; 86 89 $include = 0; 87 90 } 88 if 91 if($include == 1) 89 92 { 90 if (isset($_GET["page"])) 91 { 92 include_once ($html -> Pager($_GET["page"],"pages","main")); 93 } 94 else 95 { 96 include_once("./pages/main.php"); 97 } 93 if(isset($_GET['page'])) include_once($html -> Pager($_GET['page'], 'pages', 'main')); 94 else include_once('pages/main.php'); 98 95 } 99 96 echo('</div><div id="footer"><p align="center"><br></p><div id="copyright"><a href="?page=autori">Vývoj webu</a></div></div></div>'); -
trunk/pages/begin.php
r514 r550 1 1 <?php 2 echo " 3 <br />2 3 echo('<br /> 4 4 Vítejte na <b>Heroes of Fantasy</b>, neoficiálním herním serveru hry <b>World of Warcraft</b>!<br /> 5 5 <br /> 6 6 <br /> 7 7 8 9 8 <b>Jak se připojit:</b><br /> 10 1) Nainstalujte hru <b>World of Warcraft</b> s datadisky <b>The Burning Crusade</b> a <b>Wrath of the Lich King</b>. Program na stažení všech tří (verze enUS): <a href= \"http://game.zdechov.net:81/InstallWoW.exe\">HTML</a>.<br />11 2) Nainstalujte zjistěte si verzi World of Warcraft s oběma datadisky (ukazuje se po spuštění v levém, dolním rohu) a stáhněte si postupně patche až do verze <b>3.0.9</b> <a href= \"http://www.wowwiki.com/Patch_mirrors\" target=\"_blank\">WoWWiky</a>.<br />12 3) První řádku souboru realmlist.wtf(je umístěn ve složce s WoW/data/enUS/realmlist.wtf)přepište na <b>set realmlist wow.zdechov.net</b>, zbytek realmlistu můžete nechat jaký je.<br />13 4) Vytvořte si <a href= \"?page=register\">zde</a> nový herní účet<br />9 1) Nainstalujte hru <b>World of Warcraft</b> s datadisky <b>The Burning Crusade</b> a <b>Wrath of the Lich King</b>. Program na stažení všech tří (verze enUS): <a href="http://game.zdechov.net:81/InstallWoW.exe">HTML</a>.<br /> 10 2) Nainstalujte zjistěte si verzi World of Warcraft s oběma datadisky (ukazuje se po spuštění v levém, dolním rohu) a stáhněte si postupně patche až do verze <b>3.0.9</b> <a href="http://www.wowwiki.com/Patch_mirrors" target="_blank">WoWWiky</a>.<br /> 11 3) První řádku souboru <a href="pages/realmlist.wtf">realmlist.wtf</a> (je umístěn ve složce s WoW/data/enUS/realmlist.wtf)přepište na <b>set realmlist wow.zdechov.net</b>, zbytek realmlistu můžete nechat jaký je.<br /> 12 4) Vytvořte si <a href="?page=register">zde</a> nový herní účet<br /> 14 13 5) Smažte soubor launcher.exe ve složce s hrou a <b>spouštějte hru jen přes WoW.exe.</b> Zamezíte tím samovolné auktualizaci hry (stahování vyšších patchů) a následné nemožnosti připojit se na Heroes of Fantasy, který by jel na jiném patchi.<br /> 15 14 6) Spusťte hru, vytvořte si postavu a ponořte se do nového herního světa Heroes of Fantasy, hry <b>World of Warcraft</b>.<br /> 16 15 <br /> 17 16 <b>Další možnosti:</b><br /> 18 - Můžete se zaregistrovat do diskuzního fóra serveru: <a href= \"http://game.zdechov.net/forum\">zde</a>.<br />19 - V Ehře se můžete připojit příkazem /join world do společného textového chat kanálu.<br />17 - Můžete se zaregistrovat do diskuzního fóra serveru: <a href="forum/">zde</a>.<br /> 18 - Ve hře se můžete připojit příkazem /join world do společného textového chat kanálu.<br /> 20 19 - Prozkoumejte webové stránky serveru a sledujte nejnovější informace přes RSS čtečku.<br /> 21 20 <br /> 22 21 <b>Přejeme příjemnou zábavu!</b> 23 ";22 '); 24 23 25 24 ?> -
trunk/pages/gamenews.php
r405 r550 1 1 <?php 2 echo " 3 <table align=\"center\" border=\"1\" width=\"500\">2 3 echo("<table align=\"center\" border=\"1\" width=\"500\"> 4 4 <tr> 5 5 <td align=\"center\"><a href=\"?page=servernews\">Server novinky</a></td> … … 10 10 </tr> 11 11 </table> 12 <br /> 13 ";14 QuickNew();15 $html -> ShowNews("3"); 12 <br />"); 13 $html->QuickNew(); 14 $html -> ShowNews(3); 15 16 16 ?> -
trunk/pages/gmnews.php
r405 r550 12 12 <br /> 13 13 "; 14 QuickNew();15 $html ->ShowNews("2");14 $html->QuickNew(); 15 $html->ShowNews("2"); 16 16 ?> -
trunk/pages/main.php
r405 r550 1 1 <?php 2 echo " 3 <table align=\"center\" border=\"1\" width=\"500\"> 4 <tr> 5 <td align=\"center\"><a href=\"?page=servernews\">Server novinky</a></td> 6 <td align=\"center\"><a href=\"?page=gmnews\">GM novinky</a></td> 7 <td align=\"center\"><a href=\"?page=gamenews\">In-game novinky</a></td> 8 <td align=\"center\"><a href=\"?page=articles\">Články</a></td> 9 <td align=\"center\"><a href=\"?page=main\">Vše</a></td> 10 </tr> 11 </table> 12 <br /> 13 "; 14 QuickNew(); 15 $html -> ShowNews("all"); 2 3 echo('<table align="center" border="1" width="500">'. 4 '<tr>'. 5 '<td align="center"><a href="?page=servernews">Server novinky</a></td>'. 6 '<td align="center"><a href="?page=gmnews">GM novinky</a></td>'. 7 '<td align="center"><a href="?page=gamenews">In-game novinky</a></td>'. 8 '<td align="center"><a href="?page=articles">Články</a></td>'. 9 '<td align="center"><a href="?page=main">Vše</a></td>'. 10 '</tr>'. 11 '</table>'. 12 '<br />'); 13 14 $html->QuickNew(); 15 $html->ShowNews('all'); 16 16 17 ?> -
trunk/pages/server.php
r548 r550 16 16 <tr> 17 17 <td>Herní server je</td> 18 <td>".$server -> ServerImg($server -> ServerOnline("wow.zdechov.net", 8085))."</td>18 <td>".$server -> ServerImg($server -> ServerOnline("wow.zdechov.net", 8085))."</td> 19 19 </tr> 20 20 … … 37 37 <tr> 38 38 <td><a href=\"?page=teamspeak\">TeamSpeak</a> server je</td> 39 <td>".$server -> ServerImg($server -> ServerOnline("game.zdechov.net", 51234))."</td>39 <td>".$server -> ServerImg($server -> ServerOnline("game.zdechov.net", 51234))."</td> 40 40 </tr> 41 41 <tr> 42 42 <td><a href=\"http://game.zdechov.net:6969/\" target=\"_blank\">Torrent</a> server je</td> 43 <td>".$server -> ServerImg($server -> ServerOnline("game.zdechov.net", 6969))."</td>43 <td>".$server -> ServerImg($server -> ServerOnline("game.zdechov.net", 6969))."</td> 44 44 </tr> 45 45 <tr> … … 121 121 <tr> 122 122 <td>Stránka projektu</td> 123 <td><a href=\"http://stat.zdechov.net/game/\" target=\"_blank\">stat.zdechov.net/game </a></td>123 <td><a href=\"http://stat.zdechov.net/game/\" target=\"_blank\">stat.zdechov.net/game/</a></td> 124 124 </tr> 125 125 </table></center>"); -
trunk/pages/servernews.php
r405 r550 1 1 <?php 2 echo " 3 <table align=\"center\" border=\"1\" width=\"500\">2 3 echo("<table align=\"center\" border=\"1\" width=\"500\"> 4 4 <tr> 5 5 <td align=\"center\"><a href=\"?page=servernews\">Server novinky</a></td> … … 10 10 </tr> 11 11 </table> 12 <br /> 13 ";14 QuickNew();15 $html -> ShowNews("1"); 12 <br />"); 13 $html->QuickNew(); 14 $html -> ShowNews(1); 15 16 16 ?>
Note:
See TracChangeset
for help on using the changeset viewer.