<?php
 Yii::app()->setLanguage(isset(Yii::app()->session['lang']) ? Yii::app()->session['lang'] : 'ar'); 
 $lang=Yii::app()->getLanguage();
?>


<?php
//echo 'hiiiiiiiiiiiiiiii';

$result = '<option value="1" >المزةة</option>';
// return $result;
//$country_id = $_POST['country_id'];
// echo $country_id;
// die;
// if($country_id!='')
// {
//    $areas = Area::model()->findAllByAttributes(array('governorate'=>$country_id));
// //$states_result = $conn->query('select * from states where country_id='.$country_id.'');
// //$options = "<option value=''>Select State</option>";
// $options = '<option value="0">'.($lang='en'?'erea':'المنطقة').'</option>';
//  foreach($areas as $area){
//     $options .= '<option value="'.$area->id.'" >'.($lang=='en'?$area->name_en:$area->name_ar).'</option>';
//     // <!--$options .= "<option value='".$area['id']."'>".$area['state']."</option>";-->
//  }                 
// // while($row = $states_result->fetch_assoc()) {
// // $options .= "<option value='".$row['id']."'>".$row['state']."</option>";
// // }
//echo $options;
//}
?>