Example #1
0
									<div class="clear_cat">
										<span onclick="cat_del('<?php 
echo $city;
?>
','sport_<?php 
echo $id_cat;
?>
')">
                                            <?php 
echo $name_cat;
?>
										</span>
									</div>
									<?
										$title = iconv('utf-8','windows-1251',category_cat_TITLE($id_cat));
										$seo = iconv('utf-8','windows-1251',category_cat_SEO($id_cat));
										$h1 = iconv('utf-8','windows-1251',category_cat_TITLE($id_cat,1));
										
										$desc = iconv('utf-8','windows-1251',category_cat_TITLE($id_cat,2));
										//echo $desc;
										$APPLICATION->SetTitle($h1);
										$APPLICATION->SetPageProperty('title', $title);
										$APPLICATION->SetPageProperty("description", $desc); 
									?>
								<?endif;?>
                            </div>
                            <div class="filter_type"> 
                                <label class="bx_filter_param_label" for="all">
                				    <span class="bx_filter_input_checkbox">
                						  <input
                                                type="radio"
Example #2
0
	{
		$category = explode(',',$category);
		unset($category[count($category)-1]);
		if(count($category)>1)
		{
			$url = category_all_URL($whe_city);
			$title = category_all_TITLE();
			$seo = category_all_SEO();
			$h1 = category_all_TITLE(1);
			$discription = category_all_TITLE(2);
		}
		else
		{
			$url = category_cat_URL($whe_city,$category[0]);
			$title = category_cat_TITLE($category[0]);
			$seo = category_cat_SEO($category[0]);
			$h1 = category_cat_TITLE($category[0],1); 
			$discription = category_cat_TITLE($category[0],2);
		}
	}
	$res = array(
		'URL' => $url,
		'TITLE' => $title,
		'SEO' => $seo,
		'H1' => $h1,
		'DESCRIPTION' => $discription
		);
	echo json_encode($res,true);
	

?>