Changeset 6 for trunk/www/page.php
- Timestamp:
- Jun 10, 2009, 4:57:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/page.php
r3 r6 25 25 '<title>'.$this->System->Config['Web']['Title'].' - '.$Path.'</title> 26 26 </head><body'.$BodyParam.'>'. 27 '<div class="Navigation"><div class="MenuItem2">'; 27 '<div class="Navigation"><span class="MenuItem"><a href="?">Seznam serverů</a>'; 28 if($this->System->Modules['User']->User['Id'] != $this->System->Modules['User']->AnonymousUserId) 29 { 30 $DbResult = $this->Database->query('SELECT COUNT(*) FROM Server WHERE User='.$this->System->Modules['User']->User['Id']); 31 $DbRow = $DbResult->fetch_row(); 32 if($DbRow[0] > 0) $Output .= '<a href="?Action=ServerShow">Vlastní server</a>'; 33 else $Output .= '<a href="?Action=ServerAdd">Vytvořit vlastní server</a>'; 34 } 35 $Output .= '</span><div class="MenuItem2">'; 28 36 if($this->System->Modules['User']->User['Id'] == $this->System->Modules['User']->AnonymousUserId) 29 37 $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=LoginForm">Přihlášení</a> <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserRegister">Registrace</a>';
Note:
See TracChangeset
for help on using the changeset viewer.