Changeset 375
- Timestamp:
- Sep 13, 2008, 2:57:10 PM (16 years ago)
- Files:
-
- 144 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
/
- Property svn:ignore
-
old new 2 2 php_script_error.log 3 3 *.ppr 4 databaze
-
- Property svn:ignore
-
beta/pages/online.php
r373 r375 41 41 $db -> select_db("characters"); 42 42 $sql = $db -> query("SELECT guid,name,race,class,zone,map, 43 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1 499), ' ', -1) AS UNSIGNED) AS highest_rank,43 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1563), ' ', -1) AS UNSIGNED) AS highest_rank, 44 44 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 35), ' ', -1) AS UNSIGNED) AS level, 45 45 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1500), ' ', -1) AS UNSIGNED) AS arena_points, -
download_soubory/files.php
r374 r375 55 55 'files' => array( 56 56 'patch_2.4.3' => array( 57 'title' => 'MaNGOS_REPACK_6483_by_Buffer ',57 'title' => 'MaNGOS_REPACK_6483_by_Buffer (2.4.3)', 58 58 'torrent' => '', 59 59 'web' => 'http://wow.zdechov.net:81/MaNGOS_REPACK_6483_by_Buffer.exe', -
global.php
r363 r375 17 17 array('server.php', 'Server', 'server'), 18 18 array('finance/', 'Finance', 'donate'), 19 //array('db/', 'Online databáze', 'database'),19 array('databaze/', 'Online databáze', 'database'), 20 20 array('download_soubory/', 'Soubory', 'download'), 21 21 array('link.php', 'Odkazy', 'link'), -
gm.php
r346 r375 1 1 <?php 2 include('global.php'); 3 ShowHeader(); 4 include('download_soubory/files.php'); 2 3 include('global.php'); 4 ShowHeader(); 5 include('download_soubory/files.php'); 6 7 $Role = array('Hráè', 'Moderátor', 'Game master', 'Kontrolor chyb', 'Administrátor', 'Správce systému'); 5 8 6 9 echo('<h3>GM tým</h3>'); 7 10 8 $Database->select_db('wow');9 $Result = $Database->query('SELECT * FROM user WHERE ban = 0');10 echo '<table border="0">';11 while ($Line = $Result->fetch_array()) 12 { 13 echo '<tr><td><p>Pøezdívka:</p></td>'; 14 echo '<td><p><b>'.$Line['User'].'</b></p></td>';15 echo '</tr>';16 echo '<tr><td><p>Funkce:</p></td>';17 echo '<td><p><b>'.$Line['Function'].'</b></p></td>';18 echo '</tr>';19 if ($Line['Email'] <> '') {20 echo '<tr><td><p>Email:</p></td>'; 21 echo '<td><p><b>'.$Line['Email'].'</b></p></td>';22 echo '</tr>';23 }24 $Acc = $Line['AccID'];25 $Database->select_db('characters');26 if ($Acc <> '0') {27 echo '<tr><td><p>GM Postavy ve høe:</p></td>';28 echo '<td><p><b>'; 29 $ResultMangos = $Database->query('SELECT * FROM `characters` WHERE account = "'.$Acc.'"');30 while ($LineMangos = $ResultMangos->fetch_array())31 {32 if ($LineMangos['online'] == 1)33 echo $LineMangos['name'].'(online) ';34 else35 echo $LineMangos['name'].' ';36 }37 echo '</b></p></td></tr>';38 }39 // todo: forum40 // $Database->SelectDatabase('forum');11 $ChronosId = 11432; 12 $Database->select_db('realmd'); 13 $Result = $Database->query('SELECT * FROM account WHERE (locked = 0) AND (id != '.$ChronosId.') AND (gmlevel > 0) ORDER BY gmlevel DESC'); 14 echo('<table border="0">'); 15 while($Line = $Result->fetch_array()) 16 { 17 echo '<tr><td><p>Pøezdívka:</p></td>'; 18 echo '<td><p><b>'.$Line['username'].'</b></p></td>'; 19 echo '</tr>'; 20 echo '<tr><td><p>Funkce:</p></td>'; 21 echo '<td><p><b>'.$Role[$Line['gmlevel']].'</b></p></td>'; 22 echo '</tr>'; 23 /* 24 if ($Line['Email'] <> '') 25 { 26 echo '<tr><td><p>Email:</p></td>'; 27 echo '<td><p><b>'.$Line['Email'].'</b></p></td>'; 28 echo '</tr>'; 29 } 30 $Acc = $Line['AccID']; 31 */ 32 $Database->select_db('characters'); 33 echo('<tr><td><p>GM Postavy ve høe:</p></td>'); 34 echo('<td><p><b>'); 35 $ResultMangos = $Database->query('SELECT * FROM `characters` WHERE account = "'.$Line['id'].'"'); 36 while($LineMangos = $ResultMangos->fetch_array()) 37 { 38 if($LineMangos['online'] == 1) 39 echo($LineMangos['name'].'(online) '); 40 else 41 echo($LineMangos['name'].' '); 42 } 43 echo('</b></p></td></tr>'); 41 44 42 echo '<tr><td><p>Profil na foru:</p></td>'; 43 echo '<td><p><b><a href="http://wow.zdechov.net/forum/profile.php?mode=viewprofile&u='.$Line['ForumID'].'">Profil</a></b></p></td>'; 44 echo '</tr>'; 45 echo('<tr><td colspan="2"><hr></td></tr>'); 45 $Database->select_db('realmd'); 46 if($Line['ForumId'] != 0) 47 { 48 echo('<tr><td><p>Profil na foru:</p></td>'); 49 echo('<td><p><b><a href="http://wow.zdechov.net/forum/profile.php?mode=viewprofile&u='.$Line['ForumId'].'">Profil</a></b></p></td>'); 50 echo '</tr>'; 51 } 52 echo('<tr><td colspan="2"><hr></td></tr>'); 53 } 54 echo('</table>'); 55 ShowFooter(); 46 56 47 }48 echo '</table>';49 ShowFooter();50 57 ?> -
minimanager/pomm/pomm_lib.php
r19 r375 10 10 11 11 require_once("../scripts/config.php"); 12 require_once("../scripts/global_lib.php"); 13 require_once("../scripts/db_layer.php"); 14 require_once("../scripts/get_lib.php"); 15 12 require_once("../lang/english.php"); 16 13 if (isset($_COOKIE["lang"])){ 17 14 $lang = substr($_COOKIE["lang"],0,4); … … 21 18 22 19 require_once("../scripts/id_tab.php"); 20 require_once("../scripts/global_lib.php"); 21 require_once("../scripts/db_layer.php"); 22 require_once("../scripts/get_lib.php"); 23 23 24 24 25 if ( !ini_get('session.auto_start') ) session_start(); -
minimanager/pomm_public/pomm_lib.php
r142 r375 10 10 11 11 require_once("../scripts/config.php"); 12 require_once("../scripts/global_lib.php"); 13 require_once("../scripts/db_layer.php"); 14 require_once("../scripts/get_lib.php"); 15 12 //require_once("../lang/english.php"); 16 13 if (isset($_COOKIE["lang"])){ 17 14 $lang = substr($_COOKIE["lang"],0,4); … … 21 18 22 19 require_once("../scripts/id_tab.php"); 20 require_once("../scripts/global_lib.php"); 21 require_once("../scripts/db_layer.php"); 22 require_once("../scripts/get_lib.php"); 23 23 24 24 25 if ( !ini_get('session.auto_start') ) session_start(); -
registrace/index.php
r173 r375 33 33 Pøíklad: Kdy¾ pøede¹lý den bylo maximální poèet hráèù 65 a po¾adováno je 70, tak pøí¹tí den se mù¾e zaregistrovat 5 hráèù.<br/> 34 34 <br/> 35 <br/>Statistiku poètu online hráèù najdete <a href="http://game -server.zdechov.net/statistic/?Measure=5">zde</a>35 <br/>Statistiku poètu online hráèù najdete <a href="http://game.zdechov.net/statistic/?Measure=5">zde</a> 36 36 <br>Mù¾ete také pøispìt na údr¾bu a zlep¹ení serveru, proto¾e omezení poètu hráèù je dáno pøedev¹ím omeznou kapacitou internetové linky.<br/> 37 37 Stav dotací mù¾ete sledovat v sekci <a href="'.$BaseUrl.'finance/">Dotace</a><br/><br/>');
Note:
See TracChangeset
for help on using the changeset viewer.