Changeset 466 for trunk/includes/global.php
- Timestamp:
- Apr 15, 2010, 8:20:31 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r465 r466 14 14 foreach($_GET as $Index => $Item) $_GET[$Index] = addslashes($_GET[$Index]); 15 15 16 include_once(dirname(__FILE__).'/config.php'); 16 include_once(dirname(__FILE__).'/global_function.php'); 17 if(file_exists(dirname(__FILE__).'/config.php')) include_once(dirname(__FILE__).'/config.php'); 18 else die('Nenalezen konfigurační soubor config.php ve složce includes. Vytvořte jej zkopírováním vzoru config.sample.php.'); 17 19 include_once(dirname(__FILE__).'/Database.php'); 18 include_once(dirname(__FILE__).'/global_function.php');19 20 include_once(dirname(__FILE__).'/rss.php'); 20 21 include_once(dirname(__FILE__).'/system.php'); … … 48 49 $DbResult = $System->Database->query('SELECT * FROM `ShoutBox` ORDER BY `ID` DESC LIMIT 30'); 49 50 while($Line = $DbResult->fetch_assoc()) 50 echo('<tr><td><strong>'.$Line['User'].'</strong>: '.MakeActiveLinks( htmlspecialchars($Line['Text'])).'</td></tr>');51 echo('<tr><td><strong>'.$Line['User'].'</strong>: '.MakeActiveLinks($Line['Text']).'</td></tr>'); 51 52 echo('</table></div>'); 52 53 }
Note:
See TracChangeset
for help on using the changeset viewer.