<div class="footer-wrapper-parent">
    <div id="footer-wrapper">
      <div id="footer">
        <div class="footer-parent-block">
          <div class="footer-blocks footer-languages">
            <h4 class="footer-block-header">Languages</h4>
            <ul id="footer-languages" class="box">
              <li class="row">
                <form action="/i18n/setlang/" method="post" onsubmit="return false;" 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>
              <?php
              /*
              <li class="row"> <a href="/ar/" class="footer-links">العربية</a> </li>
              * */
              ?>
            </ul>
          </div>
          <div class="footer-blocks footer-support">
            <h4 class="footer-block-header">Support</h4>
            <ul id="footer-support" class="box">
              <li class="row"><a class="footer-links" href="<?php echo Yii::app()->createUrl("article/help");?>">Help</a></li>
              <li class="row"><a class="footer-links" href="<?php echo Yii::app()->createUrl("article/how");?>">How to</a></li>
              <li class="row"><a class="footer-links" href="<?php echo Yii::app()->createUrl("contact");?>">Contact Us</a></li>
            </ul>
          </div>
          <div class="footer-blocks footer-getsocial">
            <h4 class="footer-block-header">Get Social</h4>
            <ul id="footer-social" class="box">
              <li class="row"><a class="footer-links" target="_blank" href="http://facebook.com">Facebook</a></li>
              <li class="row"><a class="footer-links" target="_blank" href="http://twitter.com">Twitter</a></li>
              <li class="row"><a class="footer-links" target="_blank" href="http://youtube.com">Youtube</a></li>
            </ul>
          </div>
        </div>
        <div class="footer-blocks footer-company">
          <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-cities-block footer-cities-uae">
          <h4 class="footer-block-header current-country-site-name"> UAE </h4>
          <ul id="footer-uae-cities" class="box footer-uae-cities">
            <li class="footer-uae-cities-row row">
              <ul class="footer-cities">
				  <?php 
				  if($states)
				  {
					   foreach($states as $k=>$v)
				  {
					  ?>
					    <li class="row"><a class="footer-links" href="<?php echo Yii::app()->createUrl("country/addSession",array('country'=>3,'state'=>$v->state_id));?>"><?php echo $v->state_name;;?></a></li>
					
					  <?
				  }
				  }
				  ?>
                
              </ul>
            </li>
          </ul>
        </div>
        <div class="footer-blocks footer-countries">
          <h4 class="footer-block-header">Other Countries</h4>
          <ul id="footer-countries-list" class="box footer-countries-list">
            <li class="footer-countries-list-row row">
              <ul class="footer-countries-list-row-ul">
				  <?php
				  if($model)
				  {
				  foreach($model as $k=>$v)
				  {
					  ?>
					  <li class="row"><a class="footer-links" href="<?php echo Yii::app()->createUrl("country/addSession",array('country'=>$v->country_id,'state'=>'0'));?>"><?php echo $v->country_name;;?></a></li>
					  <?
				  }
			      }
                   ?>
               
              </ul>
            </li>
          </ul>
        </div>
        <div id="copyright"> <span class="copyright-msg">&copy; <?php echo Yii::app()->params['siteDomain'];?> <?php echo Yii::app()->params['siteDomainYear'];?>, All Rights Reserved.</span> </div>
      </div>
    </div>
  </div>
</div>
 
