Changeset 38 for branches/3/frontend.php


Ignore:
Timestamp:
Nov 25, 2008, 5:12:10 PM (16 years ago)
Author:
maron
Message:

Struktura databáze

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3/frontend.php

    r35 r38  
    2828                echo '<li><a class="verticalmenua" href="'.$value[2].'" title="'.$value[1].'">'.$value[0].'</a></li>';
    2929          };
    30           WriteTranslationGroup();
     30          Writetranslationgroup();
    3131          echo '</ul>';
    3232          if ($user->Permission() > 1) {
     
    5151  } // END function ShowFoodter
    5252 
    53   function WriteTranslationGroup()
     53  function Writetranslationgroup()
    5454  { // BEGIN function WriteTranslatedGroups
    5555        global $database;
    56       $Query = $database->select('TranslationGroup', '*');
     56      $Query = $database->select('translationgroup', '*');
    5757      while($DbRow = $Query->fetch_array())
    5858      {
    59         echo '<li><a class="verticalmenua" href="?TranslationGroup='.$DbRow['Id'].'" title="'.TRANSLATION_GROUP_TITLE.$DbRow['Name'].'">'.$DbRow['Name'].'</a></li>';
     59        echo '<li><a class="verticalmenua" href="?translationgroup='.$DbRow['Id'].'" title="'.TRANSLATION_GROUP_TITLE.$DbRow['Name'].'">'.$DbRow['Name'].'</a></li>';
    6060      }
    6161  } // END function WriteTranslatedGroups
     
    7070  { // BEGIN function WriteOnlineUsers
    7171        global $database;
    72     $Query = $database->select('UserOnline', '*, (SELECT Name FROM User WHERE User.Id = UserOnline.User) as Name');
     72    $Query = $database->select('useronline', '*, (SELECT Name FROM user WHERE user.Id = useronline.User) as Name');
    7373    if ($database->LastDataSet) {
    7474      echo '<p>'.ONLINE_USERS.$database->LastNumRows.'<br />';
     
    9393    <tr><td>'.REGISTRATION_PAGE_FULLNAME.'</td><td><input name="FullName" type="text" /></td></tr>
    9494    <tr><td>'.REGISTRATION_PAGE_LANGUAGE.'</td><td><select name="Language">';
    95       $Query = $database->select('Language', '*');
     95      $Query = $database->select('language', '*');
    9696      while($DbRow = $Query->fetch_array())
    9797      { if ($DbRow['Id'] == 2)
Note: See TracChangeset for help on using the changeset viewer.