/var/www/vhosts/nabawater/frontend/controllers
NameSizeModeActions
AdsController.php16160644editdlrm
BranchController.php910030644editdlrm
CmsController.php19540644editdlrm
DriverController.php26350644editdlrm
HomeController.php24080644editdlrm
ItemController.php63130644editdlrm
OrderController.php55780644editdlrm
PageController.php13990644editdlrm
PaymentController.php331140644editdlrm
SiteController.php9920644editdlrm
UserController.php456530644editdlrm
Edit: /var/www/vhosts/nabawater/frontend/controllers/HomeController.php (2408B)
format('N')); die; com::setSession('customer_latitude','28.41492'); com::setSession('customer_langtitude','36.53557'); com::setSession('customer_search_location','Tabuk,Tabouk'); return $this->redirect(['/product-list-normal-orders']); $Popularlocation = Branch::getPopularLocation(); // print_r($location);die; return $this->render('index',[ 'Popularlocation' => $Popularlocation , ]); } public function actionOffer() { $model = UserPromotion::getQuery([ UserPromotion::PROMOTION_TYPE_DIRECT_PURCHASE, UserPromotion::PROMOTION_TYPE_FREE_PRODUCT, ])->all(); $model = ArrayHelper::toArray($model); return $this->render('offer', ['model' => $model]); } public function actionPromotion() { return $this->render('promotion'); } public function actionAbout() { return $this->render('about'); } public function actionBranch() { return $this->render('branch'); } public function actionContact() { return $this->render('contact'); } public function actionMedia() { return $this->render('media'); } public function actionQrCode() { $generatedString = QrHelper::getInstance()->generate(); } public function actionStore() { return $this->render('store'); } }