Changeset 469 for trunk/includes/global.php
- Timestamp:
- Apr 20, 2010, 7:16:40 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r468 r469 43 43 global $System, $Config, $User, $System; 44 44 45 echo('<strong><a href="'.$System->Link('/action.php?action=ShoutBoxView').'">Kecátko:</a></strong>');45 $Output = '<strong><a href="'.$System->Link('/action.php?action=ShoutBoxView').'">Kecátko:</a></strong>'; 46 46 if($User->Licence(LICENCE_USER)) 47 echo(' <a href="'.$System->Link('/action.php?action=shoutbox').'">Vložit</a>');48 echo('<div class="box"><table>');47 $Output .= ' <a href="'.$System->Link('/action.php?action=shoutbox').'">Vložit</a>'; 48 $Output .= '<div class="box"><table>'; 49 49 $DbResult = $System->Database->query('SELECT * FROM `ShoutBox` ORDER BY `ID` DESC LIMIT 30'); 50 50 while($Line = $DbResult->fetch_assoc()) 51 echo('<tr><td><strong>'.$Line['User'].'</strong>: '.MakeActiveLinks($Line['Text']).'</td></tr>'); 52 echo('</table></div>'); 51 $Output .= '<tr><td><strong>'.$Line['User'].'</strong>: '.MakeActiveLinks($Line['Text']).'</td></tr>'; 52 $Output .= '</table></div>'; 53 return($Output); 53 54 } 54 55 … … 295 296 echo('<td class="menu2">'); 296 297 ShowTranslatedMenu(); 297 echo('<br />');298 ShowShoutBox();298 //echo('<br />'); 299 //ShowShoutBox(); 299 300 echo('</td>'. 300 301 '</tr><tr>'.
Note:
See TracChangeset
for help on using the changeset viewer.