Changeset 11 for administrace
- Timestamp:
- Aug 11, 2007, 12:04:22 AM (17 years ago)
- Location:
- administrace
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
administrace/SubFiles/LoginMaster.php
r5 r11 1 1 <?php 2 3 require_once('../../config.php'); 4 2 5 $User = $_POST['user']; 3 6 $Pass = $_POST['pass']; 4 7 5 8 include 'SubFiles/DatabaseConection.php'; 6 $Database = new Database( 'localhost','root','gurubashi'); // dodìlat IP9 $Database = new Database($DatabaseHost, $DatabaseUser, $DatabasePassword); 7 10 $Database->SelectDatabase('wow'); 8 11 -
administrace/borec/GMlog.php
r5 r11 1 1 <?php 2 include '../SubFiles/TestLicence.php'; 2 3 $GmCommandsLogFile = '/a/log/gm_commands.log'; 4 include('../SubFiles/TestLicence.php'); 3 5 ?> 4 6 <TABLE width="100%" border="0"> … … 7 9 <TD width="100%" valign="top"> 8 10 9 <? 11 <?php 12 $File = fopen($GmCommandsLogFile, 'r'); 13 if($File) 14 { 15 while(!feof($File)) echo(substr(fgets($File), 0).'<br>'); 16 fclose($File); 17 } 10 18 11 $File = fopen('c:\Mangos\Used_GM_Commands.log', 'r');12 fgets($File);13 while(!feof($File))14 echo(substr(fgets($File), 0).'<br>');15 19 ?> 20 16 21 </table> -
administrace/borec/zaznamPovolenychRegistraci.php
r5 r11 1 1 <?php 2 include '../SubFiles/TestLicence.php'; 2 include '../SubFiles/TestLicence.php'; 3 include('../../config.php'); 3 4 ?> 4 5 <TABLE width="100%" border="0"> … … 7 8 <TD width="100%" valign="top"> 8 9 9 <? 10 <?php 10 11 11 $File = fopen('c:\www\LockRegistration\záznam.log', 'r'); 12 fgets($File); 13 while(!feof($File)) 14 echo(substr(fgets($File), 0).'<br>'); 12 echo(str_replace("\n", '<br>', (file_get_contents('../../registrace/LockRegistration/záznam.log')))); 13 15 14 ?> 16 15 </table> -
administrace/george/gm_news.php
r5 r11 1 1 <? 2 2 include_once('db.php'); 3 DB_Init('localhost', 'root','gurubashi', 'wow'); 3 include('../../config.php'); 4 DB_Init($DatabaseHost, $DatabaseUser, $DatabasePassword, 'wow'); 4 5 //DB_Query('SET CHARACTER SET cp1250'); 5 6 -
administrace/george/list_tele.php
r5 r11 1 1 <? 2 2 include_once('db.php'); 3 DB_Init('localhost', 'root', '', 'mangos'); 3 include('../../config.php'); 4 DB_Init($DatabaseHost, $DatabaseUser, $DatabasePassword, 'mangos'); 4 5 DB_Query('SET CHARACTER SET cp1250'); 5 6 -
administrace/george/optimalize.php
r5 r11 1 1 <?php 2 2 include_once('db.php'); 3 include_once('../../config.php'); 3 4 4 5 function OptimalizeDb($Database, $Op) 5 6 { 7 global $DatabaseHost, $DatabaseUser, $DatabasePassword; 6 8 echo('Databáze '.$Database.'...<br><table>'); 7 DB_Init( 'localhost', 'root', 'gurubashi', $Database);9 DB_Init($DatabaseHost, $DatabaseUser, $DatabasePassword, $Database); 8 10 DB_Query('SHOW TABLES'); 9 11 while($Table = DB_Row()) -
administrace/george/restarty.php
r5 r11 2 2 3 3 include_once('db.php'); 4 include_once('../../config.php'); 4 5 echo('<strong>Posledních 10 restartù MaNGOSu:</strong><br>'); 5 6 echo('<div style="font-size: small;">'); 6 DB_Init( 'localhost', 'root','gurubashi', 'wow');7 DB_Init($DatabaseHost, $DatabaseUser, $DatabasePassword, 'wow'); 7 8 DB_Select('mangos_restart', '*', '1 ORDER BY time DESC LIMIT 10'); 8 9 while($Row = DB_Row()) -
administrace/george/rss.php
r5 r11 3 3 4 4 include_once('db.php'); 5 include_once('../../config.php'); 5 6 include_once('rss_generator.php'); 6 DB_Init( 'localhost', 'root', '', 'wow');7 DB_Init($DatabaseHost, $DatabaseUser, $DatabasePassword, 'wow'); 7 8 DB_Query('SET CHARACTER SET latin2'); 8 9 -
administrace/listmessage.php
r5 r11 1 1 <?php 2 include 'SubFiles/TestLicence.php';3 2 4 include 'SubFiles/DatabaseConection.php'; 5 $Database2 = new Database('localhost','root','gurubashi'); // dodìlat IP 6 $Database2->SelectDatabase('wow'); 3 include 'SubFiles/TestLicence.php'; 4 include 'SubFiles/DatabaseConection.php'; 5 include('../config.php'); 6 7 $Database2 = new Database($DatabaseHost, $DatabaseUser, $DatabasePassword); // dodìlat IP 8 $Database2->SelectDatabase('wow'); 9 7 10 ?> 11 8 12 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 9 13 <html> -
administrace/master.php
r5 r11 1 1 <?php 2 include('../config.php'); 2 3 // Test zda je registrovaný uivatel 3 4 session_start(); … … 72 73 <A href="borec/cheat.php">cheat</A> 73 74 <br>Návody 74 <A href=" /navody/">zde</A>75 <A href="../navody/">zde</A> 75 76 <br>Povolené Registrace: 76 77 <A href="borec/zaznamPovolenychRegistraci.php">zde</A> … … 90 91 <td valign="top"> 91 92 <?php 92 $Database2 = new Database( 'localhost','root','gurubashi'); // dodìlat IP93 $Database2 = new Database($DatabaseHost, $DatabaseUser, $DatabasePassword); // dodìlat IP 93 94 $Database2->SelectDatabase('mangos'); 94 95 … … 138 139 <TD width="100%" valign="top"> 139 140 <form action="george/gm_news.php?action=add" method="post"> 140 Jste pøihlá en jako:141 Jste pøihláen jako: 141 142 <b> 142 143 <?php echo @$_SESSION['User']; ?></b>
Note:
See TracChangeset
for help on using the changeset viewer.