assign('session',$_SESSION); $smarty->assign('static',$static); $title = APP_HEAD_TITLE; $keywords = APP_HEAD_KEYWORDS; $description = APP_HEAD_DESCRIPTION; $smarty->assign('title',$title); $smarty->assign('keywords',$keywords); $smarty->assign('description',$description); $categories = $JLMySQL->Select('category','','',40); $smarty->assign('categories',$categories); $ads = $JLMySQL->Select('adv','','',10); $smarty->assign('ads',$ads); //echo "
";
//print_r($ads); 
//echo "
"; $locations = $JLMySQL->Select('locations','','',40); $smarty->assign('locations',$locations); $smarty->assign('lang',$lang); //echo "
";
//print_r($locations);
//echo "
"; $smarty->display('index.html'); ?>