'0000-00-00 00:00:00',IF(user_up_expire=$up_ads and !$user_expired) { echo "

" . LA_UP_EXCEEDED_ALLOWED_NUMBER_OF_ADS . "

"; include_once("member_footer.php"); include_once("footer_inc.php"); exit; } $tplAddAd=new TplLoad; $tplAddAd->assign("set_add_quik", $set_add_quik); $tplAddAd->assign("set_add_tree", $set_add_tree); $frontpage=2; $lCatTreeParent=getParamInt("cat_tree_parent","0"); $tplAddAd->assign("parent",$lCatTreeParent); $tplAddAd->assign("tree_name", "d"); $lCatTree=build_cat_tree($lCatTreeParent,"d",1); $tplAddAd->assign("tree",$lCatTree); $option_list=""; if ($set_add_quik==1) { $option_list=getCategoriesDD(getParam("catid",""),1); $tplAddAd->assign("option_list", $option_list); } $tplAddAd->display("add_ad.tpl"); include_once("member_footer.php"); include_once("footer_inc.php"); ?>