Changeset 38 for branches/3/frontend.php
- Timestamp:
- Nov 25, 2008, 5:12:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3/frontend.php
r35 r38 28 28 echo '<li><a class="verticalmenua" href="'.$value[2].'" title="'.$value[1].'">'.$value[0].'</a></li>'; 29 29 }; 30 Write TranslationGroup();30 Writetranslationgroup(); 31 31 echo '</ul>'; 32 32 if ($user->Permission() > 1) { … … 51 51 } // END function ShowFoodter 52 52 53 function Write TranslationGroup()53 function Writetranslationgroup() 54 54 { // BEGIN function WriteTranslatedGroups 55 55 global $database; 56 $Query = $database->select(' TranslationGroup', '*');56 $Query = $database->select('translationgroup', '*'); 57 57 while($DbRow = $Query->fetch_array()) 58 58 { 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>'; 60 60 } 61 61 } // END function WriteTranslatedGroups … … 70 70 { // BEGIN function WriteOnlineUsers 71 71 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'); 73 73 if ($database->LastDataSet) { 74 74 echo '<p>'.ONLINE_USERS.$database->LastNumRows.'<br />'; … … 93 93 <tr><td>'.REGISTRATION_PAGE_FULLNAME.'</td><td><input name="FullName" type="text" /></td></tr> 94 94 <tr><td>'.REGISTRATION_PAGE_LANGUAGE.'</td><td><select name="Language">'; 95 $Query = $database->select(' Language', '*');95 $Query = $database->select('language', '*'); 96 96 while($DbRow = $Query->fetch_array()) 97 97 { if ($DbRow['Id'] == 2)
Note:
See TracChangeset
for help on using the changeset viewer.