<div class="footer-wrapper-parent">
    <div id="footer-wrapper" class="container">
      <div id="footer" class="row">
        <div class="footer-blocks footer-company span2">
          <h4 class="footer-block-header">Company</h4>
          <ul id="footer-company" class="box">
            <li class="row"><a class="footer-links" href="<?php echo Yii::app()->createUrl("article/about-us");?>">About Us</a></li>
            <li class="row"><a class="footer-links" href="<?php echo Yii::app()->createUrl("article/advertising");?>">Advertising</a></li>
            <li class="row"><a class="footer-links" href="<?php echo Yii::app()->createUrl("article/terms");?>">Terms of Use</a></li>
            <li class="row"><a class="footer-links" href="<?php echo Yii::app()->createUrl("article/condition");?>">Privacy Policy</a></li>
          </ul>
        </div>
        <div class="footer-blocks footer-company span2">
          <h4 class="footer-block-header">We are social</h4>
          <ul id="footer-social" class="box">
                        <li class="row row-head"><a class="footer-links" target="_blank" href="<?php echo   Yii::app()->options->get('system.common.facebook_url');?>">Facebook</a></li>
              <li class="row row-head"><a class="footer-links" target="_blank" href="<?php echo   Yii::app()->options->get('system.common.twitter_url');?>">Twitter</a></li>
              <li class="row row-head"><a class="footer-links" target="_blank" href="<?php echo   Yii::app()->options->get('system.common.google_plus_url');?>">Google plus</a></li>
              <li class="row row-head"><a class="footer-links" target="_blank" href="<?php echo   Yii::app()->options->get('system.common.pinterest_url');?>">Pinterest
          </ul>
        </div>
        <div class="footer-blocks footer-company span2">
          <h4 class="footer-block-header">Support</h4>
          <ul id="footer-support" class="box">
			<li class="row row-head"><a class="footer-links" href="<?php echo Yii::app()->createUrl("article/help");?>">Help</a></li>
			<li class="row row-head"><a class="footer-links" href="<?php echo Yii::app()->createUrl("article/how");?>">How to</a></li>
			<li class="row row-head"><a class="footer-links" href="<?php echo Yii::app()->createUrl("contact");?>">Contact Us</a></li>
			<li class="row row-head"><a class="footer-links" href="<?php echo Yii::app()->createUrl("blog");?>">Blog</a></li>
          </ul>
        </div>
        <div class="footer-blocks footer-company span2">
          <h4 class="footer-block-header">Languages</h4>
          <ul id="footer-languages" class="box">
            <li class="row">
             
                <form action="/i18n/setlang/" method="post" class="lang-form">
                  <input type="hidden" name="language" value="en" />
                  <input
                                                name="next"
                                                type="hidden"
                                                value="http://dubai.rsClassifieds.com/"
                                            />
                  <input class="text-button" type="submit" value="English" />
                </form>
            
            </li>
           
          </ul>
        </div>
       
        
        <div class="footer-parent-block">
          <div class="footer_logo" style="width:255px;text-align:center" > <a href="<?php echo Yii::app()->createUrl("");?>/"><img src="<?php echo Yii::app()->theme->baseUrl;?>/images/footer_logo.png" /></a>
          <br />
           <span class="copyright-msg">© <?php echo   Yii::app()->options->get('system.common.site_name');?> <?php echo   Yii::app()->options->get('system.common.copywrite_name');?></span>
           </div>
         
        </div>
        <div id="span_sec_footer" class="span12" style="margin-left:10px !important;">
          <h4 class="footer-block-header current-country-site-name" style="float:left; margin-bottom:10px;margin-top: 30px; width:100%;"> By City </h4>
          <ul class="footer-cities">
               <?php 
				  if($states)
				  {
					   foreach($states as $k=>$v)
				  {
					  ?>
					    <li><a   href="<?php echo Yii::app()->createUrl("country/addSession",array('country'=>3,'state'=>$v->state_id));?>"><?php echo $v->state_name;;?></a> &nbsp;&nbsp;&nbsp; </li>
					
					  <?
				  }
				  }
				  ?>
          </ul>
        </div>
        <div id="span_sec_footer" class="span12" style="margin-left:10px !important;">
          <h4 class="footer-block-header current-country-site-name" style="float:left; margin-bottom:10px;margin-top: 10px; width:100%;"> By Countries </h4>
          <ul class="footer-cities">
            <?php
				  if($model)
				  {
				  foreach($model as $k=>$v)
				  {
					  ?>
					  <li  ><a  href="<?php echo Yii::app()->createUrl("country/addSession",array('country'=>$v->country_id,'state'=>'0'));?>"><?php echo $v->country_name;;?></a> &nbsp;&nbsp;&nbsp;</li>
					  <?
				  }
			      }
                   ?>
          </ul>
        </div>
        <style>
        ._redspid 
        {
			font-size:12px;
			font-family:arial !important;;
			text-decoration:none;
		}
        ._redspiderP 
        {
			font-size:12px;
			font-family:arial !important;;
		}
        ._redspid:hover
        {
			color:red;
			text-decoration:none;
		}
        </style>
		<div id="span_sec_footer" class="span12" style="margin-left:10px !important;">
		<p style="margin-top:20px;" class="_redspiderP">
		Website Designed by :
		<a href="http://www.redspider.ae/" class="_redspid" target="_blank" title="web design dubai">RedSpider </a>
		</p>
		</div>
      </div>
    </div>
  </div>
</div>
<script  type="text/javascript"  src="<?php echo Yii::app()->apps->getBaseUrl('assets/js/system-full.js');?>"></script>
