diff --git a/backend/controllers/EmailsController.php b/backend/controllers/EmailsController.php
new file mode 100644
index 0000000..96782e3
--- /dev/null
+++ b/backend/controllers/EmailsController.php
@@ -0,0 +1,121 @@
+ [
+ 'class' => VerbFilter::className(),
+ 'actions' => [
+ 'delete' => ['post'],
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Lists all Emails models.
+ * @return mixed
+ */
+ public function actionIndex()
+ {
+ $searchModel = new EmailsSearch();
+ $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
+
+ return $this->render('index', [
+ 'searchModel' => $searchModel,
+ 'dataProvider' => $dataProvider,
+ ]);
+ }
+
+ /**
+ * Displays a single Emails model.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionView($id)
+ {
+ return $this->render('view', [
+ 'model' => $this->findModel($id),
+ ]);
+ }
+
+ /**
+ * Creates a new Emails model.
+ * If creation is successful, the browser will be redirected to the 'view' page.
+ * @return mixed
+ */
+ public function actionCreate()
+ {
+ $model = new Emails();
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('create', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Updates an existing Emails model.
+ * If update is successful, the browser will be redirected to the 'view' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionUpdate($id)
+ {
+ $model = $this->findModel($id);
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('update', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Deletes an existing Emails model.
+ * If deletion is successful, the browser will be redirected to the 'index' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionDelete($id)
+ {
+ $this->findModel($id)->delete();
+
+ return $this->redirect(['index']);
+ }
+
+ /**
+ * Finds the Emails model based on its primary key value.
+ * If the model is not found, a 404 HTTP exception will be thrown.
+ * @param integer $id
+ * @return Emails the loaded model
+ * @throws NotFoundHttpException if the model cannot be found
+ */
+ protected function findModel($id)
+ {
+ if (($model = Emails::findOne($id)) !== null) {
+ return $model;
+ } else {
+ throw new NotFoundHttpException('The requested page does not exist.');
+ }
+ }
+}
diff --git a/backend/controllers/NewsController.php b/backend/controllers/NewsController.php
new file mode 100644
index 0000000..1989618
--- /dev/null
+++ b/backend/controllers/NewsController.php
@@ -0,0 +1,121 @@
+ [
+ 'class' => VerbFilter::className(),
+ 'actions' => [
+ 'delete' => ['post'],
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Lists all News models.
+ * @return mixed
+ */
+ public function actionIndex()
+ {
+ $searchModel = new NewsSearch();
+ $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
+
+ return $this->render('index', [
+ 'searchModel' => $searchModel,
+ 'dataProvider' => $dataProvider,
+ ]);
+ }
+
+ /**
+ * Displays a single News model.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionView($id)
+ {
+ return $this->render('view', [
+ 'model' => $this->findModel($id),
+ ]);
+ }
+
+ /**
+ * Creates a new News model.
+ * If creation is successful, the browser will be redirected to the 'view' page.
+ * @return mixed
+ */
+ public function actionCreate()
+ {
+ $model = new News();
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('create', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Updates an existing News model.
+ * If update is successful, the browser will be redirected to the 'view' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionUpdate($id)
+ {
+ $model = $this->findModel($id);
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('update', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Deletes an existing News model.
+ * If deletion is successful, the browser will be redirected to the 'index' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionDelete($id)
+ {
+ $this->findModel($id)->delete();
+
+ return $this->redirect(['index']);
+ }
+
+ /**
+ * Finds the News model based on its primary key value.
+ * If the model is not found, a 404 HTTP exception will be thrown.
+ * @param integer $id
+ * @return News the loaded model
+ * @throws NotFoundHttpException if the model cannot be found
+ */
+ protected function findModel($id)
+ {
+ if (($model = News::findOne($id)) !== null) {
+ return $model;
+ } else {
+ throw new NotFoundHttpException('The requested page does not exist.');
+ }
+ }
+}
diff --git a/backend/controllers/PageController.php b/backend/controllers/PageController.php
new file mode 100644
index 0000000..19c43af
--- /dev/null
+++ b/backend/controllers/PageController.php
@@ -0,0 +1,121 @@
+ [
+ 'class' => VerbFilter::className(),
+ 'actions' => [
+ 'delete' => ['post'],
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Lists all Page models.
+ * @return mixed
+ */
+ public function actionIndex()
+ {
+ $searchModel = new PageSearch();
+ $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
+
+ return $this->render('index', [
+ 'searchModel' => $searchModel,
+ 'dataProvider' => $dataProvider,
+ ]);
+ }
+
+ /**
+ * Displays a single Page model.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionView($id)
+ {
+ return $this->render('view', [
+ 'model' => $this->findModel($id),
+ ]);
+ }
+
+ /**
+ * Creates a new Page model.
+ * If creation is successful, the browser will be redirected to the 'view' page.
+ * @return mixed
+ */
+ public function actionCreate()
+ {
+ $model = new Page();
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('create', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Updates an existing Page model.
+ * If update is successful, the browser will be redirected to the 'view' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionUpdate($id)
+ {
+ $model = $this->findModel($id);
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('update', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Deletes an existing Page model.
+ * If deletion is successful, the browser will be redirected to the 'index' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionDelete($id)
+ {
+ $this->findModel($id)->delete();
+
+ return $this->redirect(['index']);
+ }
+
+ /**
+ * Finds the Page model based on its primary key value.
+ * If the model is not found, a 404 HTTP exception will be thrown.
+ * @param integer $id
+ * @return Page the loaded model
+ * @throws NotFoundHttpException if the model cannot be found
+ */
+ protected function findModel($id)
+ {
+ if (($model = Page::findOne($id)) !== null) {
+ return $model;
+ } else {
+ throw new NotFoundHttpException('The requested page does not exist.');
+ }
+ }
+}
diff --git a/backend/controllers/PartnersController.php b/backend/controllers/PartnersController.php
new file mode 100644
index 0000000..0f9704d
--- /dev/null
+++ b/backend/controllers/PartnersController.php
@@ -0,0 +1,121 @@
+ [
+ 'class' => VerbFilter::className(),
+ 'actions' => [
+ 'delete' => ['post'],
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Lists all Partners models.
+ * @return mixed
+ */
+ public function actionIndex()
+ {
+ $searchModel = new PartnersSearch();
+ $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
+
+ return $this->render('index', [
+ 'searchModel' => $searchModel,
+ 'dataProvider' => $dataProvider,
+ ]);
+ }
+
+ /**
+ * Displays a single Partners model.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionView($id)
+ {
+ return $this->render('view', [
+ 'model' => $this->findModel($id),
+ ]);
+ }
+
+ /**
+ * Creates a new Partners model.
+ * If creation is successful, the browser will be redirected to the 'view' page.
+ * @return mixed
+ */
+ public function actionCreate()
+ {
+ $model = new Partners();
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('create', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Updates an existing Partners model.
+ * If update is successful, the browser will be redirected to the 'view' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionUpdate($id)
+ {
+ $model = $this->findModel($id);
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('update', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Deletes an existing Partners model.
+ * If deletion is successful, the browser will be redirected to the 'index' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionDelete($id)
+ {
+ $this->findModel($id)->delete();
+
+ return $this->redirect(['index']);
+ }
+
+ /**
+ * Finds the Partners model based on its primary key value.
+ * If the model is not found, a 404 HTTP exception will be thrown.
+ * @param integer $id
+ * @return Partners the loaded model
+ * @throws NotFoundHttpException if the model cannot be found
+ */
+ protected function findModel($id)
+ {
+ if (($model = Partners::findOne($id)) !== null) {
+ return $model;
+ } else {
+ throw new NotFoundHttpException('The requested page does not exist.');
+ }
+ }
+}
diff --git a/backend/controllers/PayMessagesController.php b/backend/controllers/PayMessagesController.php
new file mode 100644
index 0000000..4c7ea44
--- /dev/null
+++ b/backend/controllers/PayMessagesController.php
@@ -0,0 +1,121 @@
+ [
+ 'class' => VerbFilter::className(),
+ 'actions' => [
+ 'delete' => ['post'],
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Lists all PayMessages models.
+ * @return mixed
+ */
+ public function actionIndex()
+ {
+ $searchModel = new PayMessagesSearch();
+ $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
+
+ return $this->render('index', [
+ 'searchModel' => $searchModel,
+ 'dataProvider' => $dataProvider,
+ ]);
+ }
+
+ /**
+ * Displays a single PayMessages model.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionView($id)
+ {
+ return $this->render('view', [
+ 'model' => $this->findModel($id),
+ ]);
+ }
+
+ /**
+ * Creates a new PayMessages model.
+ * If creation is successful, the browser will be redirected to the 'view' page.
+ * @return mixed
+ */
+ public function actionCreate()
+ {
+ $model = new PayMessages();
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('create', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Updates an existing PayMessages model.
+ * If update is successful, the browser will be redirected to the 'view' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionUpdate($id)
+ {
+ $model = $this->findModel($id);
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('update', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Deletes an existing PayMessages model.
+ * If deletion is successful, the browser will be redirected to the 'index' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionDelete($id)
+ {
+ $this->findModel($id)->delete();
+
+ return $this->redirect(['index']);
+ }
+
+ /**
+ * Finds the PayMessages model based on its primary key value.
+ * If the model is not found, a 404 HTTP exception will be thrown.
+ * @param integer $id
+ * @return PayMessages the loaded model
+ * @throws NotFoundHttpException if the model cannot be found
+ */
+ protected function findModel($id)
+ {
+ if (($model = PayMessages::findOne($id)) !== null) {
+ return $model;
+ } else {
+ throw new NotFoundHttpException('The requested page does not exist.');
+ }
+ }
+}
diff --git a/backend/controllers/PriceMailingController.php b/backend/controllers/PriceMailingController.php
new file mode 100644
index 0000000..d6cce4e
--- /dev/null
+++ b/backend/controllers/PriceMailingController.php
@@ -0,0 +1,121 @@
+ [
+ 'class' => VerbFilter::className(),
+ 'actions' => [
+ 'delete' => ['post'],
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Lists all PriceMailing models.
+ * @return mixed
+ */
+ public function actionIndex()
+ {
+ $searchModel = new PriceMailingSearch();
+ $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
+
+ return $this->render('index', [
+ 'searchModel' => $searchModel,
+ 'dataProvider' => $dataProvider,
+ ]);
+ }
+
+ /**
+ * Displays a single PriceMailing model.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionView($id)
+ {
+ return $this->render('view', [
+ 'model' => $this->findModel($id),
+ ]);
+ }
+
+ /**
+ * Creates a new PriceMailing model.
+ * If creation is successful, the browser will be redirected to the 'view' page.
+ * @return mixed
+ */
+ public function actionCreate()
+ {
+ $model = new PriceMailing();
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('create', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Updates an existing PriceMailing model.
+ * If update is successful, the browser will be redirected to the 'view' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionUpdate($id)
+ {
+ $model = $this->findModel($id);
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('update', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Deletes an existing PriceMailing model.
+ * If deletion is successful, the browser will be redirected to the 'index' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionDelete($id)
+ {
+ $this->findModel($id)->delete();
+
+ return $this->redirect(['index']);
+ }
+
+ /**
+ * Finds the PriceMailing model based on its primary key value.
+ * If the model is not found, a 404 HTTP exception will be thrown.
+ * @param integer $id
+ * @return PriceMailing the loaded model
+ * @throws NotFoundHttpException if the model cannot be found
+ */
+ protected function findModel($id)
+ {
+ if (($model = PriceMailing::findOne($id)) !== null) {
+ return $model;
+ } else {
+ throw new NotFoundHttpException('The requested page does not exist.');
+ }
+ }
+}
diff --git a/backend/controllers/SettingsMerchantsListController.php b/backend/controllers/SettingsMerchantsListController.php
new file mode 100644
index 0000000..5d340e9
--- /dev/null
+++ b/backend/controllers/SettingsMerchantsListController.php
@@ -0,0 +1,121 @@
+ [
+ 'class' => VerbFilter::className(),
+ 'actions' => [
+ 'delete' => ['post'],
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Lists all SettingsMerchantsList models.
+ * @return mixed
+ */
+ public function actionIndex()
+ {
+ $searchModel = new SettingsMerchantsListSearch();
+ $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
+
+ return $this->render('index', [
+ 'searchModel' => $searchModel,
+ 'dataProvider' => $dataProvider,
+ ]);
+ }
+
+ /**
+ * Displays a single SettingsMerchantsList model.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionView($id)
+ {
+ return $this->render('view', [
+ 'model' => $this->findModel($id),
+ ]);
+ }
+
+ /**
+ * Creates a new SettingsMerchantsList model.
+ * If creation is successful, the browser will be redirected to the 'view' page.
+ * @return mixed
+ */
+ public function actionCreate()
+ {
+ $model = new SettingsMerchantsList();
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('create', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Updates an existing SettingsMerchantsList model.
+ * If update is successful, the browser will be redirected to the 'view' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionUpdate($id)
+ {
+ $model = $this->findModel($id);
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('update', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Deletes an existing SettingsMerchantsList model.
+ * If deletion is successful, the browser will be redirected to the 'index' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionDelete($id)
+ {
+ $this->findModel($id)->delete();
+
+ return $this->redirect(['index']);
+ }
+
+ /**
+ * Finds the SettingsMerchantsList model based on its primary key value.
+ * If the model is not found, a 404 HTTP exception will be thrown.
+ * @param integer $id
+ * @return SettingsMerchantsList the loaded model
+ * @throws NotFoundHttpException if the model cannot be found
+ */
+ protected function findModel($id)
+ {
+ if (($model = SettingsMerchantsList::findOne($id)) !== null) {
+ return $model;
+ } else {
+ throw new NotFoundHttpException('The requested page does not exist.');
+ }
+ }
+}
diff --git a/backend/controllers/SliderController.php b/backend/controllers/SliderController.php
new file mode 100644
index 0000000..0b196ab
--- /dev/null
+++ b/backend/controllers/SliderController.php
@@ -0,0 +1,121 @@
+ [
+ 'class' => VerbFilter::className(),
+ 'actions' => [
+ 'delete' => ['post'],
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Lists all Slider models.
+ * @return mixed
+ */
+ public function actionIndex()
+ {
+ $searchModel = new SliderSearch();
+ $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
+
+ return $this->render('index', [
+ 'searchModel' => $searchModel,
+ 'dataProvider' => $dataProvider,
+ ]);
+ }
+
+ /**
+ * Displays a single Slider model.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionView($id)
+ {
+ return $this->render('view', [
+ 'model' => $this->findModel($id),
+ ]);
+ }
+
+ /**
+ * Creates a new Slider model.
+ * If creation is successful, the browser will be redirected to the 'view' page.
+ * @return mixed
+ */
+ public function actionCreate()
+ {
+ $model = new Slider();
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('create', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Updates an existing Slider model.
+ * If update is successful, the browser will be redirected to the 'view' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionUpdate($id)
+ {
+ $model = $this->findModel($id);
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('update', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Deletes an existing Slider model.
+ * If deletion is successful, the browser will be redirected to the 'index' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionDelete($id)
+ {
+ $this->findModel($id)->delete();
+
+ return $this->redirect(['index']);
+ }
+
+ /**
+ * Finds the Slider model based on its primary key value.
+ * If the model is not found, a 404 HTTP exception will be thrown.
+ * @param integer $id
+ * @return Slider the loaded model
+ * @throws NotFoundHttpException if the model cannot be found
+ */
+ protected function findModel($id)
+ {
+ if (($model = Slider::findOne($id)) !== null) {
+ return $model;
+ } else {
+ throw new NotFoundHttpException('The requested page does not exist.');
+ }
+ }
+}
diff --git a/backend/controllers/TeamController.php b/backend/controllers/TeamController.php
new file mode 100644
index 0000000..3195944
--- /dev/null
+++ b/backend/controllers/TeamController.php
@@ -0,0 +1,121 @@
+ [
+ 'class' => VerbFilter::className(),
+ 'actions' => [
+ 'delete' => ['post'],
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Lists all Team models.
+ * @return mixed
+ */
+ public function actionIndex()
+ {
+ $searchModel = new TeamSearch();
+ $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
+
+ return $this->render('index', [
+ 'searchModel' => $searchModel,
+ 'dataProvider' => $dataProvider,
+ ]);
+ }
+
+ /**
+ * Displays a single Team model.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionView($id)
+ {
+ return $this->render('view', [
+ 'model' => $this->findModel($id),
+ ]);
+ }
+
+ /**
+ * Creates a new Team model.
+ * If creation is successful, the browser will be redirected to the 'view' page.
+ * @return mixed
+ */
+ public function actionCreate()
+ {
+ $model = new Team();
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('create', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Updates an existing Team model.
+ * If update is successful, the browser will be redirected to the 'view' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionUpdate($id)
+ {
+ $model = $this->findModel($id);
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('update', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Deletes an existing Team model.
+ * If deletion is successful, the browser will be redirected to the 'index' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionDelete($id)
+ {
+ $this->findModel($id)->delete();
+
+ return $this->redirect(['index']);
+ }
+
+ /**
+ * Finds the Team model based on its primary key value.
+ * If the model is not found, a 404 HTTP exception will be thrown.
+ * @param integer $id
+ * @return Team the loaded model
+ * @throws NotFoundHttpException if the model cannot be found
+ */
+ protected function findModel($id)
+ {
+ if (($model = Team::findOne($id)) !== null) {
+ return $model;
+ } else {
+ throw new NotFoundHttpException('The requested page does not exist.');
+ }
+ }
+}
diff --git a/backend/controllers/TeamGroupController.php b/backend/controllers/TeamGroupController.php
new file mode 100644
index 0000000..40eda96
--- /dev/null
+++ b/backend/controllers/TeamGroupController.php
@@ -0,0 +1,121 @@
+ [
+ 'class' => VerbFilter::className(),
+ 'actions' => [
+ 'delete' => ['post'],
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Lists all TeamGroup models.
+ * @return mixed
+ */
+ public function actionIndex()
+ {
+ $searchModel = new TeamGroupSearch();
+ $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
+
+ return $this->render('index', [
+ 'searchModel' => $searchModel,
+ 'dataProvider' => $dataProvider,
+ ]);
+ }
+
+ /**
+ * Displays a single TeamGroup model.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionView($id)
+ {
+ return $this->render('view', [
+ 'model' => $this->findModel($id),
+ ]);
+ }
+
+ /**
+ * Creates a new TeamGroup model.
+ * If creation is successful, the browser will be redirected to the 'view' page.
+ * @return mixed
+ */
+ public function actionCreate()
+ {
+ $model = new TeamGroup();
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('create', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Updates an existing TeamGroup model.
+ * If update is successful, the browser will be redirected to the 'view' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionUpdate($id)
+ {
+ $model = $this->findModel($id);
+
+ if ($model->load(Yii::$app->request->post()) && $model->save()) {
+ return $this->redirect(['view', 'id' => $model->id]);
+ } else {
+ return $this->render('update', [
+ 'model' => $model,
+ ]);
+ }
+ }
+
+ /**
+ * Deletes an existing TeamGroup model.
+ * If deletion is successful, the browser will be redirected to the 'index' page.
+ * @param integer $id
+ * @return mixed
+ */
+ public function actionDelete($id)
+ {
+ $this->findModel($id)->delete();
+
+ return $this->redirect(['index']);
+ }
+
+ /**
+ * Finds the TeamGroup model based on its primary key value.
+ * If the model is not found, a 404 HTTP exception will be thrown.
+ * @param integer $id
+ * @return TeamGroup the loaded model
+ * @throws NotFoundHttpException if the model cannot be found
+ */
+ protected function findModel($id)
+ {
+ if (($model = TeamGroup::findOne($id)) !== null) {
+ return $model;
+ } else {
+ throw new NotFoundHttpException('The requested page does not exist.');
+ }
+ }
+}
diff --git a/backend/views/emails/_form.php b/backend/views/emails/_form.php
new file mode 100644
index 0000000..8045558
--- /dev/null
+++ b/backend/views/emails/_form.php
@@ -0,0 +1,37 @@
+
+
+
diff --git a/backend/views/emails/_search.php b/backend/views/emails/_search.php
new file mode 100644
index 0000000..24ae811
--- /dev/null
+++ b/backend/views/emails/_search.php
@@ -0,0 +1,43 @@
+
+
+
+
+ ['index'],
+ 'method' => 'get',
+ ]); ?>
+
+ = $form->field($model, 'id') ?>
+
+ = $form->field($model, 'code') ?>
+
+ = $form->field($model, 'name') ?>
+
+ = $form->field($model, 'value') ?>
+
+ = $form->field($model, 'to_email') ?>
+
+ field($model, 'from_email') ?>
+
+ field($model, 'from_name') ?>
+
+ field($model, 'done') ?>
+
+ field($model, 'who_comment') ?>
+
+
+ = Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
+ = Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
+
+
+
+
+
diff --git a/backend/views/emails/create.php b/backend/views/emails/create.php
new file mode 100644
index 0000000..2b34a50
--- /dev/null
+++ b/backend/views/emails/create.php
@@ -0,0 +1,21 @@
+title = 'Create Emails';
+$this->params['breadcrumbs'][] = ['label' => 'Emails', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/emails/index.php b/backend/views/emails/index.php
new file mode 100644
index 0000000..865d7a7
--- /dev/null
+++ b/backend/views/emails/index.php
@@ -0,0 +1,42 @@
+title = 'Emails';
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+ render('_search', ['model' => $searchModel]); ?>
+
+
+ = Html::a('Create Emails', ['create'], ['class' => 'btn btn-success']) ?>
+
+
+ = GridView::widget([
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ ['class' => 'yii\grid\SerialColumn'],
+
+ 'id',
+ 'code',
+ 'name',
+ 'value:ntext',
+ 'to_email:email',
+ // 'from_email:email',
+ // 'from_name',
+ // 'done',
+ // 'who_comment',
+
+ ['class' => 'yii\grid\ActionColumn'],
+ ],
+ ]); ?>
+
+
diff --git a/backend/views/emails/update.php b/backend/views/emails/update.php
new file mode 100644
index 0000000..8de9c81
--- /dev/null
+++ b/backend/views/emails/update.php
@@ -0,0 +1,21 @@
+title = 'Update Emails: ' . ' ' . $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Emails', 'url' => ['index']];
+$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
+$this->params['breadcrumbs'][] = 'Update';
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/emails/view.php b/backend/views/emails/view.php
new file mode 100644
index 0000000..54cf2fe
--- /dev/null
+++ b/backend/views/emails/view.php
@@ -0,0 +1,43 @@
+title = $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Emails', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+
+ = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+ = Html::a('Delete', ['delete', 'id' => $model->id], [
+ 'class' => 'btn btn-danger',
+ 'data' => [
+ 'confirm' => 'Are you sure you want to delete this item?',
+ 'method' => 'post',
+ ],
+ ]) ?>
+
+
+ = DetailView::widget([
+ 'model' => $model,
+ 'attributes' => [
+ 'id',
+ 'code',
+ 'name',
+ 'value:ntext',
+ 'to_email:email',
+ 'from_email:email',
+ 'from_name',
+ 'done',
+ 'who_comment',
+ ],
+ ]) ?>
+
+
diff --git a/backend/views/news/_form.php b/backend/views/news/_form.php
new file mode 100644
index 0000000..02e5275
--- /dev/null
+++ b/backend/views/news/_form.php
@@ -0,0 +1,47 @@
+
+
+
diff --git a/backend/views/news/_search.php b/backend/views/news/_search.php
new file mode 100644
index 0000000..ff1a8b4
--- /dev/null
+++ b/backend/views/news/_search.php
@@ -0,0 +1,53 @@
+
+
+
+
+ ['index'],
+ 'method' => 'get',
+ ]); ?>
+
+ = $form->field($model, 'id') ?>
+
+ = $form->field($model, 'name') ?>
+
+ = $form->field($model, 'code') ?>
+
+ = $form->field($model, 'brief') ?>
+
+ = $form->field($model, 'content') ?>
+
+ field($model, 'sort_delete') ?>
+
+ field($model, 'title') ?>
+
+ field($model, 'kwords') ?>
+
+ field($model, 'descr') ?>
+
+ field($model, 'dt') ?>
+
+ field($model, 'is_active') ?>
+
+ field($model, 'mail_send') ?>
+
+ field($model, 'mails_count') ?>
+
+ field($model, 'img') ?>
+
+
+ = Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
+ = Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
+
+
+
+
+
diff --git a/backend/views/news/create.php b/backend/views/news/create.php
new file mode 100644
index 0000000..17abd28
--- /dev/null
+++ b/backend/views/news/create.php
@@ -0,0 +1,21 @@
+title = 'Create News';
+$this->params['breadcrumbs'][] = ['label' => 'News', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/news/index.php b/backend/views/news/index.php
new file mode 100644
index 0000000..c4bc324
--- /dev/null
+++ b/backend/views/news/index.php
@@ -0,0 +1,47 @@
+title = 'News';
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+ render('_search', ['model' => $searchModel]); ?>
+
+
+ = Html::a('Create News', ['create'], ['class' => 'btn btn-success']) ?>
+
+
+ = GridView::widget([
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ ['class' => 'yii\grid\SerialColumn'],
+
+ 'id',
+ 'name',
+ 'code',
+ 'brief:ntext',
+ 'content:ntext',
+ // 'sort_delete',
+ // 'title',
+ // 'kwords',
+ // 'descr',
+ // 'dt',
+ // 'is_active',
+ // 'mail_send',
+ // 'mails_count',
+ // 'img',
+
+ ['class' => 'yii\grid\ActionColumn'],
+ ],
+ ]); ?>
+
+
diff --git a/backend/views/news/update.php b/backend/views/news/update.php
new file mode 100644
index 0000000..b626f42
--- /dev/null
+++ b/backend/views/news/update.php
@@ -0,0 +1,21 @@
+title = 'Update News: ' . ' ' . $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'News', 'url' => ['index']];
+$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
+$this->params['breadcrumbs'][] = 'Update';
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/news/view.php b/backend/views/news/view.php
new file mode 100644
index 0000000..bd566c5
--- /dev/null
+++ b/backend/views/news/view.php
@@ -0,0 +1,48 @@
+title = $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'News', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+
+ = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+ = Html::a('Delete', ['delete', 'id' => $model->id], [
+ 'class' => 'btn btn-danger',
+ 'data' => [
+ 'confirm' => 'Are you sure you want to delete this item?',
+ 'method' => 'post',
+ ],
+ ]) ?>
+
+
+ = DetailView::widget([
+ 'model' => $model,
+ 'attributes' => [
+ 'id',
+ 'name',
+ 'code',
+ 'brief:ntext',
+ 'content:ntext',
+ 'sort_delete',
+ 'title',
+ 'kwords',
+ 'descr',
+ 'dt',
+ 'is_active',
+ 'mail_send',
+ 'mails_count',
+ 'img',
+ ],
+ ]) ?>
+
+
diff --git a/backend/views/page/_form.php b/backend/views/page/_form.php
new file mode 100644
index 0000000..bff3662
--- /dev/null
+++ b/backend/views/page/_form.php
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+ = $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
+
+ = $form->field($model, 'code')->textInput(['maxlength' => true]) ?>
+
+ = $form->field($model, 'content')->textarea(['rows' => 6]) ?>
+
+ = $form->field($model, 'sort')->textInput() ?>
+
+ = $form->field($model, 'title')->textInput(['maxlength' => true]) ?>
+
+ = $form->field($model, 'kwords')->textInput(['maxlength' => true]) ?>
+
+ = $form->field($model, 'descr')->textInput(['maxlength' => true]) ?>
+
+ = $form->field($model, 'is_active')->textInput() ?>
+
+
+ = Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
+
+
+
+
+
diff --git a/backend/views/page/_search.php b/backend/views/page/_search.php
new file mode 100644
index 0000000..3dce25d
--- /dev/null
+++ b/backend/views/page/_search.php
@@ -0,0 +1,43 @@
+
+
+
+
+ ['index'],
+ 'method' => 'get',
+ ]); ?>
+
+ = $form->field($model, 'id') ?>
+
+ = $form->field($model, 'name') ?>
+
+ = $form->field($model, 'code') ?>
+
+ = $form->field($model, 'content') ?>
+
+ = $form->field($model, 'sort') ?>
+
+ field($model, 'title') ?>
+
+ field($model, 'kwords') ?>
+
+ field($model, 'descr') ?>
+
+ field($model, 'is_active') ?>
+
+
+ = Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
+ = Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
+
+
+
+
+
diff --git a/backend/views/page/create.php b/backend/views/page/create.php
new file mode 100644
index 0000000..d47a8ad
--- /dev/null
+++ b/backend/views/page/create.php
@@ -0,0 +1,21 @@
+title = 'Create Page';
+$this->params['breadcrumbs'][] = ['label' => 'Pages', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/page/index.php b/backend/views/page/index.php
new file mode 100644
index 0000000..cd5d239
--- /dev/null
+++ b/backend/views/page/index.php
@@ -0,0 +1,42 @@
+title = 'Pages';
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+ render('_search', ['model' => $searchModel]); ?>
+
+
+ = Html::a('Create Page', ['create'], ['class' => 'btn btn-success']) ?>
+
+
+ = GridView::widget([
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ ['class' => 'yii\grid\SerialColumn'],
+
+ 'id',
+ 'name',
+ 'code',
+ 'content:ntext',
+ 'sort',
+ // 'title',
+ // 'kwords',
+ // 'descr',
+ // 'is_active',
+
+ ['class' => 'yii\grid\ActionColumn'],
+ ],
+ ]); ?>
+
+
diff --git a/backend/views/page/update.php b/backend/views/page/update.php
new file mode 100644
index 0000000..d3fc37f
--- /dev/null
+++ b/backend/views/page/update.php
@@ -0,0 +1,21 @@
+title = 'Update Page: ' . ' ' . $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Pages', 'url' => ['index']];
+$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
+$this->params['breadcrumbs'][] = 'Update';
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/page/view.php b/backend/views/page/view.php
new file mode 100644
index 0000000..8aaebd6
--- /dev/null
+++ b/backend/views/page/view.php
@@ -0,0 +1,43 @@
+title = $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Pages', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+
+ = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+ = Html::a('Delete', ['delete', 'id' => $model->id], [
+ 'class' => 'btn btn-danger',
+ 'data' => [
+ 'confirm' => 'Are you sure you want to delete this item?',
+ 'method' => 'post',
+ ],
+ ]) ?>
+
+
+ = DetailView::widget([
+ 'model' => $model,
+ 'attributes' => [
+ 'id',
+ 'name',
+ 'code',
+ 'content:ntext',
+ 'sort',
+ 'title',
+ 'kwords',
+ 'descr',
+ 'is_active',
+ ],
+ ]) ?>
+
+
diff --git a/backend/views/partners/_form.php b/backend/views/partners/_form.php
new file mode 100644
index 0000000..fef6b19
--- /dev/null
+++ b/backend/views/partners/_form.php
@@ -0,0 +1,29 @@
+
+
+
diff --git a/backend/views/partners/_search.php b/backend/views/partners/_search.php
new file mode 100644
index 0000000..72260fe
--- /dev/null
+++ b/backend/views/partners/_search.php
@@ -0,0 +1,35 @@
+
+
+
+
+ ['index'],
+ 'method' => 'get',
+ ]); ?>
+
+ = $form->field($model, 'id') ?>
+
+ = $form->field($model, 'name') ?>
+
+ = $form->field($model, 'url') ?>
+
+ = $form->field($model, 'img') ?>
+
+ = $form->field($model, 'sort') ?>
+
+
+ = Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
+ = Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
+
+
+
+
+
diff --git a/backend/views/partners/create.php b/backend/views/partners/create.php
new file mode 100644
index 0000000..75c0b6e
--- /dev/null
+++ b/backend/views/partners/create.php
@@ -0,0 +1,21 @@
+title = 'Create Partners';
+$this->params['breadcrumbs'][] = ['label' => 'Partners', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/partners/index.php b/backend/views/partners/index.php
new file mode 100644
index 0000000..3e3d34b
--- /dev/null
+++ b/backend/views/partners/index.php
@@ -0,0 +1,38 @@
+title = 'Partners';
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+ render('_search', ['model' => $searchModel]); ?>
+
+
+ = Html::a('Create Partners', ['create'], ['class' => 'btn btn-success']) ?>
+
+
+ = GridView::widget([
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ ['class' => 'yii\grid\SerialColumn'],
+
+ 'id',
+ 'name',
+ 'url:url',
+ 'img',
+ 'sort',
+
+ ['class' => 'yii\grid\ActionColumn'],
+ ],
+ ]); ?>
+
+
diff --git a/backend/views/partners/update.php b/backend/views/partners/update.php
new file mode 100644
index 0000000..203db42
--- /dev/null
+++ b/backend/views/partners/update.php
@@ -0,0 +1,21 @@
+title = 'Update Partners: ' . ' ' . $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Partners', 'url' => ['index']];
+$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
+$this->params['breadcrumbs'][] = 'Update';
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/partners/view.php b/backend/views/partners/view.php
new file mode 100644
index 0000000..735270a
--- /dev/null
+++ b/backend/views/partners/view.php
@@ -0,0 +1,39 @@
+title = $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Partners', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+
+ = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+ = Html::a('Delete', ['delete', 'id' => $model->id], [
+ 'class' => 'btn btn-danger',
+ 'data' => [
+ 'confirm' => 'Are you sure you want to delete this item?',
+ 'method' => 'post',
+ ],
+ ]) ?>
+
+
+ = DetailView::widget([
+ 'model' => $model,
+ 'attributes' => [
+ 'id',
+ 'name',
+ 'url:url',
+ 'img',
+ 'sort',
+ ],
+ ]) ?>
+
+
diff --git a/backend/views/pay-messages/_form.php b/backend/views/pay-messages/_form.php
new file mode 100644
index 0000000..d490814
--- /dev/null
+++ b/backend/views/pay-messages/_form.php
@@ -0,0 +1,29 @@
+
+
+
diff --git a/backend/views/pay-messages/_search.php b/backend/views/pay-messages/_search.php
new file mode 100644
index 0000000..c67ee16
--- /dev/null
+++ b/backend/views/pay-messages/_search.php
@@ -0,0 +1,35 @@
+
+
+
+
+ ['index'],
+ 'method' => 'get',
+ ]); ?>
+
+ = $form->field($model, 'id') ?>
+
+ = $form->field($model, 'subject') ?>
+
+ = $form->field($model, 'message') ?>
+
+ = $form->field($model, 'dt') ?>
+
+ = $form->field($model, 'user_id') ?>
+
+
+ = Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
+ = Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
+
+
+
+
+
diff --git a/backend/views/pay-messages/create.php b/backend/views/pay-messages/create.php
new file mode 100644
index 0000000..5fa2958
--- /dev/null
+++ b/backend/views/pay-messages/create.php
@@ -0,0 +1,21 @@
+title = 'Create Pay Messages';
+$this->params['breadcrumbs'][] = ['label' => 'Pay Messages', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/pay-messages/index.php b/backend/views/pay-messages/index.php
new file mode 100644
index 0000000..b0b73e1
--- /dev/null
+++ b/backend/views/pay-messages/index.php
@@ -0,0 +1,38 @@
+title = 'Pay Messages';
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+ render('_search', ['model' => $searchModel]); ?>
+
+
+ = Html::a('Create Pay Messages', ['create'], ['class' => 'btn btn-success']) ?>
+
+
+ = GridView::widget([
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ ['class' => 'yii\grid\SerialColumn'],
+
+ 'id',
+ 'subject',
+ 'message:ntext',
+ 'dt',
+ 'user_id',
+
+ ['class' => 'yii\grid\ActionColumn'],
+ ],
+ ]); ?>
+
+
diff --git a/backend/views/pay-messages/update.php b/backend/views/pay-messages/update.php
new file mode 100644
index 0000000..5b82818
--- /dev/null
+++ b/backend/views/pay-messages/update.php
@@ -0,0 +1,21 @@
+title = 'Update Pay Messages: ' . ' ' . $model->id;
+$this->params['breadcrumbs'][] = ['label' => 'Pay Messages', 'url' => ['index']];
+$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
+$this->params['breadcrumbs'][] = 'Update';
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/pay-messages/view.php b/backend/views/pay-messages/view.php
new file mode 100644
index 0000000..7ed4fc6
--- /dev/null
+++ b/backend/views/pay-messages/view.php
@@ -0,0 +1,39 @@
+title = $model->id;
+$this->params['breadcrumbs'][] = ['label' => 'Pay Messages', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+
+ = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+ = Html::a('Delete', ['delete', 'id' => $model->id], [
+ 'class' => 'btn btn-danger',
+ 'data' => [
+ 'confirm' => 'Are you sure you want to delete this item?',
+ 'method' => 'post',
+ ],
+ ]) ?>
+
+
+ = DetailView::widget([
+ 'model' => $model,
+ 'attributes' => [
+ 'id',
+ 'subject',
+ 'message:ntext',
+ 'dt',
+ 'user_id',
+ ],
+ ]) ?>
+
+
diff --git a/backend/views/price-mailing/_form.php b/backend/views/price-mailing/_form.php
new file mode 100644
index 0000000..b7c0957
--- /dev/null
+++ b/backend/views/price-mailing/_form.php
@@ -0,0 +1,27 @@
+
+
+
diff --git a/backend/views/price-mailing/_search.php b/backend/views/price-mailing/_search.php
new file mode 100644
index 0000000..6a3ab1f
--- /dev/null
+++ b/backend/views/price-mailing/_search.php
@@ -0,0 +1,33 @@
+
+
+
+
+ ['index'],
+ 'method' => 'get',
+ ]); ?>
+
+ = $form->field($model, 'id') ?>
+
+ = $form->field($model, 'name') ?>
+
+ = $form->field($model, 'email') ?>
+
+ = $form->field($model, 'price_id') ?>
+
+
+ = Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
+ = Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
+
+
+
+
+
diff --git a/backend/views/price-mailing/create.php b/backend/views/price-mailing/create.php
new file mode 100644
index 0000000..a4b3f9c
--- /dev/null
+++ b/backend/views/price-mailing/create.php
@@ -0,0 +1,21 @@
+title = 'Create Price Mailing';
+$this->params['breadcrumbs'][] = ['label' => 'Price Mailings', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/price-mailing/index.php b/backend/views/price-mailing/index.php
new file mode 100644
index 0000000..f898572
--- /dev/null
+++ b/backend/views/price-mailing/index.php
@@ -0,0 +1,37 @@
+title = 'Price Mailings';
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+ render('_search', ['model' => $searchModel]); ?>
+
+
+ = Html::a('Create Price Mailing', ['create'], ['class' => 'btn btn-success']) ?>
+
+
+ = GridView::widget([
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ ['class' => 'yii\grid\SerialColumn'],
+
+ 'id',
+ 'name',
+ 'email:email',
+ 'price_id',
+
+ ['class' => 'yii\grid\ActionColumn'],
+ ],
+ ]); ?>
+
+
diff --git a/backend/views/price-mailing/update.php b/backend/views/price-mailing/update.php
new file mode 100644
index 0000000..b343c6b
--- /dev/null
+++ b/backend/views/price-mailing/update.php
@@ -0,0 +1,21 @@
+title = 'Update Price Mailing: ' . ' ' . $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Price Mailings', 'url' => ['index']];
+$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
+$this->params['breadcrumbs'][] = 'Update';
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/price-mailing/view.php b/backend/views/price-mailing/view.php
new file mode 100644
index 0000000..21fa739
--- /dev/null
+++ b/backend/views/price-mailing/view.php
@@ -0,0 +1,38 @@
+title = $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Price Mailings', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+
+ = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+ = Html::a('Delete', ['delete', 'id' => $model->id], [
+ 'class' => 'btn btn-danger',
+ 'data' => [
+ 'confirm' => 'Are you sure you want to delete this item?',
+ 'method' => 'post',
+ ],
+ ]) ?>
+
+
+ = DetailView::widget([
+ 'model' => $model,
+ 'attributes' => [
+ 'id',
+ 'name',
+ 'email:email',
+ 'price_id',
+ ],
+ ]) ?>
+
+
diff --git a/backend/views/settings-merchants-list/_form.php b/backend/views/settings-merchants-list/_form.php
new file mode 100644
index 0000000..6e04b05
--- /dev/null
+++ b/backend/views/settings-merchants-list/_form.php
@@ -0,0 +1,31 @@
+
+
+
diff --git a/backend/views/settings-merchants-list/_search.php b/backend/views/settings-merchants-list/_search.php
new file mode 100644
index 0000000..1b1a5ea
--- /dev/null
+++ b/backend/views/settings-merchants-list/_search.php
@@ -0,0 +1,37 @@
+
+
+
+
+ ['index'],
+ 'method' => 'get',
+ ]); ?>
+
+ = $form->field($model, 'id') ?>
+
+ = $form->field($model, 'name') ?>
+
+ = $form->field($model, 'content') ?>
+
+ = $form->field($model, 'sort') ?>
+
+ = $form->field($model, 'is_active') ?>
+
+ field($model, 'mcode') ?>
+
+
+ = Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
+ = Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
+
+
+
+
+
diff --git a/backend/views/settings-merchants-list/create.php b/backend/views/settings-merchants-list/create.php
new file mode 100644
index 0000000..ad4596e
--- /dev/null
+++ b/backend/views/settings-merchants-list/create.php
@@ -0,0 +1,21 @@
+title = 'Create Settings Merchants List';
+$this->params['breadcrumbs'][] = ['label' => 'Settings Merchants Lists', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/settings-merchants-list/index.php b/backend/views/settings-merchants-list/index.php
new file mode 100644
index 0000000..28948d5
--- /dev/null
+++ b/backend/views/settings-merchants-list/index.php
@@ -0,0 +1,39 @@
+title = 'Settings Merchants Lists';
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+ render('_search', ['model' => $searchModel]); ?>
+
+
+ = Html::a('Create Settings Merchants List', ['create'], ['class' => 'btn btn-success']) ?>
+
+
+ = GridView::widget([
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ ['class' => 'yii\grid\SerialColumn'],
+
+ 'id',
+ 'name',
+ 'content:ntext',
+ 'sort',
+ 'is_active',
+ // 'mcode',
+
+ ['class' => 'yii\grid\ActionColumn'],
+ ],
+ ]); ?>
+
+
diff --git a/backend/views/settings-merchants-list/update.php b/backend/views/settings-merchants-list/update.php
new file mode 100644
index 0000000..45e282b
--- /dev/null
+++ b/backend/views/settings-merchants-list/update.php
@@ -0,0 +1,21 @@
+title = 'Update Settings Merchants List: ' . ' ' . $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Settings Merchants Lists', 'url' => ['index']];
+$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
+$this->params['breadcrumbs'][] = 'Update';
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/settings-merchants-list/view.php b/backend/views/settings-merchants-list/view.php
new file mode 100644
index 0000000..6a0504b
--- /dev/null
+++ b/backend/views/settings-merchants-list/view.php
@@ -0,0 +1,40 @@
+title = $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Settings Merchants Lists', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+
+ = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+ = Html::a('Delete', ['delete', 'id' => $model->id], [
+ 'class' => 'btn btn-danger',
+ 'data' => [
+ 'confirm' => 'Are you sure you want to delete this item?',
+ 'method' => 'post',
+ ],
+ ]) ?>
+
+
+ = DetailView::widget([
+ 'model' => $model,
+ 'attributes' => [
+ 'id',
+ 'name',
+ 'content:ntext',
+ 'sort',
+ 'is_active',
+ 'mcode',
+ ],
+ ]) ?>
+
+
diff --git a/backend/views/slider/_form.php b/backend/views/slider/_form.php
new file mode 100644
index 0000000..becf040
--- /dev/null
+++ b/backend/views/slider/_form.php
@@ -0,0 +1,31 @@
+
+
+
diff --git a/backend/views/slider/_search.php b/backend/views/slider/_search.php
new file mode 100644
index 0000000..e66650b
--- /dev/null
+++ b/backend/views/slider/_search.php
@@ -0,0 +1,37 @@
+
+
+
+
+ ['index'],
+ 'method' => 'get',
+ ]); ?>
+
+ = $form->field($model, 'id') ?>
+
+ = $form->field($model, 'name') ?>
+
+ = $form->field($model, 'img') ?>
+
+ = $form->field($model, 'url') ?>
+
+ = $form->field($model, 'is_active') ?>
+
+ field($model, 'sort') ?>
+
+
+ = Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
+ = Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
+
+
+
+
+
diff --git a/backend/views/slider/create.php b/backend/views/slider/create.php
new file mode 100644
index 0000000..b62e239
--- /dev/null
+++ b/backend/views/slider/create.php
@@ -0,0 +1,21 @@
+title = 'Create Slider';
+$this->params['breadcrumbs'][] = ['label' => 'Sliders', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/slider/index.php b/backend/views/slider/index.php
new file mode 100644
index 0000000..8438d49
--- /dev/null
+++ b/backend/views/slider/index.php
@@ -0,0 +1,39 @@
+title = 'Sliders';
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+ render('_search', ['model' => $searchModel]); ?>
+
+
+ = Html::a('Create Slider', ['create'], ['class' => 'btn btn-success']) ?>
+
+
+ = GridView::widget([
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ ['class' => 'yii\grid\SerialColumn'],
+
+ 'id',
+ 'name',
+ 'img',
+ 'url:url',
+ 'is_active',
+ // 'sort',
+
+ ['class' => 'yii\grid\ActionColumn'],
+ ],
+ ]); ?>
+
+
diff --git a/backend/views/slider/update.php b/backend/views/slider/update.php
new file mode 100644
index 0000000..1ddcccb
--- /dev/null
+++ b/backend/views/slider/update.php
@@ -0,0 +1,21 @@
+title = 'Update Slider: ' . ' ' . $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Sliders', 'url' => ['index']];
+$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
+$this->params['breadcrumbs'][] = 'Update';
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/slider/view.php b/backend/views/slider/view.php
new file mode 100644
index 0000000..5b2034b
--- /dev/null
+++ b/backend/views/slider/view.php
@@ -0,0 +1,40 @@
+title = $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Sliders', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+
+ = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+ = Html::a('Delete', ['delete', 'id' => $model->id], [
+ 'class' => 'btn btn-danger',
+ 'data' => [
+ 'confirm' => 'Are you sure you want to delete this item?',
+ 'method' => 'post',
+ ],
+ ]) ?>
+
+
+ = DetailView::widget([
+ 'model' => $model,
+ 'attributes' => [
+ 'id',
+ 'name',
+ 'img',
+ 'url:url',
+ 'is_active',
+ 'sort',
+ ],
+ ]) ?>
+
+
diff --git a/backend/views/team-group/_form.php b/backend/views/team-group/_form.php
new file mode 100644
index 0000000..96b2786
--- /dev/null
+++ b/backend/views/team-group/_form.php
@@ -0,0 +1,23 @@
+
+
+
diff --git a/backend/views/team-group/_search.php b/backend/views/team-group/_search.php
new file mode 100644
index 0000000..ecf2089
--- /dev/null
+++ b/backend/views/team-group/_search.php
@@ -0,0 +1,29 @@
+
+
+
+
+ ['index'],
+ 'method' => 'get',
+ ]); ?>
+
+ = $form->field($model, 'id') ?>
+
+ = $form->field($model, 'name') ?>
+
+
+ = Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
+ = Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
+
+
+
+
+
diff --git a/backend/views/team-group/create.php b/backend/views/team-group/create.php
new file mode 100644
index 0000000..44c6021
--- /dev/null
+++ b/backend/views/team-group/create.php
@@ -0,0 +1,21 @@
+title = 'Create Team Group';
+$this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/team-group/index.php b/backend/views/team-group/index.php
new file mode 100644
index 0000000..b70c9d4
--- /dev/null
+++ b/backend/views/team-group/index.php
@@ -0,0 +1,35 @@
+title = 'Team Groups';
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+ render('_search', ['model' => $searchModel]); ?>
+
+
+ = Html::a('Create Team Group', ['create'], ['class' => 'btn btn-success']) ?>
+
+
+ = GridView::widget([
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ ['class' => 'yii\grid\SerialColumn'],
+
+ 'id',
+ 'name',
+
+ ['class' => 'yii\grid\ActionColumn'],
+ ],
+ ]); ?>
+
+
diff --git a/backend/views/team-group/update.php b/backend/views/team-group/update.php
new file mode 100644
index 0000000..80b5e3c
--- /dev/null
+++ b/backend/views/team-group/update.php
@@ -0,0 +1,21 @@
+title = 'Update Team Group: ' . ' ' . $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']];
+$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
+$this->params['breadcrumbs'][] = 'Update';
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/team-group/view.php b/backend/views/team-group/view.php
new file mode 100644
index 0000000..ebc7826
--- /dev/null
+++ b/backend/views/team-group/view.php
@@ -0,0 +1,36 @@
+title = $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+
+ = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+ = Html::a('Delete', ['delete', 'id' => $model->id], [
+ 'class' => 'btn btn-danger',
+ 'data' => [
+ 'confirm' => 'Are you sure you want to delete this item?',
+ 'method' => 'post',
+ ],
+ ]) ?>
+
+
+ = DetailView::widget([
+ 'model' => $model,
+ 'attributes' => [
+ 'id',
+ 'name',
+ ],
+ ]) ?>
+
+
diff --git a/backend/views/team/_form.php b/backend/views/team/_form.php
new file mode 100644
index 0000000..3cb7cd2
--- /dev/null
+++ b/backend/views/team/_form.php
@@ -0,0 +1,35 @@
+
+
+
diff --git a/backend/views/team/_search.php b/backend/views/team/_search.php
new file mode 100644
index 0000000..78afc09
--- /dev/null
+++ b/backend/views/team/_search.php
@@ -0,0 +1,41 @@
+
+
+
+
+ ['index'],
+ 'method' => 'get',
+ ]); ?>
+
+ = $form->field($model, 'id') ?>
+
+ = $form->field($model, 'email') ?>
+
+ = $form->field($model, 'group_id') ?>
+
+ = $form->field($model, 'name') ?>
+
+ = $form->field($model, 'img') ?>
+
+ field($model, 'phone') ?>
+
+ field($model, 'skype') ?>
+
+ field($model, 'code') ?>
+
+
+ = Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
+ = Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
+
+
+
+
+
diff --git a/backend/views/team/create.php b/backend/views/team/create.php
new file mode 100644
index 0000000..fec65e1
--- /dev/null
+++ b/backend/views/team/create.php
@@ -0,0 +1,21 @@
+title = 'Create Team';
+$this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/team/index.php b/backend/views/team/index.php
new file mode 100644
index 0000000..d747c27
--- /dev/null
+++ b/backend/views/team/index.php
@@ -0,0 +1,41 @@
+title = 'Teams';
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+ render('_search', ['model' => $searchModel]); ?>
+
+
+ = Html::a('Create Team', ['create'], ['class' => 'btn btn-success']) ?>
+
+
+ = GridView::widget([
+ 'dataProvider' => $dataProvider,
+ 'filterModel' => $searchModel,
+ 'columns' => [
+ ['class' => 'yii\grid\SerialColumn'],
+
+ 'id',
+ 'email:email',
+ 'group_id',
+ 'name',
+ 'img',
+ // 'phone',
+ // 'skype',
+ // 'code',
+
+ ['class' => 'yii\grid\ActionColumn'],
+ ],
+ ]); ?>
+
+
diff --git a/backend/views/team/update.php b/backend/views/team/update.php
new file mode 100644
index 0000000..fa1858b
--- /dev/null
+++ b/backend/views/team/update.php
@@ -0,0 +1,21 @@
+title = 'Update Team: ' . ' ' . $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']];
+$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
+$this->params['breadcrumbs'][] = 'Update';
+?>
+
+
+
= Html::encode($this->title) ?>
+
+ = $this->render('_form', [
+ 'model' => $model,
+ ]) ?>
+
+
diff --git a/backend/views/team/view.php b/backend/views/team/view.php
new file mode 100644
index 0000000..f07327e
--- /dev/null
+++ b/backend/views/team/view.php
@@ -0,0 +1,42 @@
+title = $model->name;
+$this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']];
+$this->params['breadcrumbs'][] = $this->title;
+?>
+
+
+
= Html::encode($this->title) ?>
+
+
+ = Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+ = Html::a('Delete', ['delete', 'id' => $model->id], [
+ 'class' => 'btn btn-danger',
+ 'data' => [
+ 'confirm' => 'Are you sure you want to delete this item?',
+ 'method' => 'post',
+ ],
+ ]) ?>
+
+
+ = DetailView::widget([
+ 'model' => $model,
+ 'attributes' => [
+ 'id',
+ 'email:email',
+ 'group_id',
+ 'name',
+ 'img',
+ 'phone',
+ 'skype',
+ 'code',
+ ],
+ ]) ?>
+
+
diff --git a/common/models/Emails.php b/common/models/Emails.php
new file mode 100644
index 0000000..d4e621a
--- /dev/null
+++ b/common/models/Emails.php
@@ -0,0 +1,63 @@
+ 254],
+ [['to_email', 'from_email', 'from_name'], 'string', 'max' => 200],
+ [['who_comment'], 'string', 'max' => 50],
+ [['code'], 'unique']
+ ];
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function attributeLabels()
+ {
+ return [
+ 'id' => 'ID',
+ 'code' => 'Code',
+ 'name' => 'Name',
+ 'value' => 'Value',
+ 'to_email' => 'To Email',
+ 'from_email' => 'From Email',
+ 'from_name' => 'From Name',
+ 'done' => 'Done',
+ 'who_comment' => 'Who Comment',
+ ];
+ }
+}
diff --git a/common/models/EmailsSearch.php b/common/models/EmailsSearch.php
new file mode 100644
index 0000000..baa872d
--- /dev/null
+++ b/common/models/EmailsSearch.php
@@ -0,0 +1,73 @@
+ $query,
+ ]);
+
+ $this->load($params);
+
+ if (!$this->validate()) {
+ // uncomment the following line if you do not want to return any records when validation fails
+ // $query->where('0=1');
+ return $dataProvider;
+ }
+
+ $query->andFilterWhere([
+ 'id' => $this->id,
+ 'done' => $this->done,
+ ]);
+
+ $query->andFilterWhere(['like', 'code', $this->code])
+ ->andFilterWhere(['like', 'name', $this->name])
+ ->andFilterWhere(['like', 'value', $this->value])
+ ->andFilterWhere(['like', 'to_email', $this->to_email])
+ ->andFilterWhere(['like', 'from_email', $this->from_email])
+ ->andFilterWhere(['like', 'from_name', $this->from_name])
+ ->andFilterWhere(['like', 'who_comment', $this->who_comment]);
+
+ return $dataProvider;
+ }
+}
diff --git a/common/models/News.php b/common/models/News.php
new file mode 100644
index 0000000..ec2664a
--- /dev/null
+++ b/common/models/News.php
@@ -0,0 +1,72 @@
+ 254],
+ [['dt'], 'string', 'max' => 15],
+ [['code'], 'unique']
+ ];
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function attributeLabels()
+ {
+ return [
+ 'id' => 'ID',
+ 'name' => 'Name',
+ 'code' => 'Code',
+ 'brief' => 'Brief',
+ 'content' => 'Content',
+ 'sort_delete' => 'Sort Delete',
+ 'title' => 'Title',
+ 'kwords' => 'Kwords',
+ 'descr' => 'Descr',
+ 'dt' => 'Dt',
+ 'is_active' => 'Is Active',
+ 'mail_send' => 'Mail Send',
+ 'mails_count' => 'Mails Count',
+ 'img' => 'Img',
+ ];
+ }
+}
diff --git a/common/models/NewsSearch.php b/common/models/NewsSearch.php
new file mode 100644
index 0000000..70b389d
--- /dev/null
+++ b/common/models/NewsSearch.php
@@ -0,0 +1,78 @@
+ $query,
+ ]);
+
+ $this->load($params);
+
+ if (!$this->validate()) {
+ // uncomment the following line if you do not want to return any records when validation fails
+ // $query->where('0=1');
+ return $dataProvider;
+ }
+
+ $query->andFilterWhere([
+ 'id' => $this->id,
+ 'sort_delete' => $this->sort_delete,
+ 'is_active' => $this->is_active,
+ 'mail_send' => $this->mail_send,
+ 'mails_count' => $this->mails_count,
+ ]);
+
+ $query->andFilterWhere(['like', 'name', $this->name])
+ ->andFilterWhere(['like', 'code', $this->code])
+ ->andFilterWhere(['like', 'brief', $this->brief])
+ ->andFilterWhere(['like', 'content', $this->content])
+ ->andFilterWhere(['like', 'title', $this->title])
+ ->andFilterWhere(['like', 'kwords', $this->kwords])
+ ->andFilterWhere(['like', 'descr', $this->descr])
+ ->andFilterWhere(['like', 'dt', $this->dt])
+ ->andFilterWhere(['like', 'img', $this->img]);
+
+ return $dataProvider;
+ }
+}
diff --git a/common/models/Page.php b/common/models/Page.php
new file mode 100644
index 0000000..5290cf9
--- /dev/null
+++ b/common/models/Page.php
@@ -0,0 +1,64 @@
+ 100],
+ [['code'], 'string', 'max' => 50],
+ [['title', 'kwords', 'descr'], 'string', 'max' => 254],
+ [['name'], 'unique'],
+ [['code'], 'unique']
+ ];
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function attributeLabels()
+ {
+ return [
+ 'id' => 'ID',
+ 'name' => 'Name',
+ 'code' => 'Code',
+ 'content' => 'Content',
+ 'sort' => 'Sort',
+ 'title' => 'Title',
+ 'kwords' => 'Kwords',
+ 'descr' => 'Descr',
+ 'is_active' => 'Is Active',
+ ];
+ }
+}
diff --git a/common/models/PageSearch.php b/common/models/PageSearch.php
new file mode 100644
index 0000000..f482104
--- /dev/null
+++ b/common/models/PageSearch.php
@@ -0,0 +1,73 @@
+ $query,
+ ]);
+
+ $this->load($params);
+
+ if (!$this->validate()) {
+ // uncomment the following line if you do not want to return any records when validation fails
+ // $query->where('0=1');
+ return $dataProvider;
+ }
+
+ $query->andFilterWhere([
+ 'id' => $this->id,
+ 'sort' => $this->sort,
+ 'is_active' => $this->is_active,
+ ]);
+
+ $query->andFilterWhere(['like', 'name', $this->name])
+ ->andFilterWhere(['like', 'code', $this->code])
+ ->andFilterWhere(['like', 'content', $this->content])
+ ->andFilterWhere(['like', 'title', $this->title])
+ ->andFilterWhere(['like', 'kwords', $this->kwords])
+ ->andFilterWhere(['like', 'descr', $this->descr]);
+
+ return $dataProvider;
+ }
+}
diff --git a/common/models/Partners.php b/common/models/Partners.php
new file mode 100644
index 0000000..cca7753
--- /dev/null
+++ b/common/models/Partners.php
@@ -0,0 +1,52 @@
+ 100],
+ [['name'], 'unique']
+ ];
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function attributeLabels()
+ {
+ return [
+ 'id' => 'ID',
+ 'name' => 'Name',
+ 'url' => 'Url',
+ 'img' => 'Img',
+ 'sort' => 'Sort',
+ ];
+ }
+}
diff --git a/common/models/PartnersSearch.php b/common/models/PartnersSearch.php
new file mode 100644
index 0000000..12ecb6e
--- /dev/null
+++ b/common/models/PartnersSearch.php
@@ -0,0 +1,69 @@
+ $query,
+ ]);
+
+ $this->load($params);
+
+ if (!$this->validate()) {
+ // uncomment the following line if you do not want to return any records when validation fails
+ // $query->where('0=1');
+ return $dataProvider;
+ }
+
+ $query->andFilterWhere([
+ 'id' => $this->id,
+ 'sort' => $this->sort,
+ ]);
+
+ $query->andFilterWhere(['like', 'name', $this->name])
+ ->andFilterWhere(['like', 'url', $this->url])
+ ->andFilterWhere(['like', 'img', $this->img]);
+
+ return $dataProvider;
+ }
+}
diff --git a/common/models/PayMessages.php b/common/models/PayMessages.php
new file mode 100644
index 0000000..5428809
--- /dev/null
+++ b/common/models/PayMessages.php
@@ -0,0 +1,53 @@
+ 255],
+ [['dt'], 'string', 'max' => 15]
+ ];
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function attributeLabels()
+ {
+ return [
+ 'id' => 'ID',
+ 'subject' => 'Subject',
+ 'message' => 'Message',
+ 'dt' => 'Dt',
+ 'user_id' => 'User ID',
+ ];
+ }
+}
diff --git a/common/models/PayMessagesSearch.php b/common/models/PayMessagesSearch.php
new file mode 100644
index 0000000..3da910c
--- /dev/null
+++ b/common/models/PayMessagesSearch.php
@@ -0,0 +1,69 @@
+ $query,
+ ]);
+
+ $this->load($params);
+
+ if (!$this->validate()) {
+ // uncomment the following line if you do not want to return any records when validation fails
+ // $query->where('0=1');
+ return $dataProvider;
+ }
+
+ $query->andFilterWhere([
+ 'id' => $this->id,
+ 'user_id' => $this->user_id,
+ ]);
+
+ $query->andFilterWhere(['like', 'subject', $this->subject])
+ ->andFilterWhere(['like', 'message', $this->message])
+ ->andFilterWhere(['like', 'dt', $this->dt]);
+
+ return $dataProvider;
+ }
+}
diff --git a/common/models/PriceMailing.php b/common/models/PriceMailing.php
new file mode 100644
index 0000000..09206a4
--- /dev/null
+++ b/common/models/PriceMailing.php
@@ -0,0 +1,49 @@
+ 254]
+ ];
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function attributeLabels()
+ {
+ return [
+ 'id' => 'ID',
+ 'name' => 'Name',
+ 'email' => 'Email',
+ 'price_id' => 'Price ID',
+ ];
+ }
+}
diff --git a/common/models/PriceMailingSearch.php b/common/models/PriceMailingSearch.php
new file mode 100644
index 0000000..83af056
--- /dev/null
+++ b/common/models/PriceMailingSearch.php
@@ -0,0 +1,68 @@
+ $query,
+ ]);
+
+ $this->load($params);
+
+ if (!$this->validate()) {
+ // uncomment the following line if you do not want to return any records when validation fails
+ // $query->where('0=1');
+ return $dataProvider;
+ }
+
+ $query->andFilterWhere([
+ 'id' => $this->id,
+ 'price_id' => $this->price_id,
+ ]);
+
+ $query->andFilterWhere(['like', 'name', $this->name])
+ ->andFilterWhere(['like', 'email', $this->email]);
+
+ return $dataProvider;
+ }
+}
diff --git a/common/models/SettingsMerchantsList.php b/common/models/SettingsMerchantsList.php
new file mode 100644
index 0000000..2386f7b
--- /dev/null
+++ b/common/models/SettingsMerchantsList.php
@@ -0,0 +1,55 @@
+ 1000],
+ [['mcode'], 'string', 'max' => 255]
+ ];
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function attributeLabels()
+ {
+ return [
+ 'id' => 'ID',
+ 'name' => 'Name',
+ 'content' => 'Content',
+ 'sort' => 'Sort',
+ 'is_active' => 'Is Active',
+ 'mcode' => 'Mcode',
+ ];
+ }
+}
diff --git a/common/models/SettingsMerchantsListSearch.php b/common/models/SettingsMerchantsListSearch.php
new file mode 100644
index 0000000..8939eb0
--- /dev/null
+++ b/common/models/SettingsMerchantsListSearch.php
@@ -0,0 +1,70 @@
+ $query,
+ ]);
+
+ $this->load($params);
+
+ if (!$this->validate()) {
+ // uncomment the following line if you do not want to return any records when validation fails
+ // $query->where('0=1');
+ return $dataProvider;
+ }
+
+ $query->andFilterWhere([
+ 'id' => $this->id,
+ 'sort' => $this->sort,
+ 'is_active' => $this->is_active,
+ ]);
+
+ $query->andFilterWhere(['like', 'name', $this->name])
+ ->andFilterWhere(['like', 'content', $this->content])
+ ->andFilterWhere(['like', 'mcode', $this->mcode]);
+
+ return $dataProvider;
+ }
+}
diff --git a/common/models/Slider.php b/common/models/Slider.php
new file mode 100644
index 0000000..aa765c5
--- /dev/null
+++ b/common/models/Slider.php
@@ -0,0 +1,54 @@
+ 100],
+ [['img', 'url'], 'string', 'max' => 254]
+ ];
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function attributeLabels()
+ {
+ return [
+ 'id' => 'ID',
+ 'name' => 'Name',
+ 'img' => 'Img',
+ 'url' => 'Url',
+ 'is_active' => 'Is Active',
+ 'sort' => 'Sort',
+ ];
+ }
+}
diff --git a/common/models/SliderSearch.php b/common/models/SliderSearch.php
new file mode 100644
index 0000000..f692ba3
--- /dev/null
+++ b/common/models/SliderSearch.php
@@ -0,0 +1,70 @@
+ $query,
+ ]);
+
+ $this->load($params);
+
+ if (!$this->validate()) {
+ // uncomment the following line if you do not want to return any records when validation fails
+ // $query->where('0=1');
+ return $dataProvider;
+ }
+
+ $query->andFilterWhere([
+ 'id' => $this->id,
+ 'is_active' => $this->is_active,
+ 'sort' => $this->sort,
+ ]);
+
+ $query->andFilterWhere(['like', 'name', $this->name])
+ ->andFilterWhere(['like', 'img', $this->img])
+ ->andFilterWhere(['like', 'url', $this->url]);
+
+ return $dataProvider;
+ }
+}
diff --git a/common/models/Team.php b/common/models/Team.php
new file mode 100644
index 0000000..0f0db23
--- /dev/null
+++ b/common/models/Team.php
@@ -0,0 +1,57 @@
+ 255]
+ ];
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function attributeLabels()
+ {
+ return [
+ 'id' => 'ID',
+ 'email' => 'Email',
+ 'group_id' => 'Group ID',
+ 'name' => 'Name',
+ 'img' => 'Img',
+ 'phone' => 'Phone',
+ 'skype' => 'Skype',
+ 'code' => 'Code',
+ ];
+ }
+}
diff --git a/common/models/TeamGroup.php b/common/models/TeamGroup.php
new file mode 100644
index 0000000..a33c8be
--- /dev/null
+++ b/common/models/TeamGroup.php
@@ -0,0 +1,44 @@
+ 255]
+ ];
+ }
+
+ /**
+ * @inheritdoc
+ */
+ public function attributeLabels()
+ {
+ return [
+ 'id' => 'ID',
+ 'name' => 'Name',
+ ];
+ }
+}
diff --git a/common/models/TeamGroupSearch.php b/common/models/TeamGroupSearch.php
new file mode 100644
index 0000000..ebf7882
--- /dev/null
+++ b/common/models/TeamGroupSearch.php
@@ -0,0 +1,66 @@
+ $query,
+ ]);
+
+ $this->load($params);
+
+ if (!$this->validate()) {
+ // uncomment the following line if you do not want to return any records when validation fails
+ // $query->where('0=1');
+ return $dataProvider;
+ }
+
+ $query->andFilterWhere([
+ 'id' => $this->id,
+ ]);
+
+ $query->andFilterWhere(['like', 'name', $this->name]);
+
+ return $dataProvider;
+ }
+}
diff --git a/common/models/TeamSearch.php b/common/models/TeamSearch.php
new file mode 100644
index 0000000..1f6e67d
--- /dev/null
+++ b/common/models/TeamSearch.php
@@ -0,0 +1,72 @@
+ $query,
+ ]);
+
+ $this->load($params);
+
+ if (!$this->validate()) {
+ // uncomment the following line if you do not want to return any records when validation fails
+ // $query->where('0=1');
+ return $dataProvider;
+ }
+
+ $query->andFilterWhere([
+ 'id' => $this->id,
+ 'group_id' => $this->group_id,
+ ]);
+
+ $query->andFilterWhere(['like', 'email', $this->email])
+ ->andFilterWhere(['like', 'name', $this->name])
+ ->andFilterWhere(['like', 'img', $this->img])
+ ->andFilterWhere(['like', 'phone', $this->phone])
+ ->andFilterWhere(['like', 'skype', $this->skype])
+ ->andFilterWhere(['like', 'code', $this->code]);
+
+ return $dataProvider;
+ }
+}
diff --git a/storage/1e54f0824124e8e01fe53f6cd24aa278/200x200.png b/storage/1e54f0824124e8e01fe53f6cd24aa278/200x200.png
new file mode 100644
index 0000000..729713e
Binary files /dev/null and b/storage/1e54f0824124e8e01fe53f6cd24aa278/200x200.png differ
diff --git a/storage/1e54f0824124e8e01fe53f6cd24aa278/original.png b/storage/1e54f0824124e8e01fe53f6cd24aa278/original.png
new file mode 100644
index 0000000..d2a1918
Binary files /dev/null and b/storage/1e54f0824124e8e01fe53f6cd24aa278/original.png differ
diff --git a/storage/40303fdd44b5ef0b7e91d160b0685a77/200x200.png b/storage/40303fdd44b5ef0b7e91d160b0685a77/200x200.png
new file mode 100644
index 0000000..d010d46
Binary files /dev/null and b/storage/40303fdd44b5ef0b7e91d160b0685a77/200x200.png differ
diff --git a/storage/40303fdd44b5ef0b7e91d160b0685a77/original.png b/storage/40303fdd44b5ef0b7e91d160b0685a77/original.png
new file mode 100644
index 0000000..e30c0e7
Binary files /dev/null and b/storage/40303fdd44b5ef0b7e91d160b0685a77/original.png differ
diff --git a/storage/4a94428188ea08e7689af186d8bf0c31/200x200.png b/storage/4a94428188ea08e7689af186d8bf0c31/200x200.png
new file mode 100644
index 0000000..cc0ac97
Binary files /dev/null and b/storage/4a94428188ea08e7689af186d8bf0c31/200x200.png differ
diff --git a/storage/4a94428188ea08e7689af186d8bf0c31/original.png b/storage/4a94428188ea08e7689af186d8bf0c31/original.png
new file mode 100644
index 0000000..35803ea
Binary files /dev/null and b/storage/4a94428188ea08e7689af186d8bf0c31/original.png differ
diff --git a/storage/7160cae25ca4674697274dc288200ea1/200x200.png b/storage/7160cae25ca4674697274dc288200ea1/200x200.png
new file mode 100644
index 0000000..b22c440
Binary files /dev/null and b/storage/7160cae25ca4674697274dc288200ea1/200x200.png differ
diff --git a/storage/7160cae25ca4674697274dc288200ea1/original.png b/storage/7160cae25ca4674697274dc288200ea1/original.png
new file mode 100644
index 0000000..5732d01
Binary files /dev/null and b/storage/7160cae25ca4674697274dc288200ea1/original.png differ
diff --git a/storage/84f933764827939b158a42cbbbbb2170/200x200.png b/storage/84f933764827939b158a42cbbbbb2170/200x200.png
new file mode 100644
index 0000000..db29b0f
Binary files /dev/null and b/storage/84f933764827939b158a42cbbbbb2170/200x200.png differ
diff --git a/storage/84f933764827939b158a42cbbbbb2170/original.png b/storage/84f933764827939b158a42cbbbbb2170/original.png
new file mode 100644
index 0000000..774be62
Binary files /dev/null and b/storage/84f933764827939b158a42cbbbbb2170/original.png differ
diff --git a/storage/cb32318e7f1ef8e5dea0090346f3e511/200x200.png b/storage/cb32318e7f1ef8e5dea0090346f3e511/200x200.png
new file mode 100644
index 0000000..093c08e
Binary files /dev/null and b/storage/cb32318e7f1ef8e5dea0090346f3e511/200x200.png differ
diff --git a/storage/cb32318e7f1ef8e5dea0090346f3e511/original.png b/storage/cb32318e7f1ef8e5dea0090346f3e511/original.png
new file mode 100644
index 0000000..def5e48
Binary files /dev/null and b/storage/cb32318e7f1ef8e5dea0090346f3e511/original.png differ
diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php
index 5e1469e..4e05d3b 100644
--- a/vendor/composer/ClassLoader.php
+++ b/vendor/composer/ClassLoader.php
@@ -351,7 +351,7 @@ class ClassLoader
foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
if (0 === strpos($class, $prefix)) {
foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
+ if (is_file($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
return $file;
}
}
@@ -361,7 +361,7 @@ class ClassLoader
// PSR-4 fallback dirs
foreach ($this->fallbackDirsPsr4 as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
+ if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
return $file;
}
}
@@ -380,7 +380,7 @@ class ClassLoader
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
if (0 === strpos($class, $prefix)) {
foreach ($dirs as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
+ if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
@@ -390,7 +390,7 @@ class ClassLoader
// PSR-0 fallback dirs
foreach ($this->fallbackDirsPsr0 as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
+ if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index da660d5..4c35a06 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -1064,7 +1064,7 @@
},
"time": "2015-10-28 09:28:22",
"type": "library",
- "installation-source": "dist",
+ "installation-source": "source",
"autoload": {
"psr-4": {
"yii\\multiparser\\": "lib\\"
@@ -1140,29 +1140,26 @@
]
},
{
- "name": "kartik-v/yii2-widget-datepicker",
- "version": "v1.3.3",
- "version_normalized": "1.3.3.0",
+ "name": "kartik-v/php-date-formatter",
+ "version": "v1.3.1",
+ "version_normalized": "1.3.1.0",
"source": {
"type": "git",
- "url": "https://github.com/kartik-v/yii2-widget-datepicker.git",
- "reference": "368b181ef658c05707fe41dd16eee4d9ffd9da38"
+ "url": "https://github.com/kartik-v/php-date-formatter.git",
+ "reference": "7d3dc3495dd10bd1909c0dfdecd673967019cc21"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/kartik-v/yii2-widget-datepicker/zipball/368b181ef658c05707fe41dd16eee4d9ffd9da38",
- "reference": "368b181ef658c05707fe41dd16eee4d9ffd9da38",
+ "url": "https://api.github.com/repos/kartik-v/php-date-formatter/zipball/7d3dc3495dd10bd1909c0dfdecd673967019cc21",
+ "reference": "7d3dc3495dd10bd1909c0dfdecd673967019cc21",
"shasum": ""
},
- "require": {
- "kartik-v/yii2-krajee-base": "~1.7"
- },
- "time": "2015-07-19 04:49:03",
- "type": "yii2-extension",
+ "time": "2015-06-18 15:14:51",
+ "type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
- "kartik\\date\\": ""
+ "kartik\\plugins\\dateformatter\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1176,49 +1173,49 @@
"homepage": "http://www.krajee.com/"
}
],
- "description": "Enhanced Yii2 wrapper for the bootstrap datepicker plugin (sub repo split from yii2-widgets).",
- "homepage": "https://github.com/kartik-v/yii2-widget-datepicker",
+ "description": "A JQuery datetime formatting and manipulation library using PHP date-time formats in javascript.",
+ "homepage": "https://github.com/kartik-v/php-date-formatter",
"keywords": [
"date",
- "extension",
- "form",
+ "datetime",
+ "formatter",
+ "javascript",
"jquery",
- "picker",
- "plugin",
- "select2",
- "widget",
- "yii2"
+ "php",
+ "php-date-formatter.js",
+ "time"
]
},
{
- "name": "kartik-v/yii2-field-range",
- "version": "v1.3.0",
- "version_normalized": "1.3.0.0",
+ "name": "kartik-v/yii2-datecontrol",
+ "version": "dev-master",
+ "version_normalized": "9999999-dev",
"source": {
"type": "git",
- "url": "https://github.com/kartik-v/yii2-field-range.git",
- "reference": "095d260eecb86ff2e78a70775011cec00a75df98"
+ "url": "https://github.com/kartik-v/yii2-datecontrol.git",
+ "reference": "4e858b5cd38130c37739b2f582b66a044f77c95c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/kartik-v/yii2-field-range/zipball/095d260eecb86ff2e78a70775011cec00a75df98",
- "reference": "095d260eecb86ff2e78a70775011cec00a75df98",
+ "url": "https://api.github.com/repos/kartik-v/yii2-datecontrol/zipball/4e858b5cd38130c37739b2f582b66a044f77c95c",
+ "reference": "4e858b5cd38130c37739b2f582b66a044f77c95c",
"shasum": ""
},
"require": {
- "kartik-v/yii2-krajee-base": "*"
+ "kartik-v/php-date-formatter": ">1.3",
+ "kartik-v/yii2-krajee-base": "~1.7"
},
- "time": "2014-11-25 08:52:00",
+ "time": "2015-07-30 18:30:18",
"type": "yii2-extension",
- "installation-source": "dist",
+ "installation-source": "source",
"autoload": {
"psr-4": {
- "kartik\\field\\": ""
+ "kartik\\datecontrol\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "BSD 3-Clause"
+ "BSD-3-Clause"
],
"authors": [
{
@@ -1227,48 +1224,46 @@
"homepage": "http://www.krajee.com/"
}
],
- "description": "Easily manage Yii 2 ActiveField ranges (from/to) with Bootstrap 3 addons markup and more",
- "homepage": "https://github.com/kartik-v/yii2-field-range",
+ "description": "Date control module allowing separation of formats for View and Model for Yii Framework 2.0",
+ "homepage": "https://github.com/kartik-v/yii2-datecontrol",
"keywords": [
- "addon",
- "bootstrap",
- "bootstrap 3",
+ "control",
"date",
"extension",
- "field-range",
- "from",
- "range",
- "to",
- "widget",
+ "format",
+ "yii",
"yii2"
]
},
{
- "name": "kartik-v/php-date-formatter",
- "version": "v1.3.1",
- "version_normalized": "1.3.1.0",
+ "name": "kartik-v/yii2-field-range",
+ "version": "v1.3.0",
+ "version_normalized": "1.3.0.0",
"source": {
"type": "git",
- "url": "https://github.com/kartik-v/php-date-formatter.git",
- "reference": "7d3dc3495dd10bd1909c0dfdecd673967019cc21"
+ "url": "https://github.com/kartik-v/yii2-field-range.git",
+ "reference": "095d260eecb86ff2e78a70775011cec00a75df98"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/kartik-v/php-date-formatter/zipball/7d3dc3495dd10bd1909c0dfdecd673967019cc21",
- "reference": "7d3dc3495dd10bd1909c0dfdecd673967019cc21",
+ "url": "https://api.github.com/repos/kartik-v/yii2-field-range/zipball/095d260eecb86ff2e78a70775011cec00a75df98",
+ "reference": "095d260eecb86ff2e78a70775011cec00a75df98",
"shasum": ""
},
- "time": "2015-06-18 15:14:51",
- "type": "library",
+ "require": {
+ "kartik-v/yii2-krajee-base": "*"
+ },
+ "time": "2014-11-25 08:52:00",
+ "type": "yii2-extension",
"installation-source": "dist",
"autoload": {
"psr-4": {
- "kartik\\plugins\\dateformatter\\": ""
+ "kartik\\field\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "BSD-3-Clause"
+ "BSD 3-Clause"
],
"authors": [
{
@@ -1277,44 +1272,46 @@
"homepage": "http://www.krajee.com/"
}
],
- "description": "A JQuery datetime formatting and manipulation library using PHP date-time formats in javascript.",
- "homepage": "https://github.com/kartik-v/php-date-formatter",
+ "description": "Easily manage Yii 2 ActiveField ranges (from/to) with Bootstrap 3 addons markup and more",
+ "homepage": "https://github.com/kartik-v/yii2-field-range",
"keywords": [
+ "addon",
+ "bootstrap",
+ "bootstrap 3",
"date",
- "datetime",
- "formatter",
- "javascript",
- "jquery",
- "php",
- "php-date-formatter.js",
- "time"
+ "extension",
+ "field-range",
+ "from",
+ "range",
+ "to",
+ "widget",
+ "yii2"
]
},
{
- "name": "kartik-v/yii2-datecontrol",
- "version": "dev-master",
- "version_normalized": "9999999-dev",
+ "name": "kartik-v/yii2-widget-datepicker",
+ "version": "v1.3.3",
+ "version_normalized": "1.3.3.0",
"source": {
"type": "git",
- "url": "https://github.com/kartik-v/yii2-datecontrol.git",
- "reference": "4e858b5cd38130c37739b2f582b66a044f77c95c"
+ "url": "https://github.com/kartik-v/yii2-widget-datepicker.git",
+ "reference": "368b181ef658c05707fe41dd16eee4d9ffd9da38"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/kartik-v/yii2-datecontrol/zipball/4e858b5cd38130c37739b2f582b66a044f77c95c",
- "reference": "4e858b5cd38130c37739b2f582b66a044f77c95c",
+ "url": "https://api.github.com/repos/kartik-v/yii2-widget-datepicker/zipball/368b181ef658c05707fe41dd16eee4d9ffd9da38",
+ "reference": "368b181ef658c05707fe41dd16eee4d9ffd9da38",
"shasum": ""
},
"require": {
- "kartik-v/php-date-formatter": ">1.3",
"kartik-v/yii2-krajee-base": "~1.7"
},
- "time": "2015-07-30 18:30:18",
+ "time": "2015-07-19 04:49:03",
"type": "yii2-extension",
"installation-source": "dist",
"autoload": {
"psr-4": {
- "kartik\\datecontrol\\": ""
+ "kartik\\date\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1328,14 +1325,17 @@
"homepage": "http://www.krajee.com/"
}
],
- "description": "Date control module allowing separation of formats for View and Model for Yii Framework 2.0",
- "homepage": "https://github.com/kartik-v/yii2-datecontrol",
+ "description": "Enhanced Yii2 wrapper for the bootstrap datepicker plugin (sub repo split from yii2-widgets).",
+ "homepage": "https://github.com/kartik-v/yii2-widget-datepicker",
"keywords": [
- "control",
"date",
"extension",
- "format",
- "yii",
+ "form",
+ "jquery",
+ "picker",
+ "plugin",
+ "select2",
+ "widget",
"yii2"
]
}
--
libgit2 0.21.4