Changeset 404 for administrace/home.php


Ignore:
Timestamp:
Jan 28, 2009, 11:23:01 AM (15 years ago)
Author:
george
Message:
  • Upraveno: Názvy databází MaNGOSu přesunuty do konfiguračního souboru a odkazované skripty upraveny k použití těchto proměnných.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • administrace/home.php

    r389 r404  
    33function Show()
    44{
    5   global $Database;
     5  global $Database, $Config;
    66 
    77  echo('<h3>Správa serveru</h3>');
     
    1111  echo('<a href="gm_rules.php">Pravidla pro GM</a><br>');
    1212  echo('</td><td valign="top">');
    13   echo('<a href="http://game.zdechov.net/statistic/">Statistiky provozu</a><br>');
     13  echo('<a href="http://stat.zdechov.net/game/">Statistiky provozu</a><br>');
    1414  echo('<a href="../navody/">Návody</a><br>');
    1515  echo('<a href="../db/index.php?id=bugreport">Bug report</a>');
     
    2929
    3030  echo('<table class="TableAdmin" cellspacing="0" width="100%" style="color: white;" border="1">');
    31   $DbResult = $Database->query('SELECT wow.gm_news.text as text, realmd.account.username as username FROM wow.gm_news JOIN realmd.account ON wow.gm_news.author = realmd.account.Id ORDER BY wow.gm_news.time DESC LIMIT '.$Page*$PerPage.', '.$PerPage);
     31  $DbResult = $Database->query('SELECT wow.gm_news.text as text, '.$Config['Mangos']['DatabaseRealmd'].'.account.username as username FROM wow.gm_news JOIN '.$Config['Mangos']['DatabaseRealmd'].'.account ON wow.gm_news.author = '.$Config['Mangos']['DatabaseRealmd'].'.account.Id ORDER BY wow.gm_news.time DESC LIMIT '.$Page*$PerPage.', '.$PerPage);
    3232  while($Row = $DbResult->fetch_array())
    3333  {
Note: See TracChangeset for help on using the changeset viewer.