source: aowow/main.php

Last change on this file was 364, checked in by maron, 15 years ago
  • Opraveno: Exportování lua souborů. * Opraveno: Zobrazování hlavní stránky AoWoW.
  • Property svn:executable set to *
File size: 294 bytes
Line 
1<?php
2
3 // Загружаем новости
4 $rows = @$DB->select('SELECT text_loc?d AS text FROM ?_news ORDER BY time DESC, id DESC LIMIT 5', $_SESSION['locale']);
5 if($rows)
6 $smarty->assign('news', $rows);
7 global $page;
8 $smarty->assign('page', $page);
9 $smarty->display('main.tpl');
10
11?>
Note: See TracBrowser for help on using the repository browser.