".$msg['top'].":
 

".$msg2['choose_ct_for_ad_subm'].":

".ch_categ2()."
"; include($templ['msg']); return; } function ch_categ2() { global $html_header, $html_footer, $categories,$ad_ind_width,$schopt,$ads_fields,$subcnmb,$javastl,$hghltcat, $catl_width, $top_page_info, $top_page_width, $topsearchfields, $top_leftcol,$catcols,$_REQUEST,$hdhctgrs, $tbclr_1, $tbclr_2, $tbclr_3, $tbclr_4, $fntclr_1, $msg, $top_rightcol,$btmtophtml, $templ, $top_bottom,$getcityval, $popctgr, $top_rightcol, $tmltads, $slctcntr, $indx_url; $top_rightcol=""; global $rmmbrloc; if ($_REQUEST[$schopt]!=''){ $cityhtml=" ".$ads_fields[$schopt][0].": ".$_REQUEST[$schopt]."  ".$msg['all_cities']."  $rmmbrloc "; $citgtv1=$_REQUEST[$schopt]; $getcityval="$schopt=".checkgetfld1($citgtv1)."&"; } if ($_REQUEST[$schopt]!=""){$ltstcityv="&city=".checkgetfld1($_REQUEST[$schopt]);} else{$ltstcityv="";} $popctgr=""; $divkey1="0"; foreach ($categories as $key => $value) { $aa1=split("_",$key); if ($aa1[0]=='newcolumn'){$divkey1="0"; $categ[$key]="";} else { if($aa1[0] == 'title') { $p_val1=""; if ($divkey1=="1"){$p_val1="

";} $categ[$key]= " $p_val1 ".$categories[$key].":
"; }else { if (($categories[$key][2] != 'h') and ($key != 'evntcl')) { $divkey1="1"; $categ[$key]=print_cat_name2($key); } } } } $ct_rs=""; foreach ($categories as $name => $value) {$ct_rs=$ct_rs. $categ[$name]; } return $ct_rs; } function print_cat_name2($key) { global $categories, $fntclr_1, $msg, $subcnmb, $getcityval,$popctgr,$indx_url; $vhtml= " ".$categories[$key][0]."
"; return $vhtml; } function checkgetfld1($value) { $value=ereg_replace(' ', '+', $value); $value=ereg_replace('@', '%40', $value); $value=ereg_replace('!', '%21', $value); $value=ereg_replace("\'", '%27', $value); $value=ereg_replace("\"", '%27', $value); return $value; } ?>