start(); } include(main_root.main_dir.'_lib/funx/function_common.php'); include(main_root.main_dir.'_lib/vda/vdaemon.php'); include(site_root.site_dir.'plugins/classifieds/plugin.php'); define('sidetoload',main_template_dir.'side.php'); if(isset($_SERVER['PATH_INFO'])){ $var_array = explode("/",$_SERVER['PATH_INFO']); $var_count = count($var_array); $category = replace_str('unformat',$var_array[1]); define('pagetoload',site_root.site_dir.'plugins/classifieds/inx_front_category.php'); $pagewhat = 'category'; $description = $category; $keywords = $category; $title = 'Category '.$category.' - {site_title}'; } else { define('pagetoload',site_root.site_dir.'plugins/classifieds/inx_front_categories.php'); $pagewhat = 'categories'; $description = ''; $keywords = ''; $title = 'Browse Categories'; } include(main_template_dir.'template.php'); session_unregister(ses.'_redirect'); if(c_cache==1){ $c->end(); } VDEnd(); mysql_close(con_dna); mysql_close(con_dnadelete); mysql_close(con_dnainsert); mysql_close(con_dnaupdate); ob_end_flush(); ?>