<?php
foreach($data as $val){
    $url = strtolower(str_replace(' ', '-', $val['module_name']));
    $url = $this->url($url, ['controller' => 'index', 'action' => 'index'],['query'=>['city'=>$val['city_name'],'city_id'=>$val['city_id']]]);
?>

<div class="form_meubg service-module">
    <a href="<?php echo $url; ?>">
        <div class="menuicon"><i class="fa <?php echo $val['module_icon']; ?>"></i></div>
        <div class="over-text pull-left disable_none service-show"><?php echo $val['module_name']; ?></div>
    </a>
</div>
<?php }?>
<!--<div class="form_meubg service-module">
    <a href="<?php echo $this->url('point-to-point', array('controller' => 'index', 'action' => 'index')); ?>">
        <div class="menuicon"><i class="fa fa-map-marker"></i></div>
        <div class="over-text pull-left disable_none service-show">Point to Point</div>
    </a>
</div>

<div class="form_meubg service-module">
    <a href="<?php echo $this->url('airport-transfer', array('controller' => 'index', 'action' => 'index')); ?>">
        <div class="menuicon"><i class="fa fa-plane"></i></div>
        <div class="over-text pull-left disable_none service-show">Airport Transfer</div>
    </a>
</div>
<div class="form_meubg service-module">
    <a href="<?php echo $this->url('outstation', array('controller' => 'index', 'action' => 'index')); ?>">
        <div class="menuicon"><i class="fa fa-car"></i></div>
        <div class="over-text pull-left disable_none service-show">Outstation</div>
    </a>
</div>-->