ob_start(); define('DATE_FORMAT', 'd.m.Y'); define('DATE_FORMAT_LONG', 'd. F Y'); define('DATE_DAY', 'd'); define('DATE_MONTH_YEAR', 'm.y.'); define('DATE_EVENT_SHORT', 'd.m.'); define('DATE_EVENT_LONG', 'd.m.y.'); include('inc/funcs.inc.php'); include('inc/db.php'); $action=_UzmiVar(action); if ($action!='home' && $action!='pages' && $action!='news' && $action!='news_archive' && $action!='gallery' && $action!='documents' && $action!='events' && $action!='events_calendar' && $action!='events_archive') $action='home'; if (!$action) $action='home'; $lang=_UzmiVar(lang); if (is_numeric($lang)==false) $lang = 1; include('inc/lang/lang'.$lang.'.php'); $id=_UzmiVar(id); if (is_numeric($id)==false) $id = 1; //POSTAVLJANJE DEAFULT OPCIJE ZA TAGOVE, DESCRIPTION I THUMBNAIL $sql="select * from home_page where id=1 and language=$lang LIMIT 0,1"; $recordset=mysql_query($sql,$con) or die(ERROR_DB_ACCESS); while ($row = mysql_fetch_array($recordset, MYSQL_ASSOC)) { $pageTitle = strip_tags(stripslashes($row[title])); $pageDesc = strip_tags(stripslashes($row[content])); $pageTags = stripslashes($row[tags]); } mysql_free_result($recordset); $pageThumb = "/media/img/base/rss_logo.gif"; ?>