<?php
$cityModule = new \Zend\Session\Container('cityModule');
$cityId = isset($cityModule->city_id) ? $cityModule->city_id : '';        
$config = new \Zend\Config\Config(include BASE_PATH . '/config/autoload/global.php');
$masterPackageNameArr = $config->masterPackage;
$masterPackageName = $masterPackageNameArr['mainPage'];                
$seoData = $this->mainMenu()->getSeoData(isset($cityId) ? $cityId : '',$masterPackageName);
$seoData = isset($seoData[0]) ? $seoData[0] : '';
$title = isset($seoData['meta_title']) ? $seoData['meta_title'] : 'Outstation';
$keywords = isset($seoData['meta_keywords']) ? $seoData['meta_keywords'] : 'Outstation';
$description = isset($seoData['meta_desc']) ? $seoData['meta_desc'] : 'Book cabs in Outstation';
$this->headTitle(' ' . $this->translate($title))->setSeparator(' - ')->setAutoEscape(false);
$this->headMeta()->setName('keywords', implode(', ', [$this->translate($keywords)]));
$this->headMeta()->setName('description', $description);
?>

<?php echo $this->partial('application/index/city-service-module'); ?>
<?php echo $this->partial('application/index/city-page-data'); ?>