Changeset 126
- Timestamp:
- Nov 17, 2007, 3:39:00 PM (17 years ago)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
config.sample.php
r111 r126 30 30 'AdminEmail' => 'wow@zdechov.net', 31 31 'ShowError' => 0, 32 'ErrorLogFile' => 'php_script_error.log', 32 33 ), 33 34 ); … … 36 37 $MangosVerison = $Config['Mangos']['Version']; 37 38 $MangosRevision = $Config['Mangos']['Revision']; 38 $SilverDBVersion = $Config['Mangos']['UDBVersion'];39 $SilverDBChangeset = $Config['Mangos']['UDBRevision'];40 39 $WoWServer = $Config['Web']['WoWServerAddr']; 41 40 $DatabaseUser = $Config['Database']['User']; -
error.php
r54 r126 6 6 $Error_Subject = $Config['Web']['Title'].' - Chybové hlá¹ení'; // Název zpráv o chybách 7 7 $Error_ShowDetails = $Config['Web']['ShowError']; // Zobrazit detajly o chyby 8 $ErrorLogFile = 'php_script_error.log';8 $ErrorLogFile = $Config['Web']['ErrorLogFile']; 9 9 10 10 //error_reporting(0); // Vypni interní obsluhu chyb -
global.php
r88 r126 175 175 <td colspan="2"> 176 176 <DIV class="DivPaticka"> 177 <A href=" administrace/" class="Paticka">#</A>177 <A href="'.$Config['Web']['BaseURL'].'administrace/" class="Paticka">#</A> 178 178 | Správce serveru: '.$Config['Web']['Admin'].' | Email: '.$Config['Web']['AdminEmail'].' | Poèet pøístupù: <A HREF="http://counter.cnw.cz/" TARGET=_parent> 179 179 <IMG SRC="http://counter.cnw.cz/monika.cgi?wowzdechov&5&000000&FFFFFF&on" BORDER=0 ALT="CNW:Counter"></A><SCRIPT type="JavaScript"> -
index.php
r105 r126 1 <? 1 <?php 2 2 include('global.php'); 3 3 include('news.php'); 4 4 ShowHeader(); 5 ?> 6 7 <TABLE width="100%" border="0"> 5 echo('<TABLE width="100%" border="0"> 8 6 <TR> 9 7 <TD id="MainCell" valign="top"> 10 11 8 <div> 12 9 Vítejte na serveru <span class="Nadpis">Heroes of Fantasy</span>, neoficiálním herním serveru hry <a href="http://www.worldofwarcraft.com/">World of Warcraft</a>!<br> … … 16 13 </div> 17 14 <table id="SplitTable" cellspacing="5" cellpadding="0" width="100%"> 18 <tr><td width="60%" valign="top"> 15 <tr><td width="60%" valign="top">'); 19 16 20 <?php21 17 echo(ShowNews()); 22 ?> 18 echo(' 23 19 </td><td id="EmuInfo" valign="top"> 24 25 20 <br> 26 27 21 <div align="center"> 28 22 <table class="MiniTable" border="1" cellspacing="0" cellpadding="2"> 29 23 <tr><th>Emulátor</th><td>MaNGOS</td></tr> 30 <tr><th>Verze hry</th><td><?php echo($Config['Mangos']['ClientVersion']); ?></td></tr> 31 <tr><th>Stav</th><td><?php if(CheckPortStatus($WoWServer, 8085)) echo('<span style="color: #33ff33;">ONLINE</span>'); else echo('<span style="color: red;">OFFLINE</span>'); ?></td></tr> 32 <tr><th>Online hráèù</th><td><a href="<?php echo('http://'.$WoWServer); ?>/online_player.php"> 33 <?php 24 <tr><th>Verze hry</th><td>'); 25 echo($Config['Mangos']['ClientVersion']); 26 echo('</td></tr>'. 27 '<tr><th>Stav</th><td>'); 28 if(CheckPortStatus($WoWServer, 8085)) echo('<span style="color: #33ff33;">ONLINE</span>'); 29 else echo('<span style="color: red;">OFFLINE</span>'); 30 echo('</td></tr> 31 <tr><th>Online hráèù</th><td><a href="http://'.$WoWServer.'/online_player.php">'); 32 34 33 $Database->select_db('realmd'); 35 34 $Result = $Database->select('account', 'COUNT(*)', 'online=1'); … … 47 46 $AccountCount = $Row[0]; 48 47 $Remain = $MaximumAccountCount-$AccountCount; 49 if($Remain == 0) echo('VYÈERPANÉ'); else echo('POVOLENÉ');48 if($Remain <= 0) echo('VYÈERPANÉ'); else echo('VOLNÉ'); 50 49 echo('</td></tr> 51 50 <tr><th>Registrace</th><td>'); … … 65 64 $AccountCount = $Row[0]; 66 65 echo($AccountCount); 67 ?> 68 </td></tr>69 <tr><th>Postav</th><td> 70 <?php 66 67 echo('</td></tr> 68 <tr><th>Postav</th><td>'); 69 71 70 $Database->select_db('mangos'); 72 71 $Result = $Database->select('character', 'COUNT(*)'); … … 74 73 $CharactersCount = $Row[0]; 75 74 echo($CharactersCount); 76 ?></td></tr> 75 76 echo('</td></tr> 77 77 </table> 78 78 </div> 79 <br> 80 <?php 79 <br>'); 80 81 81 echo('<div> 82 82 RSS kanál diskusního fóra: <a href="forum/smartfeed_url.php"><img src="forum/templates/subSilver/images/rss20.png" alt="RSS"></a><br /> … … 87 87 </div>'); 88 88 //Dotazník pro nové Administrátory: <a href="FormGM/">Dotazník</a> 89 ?> 89 90 echo(' 90 91 <br> 91 92 <a href="gm.php">Administrátoøi</a> 92 <div> 93 <?php 93 <div>'); 94 94 95 //include('administrace/SubFiles/DatabaseConection.php'); 95 96 $Database->select_db('wow'); … … 97 98 while($Row = $Result->fetch_array()) 98 99 echo($Row['User'].' - '.$Row['Function'].'<br/>'); 99 ?> 100 </div>100 101 echo('</div> 101 102 102 103 </td></tr></table> … … 109 110 border="0" width="88" height="60" alt="counter"></A> 110 111 111 </TABLE> 112 </TABLE>'); 112 113 113 <?114 114 ShowFooter(); 115 115 ?>
Note:
See TracChangeset
for help on using the changeset viewer.