Commit 7fc05ac5ffbd097e7db61a9b2e8792e82b320279
1 parent
c3ab6536
test
Showing
31 changed files
with
1750 additions
and
1366 deletions
Show diff stats
common/config/main-local.php
| ... | ... | @@ -3,9 +3,9 @@ return [ |
| 3 | 3 | 'components' => [ |
| 4 | 4 | 'db' => [ |
| 5 | 5 | 'class' => 'yii\db\Connection', |
| 6 | - 'dsn' => 'pgsql:host=195.248.225.149;port=5432;dbname=mfp', | |
| 7 | - 'username' => 'test33', | |
| 8 | - 'password' => 'E4q2N7i9', | |
| 6 | + 'dsn' => 'pgsql:host=127.0.0.1;port=5432;dbname=mfp_local', | |
| 7 | + 'username' => 'postgres', | |
| 8 | + 'password' => '', | |
| 9 | 9 | 'schemaMap' => [ |
| 10 | 10 | 'pgsql'=> [ |
| 11 | 11 | 'class'=>'yii\db\pgsql\Schema', | ... | ... |
frontend/controllers/AccountsController.php
| ... | ... | @@ -27,7 +27,7 @@ class AccountsController extends Controller |
| 27 | 27 | 'class' => AccessControl::className(), |
| 28 | 28 | 'rules' => [ |
| 29 | 29 | [ |
| 30 | - 'actions' => ['cabinet','change-password', 'bookmarks'], | |
| 30 | + 'actions' => ['cabinet','change-password', 'bookmarks', 'projects'], | |
| 31 | 31 | 'allow' => true, |
| 32 | 32 | 'roles' => ['@'], |
| 33 | 33 | ], |
| ... | ... | @@ -89,5 +89,9 @@ class AccountsController extends Controller |
| 89 | 89 | } |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | + public function actionProjects() | |
| 93 | + { | |
| 94 | + return $this->render('projects'); | |
| 95 | + } | |
| 92 | 96 | |
| 93 | 97 | } | ... | ... |
frontend/controllers/CompanyController.php
frontend/controllers/ProfileController.php deleted
| 1 | -<?php | |
| 2 | -namespace frontend\controllers; | |
| 3 | - | |
| 4 | -use Yii; | |
| 5 | -use common\models\LoginForm; | |
| 6 | -use frontend\models\PasswordResetRequestForm; | |
| 7 | -use frontend\models\ResetPasswordForm; | |
| 8 | -use frontend\models\SignupForm; | |
| 9 | -use frontend\models\ContactForm; | |
| 10 | -use frontend\models\Options; | |
| 11 | -use frontend\models\OptionValues; | |
| 12 | -use yii\base\InvalidParamException; | |
| 13 | -use yii\web\BadRequestHttpException; | |
| 14 | -use yii\web\Controller; | |
| 15 | -use yii\filters\VerbFilter; | |
| 16 | -use yii\filters\AccessControl; | |
| 17 | -use frontend\models\OptionsToValues; | |
| 18 | -use yii\validators\EmailValidator; | |
| 19 | -use common\models\User; | |
| 20 | -use yii\helpers\VarDumper; | |
| 21 | -use common\models\Page; | |
| 22 | -use frontend\models\Option; | |
| 23 | -use common\models\Social; | |
| 24 | - | |
| 25 | - | |
| 26 | -/** | |
| 27 | - * Site controller | |
| 28 | - */ | |
| 29 | -class ProfileController extends Controller | |
| 30 | -{ | |
| 31 | - public $defaultAction = 'search'; | |
| 32 | - /** | |
| 33 | - * @inheritdoc | |
| 34 | - */ | |
| 35 | - public function actions() | |
| 36 | - { | |
| 37 | - return [ | |
| 38 | - 'error' => [ | |
| 39 | - 'class' => 'yii\web\ErrorAction', | |
| 40 | - ], | |
| 41 | - 'captcha' => [ | |
| 42 | - 'class' => 'yii\captcha\CaptchaAction', | |
| 43 | - 'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null, | |
| 44 | - ], | |
| 45 | - ]; | |
| 46 | - } | |
| 47 | - | |
| 48 | - /** | |
| 49 | - * Displays homepage. | |
| 50 | - * | |
| 51 | - * @return mixed | |
| 52 | - */ | |
| 53 | - public function actionSearch() | |
| 54 | - { | |
| 55 | - return $this->render('search'); | |
| 56 | - } | |
| 57 | - | |
| 58 | -} |
frontend/controllers/SearchController.php
frontend/controllers/SiteController.php
| ... | ... | @@ -172,34 +172,6 @@ class SiteController extends Controller |
| 172 | 172 | |
| 173 | 173 | return $this->goHome(); |
| 174 | 174 | } |
| 175 | - | |
| 176 | - /** | |
| 177 | - * Displays contact page. | |
| 178 | - * | |
| 179 | - * @return mixed | |
| 180 | - */ | |
| 181 | - public function actionContact() | |
| 182 | - { | |
| 183 | - Yii::$app->user->logout(); | |
| 184 | - $identity = Yii::$app->getUser()->getIdentity(); | |
| 185 | - var_dump($identity[profile]); | |
| 186 | - | |
| 187 | - | |
| 188 | - $model = new ContactForm(); | |
| 189 | - if ($model->load(Yii::$app->request->post()) && $model->validate()) { | |
| 190 | - if ($model->sendEmail(Yii::$app->params['adminEmail'])) { | |
| 191 | - Yii::$app->session->setFlash('success', 'Thank you for contacting us. We will respond to you as soon as possible.'); | |
| 192 | - } else { | |
| 193 | - Yii::$app->session->setFlash('error', 'There was an error sending email.'); | |
| 194 | - } | |
| 195 | - | |
| 196 | - return $this->refresh(); | |
| 197 | - } else { | |
| 198 | - return $this->render('contact', [ | |
| 199 | - 'model' => $model, | |
| 200 | - ]); | |
| 201 | - } | |
| 202 | - } | |
| 203 | 175 | |
| 204 | 176 | /** |
| 205 | 177 | * Signs user up. | ... | ... |
frontend/controllers/TenderController.php
| ... | ... | @@ -50,7 +50,7 @@ class TenderController extends Controller |
| 50 | 50 | */ |
| 51 | 51 | public function actionIndex() |
| 52 | 52 | { |
| 53 | - return $this->render('index'); | |
| 53 | + return $this->redirect(['search/project']); | |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | public function actionView(/*$tender_id*/) |
| ... | ... | @@ -58,9 +58,4 @@ class TenderController extends Controller |
| 58 | 58 | return $this->render('view'); |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - public function actionSearch() | |
| 62 | - { | |
| 63 | - return $this->render('search'); | |
| 64 | - } | |
| 65 | - | |
| 66 | 61 | } | ... | ... |
frontend/controllers/VacancyController.php deleted
| 1 | -<?php | |
| 2 | -namespace frontend\controllers; | |
| 3 | - | |
| 4 | -use Yii; | |
| 5 | -use common\models\LoginForm; | |
| 6 | -use frontend\models\PasswordResetRequestForm; | |
| 7 | -use frontend\models\ResetPasswordForm; | |
| 8 | -use frontend\models\SignupForm; | |
| 9 | -use frontend\models\ContactForm; | |
| 10 | -use frontend\models\Options; | |
| 11 | -use frontend\models\OptionValues; | |
| 12 | -use yii\base\InvalidParamException; | |
| 13 | -use yii\web\BadRequestHttpException; | |
| 14 | -use yii\web\Controller; | |
| 15 | -use yii\filters\VerbFilter; | |
| 16 | -use yii\filters\AccessControl; | |
| 17 | -use frontend\models\OptionsToValues; | |
| 18 | -use yii\validators\EmailValidator; | |
| 19 | -use common\models\User; | |
| 20 | -use yii\helpers\VarDumper; | |
| 21 | -use common\models\Page; | |
| 22 | -use frontend\models\Option; | |
| 23 | -use common\models\Social; | |
| 24 | - | |
| 25 | - | |
| 26 | -/** | |
| 27 | - * Site controller | |
| 28 | - */ | |
| 29 | -class VacancyController extends Controller | |
| 30 | -{ | |
| 31 | - public $defaultAction = 'search'; | |
| 32 | - /** | |
| 33 | - * @inheritdoc | |
| 34 | - */ | |
| 35 | - public function actions() | |
| 36 | - { | |
| 37 | - return [ | |
| 38 | - 'error' => [ | |
| 39 | - 'class' => 'yii\web\ErrorAction', | |
| 40 | - ], | |
| 41 | - 'captcha' => [ | |
| 42 | - 'class' => 'yii\captcha\CaptchaAction', | |
| 43 | - 'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null, | |
| 44 | - ], | |
| 45 | - ]; | |
| 46 | - } | |
| 47 | - /** | |
| 48 | - * Displays homepage. | |
| 49 | - * | |
| 50 | - * @return mixed | |
| 51 | - */ | |
| 52 | - public function actionSearch() | |
| 53 | - { | |
| 54 | - return $this->render('search'); | |
| 55 | - } | |
| 56 | - | |
| 57 | -} |
| 1 | +<?php | |
| 2 | + use common\models\Option; | |
| 3 | + | |
| 4 | + $this->title = 'ะะพะน ะฟัะพัะธะปั'; | |
| 5 | +$this->params['breadcrumbs'][] = $this->title; | |
| 6 | +?> | |
| 7 | +<div class="section-box content"> | |
| 8 | + <div class="section-box-22"> | |
| 9 | + <div class="box-wr"> | |
| 10 | + <div class="box-all"> | |
| 11 | + | |
| 12 | + <div class="left-proektant-cabinet"> | |
| 13 | + <div class="left-proektant-cabinet-title style">ะัะพะตะบัั ะฒ ะบะฐะฑะธะฝะตัะต</div> | |
| 14 | + <ul class="cabinet-list style"> | |
| 15 | + <li> | |
| 16 | + <img src="/images/cabinet/ico-1.png" alt=""/> | |
| 17 | + <span>ะะต ะพะฟัะตะดะตะปะตะฝ </span>17 | |
| 18 | + </li> | |
| 19 | + <li> | |
| 20 | + <img src="/images/cabinet/ico-2.png" alt=""/> | |
| 21 | + <span>ะะฐะฝะดะธะดะฐั </span>0 | |
| 22 | + </li> | |
| 23 | + <li> | |
| 24 | + <img src="/images/cabinet/ico-3.png" alt=""/> | |
| 25 | + <span>ะัะฟะพะปะฝะธัะตะปั </span>0 | |
| 26 | + </li> | |
| 27 | + <li> | |
| 28 | + <img src="/images/cabinet/ico-4.png" alt=""/> | |
| 29 | + <span>ะัะบะฐะทะฐะปะธ </span>0 | |
| 30 | + </li> | |
| 31 | + <li> | |
| 32 | + <span>ะะพัะทะธะฝะฐ </span>7 | |
| 33 | + </li> | |
| 34 | + </ul> | |
| 35 | + <div class="style"> | |
| 36 | + <div class="search-profile-blocks"> | |
| 37 | + <div class="left-left-proektant-cabinet"> | |
| 38 | + <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 39 | + <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 40 | + | |
| 41 | + <div class="srch-prof-text"> | |
| 42 | + <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 43 | + <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 44 | + </div> | |
| 45 | + <div class="srch-prof-params-wr"> | |
| 46 | + <div class="srch-prof-params srch-prof-params-city"> | |
| 47 | + <img src="/images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 48 | + </div> | |
| 49 | + <div class="srch-prof-params srch-prof-params-clock"> | |
| 50 | + <img src="/images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 51 | + </div> | |
| 52 | + <div class="srch-prof-params srch-prof-params-comm"> | |
| 53 | + <img src="/images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 54 | + </div> | |
| 55 | + </div> | |
| 56 | + </div> | |
| 57 | + | |
| 58 | + <div class="right-proektant-cabinet"> | |
| 59 | + <div class="right-proektant-cabinet-candidate"> | |
| 60 | + <img src="/images/cabinet/ico-5.png" alt=""/> | |
| 61 | + <span>ะะฐัะฐ ะบะฐะฝะดะธะดะฐัััะฐ ะฝะฐ ัะฐััะผะพััะตะฝะธะธ</span> | |
| 62 | + </div> | |
| 63 | + <div class="right-proektant-cabinet-message">ะกะพะพะฑัะตะฝะธะต ะฝะต ะฟัะพัะธัะฐะฝะพ</div> | |
| 64 | + <div class="right-proektant-cabinet-message-new"> | |
| 65 | + <img src="/images/cabinet/ico-6.png" alt=""/> | |
| 66 | + <a href="#">3 ะกะพะพะฑัะตะฝะธั</a> | |
| 67 | + </div> | |
| 68 | + </div> | |
| 69 | + | |
| 70 | + </div> | |
| 71 | + | |
| 72 | + <div class="search-profile-blocks"> | |
| 73 | + <div class="left-left-proektant-cabinet"> | |
| 74 | + <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 75 | + <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 76 | + | |
| 77 | + <div class="srch-prof-text"> | |
| 78 | + <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 79 | + <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 80 | + </div> | |
| 81 | + <div class="srch-prof-params-wr"> | |
| 82 | + <div class="srch-prof-params srch-prof-params-city"> | |
| 83 | + <img src="/images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 84 | + </div> | |
| 85 | + <div class="srch-prof-params srch-prof-params-clock"> | |
| 86 | + <img src="/images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 87 | + </div> | |
| 88 | + <div class="srch-prof-params srch-prof-params-comm"> | |
| 89 | + <img src="/images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 90 | + </div> | |
| 91 | + </div> | |
| 92 | + </div> | |
| 93 | + | |
| 94 | + <div class="right-proektant-cabinet"> | |
| 95 | + <div class="right-proektant-cabinet-candidate"> | |
| 96 | + <img src="/images/cabinet/ico-5.png" alt=""/> | |
| 97 | + <span>ะะฐัะฐ ะบะฐะฝะดะธะดะฐัััะฐ ะฝะฐ ัะฐััะผะพััะตะฝะธะธ</span> | |
| 98 | + </div> | |
| 99 | + <div class="right-proektant-cabinet-message">ะกะพะพะฑัะตะฝะธะต ะฝะต ะฟัะพัะธัะฐะฝะพ</div> | |
| 100 | + <div class="right-proektant-cabinet-message-new"> | |
| 101 | + <img src="/images/cabinet/ico-6.png" alt=""/> | |
| 102 | + <a href="#">3 ะกะพะพะฑัะตะฝะธั</a> | |
| 103 | + </div> | |
| 104 | + </div> | |
| 105 | + | |
| 106 | + </div> | |
| 107 | + | |
| 108 | + <div class="search-profile-blocks"> | |
| 109 | + <div class="left-left-proektant-cabinet"> | |
| 110 | + <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 111 | + <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 112 | + | |
| 113 | + <div class="srch-prof-text"> | |
| 114 | + <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 115 | + <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 116 | + </div> | |
| 117 | + <div class="srch-prof-params-wr"> | |
| 118 | + <div class="srch-prof-params srch-prof-params-city"> | |
| 119 | + <img src="/images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 120 | + </div> | |
| 121 | + <div class="srch-prof-params srch-prof-params-clock"> | |
| 122 | + <img src="/images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 123 | + </div> | |
| 124 | + <div class="srch-prof-params srch-prof-params-comm"> | |
| 125 | + <img src="/images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 126 | + </div> | |
| 127 | + </div> | |
| 128 | + </div> | |
| 129 | + | |
| 130 | + <div class="right-proektant-cabinet"> | |
| 131 | + <div class="right-proektant-cabinet-candidate"> | |
| 132 | + <img src="/images/cabinet/ico-5.png" alt=""/> | |
| 133 | + <span>ะะฐัะฐ ะบะฐะฝะดะธะดะฐัััะฐ ะฝะฐ ัะฐััะผะพััะตะฝะธะธ</span> | |
| 134 | + </div> | |
| 135 | + <div class="right-proektant-cabinet-message">ะกะพะพะฑัะตะฝะธะต ะฝะต ะฟัะพัะธัะฐะฝะพ</div> | |
| 136 | + <div class="right-proektant-cabinet-message-new"> | |
| 137 | + <img src="/images/cabinet/ico-6.png" alt=""/> | |
| 138 | + <a href="#">3 ะกะพะพะฑัะตะฝะธั</a> | |
| 139 | + </div> | |
| 140 | + </div> | |
| 141 | + | |
| 142 | + </div> | |
| 143 | + | |
| 144 | + <div class="search-profile-blocks"> | |
| 145 | + <div class="left-left-proektant-cabinet"> | |
| 146 | + <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 147 | + <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 148 | + | |
| 149 | + <div class="srch-prof-text"> | |
| 150 | + <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 151 | + <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 152 | + </div> | |
| 153 | + <div class="srch-prof-params-wr"> | |
| 154 | + <div class="srch-prof-params srch-prof-params-city"> | |
| 155 | + <img src="/images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 156 | + </div> | |
| 157 | + <div class="srch-prof-params srch-prof-params-clock"> | |
| 158 | + <img src="/images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 159 | + </div> | |
| 160 | + <div class="srch-prof-params srch-prof-params-comm"> | |
| 161 | + <img src="/images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 162 | + </div> | |
| 163 | + </div> | |
| 164 | + </div> | |
| 165 | + | |
| 166 | + <div class="right-proektant-cabinet"> | |
| 167 | + <div class="right-proektant-cabinet-candidate"> | |
| 168 | + <img src="/images/cabinet/ico-5.png" alt=""/> | |
| 169 | + <span>ะะฐัะฐ ะบะฐะฝะดะธะดะฐัััะฐ ะฝะฐ ัะฐััะผะพััะตะฝะธะธ</span> | |
| 170 | + </div> | |
| 171 | + <div class="right-proektant-cabinet-message">ะกะพะพะฑัะตะฝะธะต ะฝะต ะฟัะพัะธัะฐะฝะพ</div> | |
| 172 | + <div class="right-proektant-cabinet-message-new"> | |
| 173 | + <img src="/images/cabinet/ico-6.png" alt=""/> | |
| 174 | + <a href="#">3 ะกะพะพะฑัะตะฝะธั</a> | |
| 175 | + </div> | |
| 176 | + </div> | |
| 177 | + | |
| 178 | + </div> | |
| 179 | + | |
| 180 | + <div class="search-profile-blocks"> | |
| 181 | + <div class="left-left-proektant-cabinet"> | |
| 182 | + <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 183 | + <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 184 | + | |
| 185 | + <div class="srch-prof-text"> | |
| 186 | + <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 187 | + <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 188 | + </div> | |
| 189 | + <div class="srch-prof-params-wr"> | |
| 190 | + <div class="srch-prof-params srch-prof-params-city"> | |
| 191 | + <img src="/images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 192 | + </div> | |
| 193 | + <div class="srch-prof-params srch-prof-params-clock"> | |
| 194 | + <img src="/images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 195 | + </div> | |
| 196 | + <div class="srch-prof-params srch-prof-params-comm"> | |
| 197 | + <img src="/images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 198 | + </div> | |
| 199 | + </div> | |
| 200 | + </div> | |
| 201 | + | |
| 202 | + <div class="right-proektant-cabinet"> | |
| 203 | + <div class="right-proektant-cabinet-candidate"> | |
| 204 | + <img src="/images/cabinet/ico-5.png" alt=""/> | |
| 205 | + <span>ะะฐัะฐ ะบะฐะฝะดะธะดะฐัััะฐ ะฝะฐ ัะฐััะผะพััะตะฝะธะธ</span> | |
| 206 | + </div> | |
| 207 | + <div class="right-proektant-cabinet-message">ะกะพะพะฑัะตะฝะธะต ะฝะต ะฟัะพัะธัะฐะฝะพ</div> | |
| 208 | + <div class="right-proektant-cabinet-message-new"> | |
| 209 | + <img src="/images/cabinet/ico-6.png" alt=""/> | |
| 210 | + <a href="#">3 ะกะพะพะฑัะตะฝะธั</a> | |
| 211 | + </div> | |
| 212 | + </div> | |
| 213 | + | |
| 214 | + </div> | |
| 215 | + | |
| 216 | + <div class="navi-buttons-wr style navi-buttons-yet-wr"> | |
| 217 | + <ul class="pagination"> | |
| 218 | + <li><a href="#">1</a></li> | |
| 219 | + <li class="active"><a href="#">2</a></li> | |
| 220 | + <li><a href="#">3</a></li> | |
| 221 | + <li><a href="#">4</a></li> | |
| 222 | + <li><a href="#">5</a></li> | |
| 223 | + <li class="dots-next"><a href="#">...</a></li> | |
| 224 | + <li><a href="#">156</a></li> | |
| 225 | + </ul> | |
| 226 | + <a href="#" class="navi-buttons-yet">ะัะต 24 ะฟัะพะตะบัะฐ</a> | |
| 227 | + </div> | |
| 228 | + </div> | |
| 229 | + | |
| 230 | + | |
| 231 | + </div> | |
| 232 | + | |
| 233 | + </div> | |
| 234 | + </div> | |
| 235 | + </div> | |
| 236 | + <div> | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + </div> | |
| 241 | +</div> | |
| 0 | 242 | \ No newline at end of file | ... | ... |
frontend/views/company/index.php deleted
frontend/views/layouts/company.php
| ... | ... | @@ -30,15 +30,44 @@ $this->beginContent('@app/views/layouts/main.php'); |
| 30 | 30 | <div class="section-box menu-content-wr"> |
| 31 | 31 | <div class="box-wr"> |
| 32 | 32 | <div class="box-all"> |
| 33 | - <ul class="menu-content"> | |
| 34 | - <li><a href="#">ะะฑัะตะต</a></li> | |
| 35 | - <li><a href="#">ะัะฟะพะปะฝะตะฝะฝัะต ัะฐะฑะพัั</a></li> | |
| 36 | - <li><a href="#">ะะพะผะฐะฝะดะฐ</a></li> | |
| 37 | - <li class="active-menu-content"><a href="#">ะะฐะบะฐะฝัะธะธ</a></li> | |
| 38 | - <li><a href="#">ะะปะพะณ</a></li> | |
| 39 | - <li><a href="#">ะัะทัะฒั</a></li> | |
| 40 | - <li><a href="#">ะะฐะปะตัะตั</a></li> | |
| 41 | - </ul> | |
| 33 | + <?php | |
| 34 | + echo Menu::widget([ | |
| 35 | + 'options' => [ | |
| 36 | + 'class' => 'menu-content', | |
| 37 | + ], | |
| 38 | + 'activeCssClass' => 'active-menu-content', | |
| 39 | + 'items' => [ | |
| 40 | + [ | |
| 41 | + 'label' => 'ะะฑัะตะต', | |
| 42 | + 'url' => ['company/common'], | |
| 43 | + ], | |
| 44 | + [ | |
| 45 | + 'label' => 'ะัะฟะพะปะฝะตะฝะฝัะต ัะฐะฑะพัั', | |
| 46 | + 'url' => ['company/portfolio'], | |
| 47 | + ], | |
| 48 | + [ | |
| 49 | + 'label' => 'ะะพะผะฐะฝะดะฐ', | |
| 50 | + 'url' => ['company/team'], | |
| 51 | + ], | |
| 52 | + [ | |
| 53 | + 'label' => 'ะะฐะบะฐะฝัะธะธ', | |
| 54 | + 'url' => ['company/vacancy-list'], | |
| 55 | + ], | |
| 56 | + [ | |
| 57 | + 'label' => 'ะะปะพะณ', | |
| 58 | + 'url' => ['company/blog-list'], | |
| 59 | + ], | |
| 60 | + [ | |
| 61 | + 'label' => 'ะัะทัะฒั', | |
| 62 | + 'url' => ['company/review'], | |
| 63 | + ], | |
| 64 | + [ | |
| 65 | + 'label' => 'ะะฐะปะตัะตั', | |
| 66 | + 'url' => ['company/gallery'], | |
| 67 | + ], | |
| 68 | + ], | |
| 69 | + ]); | |
| 70 | + ?> | |
| 42 | 71 | </div> |
| 43 | 72 | </div> |
| 44 | 73 | </div> | ... | ... |
frontend/views/layouts/gallery-company.php
| ... | ... | @@ -29,15 +29,44 @@ $this->beginContent('@app/views/layouts/main.php'); |
| 29 | 29 | <div class="section-box menu-content-wr"> |
| 30 | 30 | <div class="box-wr"> |
| 31 | 31 | <div class="box-all"> |
| 32 | - <ul class="menu-content"> | |
| 33 | - <li><a href="#">ะะฑัะตะต</a></li> | |
| 34 | - <li><a href="#">ะัะฟะพะปะฝะตะฝะฝัะต ัะฐะฑะพัั</a></li> | |
| 35 | - <li><a href="#">ะะพะผะฐะฝะดะฐ</a></li> | |
| 36 | - <li class="active-menu-content"><a href="#">ะะฐะบะฐะฝัะธะธ</a></li> | |
| 37 | - <li><a href="#">ะะปะพะณ</a></li> | |
| 38 | - <li><a href="#">ะัะทัะฒั</a></li> | |
| 39 | - <li><a href="#">ะะฐะปะตัะตั</a></li> | |
| 40 | - </ul> | |
| 32 | + <?php | |
| 33 | + echo Menu::widget([ | |
| 34 | + 'options' => [ | |
| 35 | + 'class' => 'menu-content', | |
| 36 | + ], | |
| 37 | + 'activeCssClass' => 'active-menu-content', | |
| 38 | + 'items' => [ | |
| 39 | + [ | |
| 40 | + 'label' => 'ะะฑัะตะต', | |
| 41 | + 'url' => ['company/common'], | |
| 42 | + ], | |
| 43 | + [ | |
| 44 | + 'label' => 'ะัะฟะพะปะฝะตะฝะฝัะต ัะฐะฑะพัั', | |
| 45 | + 'url' => ['company/portfolio'], | |
| 46 | + ], | |
| 47 | + [ | |
| 48 | + 'label' => 'ะะพะผะฐะฝะดะฐ', | |
| 49 | + 'url' => ['company/team'], | |
| 50 | + ], | |
| 51 | + [ | |
| 52 | + 'label' => 'ะะฐะบะฐะฝัะธะธ', | |
| 53 | + 'url' => ['company/vacancy-list'], | |
| 54 | + ], | |
| 55 | + [ | |
| 56 | + 'label' => 'ะะปะพะณ', | |
| 57 | + 'url' => ['company/blog-list'], | |
| 58 | + ], | |
| 59 | + [ | |
| 60 | + 'label' => 'ะัะทัะฒั', | |
| 61 | + 'url' => ['company/review'], | |
| 62 | + ], | |
| 63 | + [ | |
| 64 | + 'label' => 'ะะฐะปะตัะตั', | |
| 65 | + 'url' => ['company/gallery'], | |
| 66 | + ], | |
| 67 | + ], | |
| 68 | + ]); | |
| 69 | + ?> | |
| 41 | 70 | </div> |
| 42 | 71 | </div> |
| 43 | 72 | </div> | ... | ... |
frontend/views/layouts/gallery.php
| ... | ... | @@ -22,14 +22,40 @@ $this->beginContent('@app/views/layouts/main.php'); |
| 22 | 22 | <div class="section-box menu-content-wr"> |
| 23 | 23 | <div class="box-wr"> |
| 24 | 24 | <div class="box-all"> |
| 25 | - <ul class="menu-content"> | |
| 26 | - <li><a href="#">ะะฑัะตะต</a></li> | |
| 27 | - <li><a href="#">ะะพัััะพะปะธะพ</a></li> | |
| 28 | - <li class="active-menu-content"><a href="#">ะะปะพะณ</a></li> | |
| 29 | - <li><a href="#">ะัะทัะฒั </a></li> | |
| 30 | - <li><a href="#">ะะตััะฐ ัะฐะฑะพัั</a></li> | |
| 31 | - <li><a href="#">ะะฐะปะตัะตั</a></li> | |
| 32 | - </ul> | |
| 25 | + <?php | |
| 26 | + echo Menu::widget([ | |
| 27 | + 'options' => [ | |
| 28 | + 'class' => 'menu-content', | |
| 29 | + ], | |
| 30 | + 'activeCssClass' => 'active-menu-content', | |
| 31 | + 'items' => [ | |
| 32 | + [ | |
| 33 | + 'label' => 'ะะฑัะตะต', | |
| 34 | + 'url' => ['performer/common'], | |
| 35 | + ], | |
| 36 | + [ | |
| 37 | + 'label' => 'ะัะฟะพะปะฝะตะฝะฝัะต ัะฐะฑะพัั', | |
| 38 | + 'url' => ['performer/portfolio'], | |
| 39 | + ], | |
| 40 | + [ | |
| 41 | + 'label' => 'ะะปะพะณ', | |
| 42 | + 'url' => ['performer/blog-list'], | |
| 43 | + ], | |
| 44 | + [ | |
| 45 | + 'label' => 'ะัะทัะฒั', | |
| 46 | + 'url' => ['performer/review'], | |
| 47 | + ], | |
| 48 | + [ | |
| 49 | + 'label' => 'ะะตััะฐ ัะฐะฑะพัั', | |
| 50 | + 'url' => ['performer/workplace'], | |
| 51 | + ], | |
| 52 | + [ | |
| 53 | + 'label' => 'ะะฐะปะตัะตั', | |
| 54 | + 'url' => ['performer/gallery'], | |
| 55 | + ], | |
| 56 | + ], | |
| 57 | + ]); | |
| 58 | + ?> | |
| 33 | 59 | </div> |
| 34 | 60 | </div> |
| 35 | 61 | </div> | ... | ... |
frontend/views/layouts/main.php
| ... | ... | @@ -64,7 +64,7 @@ AppAsset::register($this); |
| 64 | 64 | <div class="box-all"> |
| 65 | 65 | <ul class="main-menu main-menu-buttons"> |
| 66 | 66 | <li> |
| 67 | - <span>ะัะพะตะบัะฐะฝัั</span> | |
| 67 | + <span>ะัะพะตะบัะฐะฝัะฐะผ</span> | |
| 68 | 68 | <div class="main-menu-hover"> |
| 69 | 69 | <ul> |
| 70 | 70 | |
| ... | ... | @@ -79,8 +79,9 @@ AppAsset::register($this); |
| 79 | 79 | </li> |
| 80 | 80 | </ul> |
| 81 | 81 | <ul> |
| 82 | - <li><?= Html::a('ะะพะธัะบ ัะตะฝะดะตัะพะฒ', ['tender/search'])?></li> | |
| 83 | - <li><?= Html::a('ะะพะธัะบ ะฒะฐะบะฐะฝัะธะน', ['vacancy/search'])?></li> | |
| 82 | + <li><?= Html::a('ะกะฟะธัะพะบ ะฟัะพะตะบัะพะฒ', ['search/project'])?></li> | |
| 83 | + <li><?= Html::a('ะกะฟะธัะพะบ ะฒะฐะบะฐะฝัะธะน', ['search/vacancy'])?></li> | |
| 84 | + <li><?= Html::a('ะกะฟะธัะพะบ ะทะฐะบะฐะทัะธะบะพะฒ', ['site/index'])?></li> | |
| 84 | 85 | </ul> |
| 85 | 86 | </div> |
| 86 | 87 | </li> |
| ... | ... | @@ -89,28 +90,28 @@ AppAsset::register($this); |
| 89 | 90 | <div class="main-menu-hover"> |
| 90 | 91 | <ul> |
| 91 | 92 | |
| 92 | - <li><?= Html::a('ะะพะฑะฐะฒะธัั ะฟัะพะตะบั', ['site/index'])?></li> | |
| 93 | + <li><?= Html::a('ะะพะฑะฐะฒะธัั ะฟัะพะตะบั', ['accounts/projects'])?></li> | |
| 93 | 94 | <li><?= Html::a('ะ ะฐะทะผะตััะธัั ะฒะฐะบะฐะฝัะธั', ['site/index'])?></li> |
| 94 | 95 | </ul> |
| 95 | 96 | <ul> |
| 96 | 97 | |
| 97 | - <li><?= Html::a('ะกะฟะธัะพะบ ะฟัะพะตะบัะพะฒ', ['site/index'])?></li> | |
| 98 | - <li><?= Html::a('ะกะฟะธัะพะบ ะฟัะพะตะบัะฝัั ะบะพะผะฟะฐะฝะธะน', ['site/index'])?></li> | |
| 98 | + <li><?= Html::a('ะกะฟะธัะพะบ ะฟัะพะตะบัะฐะฝัะพะฒ', ['search/performer'])?></li> | |
| 99 | + <li><?= Html::a('ะกะฟะธัะพะบ ะฟัะพะตะบัะฝัั ะบะพะผะฟะฐะฝะธะน', ['search/company'])?></li> | |
| 99 | 100 | </ul> |
| 100 | 101 | </div> |
| 101 | 102 | </li> |
| 102 | 103 | <li> |
| 103 | - <span>ะะพะผะฟะฐะฝะธะธ</span> | |
| 104 | + <span>ะะพะผะฟะฐะฝัะผ</span> | |
| 104 | 105 | <div class="main-menu-hover"> |
| 105 | 106 | <ul> |
| 106 | 107 | |
| 107 | - <li><?= Html::a('ะะพะฑะฐะฒะธัั ะฟัะพะตะบั', ['site/index'])?></li> | |
| 108 | + <li><?= Html::a('ะะพะฑะฐะฒะธัั ะฟัะพะตะบั', ['accounts/projects'])?></li> | |
| 108 | 109 | <li><?= Html::a('ะ ะฐะทะผะตััะธัั ะฒะฐะบะฐะฝัะธั', ['site/index'])?></li> |
| 110 | + <li><?= Html::a('ะ ะตะดะฐะบัะธัะพะฒะฐัั ะฟะพัััะพะปะธะพ', ['site/index'])?></li> | |
| 109 | 111 | </ul> |
| 110 | 112 | <ul> |
| 111 | - | |
| 112 | - <li><?= Html::a('ะกะฟะธัะพะบ ะฟัะพะตะบัะฐะฝัะพะฒ', ['site/index'])?></li> | |
| 113 | - <li><?= Html::a('ะกะฟะธัะพะบ ะฟัะพะตะบัะพะฒ', ['site/index'])?></li> | |
| 113 | + <li><?= Html::a('ะกะฟะธัะพะบ ะฟัะพะตะบัะฐะฝัะพะฒ', ['search/performer'])?></li> | |
| 114 | + <li><?= Html::a('ะกะฟะธัะพะบ ะฟัะพะตะบัะพะฒ', ['search/project'])?></li> | |
| 114 | 115 | <li><?= Html::a('ะกะฟะธัะพะบ ะทะฐะบะฐะทัะธะบะพะฒ', ['site/index'])?></li> |
| 115 | 116 | </ul> |
| 116 | 117 | </div> |
| ... | ... | @@ -123,12 +124,33 @@ AppAsset::register($this); |
| 123 | 124 | <input type="submit" value=""/> |
| 124 | 125 | </form> |
| 125 | 126 | </div> |
| 126 | - | |
| 127 | - <div class="main-menu-icons-wr"> | |
| 128 | - <a class="main-menu-icons-home" href="#"></a> | |
| 129 | - <a class="main-menu-icons-edit" href="#"></a> | |
| 130 | - <a class="main-menu-icons-copy" href="#"></a> | |
| 131 | - </div> | |
| 127 | + <?php | |
| 128 | + if(!\Yii::$app->user->isGuest) { | |
| 129 | + echo Menu::widget([ | |
| 130 | + 'options' => [ | |
| 131 | + 'tag' => 'div', | |
| 132 | + 'class' => 'main-menu-icons-wr', | |
| 133 | + ], | |
| 134 | + 'itemOptions' => [ | |
| 135 | + 'tag' => false, | |
| 136 | + ], | |
| 137 | + 'items' => [ | |
| 138 | + [ | |
| 139 | + 'url' => ['accounts/projects'], | |
| 140 | + 'template' => '<a href="{url}" class="main-menu-icons-home"></a>', | |
| 141 | + ], | |
| 142 | + [ | |
| 143 | + 'url' => ['chat/list'], | |
| 144 | + 'template' => '<a href="{url}" class="main-menu-icons-edit"></a>', | |
| 145 | + ], | |
| 146 | + [ | |
| 147 | + 'url' => ['accounts/bookmarks'], | |
| 148 | + 'template' => '<a href="{url}" class="main-menu-icons-copy"></a>', | |
| 149 | + ], | |
| 150 | + ], | |
| 151 | + ]); | |
| 152 | + } | |
| 153 | + ?> | |
| 132 | 154 | </div> |
| 133 | 155 | </div> |
| 134 | 156 | </div> |
| ... | ... | @@ -145,54 +167,167 @@ AppAsset::register($this); |
| 145 | 167 | <div class="box-all"> |
| 146 | 168 | <div class="footer-all-wr"> |
| 147 | 169 | <div class="footer-menu-wrapper first-footer-menu"> |
| 148 | - <ul class="footer-menu "> | |
| 149 | - <li><a href="#">ะ ะตะณะธัััะฐัะธั ะฟัะพะตะบัะฐะฝัะฐ</a></li> | |
| 150 | - <li><a href="#">ะัะพะตะบัั</a></li> | |
| 151 | - <li><a href="#">ะะฐะบะฐะฝัะธะธ</a></li> | |
| 152 | - <li><a href="#">ะ ะตะนัะธะฝะณ ะฟัะพะตะบัะฐะฝัะพะฒ</a></li> | |
| 153 | - </ul> | |
| 170 | + <?php | |
| 171 | + echo Menu::widget([ | |
| 172 | + 'options' => [ | |
| 173 | + 'class' => 'footer-menu', | |
| 174 | + ], | |
| 175 | + 'items' => [ | |
| 176 | + [ | |
| 177 | + 'label' => 'ะ ะตะณะธัััะฐัะธั ะฟัะพะตะบัะฐะฝัะฐ', | |
| 178 | + 'url' => ['site/signup'], | |
| 179 | + ], | |
| 180 | + [ | |
| 181 | + 'label' => 'ะัะพะตะบัั', | |
| 182 | + 'url' => ['search/project'], | |
| 183 | + ], | |
| 184 | + [ | |
| 185 | + 'label' => 'ะะฐะบะฐะฝัะธะธ', | |
| 186 | + 'url' => ['search/vacancy'], | |
| 187 | + ], | |
| 188 | + [ | |
| 189 | + 'label' => 'ะ ะตะนัะธะฝะณ ะฟัะพะตะบัะฐะฝัะพะฒ', | |
| 190 | + 'url' => ['search/performer'], | |
| 191 | + ], | |
| 192 | + ] | |
| 193 | + ]); | |
| 194 | + ?> | |
| 154 | 195 | </div> |
| 155 | 196 | |
| 156 | 197 | <div class="footer-menu-wrapper second-footer-menu"> |
| 157 | - <ul class="footer-menu"> | |
| 158 | - <li><a href="#">ะ ะตะณะธัััะฐัะธั ะทะฐะบะฐะทัะธะบะฐ</a></li> | |
| 159 | - <li><a href="#">ะ ะตะนัะธะฝะณ ะทะฐะบะฐะทัะธะบะพะฒ</a></li> | |
| 160 | - </ul> | |
| 198 | + <?php | |
| 199 | + echo Menu::widget([ | |
| 200 | + 'options' => [ | |
| 201 | + 'class' => 'footer-menu', | |
| 202 | + ], | |
| 203 | + 'items' => [ | |
| 204 | + [ | |
| 205 | + 'label' => 'ะ ะตะณะธัััะฐัะธั ะทะฐะบะฐะทัะธะบะฐ', | |
| 206 | + 'url' => ['site/signup'], | |
| 207 | + ], | |
| 208 | + [ | |
| 209 | + 'label' => 'ะ ะตะนัะธะฝะณ ะบะพะผะฟะฐะฝะธะน', | |
| 210 | + 'url' => ['search/index'], | |
| 211 | + ], | |
| 212 | + ] | |
| 213 | + ]); | |
| 214 | + ?> | |
| 161 | 215 | <div class="footer-menu-project"> |
| 162 | - <div class="footer-menu-project-ico"> | |
| 163 | - <a target="_blank" href="#"><img src="/images/soc-ico-1.png" alt=""/></a> | |
| 164 | - <a target="_blank" href="#"><img src="/images/soc-ico-2.png" alt=""/></a> | |
| 165 | - </div> | |
| 216 | + <?php | |
| 217 | + echo Menu::widget([ | |
| 218 | + 'options' => [ | |
| 219 | + 'tag' => 'div', | |
| 220 | + 'class' => 'footer-menu-project-ico', | |
| 221 | + ], | |
| 222 | + 'encodeLabels' => false, | |
| 223 | + 'itemOptions' => [ | |
| 224 | + 'tag' => false, | |
| 225 | + ], | |
| 226 | + 'linkTemplate' => '<a target="_blank" href="{url}">{label}</a>', | |
| 227 | + 'items' => [ | |
| 228 | + [ | |
| 229 | + 'label' => "<img src='/images/soc-ico-1.png' alt=''/>", | |
| 230 | + 'url' => 'http://rss.com', | |
| 231 | + ], | |
| 232 | + [ | |
| 233 | + 'label' => "<img src='/images/soc-ico-2.png' alt=''/>", | |
| 234 | + 'url' => 'http://twitter.com', | |
| 235 | + ], | |
| 236 | + ], | |
| 237 | + ]); | |
| 238 | + ?> | |
| 166 | 239 | <div class="footer-menu-project-ico-txt">ะฝะพะฒัะต ะฟัะพะตะบัั</div> |
| 167 | 240 | </div> |
| 168 | 241 | </div> |
| 169 | 242 | |
| 170 | 243 | <div class="footer-menu-wrapper third-footer-menu"> |
| 171 | - <ul class="footer-menu"> | |
| 172 | - <li><a href="#">ะ ะตะณะธัััะฐัะธั ะบะพะผะฟะฐะฝะธะน</a></li> | |
| 173 | - <li><a href="#">ะ ะตะนัะธะฝะณ ะบะพะผะฟะฐะฝะธะน</a></li> | |
| 174 | - </ul> | |
| 244 | + <?php | |
| 245 | + echo Menu::widget([ | |
| 246 | + 'options' => [ | |
| 247 | + 'class' => 'footer-menu', | |
| 248 | + ], | |
| 249 | + 'items' => [ | |
| 250 | + [ | |
| 251 | + 'label' => 'ะ ะตะณะธัััะฐัะธั ะบะพะผะฟะฐะฝะธะน', | |
| 252 | + 'url' => ['site/signup'], | |
| 253 | + ], | |
| 254 | + [ | |
| 255 | + 'label' => 'ะ ะตะนัะธะฝะณ ะบะพะผะฟะฐะฝะธะน', | |
| 256 | + 'url' => ['search/company'], | |
| 257 | + ], | |
| 258 | + ] | |
| 259 | + ]); | |
| 260 | + ?> | |
| 175 | 261 | <div class="footer-menu-project-two"> |
| 176 | - <div class="footer-menu-project-ico"> | |
| 177 | - <a target="_blank" href="#"><img src="/images/soc-ico-3.png" alt=""/></a> | |
| 178 | - <a target="_blank" href="#"><img src="/images/soc-ico-4.png" alt=""/></a> | |
| 179 | - <a target="_blank" href="#"><img src="/images/soc-ico-5.png" alt=""/></a> | |
| 180 | - </div> | |
| 262 | + <?php | |
| 263 | + echo Menu::widget([ | |
| 264 | + 'options' => [ | |
| 265 | + 'tag' => 'div', | |
| 266 | + 'class' => 'footer-menu-project-ico', | |
| 267 | + ], | |
| 268 | + 'encodeLabels' => false, | |
| 269 | + 'itemOptions' => [ | |
| 270 | + 'tag' => false, | |
| 271 | + ], | |
| 272 | + 'linkTemplate' => '<a target="_blank" href="{url}">{label}</a>', | |
| 273 | + 'items' => [ | |
| 274 | + [ | |
| 275 | + 'label' => "<img src='/images/soc-ico-3.png' alt=''/>", | |
| 276 | + 'url' => 'http://fb.com', | |
| 277 | + ], | |
| 278 | + [ | |
| 279 | + 'label' => "<img src='/images/soc-ico-4.png' alt=''/>", | |
| 280 | + 'url' => 'http://vk.com', | |
| 281 | + ], | |
| 282 | + [ | |
| 283 | + 'label' => "<img src='/images/soc-ico-5.png' alt=''/>", | |
| 284 | + 'url' => 'http://plus.google.com', | |
| 285 | + ], | |
| 286 | + ], | |
| 287 | + ]); | |
| 288 | + ?> | |
| 181 | 289 | <div class="footer-menu-project-ico-txt">ะฝะพะฒะพััะธ ัะตัะฒะตัะฐ</div> |
| 182 | 290 | </div> |
| 183 | 291 | </div> |
| 184 | 292 | |
| 185 | 293 | <div class="footer-menu-wrapper last-footer-menu"> |
| 186 | - <ul class="footer-menu "> | |
| 187 | - <li><a href="#">ะ ัััะบะธะน</a></li> | |
| 188 | - <li><a href="#">ะะพะฝัะธะดะตะฝัะธะฐะปัะฝะพััั</a></li> | |
| 189 | - <li><a href="#">ะฃัะปะพะฒะธั ะธัะฟะพะปัะทะพะฒะฐะฝะธั</a></li> | |
| 190 | - <li><a href="#">ะคะฐะนะปั cookie</a></li> | |
| 191 | - <li><a href="#">ะ ะตะบะปะฐะผะฐ</a></li> | |
| 192 | - <li><a href="#">Ad Choices</a></li> | |
| 193 | - | |
| 194 | - <li><a href="#">ะัั</a></li> | |
| 195 | - </ul> | |
| 294 | + <?php | |
| 295 | + echo Menu::widget([ | |
| 296 | + 'options' => [ | |
| 297 | + 'class' => 'footer-menu', | |
| 298 | + ], | |
| 299 | + 'items' => [ | |
| 300 | + [ | |
| 301 | + 'label' => 'ะ ัััะบะธะน', | |
| 302 | + 'url' => [' '] | |
| 303 | + ], | |
| 304 | + [ | |
| 305 | + 'label' => 'ะะพะฝัะธะดะตะฝัะธะฐะปัะฝะพััั', | |
| 306 | + 'url' => [' '] | |
| 307 | + ], | |
| 308 | + [ | |
| 309 | + 'label' => 'ะฃัะปะพะฒะธั ะธัะฟะพะปัะทะพะฒะฐะฝะธั', | |
| 310 | + 'url' => [' '] | |
| 311 | + ], | |
| 312 | + [ | |
| 313 | + 'label' => 'ะคะฐะนะปั cookie', | |
| 314 | + 'url' => [' '] | |
| 315 | + ], | |
| 316 | + [ | |
| 317 | + 'label' => 'ะ ะตะบะปะฐะผะฐ', | |
| 318 | + 'url' => [' '] | |
| 319 | + ], | |
| 320 | + [ | |
| 321 | + 'label' => 'Ad Choices', | |
| 322 | + 'url' => [' '] | |
| 323 | + ], | |
| 324 | + [ | |
| 325 | + 'label' => 'ะัะต', | |
| 326 | + 'url' => [' '] | |
| 327 | + ], | |
| 328 | + ] | |
| 329 | + ]); | |
| 330 | + ?> | |
| 196 | 331 | </div> |
| 197 | 332 | |
| 198 | 333 | </div> | ... | ... |
frontend/views/layouts/performer.php
| ... | ... | @@ -22,14 +22,40 @@ $this->beginContent('@app/views/layouts/main.php'); |
| 22 | 22 | <div class="section-box menu-content-wr"> |
| 23 | 23 | <div class="box-wr"> |
| 24 | 24 | <div class="box-all"> |
| 25 | - <ul class="menu-content"> | |
| 26 | - <li><a href="#">ะะฑัะตะต</a></li> | |
| 27 | - <li><a href="#">ะะพัััะพะปะธะพ</a></li> | |
| 28 | - <li class="active-menu-content"><a href="#">ะะปะพะณ</a></li> | |
| 29 | - <li><a href="#">ะัะทัะฒั </a></li> | |
| 30 | - <li><a href="#">ะะตััะฐ ัะฐะฑะพัั</a></li> | |
| 31 | - <li><a href="#">ะะฐะปะตัะตั</a></li> | |
| 32 | - </ul> | |
| 25 | + <?php | |
| 26 | + echo Menu::widget([ | |
| 27 | + 'options' => [ | |
| 28 | + 'class' => 'menu-content', | |
| 29 | + ], | |
| 30 | + 'activeCssClass' => 'active-menu-content', | |
| 31 | + 'items' => [ | |
| 32 | + [ | |
| 33 | + 'label' => 'ะะฑัะตะต', | |
| 34 | + 'url' => ['performer/common'], | |
| 35 | + ], | |
| 36 | + [ | |
| 37 | + 'label' => 'ะัะฟะพะปะฝะตะฝะฝัะต ัะฐะฑะพัั', | |
| 38 | + 'url' => ['performer/portfolio'], | |
| 39 | + ], | |
| 40 | + [ | |
| 41 | + 'label' => 'ะะปะพะณ', | |
| 42 | + 'url' => ['performer/blog-list'], | |
| 43 | + ], | |
| 44 | + [ | |
| 45 | + 'label' => 'ะัะทัะฒั', | |
| 46 | + 'url' => ['performer/review'], | |
| 47 | + ], | |
| 48 | + [ | |
| 49 | + 'label' => 'ะะตััะฐ ัะฐะฑะพัั', | |
| 50 | + 'url' => ['performer/workplace'], | |
| 51 | + ], | |
| 52 | + [ | |
| 53 | + 'label' => 'ะะฐะปะตัะตั', | |
| 54 | + 'url' => ['performer/gallery'], | |
| 55 | + ], | |
| 56 | + ], | |
| 57 | + ]); | |
| 58 | + ?> | |
| 33 | 59 | </div> |
| 34 | 60 | </div> |
| 35 | 61 | </div> | ... | ... |
frontend/views/performer/index.php deleted
frontend/views/profile/search.php deleted
| 1 | -<?php | |
| 2 | - | |
| 3 | -use \yii\helpers\Html; | |
| 4 | - | |
| 5 | -/* @var $this yii\web\View */ | |
| 6 | - | |
| 7 | -$this->title = 'My Yii Application'; | |
| 8 | -?> | |
| 9 | - | |
| 10 | -<div class="section-box content"> | |
| 11 | - <div class="section-box-22"> | |
| 12 | - <div class="box-wr"> | |
| 13 | - <div class="box-all"> | |
| 14 | - <div class="left-search-work"> | |
| 15 | - <form action="" class="search-work-form"> | |
| 16 | - | |
| 17 | - <div class="blocks-check-list-wrapp"> | |
| 18 | - <div class="blocks-check-title">ะัะพัะธะปั</div> | |
| 19 | - <div class="blocks-check-list-wrapp"> | |
| 20 | - <select> | |
| 21 | - <option selected >ะะธะทะฐะนะฝ</option> | |
| 22 | - <option value="">ะะฐะฝะดัะฐััะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 23 | - <option value="">ะะฝัะตััะตัะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 24 | - </select> | |
| 25 | - </div> | |
| 26 | - | |
| 27 | - <div class="blocks-check-list-wrapp"> | |
| 28 | - <select> | |
| 29 | - <option selected >ะัั ะธัะตะบัััะฐ</option> | |
| 30 | - <option value="">ะะฐะฝะดัะฐััะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 31 | - <option value="">ะะฝัะตััะตัะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 32 | - </select> | |
| 33 | - </div> | |
| 34 | - | |
| 35 | - <div class="blocks-check-list-wrapp"> | |
| 36 | - <select> | |
| 37 | - <option selected >ะกััะพะธัะตะปัััะฒะพ</option> | |
| 38 | - <option value="">ะะฐะฝะดัะฐััะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 39 | - <option value="">ะะฝัะตััะตัะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 40 | - </select> | |
| 41 | - </div> | |
| 42 | - </div> | |
| 43 | - | |
| 44 | - <div class="blocks-check-list-wrapp"> | |
| 45 | - <div class="blocks-check-title">ะ ะตะณะธะพะฝ</div> | |
| 46 | - <select> | |
| 47 | - <option selected value="">ะัะต ัััะฐะฝั</option> | |
| 48 | - <option style="color: #000; font-weight: bold !important;" value="">ะฃะบัะฐะธะฝะฐ</option> | |
| 49 | - <option value="">ะ ะพััะธั</option> | |
| 50 | - <option value="">ะะตะปะพัััั</option> | |
| 51 | - </select> | |
| 52 | - </div> | |
| 53 | - <div class="blocks-check-list-wrapp"> | |
| 54 | - <select id="theme-1"> | |
| 55 | - <option selected >ะะพัะพะด</option> | |
| 56 | - <option value="">ะัะต</option> | |
| 57 | - <option value="">ะะธะตะฒ</option> | |
| 58 | - <option value="">ะะธัะพะผะธั</option> | |
| 59 | - <option value="">ะัะฒะพะฒ</option> | |
| 60 | - <option value="">ะะธะตะฒ</option> | |
| 61 | - <option value="">ะะธัะพะผะธั</option> | |
| 62 | - <option value="">ะัะฒะพะฒ</option> | |
| 63 | - </select> | |
| 64 | - </div> | |
| 65 | - | |
| 66 | - <div class="blocks-check-list-wrapp"> | |
| 67 | - <div class="blocks-check-title">ะัะดะถะตั</div> | |
| 68 | - <div class="form-price-wr"> | |
| 69 | - <input type="text" placeholder="ะพั"/> | |
| 70 | - <input type="text" placeholder="ะดะพ"/> | |
| 71 | - <div class="blocks-check-list-wrapp check-valuta"> | |
| 72 | - <select> | |
| 73 | - <option selected>ะณัะฝ</option> | |
| 74 | - <option value="">$</option> | |
| 75 | - <option value="">eur</option> | |
| 76 | - </select> | |
| 77 | - </div> | |
| 78 | - </div> | |
| 79 | - <div class="blocks-check-list"> | |
| 80 | - <input type="checkbox" name="group2" class="check-search" id="theme-4"><label for="theme-4"><span></span>ะะพะณะพะฒะพัะฝะพะน</label> | |
| 81 | - </div> | |
| 82 | - <div class="blocks-check-list"> | |
| 83 | - <input type="checkbox" name="group2" class="check-search" id="theme-5"><label for="theme-5"><span></span>ะะพะผะฟะฐะฝะธะธ</label> | |
| 84 | - </div> | |
| 85 | - <div class="blocks-check-list"> | |
| 86 | - <input type="checkbox" name="group2" class="check-search" id="theme-6"><label for="theme-6"><span></span>ะัะพะตะบัะฐะฝัั</label> | |
| 87 | - </div> | |
| 88 | - <div class="blocks-check-list"> | |
| 89 | - <input checked type="checkbox" name="group2" class="check-search" id="theme-7"><label for="theme-7"><span></span>ะัะต</label> | |
| 90 | - </div> | |
| 91 | - </div> | |
| 92 | - | |
| 93 | - | |
| 94 | - <a href="#" class="reset-filter">ะกะฑัะพัะธัั ัะธะปััั</a> | |
| 95 | - <div class="blocks-check-list-submit"> | |
| 96 | - <input type="submit" value="ะะฐะนัะธ"/> | |
| 97 | - </div> | |
| 98 | - </form> | |
| 99 | - </div> | |
| 100 | - <div class="right-search-work"> | |
| 101 | - <div class="search-worker-title style">ะกะตะนัะฐั 751 ะฟัะตะดะปะพะถะตะฝะธะต</div> | |
| 102 | - <div class="search-profile-blocks-wr style"> | |
| 103 | - <div class="search-profile-blocks"> | |
| 104 | - <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 105 | - <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 106 | - <div class="srch-prof-contract-wr"> | |
| 107 | - <div class="srch-prof-contract-button">ะะะะ ะฏะ</div> | |
| 108 | - <div class="srch-prof-contract-txt"> | |
| 109 | - <span>ะะท ะฟัะพะตะบัะฐ: </span><a href="#">ะะตัะตััะบะธะน ะบะฒะฐััะฐะป</a> | |
| 110 | - </div> | |
| 111 | - </div> | |
| 112 | - <div class="srch-prof-text"> | |
| 113 | - <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 114 | - <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 115 | - </div> | |
| 116 | - <div class="srch-prof-params-wr"> | |
| 117 | - <div class="srch-prof-params srch-prof-params-city"> | |
| 118 | - <img src="images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 119 | - </div> | |
| 120 | - <div class="srch-prof-params srch-prof-params-clock"> | |
| 121 | - <img src="images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 122 | - </div> | |
| 123 | - <div class="srch-prof-params srch-prof-params-comm"> | |
| 124 | - <img src="images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 125 | - </div> | |
| 126 | - </div> | |
| 127 | - </div> | |
| 128 | - | |
| 129 | - <div class="search-profile-blocks"> | |
| 130 | - <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 131 | - <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 132 | - <div class="srch-prof-contract-wr"> | |
| 133 | - <div class="srch-prof-contract-button">ะะะะ ะฏะ</div> | |
| 134 | - <div class="srch-prof-contract-txt"> | |
| 135 | - <span>ะะท ะฟัะพะตะบัะฐ: </span><a href="#">ะะตัะตััะบะธะน ะบะฒะฐััะฐะป</a> | |
| 136 | - </div> | |
| 137 | - </div> | |
| 138 | - <div class="srch-prof-text"> | |
| 139 | - <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 140 | - <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 141 | - </div> | |
| 142 | - <div class="srch-prof-params-wr"> | |
| 143 | - <div class="srch-prof-params srch-prof-params-city"> | |
| 144 | - <img src="images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 145 | - </div> | |
| 146 | - <div class="srch-prof-params srch-prof-params-clock"> | |
| 147 | - <img src="images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 148 | - </div> | |
| 149 | - <div class="srch-prof-params srch-prof-params-comm"> | |
| 150 | - <img src="images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 151 | - </div> | |
| 152 | - </div> | |
| 153 | - </div> | |
| 154 | - | |
| 155 | - <div class="search-profile-blocks"> | |
| 156 | - <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 157 | - <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 158 | - <div class="srch-prof-contract-wr"> | |
| 159 | - <div class="srch-prof-contract-button">ะะะะ ะฏะ</div> | |
| 160 | - <div class="srch-prof-contract-txt"> | |
| 161 | - <span>ะะท ะฟัะพะตะบัะฐ: </span><a href="#">ะะตัะตััะบะธะน ะบะฒะฐััะฐะป</a> | |
| 162 | - </div> | |
| 163 | - </div> | |
| 164 | - <div class="srch-prof-text"> | |
| 165 | - <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 166 | - <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 167 | - </div> | |
| 168 | - <div class="srch-prof-params-wr"> | |
| 169 | - <div class="srch-prof-params srch-prof-params-city"> | |
| 170 | - <img src="images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 171 | - </div> | |
| 172 | - <div class="srch-prof-params srch-prof-params-clock"> | |
| 173 | - <img src="images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 174 | - </div> | |
| 175 | - <div class="srch-prof-params srch-prof-params-comm"> | |
| 176 | - <img src="images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 177 | - </div> | |
| 178 | - </div> | |
| 179 | - </div> | |
| 180 | - | |
| 181 | - <div class="navi-buttons-wr style navi-buttons-yet-wr"> | |
| 182 | - <ul class="pagination"> | |
| 183 | - <li><a href="#">1</a></li> | |
| 184 | - <li class="active"><a href="#">2</a></li> | |
| 185 | - <li><a href="#">3</a></li> | |
| 186 | - <li><a href="#">4</a></li> | |
| 187 | - <li><a href="#">5</a></li> | |
| 188 | - <li class="dots-next"><a href="#">...</a></li> | |
| 189 | - <li><a href="#">156</a></li> | |
| 190 | - </ul> | |
| 191 | - <a href="#" class="navi-buttons-yet">ะัะต 24 ะฟัะพะตะบัะฐ</a> | |
| 192 | - </div> | |
| 193 | - </div> | |
| 194 | - | |
| 195 | - </div> | |
| 196 | - </div> | |
| 197 | - </div> | |
| 198 | - </div> | |
| 199 | - <div> | |
| 200 | - | |
| 201 | - <div class="section-box" style="height: 720px; overflow: hidden"> | |
| 202 | - <div class="map-settings-opacity"></div> | |
| 203 | - <div class="map-settings-wrapp"> | |
| 204 | - <div class="min_markers-wrapp"> | |
| 205 | - <ul class="min_markers"> | |
| 206 | - <li class="active_m"><span></span><p>ะัะต</p></li> | |
| 207 | - <li><span><img src="images/markers/marker-min-1.png"/></span><p>ะะธะปัะต</p></li> | |
| 208 | - <li><span><img src="images/markers/marker-min-2.png"/></span><p>ะัะธัะฝัะต</p></li> | |
| 209 | - <li><span><img src="images/markers/marker-min-3.png"/></span><p>ะขะพัะณะพะฒัะต</p></li> | |
| 210 | - <li><span><img src="images/markers/marker-min-4.png"/></span><p>ะะพััั</p></li> | |
| 211 | - <li><span><img src="images/markers/marker-min-5.png"/></span><p>ะะพัะพะณะธ</p></li> | |
| 212 | - <li><span><img src="images/markers/marker-min-6.png"/></span><p>ะกะพะพััะถะตะฝะธั</p></li> | |
| 213 | - <li><span><img src="images/markers/marker-min-7.png"/></span><p>ะกะบะปะฐะดั</p></li> | |
| 214 | - <li><span><img src="images/markers/marker-min-8.png"/></span><p>ะะฐะฒะพะดั</p></li> | |
| 215 | - <li><span><img src="images/markers/marker-min-9.png"/></span><p>ะ ะฐะทะฝะพะต</p></li> | |
| 216 | - </ul> | |
| 217 | - <ul class="min_markers_two"> | |
| 218 | - <li><span><img src="images/markers/marker-min-10.png"/></span><p>ะฟัะพะตะบัั</p></li> | |
| 219 | - <li><span><img src="images/markers/marker-min-11.png"/></span><p>ะฟะพะดััะดั</p></li> | |
| 220 | - </ul> | |
| 221 | - </div> | |
| 222 | - </div> | |
| 223 | - <div class="slider-map"></div> | |
| 224 | - <div id="map_cloud" style="display: none;"> | |
| 225 | - <script type="text/javascript"> | |
| 226 | - function initialize() { | |
| 227 | - var start_position = new google.maps.LatLng('56', '30'); | |
| 228 | - var settings = { | |
| 229 | - zoom: 7, | |
| 230 | - // scrollwheel: false, | |
| 231 | - center: start_position, | |
| 232 | - mapTypeControl: false, | |
| 233 | - mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}, | |
| 234 | - navigationControl: false, | |
| 235 | - navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL}, | |
| 236 | - scaleControl: false, | |
| 237 | - streetViewControl: false, | |
| 238 | - rotateControl: false, | |
| 239 | - zoomControl: false, | |
| 240 | - mapTypeId: google.maps.MapTypeId.ROADMAP}; | |
| 241 | - var map = new google.maps.Map(document.getElementById("map_canvas"), settings); | |
| 242 | - | |
| 243 | - | |
| 244 | - var image1 = new google.maps.MarkerImage('images/markers/marker-we-1.png', | |
| 245 | - new google.maps.Size(21, 32), | |
| 246 | - new google.maps.Point(0,0), | |
| 247 | - new google.maps.Point(16, 35) | |
| 248 | - ); | |
| 249 | - var image2 = new google.maps.MarkerImage('images/markers/marker-we-2.png', | |
| 250 | - new google.maps.Size(21, 32), | |
| 251 | - new google.maps.Point(0,0), | |
| 252 | - new google.maps.Point(16, 35) | |
| 253 | - ); | |
| 254 | - var image3 = new google.maps.MarkerImage('images/markers/marker-we-3.png', | |
| 255 | - new google.maps.Size(21, 32), | |
| 256 | - new google.maps.Point(0,0), | |
| 257 | - new google.maps.Point(16, 35) | |
| 258 | - ); | |
| 259 | - var image4 = new google.maps.MarkerImage('images/markers/marker-we-4.png', | |
| 260 | - new google.maps.Size(21, 32), | |
| 261 | - new google.maps.Point(0,0), | |
| 262 | - new google.maps.Point(16, 35) | |
| 263 | - ); | |
| 264 | - var image5 = new google.maps.MarkerImage('images/markers/marker-we-5.png', | |
| 265 | - new google.maps.Size(21, 32), | |
| 266 | - new google.maps.Point(0,0), | |
| 267 | - new google.maps.Point(16, 35) | |
| 268 | - ); | |
| 269 | - var image6 = new google.maps.MarkerImage('images/markers/marker-we-6.png', | |
| 270 | - new google.maps.Size(21, 32), | |
| 271 | - new google.maps.Point(0,0), | |
| 272 | - new google.maps.Point(16, 35) | |
| 273 | - ); | |
| 274 | - var image7 = new google.maps.MarkerImage('images/markers/marker-we-7.png', | |
| 275 | - new google.maps.Size(21, 32), | |
| 276 | - new google.maps.Point(0,0), | |
| 277 | - new google.maps.Point(16, 35) | |
| 278 | - ); | |
| 279 | - var image8 = new google.maps.MarkerImage('images/markers/marker-we-8.png', | |
| 280 | - new google.maps.Size(21, 32), | |
| 281 | - new google.maps.Point(0,0), | |
| 282 | - new google.maps.Point(16, 35) | |
| 283 | - ); | |
| 284 | - var image9 = new google.maps.MarkerImage('images/markers/marker-we-9.png', | |
| 285 | - new google.maps.Size(21, 32), | |
| 286 | - new google.maps.Point(0,0), | |
| 287 | - new google.maps.Point(16, 35) | |
| 288 | - ); | |
| 289 | - var image10 = new google.maps.MarkerImage('images/markers/marker-empl-1.png', | |
| 290 | - new google.maps.Size(21, 32), | |
| 291 | - new google.maps.Point(0,0), | |
| 292 | - new google.maps.Point(16, 35) | |
| 293 | - ); | |
| 294 | - var image11 = new google.maps.MarkerImage('images/markers/marker-empl-2.png', | |
| 295 | - new google.maps.Size(21, 32), | |
| 296 | - new google.maps.Point(0,0), | |
| 297 | - new google.maps.Point(16, 35) | |
| 298 | - ); | |
| 299 | - var image12 = new google.maps.MarkerImage('images/markers/marker-empl-3.png', | |
| 300 | - new google.maps.Size(21, 32), | |
| 301 | - new google.maps.Point(0,0), | |
| 302 | - new google.maps.Point(16, 35) | |
| 303 | - ); | |
| 304 | - var image13 = new google.maps.MarkerImage('images/markers/marker-empl-4.png', | |
| 305 | - new google.maps.Size(21, 32), | |
| 306 | - new google.maps.Point(0,0), | |
| 307 | - new google.maps.Point(16, 35) | |
| 308 | - ); | |
| 309 | - var image14 = new google.maps.MarkerImage('images/markers/marker-empl-5.png', | |
| 310 | - new google.maps.Size(21, 32), | |
| 311 | - new google.maps.Point(0,0), | |
| 312 | - new google.maps.Point(16, 35) | |
| 313 | - ); | |
| 314 | - var image15 = new google.maps.MarkerImage('images/markers/marker-empl-6.png', | |
| 315 | - new google.maps.Size(21, 32), | |
| 316 | - new google.maps.Point(0,0), | |
| 317 | - new google.maps.Point(16, 35) | |
| 318 | - ); | |
| 319 | - var image16 = new google.maps.MarkerImage('images/markers/marker-empl-7.png', | |
| 320 | - new google.maps.Size(21, 32), | |
| 321 | - new google.maps.Point(0,0), | |
| 322 | - new google.maps.Point(16, 35) | |
| 323 | - ); | |
| 324 | - var image17 = new google.maps.MarkerImage('images/markers/marker-empl-8.png', | |
| 325 | - new google.maps.Size(21, 32), | |
| 326 | - new google.maps.Point(0,0), | |
| 327 | - new google.maps.Point(16, 35) | |
| 328 | - ); | |
| 329 | - var image18 = new google.maps.MarkerImage('images/markers/marker-empl-9.png', | |
| 330 | - new google.maps.Size(21, 32), | |
| 331 | - new google.maps.Point(0,0), | |
| 332 | - new google.maps.Point(16, 35) | |
| 333 | - ); | |
| 334 | - | |
| 335 | - var markers = []; | |
| 336 | - | |
| 337 | - var marker = new google.maps.Marker({ | |
| 338 | - position: new google.maps.LatLng('56', '35.3'), | |
| 339 | - map: map, | |
| 340 | - title: 'Marker Title2', | |
| 341 | - icon: image1 | |
| 342 | - }); | |
| 343 | - markers.push(marker); | |
| 344 | - | |
| 345 | - var marker = new google.maps.Marker({ | |
| 346 | - position: new google.maps.LatLng('56', '36'), | |
| 347 | - map: map, | |
| 348 | - title: 'Marker Title2', | |
| 349 | - icon: image2 | |
| 350 | - }); | |
| 351 | - markers.push(marker); | |
| 352 | - | |
| 353 | - var marker = new google.maps.Marker({ | |
| 354 | - position: new google.maps.LatLng('56', '34.5'), | |
| 355 | - map: map, | |
| 356 | - title: 'Marker Title3', | |
| 357 | - icon: image18 | |
| 358 | - }); | |
| 359 | - markers.push(marker); | |
| 360 | - | |
| 361 | - var marker = new google.maps.Marker({ | |
| 362 | - position: new google.maps.LatLng('56', '35'), | |
| 363 | - map: map, | |
| 364 | - title: 'Marker Title4', | |
| 365 | - icon: image13 | |
| 366 | - }); | |
| 367 | - markers.push(marker); | |
| 368 | - | |
| 369 | - | |
| 370 | - var clusterStyles = [ | |
| 371 | - { | |
| 372 | - url: 'images/markers/clasters.png', | |
| 373 | - height: 36, | |
| 374 | - width: 36 | |
| 375 | - } | |
| 376 | - | |
| 377 | - ]; | |
| 378 | - markerClusterer = new MarkerClusterer(map, markers, | |
| 379 | - { | |
| 380 | - maxZoom: 10, | |
| 381 | - gridSize: 100, | |
| 382 | - styles: clusterStyles | |
| 383 | - }); | |
| 384 | -//ะฑะฐะปัะฝ | |
| 385 | - var infowindow = new google.maps.InfoWindow({ | |
| 386 | - content: '<div style="width: 112px;"><a href="#" style="text-decoration: none; color: #333"><img style="width: 112px; height: 60px" src="images/infowindow_marker_slider.jpg" alt=""/><p style="width: 100%; text-align: center; font-family: Ubuntu Bold; font-size: 11px;">ะขัั โะะฐัะฝะธัะฐโ</p></a></div>' | |
| 387 | - }); | |
| 388 | - google.maps.event.addListener(marker, 'click', function() { | |
| 389 | - infowindow.open(map, this); | |
| 390 | - }); | |
| 391 | - } | |
| 392 | - </script> | |
| 393 | - </div> | |
| 394 | - <div id="map_canvas" style="width: 100%; height:100%;"></div> | |
| 395 | - <div class="slider_map-wr"> | |
| 396 | - <div class="slider_map_overlay"></div> | |
| 397 | - <div class="slider_map"> | |
| 398 | - <div id="demo5" class="scroll-img"> | |
| 399 | - <ul> | |
| 400 | - <li> | |
| 401 | - <a href="#" class="slider_a"> | |
| 402 | - <div class="slider-marker-bl"> | |
| 403 | - <div class="slider-marker-bl-img"> | |
| 404 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 405 | - </div> | |
| 406 | - <div class="slider-marker-bl-text"> | |
| 407 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 408 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 409 | - </div> | |
| 410 | - </div> | |
| 411 | - </a> | |
| 412 | - </li> | |
| 413 | - <li> | |
| 414 | - <a href="#" class="slider_a"> | |
| 415 | - <div class="slider-marker-bl"> | |
| 416 | - <div class="slider-marker-bl-img"> | |
| 417 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 418 | - </div> | |
| 419 | - <div class="slider-marker-bl-text"> | |
| 420 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 421 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 422 | - </div> | |
| 423 | - </div> | |
| 424 | - </a> | |
| 425 | - </li> | |
| 426 | - <li> | |
| 427 | - <a href="#" class="slider_a"> | |
| 428 | - <div class="slider-marker-bl"> | |
| 429 | - <div class="slider-marker-bl-img"> | |
| 430 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 431 | - </div> | |
| 432 | - <div class="slider-marker-bl-text"> | |
| 433 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 434 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 435 | - </div> | |
| 436 | - </div> | |
| 437 | - </a> | |
| 438 | - </li> | |
| 439 | - <li> | |
| 440 | - <a href="#" class="slider_a"> | |
| 441 | - <div class="slider-marker-bl"> | |
| 442 | - <div class="slider-marker-bl-img"> | |
| 443 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 444 | - </div> | |
| 445 | - <div class="slider-marker-bl-text"> | |
| 446 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 447 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 448 | - </div> | |
| 449 | - </div> | |
| 450 | - </a> | |
| 451 | - </li> | |
| 452 | - <li> | |
| 453 | - <a href="#" class="slider_a"> | |
| 454 | - <div class="slider-marker-bl"> | |
| 455 | - <div class="slider-marker-bl-img"> | |
| 456 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 457 | - </div> | |
| 458 | - <div class="slider-marker-bl-text"> | |
| 459 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 460 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 461 | - </div> | |
| 462 | - </div> | |
| 463 | - </a> | |
| 464 | - </li> | |
| 465 | - <li> | |
| 466 | - <a href="#" class="slider_a"> | |
| 467 | - <div class="slider-marker-bl"> | |
| 468 | - <div class="slider-marker-bl-img"> | |
| 469 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 470 | - </div> | |
| 471 | - <div class="slider-marker-bl-text"> | |
| 472 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 473 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 474 | - </div> | |
| 475 | - </div> | |
| 476 | - </a> | |
| 477 | - </li> | |
| 478 | - </ul> | |
| 479 | - </div> | |
| 480 | - <div id="demo5-btn" class="text-center"> | |
| 481 | - <a id="demo5-backward"></a> | |
| 482 | - <a id="demo5-forward"></a> | |
| 483 | - </div> | |
| 484 | - </div> | |
| 485 | - </div> | |
| 486 | - </div> | |
| 487 | - | |
| 488 | - </div> | |
| 489 | -</div> | |
| 490 | 0 | \ No newline at end of file |
frontend/views/vacancy/search.php renamed to frontend/views/search/vacancy.php
frontend/views/site/about.php deleted
| 1 | -<?php | |
| 2 | - | |
| 3 | -/* @var $this yii\web\View */ | |
| 4 | - | |
| 5 | -use yii\helpers\Html; | |
| 6 | - | |
| 7 | -$this->title = 'About'; | |
| 8 | -$this->params['breadcrumbs'][] = $this->title; | |
| 9 | -?> | |
| 10 | -<div class="site-about"> | |
| 11 | - <h1><?= Html::encode($this->title) ?></h1> | |
| 12 | - | |
| 13 | - <p>This is the About page. You may modify the following file to customize its content:</p> | |
| 14 | - | |
| 15 | - <code><?= __FILE__ ?></code> | |
| 16 | -</div> |
frontend/views/site/contact.php deleted
| 1 | -<?php | |
| 2 | - | |
| 3 | -/* @var $this yii\web\View */ | |
| 4 | -/* @var $form yii\bootstrap\ActiveForm */ | |
| 5 | -/* @var $model \frontend\models\ContactForm */ | |
| 6 | - | |
| 7 | -use yii\helpers\Html; | |
| 8 | -use yii\bootstrap\ActiveForm; | |
| 9 | -use yii\captcha\Captcha; | |
| 10 | - | |
| 11 | -$this->title = 'Contact'; | |
| 12 | -$this->params['breadcrumbs'][] = $this->title; | |
| 13 | -?> | |
| 14 | -<div class="site-contact"> | |
| 15 | - <h1><?= Html::encode($this->title) ?></h1> | |
| 16 | - | |
| 17 | - <p> | |
| 18 | - If you have business inquiries or other questions, please fill out the following form to contact us. Thank you. | |
| 19 | - </p> | |
| 20 | - | |
| 21 | - <div class="row"> | |
| 22 | - <div class="col-lg-5"> | |
| 23 | - <?php $form = ActiveForm::begin(['id' => 'contact-form']); ?> | |
| 24 | - | |
| 25 | - <?= $form->field($model, 'name') ?> | |
| 26 | - | |
| 27 | - <?= $form->field($model, 'email') ?> | |
| 28 | - | |
| 29 | - <?= $form->field($model, 'subject') ?> | |
| 30 | - | |
| 31 | - <?= $form->field($model, 'body')->textArea(['rows' => 6]) ?> | |
| 32 | - | |
| 33 | - <?= $form->field($model, 'verifyCode')->widget(Captcha::className(), [ | |
| 34 | - 'template' => '<div class="row"><div class="col-lg-3">{image}</div><div class="col-lg-6">{input}</div></div>', | |
| 35 | - ]) ?> | |
| 36 | - | |
| 37 | - <div class="form-group"> | |
| 38 | - <?= Html::submitButton('Submit', ['class' => 'btn btn-primary', 'name' => 'contact-button']) ?> | |
| 39 | - </div> | |
| 40 | - | |
| 41 | - <?php ActiveForm::end(); ?> | |
| 42 | - </div> | |
| 43 | - </div> | |
| 44 | - | |
| 45 | -</div> |
frontend/views/site/feedback.php deleted
| 1 | -<?php | |
| 2 | - | |
| 3 | -/* @var $this yii\web\View */ | |
| 4 | -/* @var $form yii\bootstrap\ActiveForm */ | |
| 5 | -/* @var $model \frontend\models\ContactForm */ | |
| 6 | - | |
| 7 | -use yii\helpers\Html; | |
| 8 | -use yii\bootstrap\ActiveForm; | |
| 9 | -use yii\captcha\Captcha; | |
| 10 | - | |
| 11 | -$this->title = Yii::t('app', 'Feedback'); | |
| 12 | -$this->params['breadcrumbs'][] = $this->title; | |
| 13 | -?> | |
| 14 | -<div class="site-contact"> | |
| 15 | - <h1><?= Html::encode($this->title) ?></h1> | |
| 16 | - <?php foreach($forms as $oneform) { | |
| 17 | - echo $this->render('/option/_form', $oneform); | |
| 18 | - }?> | |
| 19 | -</div> |
frontend/views/site/index.php
| ... | ... | @@ -47,9 +47,9 @@ $this->title = 'My Yii Application'; |
| 47 | 47 | <div class="box-wr"> |
| 48 | 48 | <div class="box-all"> |
| 49 | 49 | <div class="menu-two-wrapp-title">ะกะฟะตัะธะฐะปะธะทะฐัะธั ัะฐะฑะพั ะฟะพ ะธัะฟะพะปะฝะธัะตะปัะผ</div> |
| 50 | - <div class="menu-two-wrapp" style="background: url('images/menu-pic-1.jpg') 100% 100% no-repeat"> | |
| 50 | + <div class="menu-two-wrapp" style="background: url('/images/menu-pic-1.jpg') 100% 100% no-repeat"> | |
| 51 | 51 | <ul class="content-menu-first"> |
| 52 | - <li data-img="images/menu-pic-1-2.jpg"> | |
| 52 | + <li data-img="/images/menu-pic-1-2.jpg"> | |
| 53 | 53 | <span data-menu-bg="#bb0f3f" style="background: #bb0f3f"></span><a href="#">ะะธะปัะต</a> |
| 54 | 54 | <ul> |
| 55 | 55 | <li> |
| ... | ... | @@ -90,7 +90,7 @@ $this->title = 'My Yii Application'; |
| 90 | 90 | <li><a href="#">ะะฒะฐััะธัั</a></li> |
| 91 | 91 | </ul> |
| 92 | 92 | </li> |
| 93 | - <li data-img="images/menu-pic-1.jpg"> | |
| 93 | + <li data-img="/images/menu-pic-1.jpg"> | |
| 94 | 94 | <span data-menu-bg="#ea640b" style="background: #ea640b"></span><a href="#">ะัะธัะฝัะต</a> |
| 95 | 95 | <ul> |
| 96 | 96 | <li> |
| ... | ... | @@ -119,13 +119,13 @@ $this->title = 'My Yii Application'; |
| 119 | 119 | </li> |
| 120 | 120 | </ul> |
| 121 | 121 | </li> |
| 122 | - <li data-img="images/menu-pic-1-2.jpg"><span data-menu-bg="#f7a901" style="background: #f7a901"></span><a href="#">ะขะพัะณะพะฒัะต</a></li> | |
| 123 | - <li data-img="images/menu-pic-1.jpg"><span data-menu-bg="#53a827" style="background: #53a827"></span><a href="#">ะะพััั</a></li> | |
| 124 | - <li data-img="images/menu-pic-1-2.jpg"><span data-menu-bg="#018232" style="background: #018232"></span><a href="#">ะะพัะพะณะธ</a></li> | |
| 125 | - <li data-img="images/menu-pic-1.jpg"><span data-menu-bg="#02857d" style="background: #02857d"></span><a href="#">ะกะพะพััะถะตะฝะธั</a></li> | |
| 126 | - <li data-img="images/menu-pic-1-2.jpg"><span data-menu-bg="#019abf" style="background: #019abf"></span><a href="#">ะกะบะปะฐะดั</a></li> | |
| 127 | - <li data-img="images/menu-pic-1.jpg"><span data-menu-bg="#116da8" style="background: #116da8"></span><a href="#">ะะฐะฒะพะดั</a></li> | |
| 128 | - <li data-img="images/menu-pic-1-2.jpg"><span data-menu-bg="#413e7f" style="background: #413e7f"></span><a href="#">ะ ะฐะทะฝะพะต</a></li> | |
| 122 | + <li data-img="/images/menu-pic-1-2.jpg"><span data-menu-bg="#f7a901" style="background: #f7a901"></span><a href="#">ะขะพัะณะพะฒัะต</a></li> | |
| 123 | + <li data-img="/images/menu-pic-1.jpg"><span data-menu-bg="#53a827" style="background: #53a827"></span><a href="#">ะะพััั</a></li> | |
| 124 | + <li data-img="/images/menu-pic-1-2.jpg"><span data-menu-bg="#018232" style="background: #018232"></span><a href="#">ะะพัะพะณะธ</a></li> | |
| 125 | + <li data-img="/images/menu-pic-1.jpg"><span data-menu-bg="#02857d" style="background: #02857d"></span><a href="#">ะกะพะพััะถะตะฝะธั</a></li> | |
| 126 | + <li data-img="/images/menu-pic-1-2.jpg"><span data-menu-bg="#019abf" style="background: #019abf"></span><a href="#">ะกะบะปะฐะดั</a></li> | |
| 127 | + <li data-img="/images/menu-pic-1.jpg"><span data-menu-bg="#116da8" style="background: #116da8"></span><a href="#">ะะฐะฒะพะดั</a></li> | |
| 128 | + <li data-img="/images/menu-pic-1-2.jpg"><span data-menu-bg="#413e7f" style="background: #413e7f"></span><a href="#">ะ ะฐะทะฝะพะต</a></li> | |
| 129 | 129 | </ul> |
| 130 | 130 | </div> |
| 131 | 131 | </div> |
| ... | ... | @@ -165,92 +165,92 @@ $this->title = 'My Yii Application'; |
| 165 | 165 | var map = new google.maps.Map(document.getElementById("map_canvas"), settings); |
| 166 | 166 | |
| 167 | 167 | |
| 168 | - var image1 = new google.maps.MarkerImage('images/markers/marker-we-1.png', | |
| 168 | + var image1 = new google.maps.MarkerImage('/images/markers/marker-we-1.png', | |
| 169 | 169 | new google.maps.Size(21, 32), |
| 170 | 170 | new google.maps.Point(0,0), |
| 171 | 171 | new google.maps.Point(16, 35) |
| 172 | 172 | ); |
| 173 | - var image2 = new google.maps.MarkerImage('images/markers/marker-we-2.png', | |
| 173 | + var image2 = new google.maps.MarkerImage('/images/markers/marker-we-2.png', | |
| 174 | 174 | new google.maps.Size(21, 32), |
| 175 | 175 | new google.maps.Point(0,0), |
| 176 | 176 | new google.maps.Point(16, 35) |
| 177 | 177 | ); |
| 178 | - var image3 = new google.maps.MarkerImage('images/markers/marker-we-3.png', | |
| 178 | + var image3 = new google.maps.MarkerImage('/images/markers/marker-we-3.png', | |
| 179 | 179 | new google.maps.Size(21, 32), |
| 180 | 180 | new google.maps.Point(0,0), |
| 181 | 181 | new google.maps.Point(16, 35) |
| 182 | 182 | ); |
| 183 | - var image4 = new google.maps.MarkerImage('images/markers/marker-we-4.png', | |
| 183 | + var image4 = new google.maps.MarkerImage('/images/markers/marker-we-4.png', | |
| 184 | 184 | new google.maps.Size(21, 32), |
| 185 | 185 | new google.maps.Point(0,0), |
| 186 | 186 | new google.maps.Point(16, 35) |
| 187 | 187 | ); |
| 188 | - var image5 = new google.maps.MarkerImage('images/markers/marker-we-5.png', | |
| 188 | + var image5 = new google.maps.MarkerImage('/images/markers/marker-we-5.png', | |
| 189 | 189 | new google.maps.Size(21, 32), |
| 190 | 190 | new google.maps.Point(0,0), |
| 191 | 191 | new google.maps.Point(16, 35) |
| 192 | 192 | ); |
| 193 | - var image6 = new google.maps.MarkerImage('images/markers/marker-we-6.png', | |
| 193 | + var image6 = new google.maps.MarkerImage('/images/markers/marker-we-6.png', | |
| 194 | 194 | new google.maps.Size(21, 32), |
| 195 | 195 | new google.maps.Point(0,0), |
| 196 | 196 | new google.maps.Point(16, 35) |
| 197 | 197 | ); |
| 198 | - var image7 = new google.maps.MarkerImage('images/markers/marker-we-7.png', | |
| 198 | + var image7 = new google.maps.MarkerImage('/images/markers/marker-we-7.png', | |
| 199 | 199 | new google.maps.Size(21, 32), |
| 200 | 200 | new google.maps.Point(0,0), |
| 201 | 201 | new google.maps.Point(16, 35) |
| 202 | 202 | ); |
| 203 | - var image8 = new google.maps.MarkerImage('images/markers/marker-we-8.png', | |
| 203 | + var image8 = new google.maps.MarkerImage('/images/markers/marker-we-8.png', | |
| 204 | 204 | new google.maps.Size(21, 32), |
| 205 | 205 | new google.maps.Point(0,0), |
| 206 | 206 | new google.maps.Point(16, 35) |
| 207 | 207 | ); |
| 208 | - var image9 = new google.maps.MarkerImage('images/markers/marker-we-9.png', | |
| 208 | + var image9 = new google.maps.MarkerImage('/images/markers/marker-we-9.png', | |
| 209 | 209 | new google.maps.Size(21, 32), |
| 210 | 210 | new google.maps.Point(0,0), |
| 211 | 211 | new google.maps.Point(16, 35) |
| 212 | 212 | ); |
| 213 | - var image10 = new google.maps.MarkerImage('images/markers/marker-empl-1.png', | |
| 213 | + var image10 = new google.maps.MarkerImage('/images/markers/marker-empl-1.png', | |
| 214 | 214 | new google.maps.Size(21, 32), |
| 215 | 215 | new google.maps.Point(0,0), |
| 216 | 216 | new google.maps.Point(16, 35) |
| 217 | 217 | ); |
| 218 | - var image11 = new google.maps.MarkerImage('images/markers/marker-empl-2.png', | |
| 218 | + var image11 = new google.maps.MarkerImage('/images/markers/marker-empl-2.png', | |
| 219 | 219 | new google.maps.Size(21, 32), |
| 220 | 220 | new google.maps.Point(0,0), |
| 221 | 221 | new google.maps.Point(16, 35) |
| 222 | 222 | ); |
| 223 | - var image12 = new google.maps.MarkerImage('images/markers/marker-empl-3.png', | |
| 223 | + var image12 = new google.maps.MarkerImage('/images/markers/marker-empl-3.png', | |
| 224 | 224 | new google.maps.Size(21, 32), |
| 225 | 225 | new google.maps.Point(0,0), |
| 226 | 226 | new google.maps.Point(16, 35) |
| 227 | 227 | ); |
| 228 | - var image13 = new google.maps.MarkerImage('images/markers/marker-empl-4.png', | |
| 228 | + var image13 = new google.maps.MarkerImage('/images/markers/marker-empl-4.png', | |
| 229 | 229 | new google.maps.Size(21, 32), |
| 230 | 230 | new google.maps.Point(0,0), |
| 231 | 231 | new google.maps.Point(16, 35) |
| 232 | 232 | ); |
| 233 | - var image14 = new google.maps.MarkerImage('images/markers/marker-empl-5.png', | |
| 233 | + var image14 = new google.maps.MarkerImage('/images/markers/marker-empl-5.png', | |
| 234 | 234 | new google.maps.Size(21, 32), |
| 235 | 235 | new google.maps.Point(0,0), |
| 236 | 236 | new google.maps.Point(16, 35) |
| 237 | 237 | ); |
| 238 | - var image15 = new google.maps.MarkerImage('images/markers/marker-empl-6.png', | |
| 238 | + var image15 = new google.maps.MarkerImage('/images/markers/marker-empl-6.png', | |
| 239 | 239 | new google.maps.Size(21, 32), |
| 240 | 240 | new google.maps.Point(0,0), |
| 241 | 241 | new google.maps.Point(16, 35) |
| 242 | 242 | ); |
| 243 | - var image16 = new google.maps.MarkerImage('images/markers/marker-empl-7.png', | |
| 243 | + var image16 = new google.maps.MarkerImage('/images/markers/marker-empl-7.png', | |
| 244 | 244 | new google.maps.Size(21, 32), |
| 245 | 245 | new google.maps.Point(0,0), |
| 246 | 246 | new google.maps.Point(16, 35) |
| 247 | 247 | ); |
| 248 | - var image17 = new google.maps.MarkerImage('images/markers/marker-empl-8.png', | |
| 248 | + var image17 = new google.maps.MarkerImage('/images/markers/marker-empl-8.png', | |
| 249 | 249 | new google.maps.Size(21, 32), |
| 250 | 250 | new google.maps.Point(0,0), |
| 251 | 251 | new google.maps.Point(16, 35) |
| 252 | 252 | ); |
| 253 | - var image18 = new google.maps.MarkerImage('images/markers/marker-empl-9.png', | |
| 253 | + var image18 = new google.maps.MarkerImage('/images/markers/marker-empl-9.png', | |
| 254 | 254 | new google.maps.Size(21, 32), |
| 255 | 255 | new google.maps.Point(0,0), |
| 256 | 256 | new google.maps.Point(16, 35) |
| ... | ... | @@ -293,7 +293,7 @@ $this->title = 'My Yii Application'; |
| 293 | 293 | |
| 294 | 294 | var clusterStyles = [ |
| 295 | 295 | { |
| 296 | - url: 'images/markers/clasters.png', | |
| 296 | + url: '/images/markers/clasters.png', | |
| 297 | 297 | height: 36, |
| 298 | 298 | width: 36 |
| 299 | 299 | } |
| ... | ... | @@ -327,60 +327,60 @@ $this->title = 'My Yii Application'; |
| 327 | 327 | <div class="federation-home-blocks-wr"> |
| 328 | 328 | <div class="federation-home-blocks-wr-blocks"> |
| 329 | 329 | <div class="federation-home-blocks"> |
| 330 | - <div class="federation-home-ico"><img src="images/ico-fed-1.png" alt=""/></div> | |
| 330 | + <div class="federation-home-ico"><img src="/images/ico-fed-1.png" alt=""/></div> | |
| 331 | 331 | <div class="federation-home-text">ะะฟะธัะฐะฝะธั ัะตะนัะธะฝะณะพะฒ</div> |
| 332 | 332 | </div> |
| 333 | 333 | <div class="federation-home-blocks"> |
| 334 | - <div class="federation-home-ico"><img src="images/ico-fed-2.png" alt=""/></div> | |
| 334 | + <div class="federation-home-ico"><img src="/images/ico-fed-2.png" alt=""/></div> | |
| 335 | 335 | <div class="federation-home-text">ะั ะฟะพะปััะฐะตัะต ะปััััั ัะตะฝั</div> |
| 336 | 336 | </div> |
| 337 | 337 | <div class="federation-home-blocks"> |
| 338 | - <div class="federation-home-ico"><img src="images/ico-fed-3.png" alt=""/></div> | |
| 338 | + <div class="federation-home-ico"><img src="/images/ico-fed-3.png" alt=""/></div> | |
| 339 | 339 | <div class="federation-home-text">ะะฐัะฐะฝัะธะธ ะฟะพะปััะตะฝะธั ะฟัะพะตะบัะฐ ะฒ ััะพะบ</div> |
| 340 | 340 | </div> |
| 341 | 341 | </div> |
| 342 | 342 | |
| 343 | 343 | <div class="federation-home-blocks-wr-blocks"> |
| 344 | 344 | <div class="federation-home-blocks"> |
| 345 | - <div class="federation-home-ico"><img src="images/ico-fed-1.png" alt=""/></div> | |
| 345 | + <div class="federation-home-ico"><img src="/images/ico-fed-1.png" alt=""/></div> | |
| 346 | 346 | <div class="federation-home-text">2ะะฟะธัะฐะฝะธั ัะตะนัะธะฝะณะพะฒ</div> |
| 347 | 347 | </div> |
| 348 | 348 | <div class="federation-home-blocks"> |
| 349 | - <div class="federation-home-ico"><img src="images/ico-fed-2.png" alt=""/></div> | |
| 349 | + <div class="federation-home-ico"><img src="/images/ico-fed-2.png" alt=""/></div> | |
| 350 | 350 | <div class="federation-home-text">2ะั ะฟะพะปััะฐะตัะต ะปััััั ัะตะฝั</div> |
| 351 | 351 | </div> |
| 352 | 352 | <div class="federation-home-blocks"> |
| 353 | - <div class="federation-home-ico"><img src="images/ico-fed-3.png" alt=""/></div> | |
| 353 | + <div class="federation-home-ico"><img src="/images/ico-fed-3.png" alt=""/></div> | |
| 354 | 354 | <div class="federation-home-text">2ะะฐัะฐะฝัะธะธ ะฟะพะปััะตะฝะธั ะฟัะพะตะบัะฐ ะฒ ััะพะบ</div> |
| 355 | 355 | </div> |
| 356 | 356 | </div> |
| 357 | 357 | |
| 358 | 358 | <div class="federation-home-blocks-wr-blocks"> |
| 359 | 359 | <div class="federation-home-blocks"> |
| 360 | - <div class="federation-home-ico"><img src="images/ico-fed-1.png" alt=""/></div> | |
| 360 | + <div class="federation-home-ico"><img src="/images/ico-fed-1.png" alt=""/></div> | |
| 361 | 361 | <div class="federation-home-text">3ะะฟะธัะฐะฝะธั ัะตะนัะธะฝะณะพะฒ</div> |
| 362 | 362 | </div> |
| 363 | 363 | <div class="federation-home-blocks"> |
| 364 | - <div class="federation-home-ico"><img src="images/ico-fed-2.png" alt=""/></div> | |
| 364 | + <div class="federation-home-ico"><img src="/images/ico-fed-2.png" alt=""/></div> | |
| 365 | 365 | <div class="federation-home-text">3ะั ะฟะพะปััะฐะตัะต ะปััััั ัะตะฝั</div> |
| 366 | 366 | </div> |
| 367 | 367 | <div class="federation-home-blocks"> |
| 368 | - <div class="federation-home-ico"><img src="images/ico-fed-3.png" alt=""/></div> | |
| 368 | + <div class="federation-home-ico"><img src="/images/ico-fed-3.png" alt=""/></div> | |
| 369 | 369 | <div class="federation-home-text">3ะะฐัะฐะฝัะธะธ ะฟะพะปััะตะฝะธั ะฟัะพะตะบัะฐ ะฒ ััะพะบ</div> |
| 370 | 370 | </div> |
| 371 | 371 | </div> |
| 372 | 372 | |
| 373 | 373 | <div class="federation-home-blocks-wr-blocks"> |
| 374 | 374 | <div class="federation-home-blocks"> |
| 375 | - <div class="federation-home-ico"><img src="images/ico-fed-1.png" alt=""/></div> | |
| 375 | + <div class="federation-home-ico"><img src="/images/ico-fed-1.png" alt=""/></div> | |
| 376 | 376 | <div class="federation-home-text">4ะะฟะธัะฐะฝะธั ัะตะนัะธะฝะณะพะฒ</div> |
| 377 | 377 | </div> |
| 378 | 378 | <div class="federation-home-blocks"> |
| 379 | - <div class="federation-home-ico"><img src="images/ico-fed-2.png" alt=""/></div> | |
| 379 | + <div class="federation-home-ico"><img src="/images/ico-fed-2.png" alt=""/></div> | |
| 380 | 380 | <div class="federation-home-text">4ะั ะฟะพะปััะฐะตัะต ะปััััั ัะตะฝั</div> |
| 381 | 381 | </div> |
| 382 | 382 | <div class="federation-home-blocks"> |
| 383 | - <div class="federation-home-ico"><img src="images/ico-fed-3.png" alt=""/></div> | |
| 383 | + <div class="federation-home-ico"><img src="/images/ico-fed-3.png" alt=""/></div> | |
| 384 | 384 | <div class="federation-home-text">4ะะฐัะฐะฝัะธะธ ะฟะพะปััะตะฝะธั ะฟัะพะตะบัะฐ ะฒ ััะพะบ</div> |
| 385 | 385 | </div> |
| 386 | 386 | </div> | ... | ... |
frontend/views/tender/index.php deleted
frontend/views/tender/search.php deleted
| 1 | -<?php | |
| 2 | - | |
| 3 | -use \yii\helpers\Html; | |
| 4 | - | |
| 5 | -/* @var $this yii\web\View */ | |
| 6 | - | |
| 7 | -$this->title = 'My Yii Application'; | |
| 8 | -?> | |
| 9 | - | |
| 10 | -<div class="section-box content"> | |
| 11 | - <div class="section-box-22"> | |
| 12 | - <div class="box-wr"> | |
| 13 | - <div class="box-all"> | |
| 14 | - <div class="left-search-work"> | |
| 15 | - <form action="" class="search-work-form"> | |
| 16 | - | |
| 17 | - <div class="blocks-check-list-wrapp"> | |
| 18 | - <div class="blocks-check-title">ะัะพัะธะปั</div> | |
| 19 | - <div class="blocks-check-list-wrapp"> | |
| 20 | - <select> | |
| 21 | - <option selected >ะะธะทะฐะนะฝ</option> | |
| 22 | - <option value="">ะะฐะฝะดัะฐััะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 23 | - <option value="">ะะฝัะตััะตัะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 24 | - </select> | |
| 25 | - </div> | |
| 26 | - | |
| 27 | - <div class="blocks-check-list-wrapp"> | |
| 28 | - <select> | |
| 29 | - <option selected >ะัั ะธัะตะบัััะฐ</option> | |
| 30 | - <option value="">ะะฐะฝะดัะฐััะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 31 | - <option value="">ะะฝัะตััะตัะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 32 | - </select> | |
| 33 | - </div> | |
| 34 | - | |
| 35 | - <div class="blocks-check-list-wrapp"> | |
| 36 | - <select> | |
| 37 | - <option selected >ะกััะพะธัะตะปัััะฒะพ</option> | |
| 38 | - <option value="">ะะฐะฝะดัะฐััะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 39 | - <option value="">ะะฝัะตััะตัะฝัะน ะดะธะทะฐะนะฝ</option> | |
| 40 | - </select> | |
| 41 | - </div> | |
| 42 | - </div> | |
| 43 | - | |
| 44 | - <div class="blocks-check-list-wrapp"> | |
| 45 | - <div class="blocks-check-title">ะ ะตะณะธะพะฝ</div> | |
| 46 | - <select> | |
| 47 | - <option selected value="">ะัะต ัััะฐะฝั</option> | |
| 48 | - <option style="color: #000; font-weight: bold !important;" value="">ะฃะบัะฐะธะฝะฐ</option> | |
| 49 | - <option value="">ะ ะพััะธั</option> | |
| 50 | - <option value="">ะะตะปะพัััั</option> | |
| 51 | - </select> | |
| 52 | - </div> | |
| 53 | - <div class="blocks-check-list-wrapp"> | |
| 54 | - <select id="theme-1"> | |
| 55 | - <option selected >ะะพัะพะด</option> | |
| 56 | - <option value="">ะัะต</option> | |
| 57 | - <option value="">ะะธะตะฒ</option> | |
| 58 | - <option value="">ะะธัะพะผะธั</option> | |
| 59 | - <option value="">ะัะฒะพะฒ</option> | |
| 60 | - <option value="">ะะธะตะฒ</option> | |
| 61 | - <option value="">ะะธัะพะผะธั</option> | |
| 62 | - <option value="">ะัะฒะพะฒ</option> | |
| 63 | - </select> | |
| 64 | - </div> | |
| 65 | - | |
| 66 | - <div class="blocks-check-list-wrapp"> | |
| 67 | - <div class="blocks-check-title">ะัะดะถะตั</div> | |
| 68 | - <div class="form-price-wr"> | |
| 69 | - <input type="text" placeholder="ะพั"/> | |
| 70 | - <input type="text" placeholder="ะดะพ"/> | |
| 71 | - <div class="blocks-check-list-wrapp check-valuta"> | |
| 72 | - <select> | |
| 73 | - <option selected>ะณัะฝ</option> | |
| 74 | - <option value="">$</option> | |
| 75 | - <option value="">eur</option> | |
| 76 | - </select> | |
| 77 | - </div> | |
| 78 | - </div> | |
| 79 | - <div class="blocks-check-list"> | |
| 80 | - <input type="checkbox" name="group2" class="check-search" id="theme-4"><label for="theme-4"><span></span>ะะพะณะพะฒะพัะฝะพะน</label> | |
| 81 | - </div> | |
| 82 | - <div class="blocks-check-list"> | |
| 83 | - <input type="checkbox" name="group2" class="check-search" id="theme-5"><label for="theme-5"><span></span>ะะพะผะฟะฐะฝะธะธ</label> | |
| 84 | - </div> | |
| 85 | - <div class="blocks-check-list"> | |
| 86 | - <input type="checkbox" name="group2" class="check-search" id="theme-6"><label for="theme-6"><span></span>ะัะพะตะบัะฐะฝัั</label> | |
| 87 | - </div> | |
| 88 | - <div class="blocks-check-list"> | |
| 89 | - <input checked type="checkbox" name="group2" class="check-search" id="theme-7"><label for="theme-7"><span></span>ะัะต</label> | |
| 90 | - </div> | |
| 91 | - </div> | |
| 92 | - | |
| 93 | - | |
| 94 | - <a href="#" class="reset-filter">ะกะฑัะพัะธัั ัะธะปััั</a> | |
| 95 | - <div class="blocks-check-list-submit"> | |
| 96 | - <input type="submit" value="ะะฐะนัะธ"/> | |
| 97 | - </div> | |
| 98 | - </form> | |
| 99 | - </div> | |
| 100 | - <div class="right-search-work"> | |
| 101 | - <div class="search-worker-title style">ะกะตะนัะฐั 751 ะฟัะตะดะปะพะถะตะฝะธะต</div> | |
| 102 | - <div class="search-profile-blocks-wr style"> | |
| 103 | - <div class="search-profile-blocks"> | |
| 104 | - <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 105 | - <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 106 | - <div class="srch-prof-contract-wr"> | |
| 107 | - <div class="srch-prof-contract-button">ะะะะ ะฏะ</div> | |
| 108 | - <div class="srch-prof-contract-txt"> | |
| 109 | - <span>ะะท ะฟัะพะตะบัะฐ: </span><a href="#">ะะตัะตััะบะธะน ะบะฒะฐััะฐะป</a> | |
| 110 | - </div> | |
| 111 | - </div> | |
| 112 | - <div class="srch-prof-text"> | |
| 113 | - <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 114 | - <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 115 | - </div> | |
| 116 | - <div class="srch-prof-params-wr"> | |
| 117 | - <div class="srch-prof-params srch-prof-params-city"> | |
| 118 | - <img src="images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 119 | - </div> | |
| 120 | - <div class="srch-prof-params srch-prof-params-clock"> | |
| 121 | - <img src="images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 122 | - </div> | |
| 123 | - <div class="srch-prof-params srch-prof-params-comm"> | |
| 124 | - <img src="images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 125 | - </div> | |
| 126 | - </div> | |
| 127 | - </div> | |
| 128 | - | |
| 129 | - <div class="search-profile-blocks"> | |
| 130 | - <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 131 | - <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 132 | - <div class="srch-prof-contract-wr"> | |
| 133 | - <div class="srch-prof-contract-button">ะะะะ ะฏะ</div> | |
| 134 | - <div class="srch-prof-contract-txt"> | |
| 135 | - <span>ะะท ะฟัะพะตะบัะฐ: </span><a href="#">ะะตัะตััะบะธะน ะบะฒะฐััะฐะป</a> | |
| 136 | - </div> | |
| 137 | - </div> | |
| 138 | - <div class="srch-prof-text"> | |
| 139 | - <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 140 | - <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 141 | - </div> | |
| 142 | - <div class="srch-prof-params-wr"> | |
| 143 | - <div class="srch-prof-params srch-prof-params-city"> | |
| 144 | - <img src="images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 145 | - </div> | |
| 146 | - <div class="srch-prof-params srch-prof-params-clock"> | |
| 147 | - <img src="images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 148 | - </div> | |
| 149 | - <div class="srch-prof-params srch-prof-params-comm"> | |
| 150 | - <img src="images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 151 | - </div> | |
| 152 | - </div> | |
| 153 | - </div> | |
| 154 | - | |
| 155 | - <div class="search-profile-blocks"> | |
| 156 | - <a href="" class="srch-prof-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะดะพะผะฐ</a> | |
| 157 | - <div class="srch-prof-budget"><span></span>ะัะดะถะตั: 20 000 ะณัะฝ (ะะพะณะพะฒะพัะฝะพะน)</div> | |
| 158 | - <div class="srch-prof-contract-wr"> | |
| 159 | - <div class="srch-prof-contract-button">ะะะะ ะฏะ</div> | |
| 160 | - <div class="srch-prof-contract-txt"> | |
| 161 | - <span>ะะท ะฟัะพะตะบัะฐ: </span><a href="#">ะะตัะตััะบะธะน ะบะฒะฐััะฐะป</a> | |
| 162 | - </div> | |
| 163 | - </div> | |
| 164 | - <div class="srch-prof-text"> | |
| 165 | - <p>ะะฐ ะฟะพััะพัะฝะฝัะต ัะฐะฑะพัั ะฟะพ ัะพะทะดะฐะฝะธั ัะฐะนัะพะฒ, ะฒ ะฝะฐัั ะบะพะผะฐะฝะดั ััะตะฑัะตััั html-ะฒะตัััะฐะปััะธะบ. ะะฟะปะฐัะฐ ัะดะตะปัะฝะฐั ะทะฐ ะฟัะพะตะบั. ะ ะพัะบะปะธะบะต ะฟัะพัั ะฝะฐะฟะธัะฐัั ัะฒะพะน Skype ะธ ะฟะพััั. ะ ัะฐะบ ะถะต 3 ะฟัะพะตะบัะฐ ั ัะตะฐะปะธะทะพะฒะฐะฝะฝะพะน ะฐะดะฐะฟัะธะฒะฝะพะน ะฒะตัััะบะพะน ะธ 3 ะฟัะพะตะบัะฐ ะผะพะฑะธะปัะฝัั ัะฐะนัะพะฒ.</p> | |
| 166 | - <p>P.S. ะกััะดะธัะผ ะฟัะพัั ะฝะต ะฑะตัะฟะพะบะพะธัั! ะัะถะตะฝ ัะฟะตัะธะฐะปะธัั ะฒ ะบะพะผะฐะฝะดั</p> | |
| 167 | - </div> | |
| 168 | - <div class="srch-prof-params-wr"> | |
| 169 | - <div class="srch-prof-params srch-prof-params-city"> | |
| 170 | - <img src="images/ico-city.png" alt=""/><span>ะะธะตะฒ</span> | |
| 171 | - </div> | |
| 172 | - <div class="srch-prof-params srch-prof-params-clock"> | |
| 173 | - <img src="images/ico-clock.png" alt=""/><span>15.10.2016</span> | |
| 174 | - </div> | |
| 175 | - <div class="srch-prof-params srch-prof-params-comm"> | |
| 176 | - <img src="images/ico-comm.png" alt=""/><span>4 ะฟัะตะดะปะพะถะตะฝะธั</span> | |
| 177 | - </div> | |
| 178 | - </div> | |
| 179 | - </div> | |
| 180 | - | |
| 181 | - <div class="navi-buttons-wr style navi-buttons-yet-wr"> | |
| 182 | - <ul class="pagination"> | |
| 183 | - <li><a href="#">1</a></li> | |
| 184 | - <li class="active"><a href="#">2</a></li> | |
| 185 | - <li><a href="#">3</a></li> | |
| 186 | - <li><a href="#">4</a></li> | |
| 187 | - <li><a href="#">5</a></li> | |
| 188 | - <li class="dots-next"><a href="#">...</a></li> | |
| 189 | - <li><a href="#">156</a></li> | |
| 190 | - </ul> | |
| 191 | - <a href="#" class="navi-buttons-yet">ะัะต 24 ะฟัะพะตะบัะฐ</a> | |
| 192 | - </div> | |
| 193 | - </div> | |
| 194 | - | |
| 195 | - </div> | |
| 196 | - </div> | |
| 197 | - </div> | |
| 198 | - </div> | |
| 199 | - <div> | |
| 200 | - | |
| 201 | - <div class="section-box" style="height: 720px; overflow: hidden"> | |
| 202 | - <div class="map-settings-opacity"></div> | |
| 203 | - <div class="map-settings-wrapp"> | |
| 204 | - <div class="min_markers-wrapp"> | |
| 205 | - <ul class="min_markers"> | |
| 206 | - <li class="active_m"><span></span><p>ะัะต</p></li> | |
| 207 | - <li><span><img src="images/markers/marker-min-1.png"/></span><p>ะะธะปัะต</p></li> | |
| 208 | - <li><span><img src="images/markers/marker-min-2.png"/></span><p>ะัะธัะฝัะต</p></li> | |
| 209 | - <li><span><img src="images/markers/marker-min-3.png"/></span><p>ะขะพัะณะพะฒัะต</p></li> | |
| 210 | - <li><span><img src="images/markers/marker-min-4.png"/></span><p>ะะพััั</p></li> | |
| 211 | - <li><span><img src="images/markers/marker-min-5.png"/></span><p>ะะพัะพะณะธ</p></li> | |
| 212 | - <li><span><img src="images/markers/marker-min-6.png"/></span><p>ะกะพะพััะถะตะฝะธั</p></li> | |
| 213 | - <li><span><img src="images/markers/marker-min-7.png"/></span><p>ะกะบะปะฐะดั</p></li> | |
| 214 | - <li><span><img src="images/markers/marker-min-8.png"/></span><p>ะะฐะฒะพะดั</p></li> | |
| 215 | - <li><span><img src="images/markers/marker-min-9.png"/></span><p>ะ ะฐะทะฝะพะต</p></li> | |
| 216 | - </ul> | |
| 217 | - <ul class="min_markers_two"> | |
| 218 | - <li><span><img src="images/markers/marker-min-10.png"/></span><p>ะฟัะพะตะบัั</p></li> | |
| 219 | - <li><span><img src="images/markers/marker-min-11.png"/></span><p>ะฟะพะดััะดั</p></li> | |
| 220 | - </ul> | |
| 221 | - </div> | |
| 222 | - </div> | |
| 223 | - <div class="slider-map"></div> | |
| 224 | - <div id="map_cloud" style="display: none;"> | |
| 225 | - <script type="text/javascript"> | |
| 226 | - function initialize() { | |
| 227 | - var start_position = new google.maps.LatLng('56', '30'); | |
| 228 | - var settings = { | |
| 229 | - zoom: 7, | |
| 230 | - // scrollwheel: false, | |
| 231 | - center: start_position, | |
| 232 | - mapTypeControl: false, | |
| 233 | - mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}, | |
| 234 | - navigationControl: false, | |
| 235 | - navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL}, | |
| 236 | - scaleControl: false, | |
| 237 | - streetViewControl: false, | |
| 238 | - rotateControl: false, | |
| 239 | - zoomControl: false, | |
| 240 | - mapTypeId: google.maps.MapTypeId.ROADMAP}; | |
| 241 | - var map = new google.maps.Map(document.getElementById("map_canvas"), settings); | |
| 242 | - | |
| 243 | - | |
| 244 | - var image1 = new google.maps.MarkerImage('images/markers/marker-we-1.png', | |
| 245 | - new google.maps.Size(21, 32), | |
| 246 | - new google.maps.Point(0,0), | |
| 247 | - new google.maps.Point(16, 35) | |
| 248 | - ); | |
| 249 | - var image2 = new google.maps.MarkerImage('images/markers/marker-we-2.png', | |
| 250 | - new google.maps.Size(21, 32), | |
| 251 | - new google.maps.Point(0,0), | |
| 252 | - new google.maps.Point(16, 35) | |
| 253 | - ); | |
| 254 | - var image3 = new google.maps.MarkerImage('images/markers/marker-we-3.png', | |
| 255 | - new google.maps.Size(21, 32), | |
| 256 | - new google.maps.Point(0,0), | |
| 257 | - new google.maps.Point(16, 35) | |
| 258 | - ); | |
| 259 | - var image4 = new google.maps.MarkerImage('images/markers/marker-we-4.png', | |
| 260 | - new google.maps.Size(21, 32), | |
| 261 | - new google.maps.Point(0,0), | |
| 262 | - new google.maps.Point(16, 35) | |
| 263 | - ); | |
| 264 | - var image5 = new google.maps.MarkerImage('images/markers/marker-we-5.png', | |
| 265 | - new google.maps.Size(21, 32), | |
| 266 | - new google.maps.Point(0,0), | |
| 267 | - new google.maps.Point(16, 35) | |
| 268 | - ); | |
| 269 | - var image6 = new google.maps.MarkerImage('images/markers/marker-we-6.png', | |
| 270 | - new google.maps.Size(21, 32), | |
| 271 | - new google.maps.Point(0,0), | |
| 272 | - new google.maps.Point(16, 35) | |
| 273 | - ); | |
| 274 | - var image7 = new google.maps.MarkerImage('images/markers/marker-we-7.png', | |
| 275 | - new google.maps.Size(21, 32), | |
| 276 | - new google.maps.Point(0,0), | |
| 277 | - new google.maps.Point(16, 35) | |
| 278 | - ); | |
| 279 | - var image8 = new google.maps.MarkerImage('images/markers/marker-we-8.png', | |
| 280 | - new google.maps.Size(21, 32), | |
| 281 | - new google.maps.Point(0,0), | |
| 282 | - new google.maps.Point(16, 35) | |
| 283 | - ); | |
| 284 | - var image9 = new google.maps.MarkerImage('images/markers/marker-we-9.png', | |
| 285 | - new google.maps.Size(21, 32), | |
| 286 | - new google.maps.Point(0,0), | |
| 287 | - new google.maps.Point(16, 35) | |
| 288 | - ); | |
| 289 | - var image10 = new google.maps.MarkerImage('images/markers/marker-empl-1.png', | |
| 290 | - new google.maps.Size(21, 32), | |
| 291 | - new google.maps.Point(0,0), | |
| 292 | - new google.maps.Point(16, 35) | |
| 293 | - ); | |
| 294 | - var image11 = new google.maps.MarkerImage('images/markers/marker-empl-2.png', | |
| 295 | - new google.maps.Size(21, 32), | |
| 296 | - new google.maps.Point(0,0), | |
| 297 | - new google.maps.Point(16, 35) | |
| 298 | - ); | |
| 299 | - var image12 = new google.maps.MarkerImage('images/markers/marker-empl-3.png', | |
| 300 | - new google.maps.Size(21, 32), | |
| 301 | - new google.maps.Point(0,0), | |
| 302 | - new google.maps.Point(16, 35) | |
| 303 | - ); | |
| 304 | - var image13 = new google.maps.MarkerImage('images/markers/marker-empl-4.png', | |
| 305 | - new google.maps.Size(21, 32), | |
| 306 | - new google.maps.Point(0,0), | |
| 307 | - new google.maps.Point(16, 35) | |
| 308 | - ); | |
| 309 | - var image14 = new google.maps.MarkerImage('images/markers/marker-empl-5.png', | |
| 310 | - new google.maps.Size(21, 32), | |
| 311 | - new google.maps.Point(0,0), | |
| 312 | - new google.maps.Point(16, 35) | |
| 313 | - ); | |
| 314 | - var image15 = new google.maps.MarkerImage('images/markers/marker-empl-6.png', | |
| 315 | - new google.maps.Size(21, 32), | |
| 316 | - new google.maps.Point(0,0), | |
| 317 | - new google.maps.Point(16, 35) | |
| 318 | - ); | |
| 319 | - var image16 = new google.maps.MarkerImage('images/markers/marker-empl-7.png', | |
| 320 | - new google.maps.Size(21, 32), | |
| 321 | - new google.maps.Point(0,0), | |
| 322 | - new google.maps.Point(16, 35) | |
| 323 | - ); | |
| 324 | - var image17 = new google.maps.MarkerImage('images/markers/marker-empl-8.png', | |
| 325 | - new google.maps.Size(21, 32), | |
| 326 | - new google.maps.Point(0,0), | |
| 327 | - new google.maps.Point(16, 35) | |
| 328 | - ); | |
| 329 | - var image18 = new google.maps.MarkerImage('images/markers/marker-empl-9.png', | |
| 330 | - new google.maps.Size(21, 32), | |
| 331 | - new google.maps.Point(0,0), | |
| 332 | - new google.maps.Point(16, 35) | |
| 333 | - ); | |
| 334 | - | |
| 335 | - var markers = []; | |
| 336 | - | |
| 337 | - var marker = new google.maps.Marker({ | |
| 338 | - position: new google.maps.LatLng('56', '35.3'), | |
| 339 | - map: map, | |
| 340 | - title: 'Marker Title2', | |
| 341 | - icon: image1 | |
| 342 | - }); | |
| 343 | - markers.push(marker); | |
| 344 | - | |
| 345 | - var marker = new google.maps.Marker({ | |
| 346 | - position: new google.maps.LatLng('56', '36'), | |
| 347 | - map: map, | |
| 348 | - title: 'Marker Title2', | |
| 349 | - icon: image2 | |
| 350 | - }); | |
| 351 | - markers.push(marker); | |
| 352 | - | |
| 353 | - var marker = new google.maps.Marker({ | |
| 354 | - position: new google.maps.LatLng('56', '34.5'), | |
| 355 | - map: map, | |
| 356 | - title: 'Marker Title3', | |
| 357 | - icon: image18 | |
| 358 | - }); | |
| 359 | - markers.push(marker); | |
| 360 | - | |
| 361 | - var marker = new google.maps.Marker({ | |
| 362 | - position: new google.maps.LatLng('56', '35'), | |
| 363 | - map: map, | |
| 364 | - title: 'Marker Title4', | |
| 365 | - icon: image13 | |
| 366 | - }); | |
| 367 | - markers.push(marker); | |
| 368 | - | |
| 369 | - | |
| 370 | - var clusterStyles = [ | |
| 371 | - { | |
| 372 | - url: 'images/markers/clasters.png', | |
| 373 | - height: 36, | |
| 374 | - width: 36 | |
| 375 | - } | |
| 376 | - | |
| 377 | - ]; | |
| 378 | - markerClusterer = new MarkerClusterer(map, markers, | |
| 379 | - { | |
| 380 | - maxZoom: 10, | |
| 381 | - gridSize: 100, | |
| 382 | - styles: clusterStyles | |
| 383 | - }); | |
| 384 | -//ะฑะฐะปัะฝ | |
| 385 | - var infowindow = new google.maps.InfoWindow({ | |
| 386 | - content: '<div style="width: 112px;"><a href="#" style="text-decoration: none; color: #333"><img style="width: 112px; height: 60px" src="images/infowindow_marker_slider.jpg" alt=""/><p style="width: 100%; text-align: center; font-family: Ubuntu Bold; font-size: 11px;">ะขัั โะะฐัะฝะธัะฐโ</p></a></div>' | |
| 387 | - }); | |
| 388 | - google.maps.event.addListener(marker, 'click', function() { | |
| 389 | - infowindow.open(map, this); | |
| 390 | - }); | |
| 391 | - } | |
| 392 | - </script> | |
| 393 | - </div> | |
| 394 | - <div id="map_canvas" style="width: 100%; height:100%;"></div> | |
| 395 | - <div class="slider_map-wr"> | |
| 396 | - <div class="slider_map_overlay"></div> | |
| 397 | - <div class="slider_map"> | |
| 398 | - <div id="demo5" class="scroll-img"> | |
| 399 | - <ul> | |
| 400 | - <li> | |
| 401 | - <a href="#" class="slider_a"> | |
| 402 | - <div class="slider-marker-bl"> | |
| 403 | - <div class="slider-marker-bl-img"> | |
| 404 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 405 | - </div> | |
| 406 | - <div class="slider-marker-bl-text"> | |
| 407 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 408 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 409 | - </div> | |
| 410 | - </div> | |
| 411 | - </a> | |
| 412 | - </li> | |
| 413 | - <li> | |
| 414 | - <a href="#" class="slider_a"> | |
| 415 | - <div class="slider-marker-bl"> | |
| 416 | - <div class="slider-marker-bl-img"> | |
| 417 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 418 | - </div> | |
| 419 | - <div class="slider-marker-bl-text"> | |
| 420 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 421 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 422 | - </div> | |
| 423 | - </div> | |
| 424 | - </a> | |
| 425 | - </li> | |
| 426 | - <li> | |
| 427 | - <a href="#" class="slider_a"> | |
| 428 | - <div class="slider-marker-bl"> | |
| 429 | - <div class="slider-marker-bl-img"> | |
| 430 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 431 | - </div> | |
| 432 | - <div class="slider-marker-bl-text"> | |
| 433 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 434 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 435 | - </div> | |
| 436 | - </div> | |
| 437 | - </a> | |
| 438 | - </li> | |
| 439 | - <li> | |
| 440 | - <a href="#" class="slider_a"> | |
| 441 | - <div class="slider-marker-bl"> | |
| 442 | - <div class="slider-marker-bl-img"> | |
| 443 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 444 | - </div> | |
| 445 | - <div class="slider-marker-bl-text"> | |
| 446 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 447 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 448 | - </div> | |
| 449 | - </div> | |
| 450 | - </a> | |
| 451 | - </li> | |
| 452 | - <li> | |
| 453 | - <a href="#" class="slider_a"> | |
| 454 | - <div class="slider-marker-bl"> | |
| 455 | - <div class="slider-marker-bl-img"> | |
| 456 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 457 | - </div> | |
| 458 | - <div class="slider-marker-bl-text"> | |
| 459 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 460 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 461 | - </div> | |
| 462 | - </div> | |
| 463 | - </a> | |
| 464 | - </li> | |
| 465 | - <li> | |
| 466 | - <a href="#" class="slider_a"> | |
| 467 | - <div class="slider-marker-bl"> | |
| 468 | - <div class="slider-marker-bl-img"> | |
| 469 | - <img src="images/marker_slider.jpg" alt=""/> | |
| 470 | - </div> | |
| 471 | - <div class="slider-marker-bl-text"> | |
| 472 | - <div class="slider-marker-bl-text-title">ะขะฆ ยซะะฐัะฝะธัะฐยป</div> | |
| 473 | - <div class="slider-marker-bl-text-p">ะะธะตะฒ, ะะฝะตะฟัะพะฒัะบะธะน ัะฐะนะพะฝ, ะฟัะพัะฟะตะบั ะะพััะพะตะดะธะฝะตะฝะธั, 2/1 ะ ะฐะนะพะฝ ะะฝะตะฟัะพะฒัะบะธะน</div> | |
| 474 | - </div> | |
| 475 | - </div> | |
| 476 | - </a> | |
| 477 | - </li> | |
| 478 | - </ul> | |
| 479 | - </div> | |
| 480 | - <div id="demo5-btn" class="text-center"> | |
| 481 | - <a id="demo5-backward"></a> | |
| 482 | - <a id="demo5-forward"></a> | |
| 483 | - </div> | |
| 484 | - </div> | |
| 485 | - </div> | |
| 486 | - </div> | |
| 487 | - | |
| 488 | - </div> | |
| 489 | -</div> | |
| 490 | 0 | \ No newline at end of file |
frontend/views/tender/view.php
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | use \yii\helpers\Html; |
| 4 | + use yii\widgets\DetailView; | |
| 4 | 5 | |
| 5 | -/* @var $this yii\web\View */ | |
| 6 | + /* @var $this yii\web\View */ | |
| 6 | 7 | |
| 7 | 8 | $this->title = 'My Yii Application'; |
| 8 | 9 | ?> |
| 9 | - | |
| 10 | 10 | <div class="section-box content"> |
| 11 | 11 | <div class="section-box-tender"> |
| 12 | 12 | <div class="section-box-tender-title">ะกะพะทะดะฐะฝะธะต ะฟัะพะตะบัะฐ ะบะฒะฐััะธัั</div> | ... | ... |
| 1 | +$(document).ready(function(){function o(){$(".blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_favorite").css({display:"block",marginTop:-230+n}).animate({opacity:1,top:"50%"},200)})})}function n(){$(".blog-buttons-offer, .get-project, .main-menu-icons-home").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_offer").css({display:"block",marginTop:-313+n}).animate({opacity:1,top:"50%"},200)})})}function a(){$(".header-contacts-menu li:last-child").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_question").css({display:"block",marginTop:-230+n}).animate({opacity:1,top:"50%"},200)})})}if($(".blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy, .blog-buttons-offer, .get-project, .main-menu-icons-home").length>0){var t=$("#overlay").length;$.post("forms-modal.html",function(o){!t>0&&$("body").append('<div id="overlay"></div>'),$("body").append(o)}).complete(function(){$(".closed-form, #overlay").on("click",function(){$("#modal_form_favorite, #modal_form_offer, #modal_form_question").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$("#overlay").fadeOut(400)})})})}o(),n(),a()}); | |
| 0 | 2 | \ No newline at end of file | ... | ... |
| 1 | +!function(t){t.rating=function(s,i){this.options=t.extend({fx:"float",image:"images/stars.png",width:15,stars:5,minimal:0,titles:["ะณะพะปะพั","ะณะพะปะพัะฐ","ะณะพะปะพัะพะฒ"],readOnly:!1,url:"",type:"post",loader:"images/ajax-loader.gif",click:function(){}},i||{}),this.el=t(s),this.left=0,this.val=parseFloat(t(".val",s).val())||0,this.val>this.options.stars&&(this.val=this.options.stars),this.val<0&&(this.val=0),this.old=this.val,this.votes=parseInt(t(".votes",s).val())||"",this.voteID=t(".vote-id",s).val()||"",this.vote_wrap=t('<div class="vote-wrap"></div>'),this.vote_block=t('<div class="vote-block"></div>'),this.vote_hover=t('<div class="vote-hover"></div>'),this.vote_stars=t('<div class="vote-stars"></div>'),this.vote_active=t('<div class="vote-active"></div>'),this.vote_result=t('<div class="vote-result"></div>'),this.vote_success=t('<div class="vote-success"></div>'),this.loader=t('<img src="'+this.options.loader+'" alt="load...">'),this.init()};var s=t.rating;s.fn=s.prototype={rating:"0.1"},s.fn.extend=s.extend=t.extend,s.fn.extend({init:function(){if(this.render(),!this.options.readOnly){var s=this,i=0,o=0;this.vote_hover.bind("mousemove mouseover",function(e){if(!s.options.readOnly){var n=t(this),a=0;i=e.clientX>0?e.clientX:e.pageX,o=i-n.offset().left-2;var h=s.options.width*s.options.stars,v=s.options.minimal*s.options.width;o>h&&(o=h),v>o&&(o=v),a=Math.round(o/s.options.width*10)/10,"half"==s.options.fx?o=Math.ceil(o/s.options.width*2)*s.options.width/2:"float"!=s.options.fx&&(o=Math.ceil(o/s.options.width)*s.options.width),a=Math.round(o/s.options.width*10)/10,s.vote_active.css({width:o,"background-position":"0 15px"}),s.vote_success.html("ะัะตะฝะบะฐ: "+a+"ะธะท 5")}}).bind("mouseout",function(){s.options.readOnly||(s.reset(),s.vote_success.empty())}).bind("click.rating",function(){if(!s.options.readOnly){var t=Math.round(o/s.options.width*10)/10;t>s.options.stars&&(t=s.options.stars),0>t&&(t=0),s.old=s.val,s.val=(s.val*s.votes+t)/(s.votes+1),s.val.toFixed(1),s.vote_success.html("ะะฐัะฐ ะพัะตะฝะบะฐ: "+t),""!=s.options.url&&s.send(t),s.options.readOnly=!0,s.options.click.apply(this,[t])}})}},set:function(){this.vote_active.css({width:this.val*this.options.width,"background-position":"0 15px"})},reset:function(){this.vote_active.css({width:this.old*this.options.width,"background-position":"0 15px"})},setvoters:function(){this.vote_result.html(this.declOfNum(this.votes))},render:function(){this.el.html(this.vote_wrap.append(this.vote_hover.css({padding:"0 4px",height:this.options.width,width:this.options.width*this.options.stars}),this.vote_result.text(this.declOfNum(this.votes)),this.vote_success)),this.vote_block.append(this.vote_stars.css({height:this.options.width,width:this.options.width*this.options.stars,background:"url('"+this.options.image+"') 0 0"}),this.vote_active.css({height:this.options.width,width:this.val*this.options.width,background:"url('"+this.options.image+"') 0 15px"})).appendTo(this.vote_hover)},send:function(s){var i=this;this.vote_result.html(this.loader),t.ajax({url:i.options.url,type:i.options.type,data:{id:this.voteID,score:s},dataType:"json",success:function(t){"OK"==t.status?(i.votes++,i.set()):i.reset(),i.setvoters(),t.msg&&i.vote_success.html(t.msg)}})},declOfNum:function(t){return 0>=t?"":(t=Math.abs(Math.floor(t)),cases=[2,0,1,1,1,2],t+" "+this.options.titles[t%100>4&&20>t%100?2:cases[5>t%10?t%10:5]])}}),t.fn.rating=function(i){if("string"==typeof i){var o=t(this).data("rating"),e=Array.prototype.slice.call(arguments,1);return o[i].apply(o,e)}return this.each(function(){var o=t(this).data("rating");o?(i&&t.extend(o.options,i),o.init()):t(this).data("rating",new s(this,i))})}}(jQuery); | |
| 0 | 2 | \ No newline at end of file | ... | ... |
| 1 | +$(document).ready(function(){function e(){$(window).resize(function(){n()})}function n(){var e=document.getElementsByClassName("section-box header"),t=document.getElementsByClassName("section-box menu-header-all"),n=document.getElementsByClassName("section-box content"),s=document.getElementsByClassName("section-box footer");$(n).css({minHeight:$(window).height()-$(s).height()-$(e).height()-$(t).height()})}function s(){var e=navigator.userAgent;e.indexOf("Chrome")>-1||e.indexOf("Safari")>-1&&$("body").css({fontFamily:"arial"});var t=navigator.userAgent;t=t.indexOf("WebKit");var n=0,s=0;$(window).scroll(function(){s=t>=0?$("body").scrollTop():$("html").scrollTop(),s>n?(s>=114&&($(".menu-header-all").css({position:"fixed",zIndex:999}),$(".section-box.content").css({marginTop:41})),$(".section-box-6").hasClass("section-box-6")&&s>E&&!N[0]&&(N[0]=!0,m()),$(".section-box-8").hasClass("section-box-8")&&(s>P&&!N[1]&&(N[1]=!0,u()),s>P+300&&!N[2]&&(N[2]=!0,f()))):n>s&&114>=s&&($(".menu-header-all").css({position:"relative"}),$(".section-box.content").css({marginTop:0})),n=s})}function o(){var e=$("ul.content-menu-first").height();$(".menu-two-wrapp").css({height:e-1}),$("ul.content-menu-first").hover(function(){},function(){$(".content-menu-first li").css({backgroundColor:"#fff"})}),$(".content-menu-first li").hover(function(){var e=$(this).find("span").attr("data-menu-bg");$(".content-menu-first li").css({backgroundColor:"#fff"}),$(".content-menu-first li a").css({color:"#333333"}),$(this).css({backgroundColor:e}).find("ul li").css({backgroundColor:e}),$(".content-menu-first li >ul li").mouseover(function(){$(this).parent().parent().css({backgroundColor:e}),$(".content-menu-first li >ul li").css({backgroundColor:e}),$(".content-menu-first li >ul li").removeClass("hov-arrow"),$(this).addClass("hov-arrow")})},function(){$(".hov-arrow").removeClass("hov-arrow")});var t=$("ul.content-menu-first li ul li ul");if(t.addClass("third-ul-menu"),t.hasClass("third-ul-menu")){t.parent().find("a").addClass("remove-link"),$(".third-ul-menu li a").removeClass("remove-link"),$(".remove-link").parent().addClass("yes-after");for(var n=$(".remove-link"),s=0;s<n.length;s++)$(n[s]).html($(n[s]).text()+'<div class="hack-arrow"></div>')}$("ul.content-menu-first li ul li ul li ul").removeClass("third-ul-menu").addClass("last-ul-menu");var o=$("ul.content-menu-first li ul li ul li ul");if(o.hasClass("last-ul-menu")){o.parent().find("a").addClass("remove-link-two"),$(".remove-link-two").parent().addClass("yes-after yes-after-two");var a=$("ul.content-menu-first li ul li ul li.yes-after-two ul");a.find("li").removeClass("yes-after yes-after-two"),a.find("a").removeClass(".remove-link-two");var i=$(".remove-link-two");$(".last-ul-menu .remove-link-two").removeClass("remove-link-two");for(var s=0;s<i.length;s++)$(i[s]).html($(i[s]).text()+'<div class="hack-arrow"></div>'),$(".last-ul-menu .hack-arrow").removeClass("hack-arrow")}$("ul.last-ul-menu").find("a").removeClass("remove-link-two"),$(".remove-link, .remove-link-two").click(function(e){e.preventDefault()}),$("ul.content-menu-first > li").hover(function(){var e=$(this).attr("data-img");$(".menu-two-wrapp").css({backgroundImage:"url("+e+")"})})}function a(){$(".company-performer-map-menu .content-menu-first>li>ul").addClass("content-menu-map-first"),$(".company-performer-map-menu .content-menu-first>li>ul>li").addClass("content-menu-map-second"),$(".company-performer-map-menu .content-menu-first>li").addClass("old-content-menu-map-zero"),$(".company-performer-map-menu .content-menu-map-first").parent().removeClass("old-content-menu-map-zero").addClass("content-menu-map-zero"),$(".company-performer-map-menu .content-menu-map-zero").click(function(e){e.preventDefault()}),$(".company-performer-map-menu .content-menu-map-second, .company-performer-map-menu .old-content-menu-map-zero").click(function(e){e.preventDefault(),$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function i(){$(".all-project-home-title_menu li").click(function(){$(".all-project-home-title_menu li").removeClass("project-home-active"),$(this).addClass("project-home-active")})}function r(){$(".settings-map-ul ul li a").click(function(e){e.preventDefault(),$(".settings-map-ul ul li a").removeClass("active"),$(this).addClass("active"),$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function l(){$(".all-project-home-title_menu ul li").click(function(){$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function c(){var e=0;$(".federation-home-list li").each(function(){e=e+$(this).outerWidth()+9}),$(".federation-home-list").css({width:e}),$(".federation-home-list li").click(function(){$(".federation-home-list li").removeClass("federation-home-list-active"),$(this).addClass("federation-home-list-active");var e=$(this).index(),t=$(".federation-home-blocks-wr-blocks");$(t).css({display:"none"}),$(t[e]).css({display:"block"})})}function m(){var e=$(".landing-your-buisnes-blocks"),t=$(".lan_yo_buis_arr");$(e[0]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[0]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1}),setTimeout(function(){$(e[1]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[1]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},500),setTimeout(function(){$(e[2]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[2]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},1e3),setTimeout(function(){$(e[5]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[5]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},1500),setTimeout(function(){$(e[4]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[4]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},2e3),setTimeout(function(){$(e[3]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[3]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},2500),setTimeout(function(){$(t[0]).css({transition:"1s",opacity:1})},300),setTimeout(function(){$(t[1]).css({transition:"1s",opacity:1})},650),setTimeout(function(){$(t[4]).css({transition:"1s",opacity:1})},1300),setTimeout(function(){$(t[2]).css({transition:"1s",opacity:1})},1950),setTimeout(function(){$(t[3]).css({transition:"1s",opacity:1})},2600)}function u(){B.css({transition:"0.8s"}),$(B[0]).css({marginTop:0,opacity:1}),$(O[0]).delay(600).fadeIn(350),setTimeout(function(){$(B[1]).css({marginTop:0,opacity:1}),$(O[1]).delay(600).fadeIn(350)},250),setTimeout(function(){$(B[2]).css({marginTop:0,opacity:1}),$(O[2]).delay(600).fadeIn(350)},500)}function f(){$(B[3]).css({marginTop:0,opacity:1}),$(O[3]).delay(600).fadeIn(350),setTimeout(function(){$(B[4]).css({marginTop:0,opacity:1}),$(O[4]).delay(600).fadeIn(350)},250),setTimeout(function(){$(B[5]).css({marginTop:0,opacity:1}),$(O[5]).delay(600).fadeIn(350)},500)}function d(){var e={comments:function(){var t=$("#comments_two");t.val().length<6?(e.errors=!0,t.removeClass("normal").addClass("wrong")):t.removeClass("wrong").addClass("normal")},phone:function(){var t=$("#phone_two"),n=/[0-9]/g;n.test(t.val())?t.removeClass("wrong").addClass("normal"):(e.errors=!0,t.removeClass("normal").addClass("wrong"))},email:function(){var t=$("#email_two"),n=/^.+@.+[.].{2,}$/i;n.test(t.val())?t.removeClass("wrong").addClass("normal"):(e.errors=!0,t.removeClass("normal").addClass("wrong"))},sendIt:function(){e.errors||$(".form-questions").submit()}};$("#send_two").click(function(){var t=$("body, html");return t.animate({scrollTop:$(".form-questions").offset().top-151},750,function(){e.errors=!1,e.comments(),e.phone(),e.email(),e.sendIt()}),!1}),$("#comments_two").focusout(function(){e.comments()}),$("#phone_two").focusout(function(){e.phone()}),$("#email_two").focusout(function(){e.email()});var t={cbName:function(){var e=$("#callbac_name");e.val().length<2?(t.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},cbPhone:function(){var e=$("#callbac_phone"),n=/[0-9]/g;n.test(e.val())?e.removeClass("wrong").addClass("normal"):(t.errors=!0,e.removeClass("normal").addClass("wrong"))},cbSendIt:function(){t.errors||$(".callback").submit()}};$("#callbac_submit").click(function(){var e=$("body, html");return e.animate({scrollTop:$(".callback").offset().top-151},750,function(){t.errors=!1,t.cbName(),t.cbPhone(),t.cbSendIt()}),!1}),$("#callbac_name").focusout(function(){t.cbName()}),$("#callbac_phone").focusout(function(){t.cbPhone()});var n={resNsme:function(){var e=$("#res_name");e.val().length<2?(n.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resPhone:function(){var e=$("#res_phone"),t=/[0-9]/g;t.test(e.val())?e.removeClass("wrong").addClass("normal"):(n.errors=!0,e.removeClass("normal").addClass("wrong"))},resComm:function(){var e=$("#res_text");e.val().length<6?(n.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resSendIt:function(){n.errors||$(".resforms").submit()}};$("#res_submit").click(function(){return n.errors=!1,n.resNsme(),n.resPhone(),n.resComm(),n.resSendIt(),!1}),$("#res_name").focusout(function(){n.resNsme()}),$("#res_phone").focusout(function(){n.resPhone()}),$("#res_text").focusout(function(){n.resComm()})}function p(){$(".menu-content li a").click(function(e){e.preventDefault(),$(".menu-content li").removeClass("active-menu-content"),$(this).parent().addClass("active-menu-content")})}function v(){$(".activejob a").click(function(e){e.preventDefault(),$(".sidebar-droped-wr").toggleClass("act"),$(".performance-vacancy-sidebar-company-job>ul").addClass("active-dropped-ul"),$(".sidebar-droped-wr").hasClass("act")||$(".performance-vacancy-sidebar-company-job>ul").removeClass("active-dropped-ul")}),$(".sidebar-droped-wr li").click(function(){$(".sidebar-droped-wr").hasClass("act")&&$(".sidebar-droped-wr").removeClass("act"),$(".performance-vacancy-sidebar-company-job>ul").removeClass("active-dropped-ul"),$(".sidebar-droped-wr li").css({display:"block"}),$(this).css({display:"none"});var e=$(this).text();$(".activejob>a").text(e)})}function h(){$(".section-box-15").css({minHeight:$(".performer-vacancy-sidebar-views ul").height()-50}),$(".section-box-17").css({minHeight:$(".performer-vacancy-sidebar-left").height()-164})}function g(){$(".performance-vacancy-desc-form a").click(function(e){e.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form").css("display","block").animate({opacity:1,top:"50%"},200)})}),$(".closed-form, #overlay").on("click",function(){$("#modal_form").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$("#overlay").fadeOut(400)})})}function y(){$("#res_file").change(function(){var e=$(this).val();e.indexOf("C:\\fakepath\\")+1&&(e=e.substr(12));var n=$(this).next().find(".fake_file_input");n.val(t),$(".res-wrapper-mb p").text(e)}),$(".label-file a").click(function(e){e.preventDefault()})}function C(){$('.tender-file-wr input[type="file"]').change(function(){$(".max-size").css({marginTop:20})}),0==$('.tender-file-wr input[type="file"]').val&&alert("fdg");var e=$(".MultiFile-title").text();console.log(e),$(".tender-file-wr a").click(function(e){e.preventDefault()})}function _(){for(var e=$(".company-performer-comments-bl").length,t=document.getElementsByClassName("company-performer-comments-txt"),n=0;e>n;n++){var s=$(t[n]).text().length;220>s&&$(t[n]).next().css({display:"none"})}$(".company-comm-see-all").click(function(e){e.preventDefault();var t=$(this).prev();t.toggleClass("auto-height-blog-post"),$(this).toggleClass("company-comm-expand");var n="ะ ะฐะทะฒะตัะฝััั",s="ะกะฒะตัะฝััั",o=$(this).find("span");t.hasClass("auto-height-blog-post")?o.text(s):o.text(n)})}function b(){for(var e=$(".gallery-box"),t=1;t<e.length;t++)t%4||$(e[t-1]).css({marginLeft:34})}function w(){$(".search-work-form select").after('<div class="select-after"></div>')}function k(){$(".portfolio-project-tags a").click(function(){$(".portfolio-project-tags a").removeClass("active-tag"),$(this).addClass("active-tag")}),$(".portfolio-project-tags a.active-tag").click(function(e){e.preventDefault()})}function x(){$(".proektant-profile-hidden-txt").css({height:306});var e=$(".proektant-profile-hidden-txt p").text().length,t=$(".profile-see-all"),n="ะ ะฐะทะฒะตัะฝััั",s="ะกะฒะตัะฝััั";e>=1e3&&(t.text(n).css({display:"block"}),t.click(function(e){e.preventDefault(),$(this).toggleClass("profile-txt-big"),$(this).hasClass("profile-txt-big")?($(this).text(s),$(".proektant-profile-hidden-txt").css({height:"auto"})):($(this).text(n),$(".proektant-profile-hidden-txt").css({height:306}))}))}function T(){function e(){for(var e=6;o+1>=e;e++)$(s[e]).addClass("features-tags-display")}if($(".features-tags-profile").hasClass("features-tags-profile")){var t=$(".features-tags span:last-child").html(),n=t.replace(/,(?![^,]*,)/m,"");$(".features-tags span:last-child").empty().html(n);var s=$(".features-tags span"),o=s.length,a=o-6;e(),$(s[6]).after('<a href="#" class="features-tags-left">ะตัะต '+a+"</a>"),$(".features-tags-left").click(function(e){e.preventDefault(),s.removeClass("features-tags-display"),$(".features-tags-left").remove()})}if($(".features-tags-company").hasClass("features-tags-company")){for(var i=$(".features-tags-company"),r=0;r<i.length;r++){var l=$(i[r]).find("span:last-child").html();$(i[r]).find("span:last-child").empty().html(l.replace(/,(?![^,]*,)/m,""));var c=$(i[r]).find("span"),m=c.length,u=m-6;$(c[5]).after('<a href="#" class="features-tags-left">ะตัะต '+u+"</a>");for(var f=6;m+1>=f;f++)$(c[f]).addClass("features-tags-display")}$(".features-tags-left").click(function(e){e.preventDefault();var t=$(this).parent().parent().parent().parent();t.find(".features-tags-left").remove(),t.find(".features-tags-display").removeClass("features-tags-display")})}}function j(e){var t=document.createElement("script");t.src=e,document.getElementsByTagName("head")[0].appendChild(t)}function I(){$(".form-price-wr input").keypress(function(e){return 8==e.which||e.which>47&&e.which<58?void 0:!1})}function D(){$(".input_file").change(function(){var e=$(".input_file").val().replace(/.+[\\\/]/,"");if(""==e)var e="ะะฐะบัะธะผะฐะปัะฝัะน ัะฐะทะผะตั ัะฐะนะปะฐ 5 ะะ";$(".input_file_text").text(e)}),$(".comments_block").hasClass("comments_block")&&$(function(){$(".comments_block").jScrollPane({showArrows:!0,scrollbarWidth:20,arrowSize:20})})}function z(){$(".scroll-img").hasClass("video-slider")&&($("body").append('<div class="video-full"></div>'),$(".video-slider ul li").click(function(e){$(".video-full").append('<div class="closed-form"></div>'),e.preventDefault(),$("#overlay").fadeIn(400,function(){$(".video-full").css("display","block").animate({opacity:1,top:"50%"},200)});var t=$(this).find(".iframe-video").html();$(".video-full").append('<div class="video-full-iframe"></div>'),$(".video-full-iframe").append(t);var n=$(".video-full-iframe iframe").attr("src");n=n.replace("showinfo=0","showinfo=1"),$(".video-full-iframe").empty(),$(".video-full-iframe").append('<iframe width="100%" height="100%" src="'+n+'" frameborder="0" allowfullscreen></iframe>'),$(".closed-form, #overlay").on("click",function(){$("#overlay").fadeOut(400),$(".video-full").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$(this).empty()})})}))}for(var N=[],S=0;2>S;S++)N[N.length]=!1;if(n(),e(),s(),o(),i(),r(),c(),d(),p(),v(),h(),g(),y(),a(),_(),b(),w(),k(),x(),T(),I(),z(),l(),$(".section-box-6").hasClass("section-box-6")){var E=$(".section-box-6").offset().top;E-=$(window).height()/2}if($(".lan_yo_buis_txt, .lan_yo_buis_img, .lan_yo_buis_arr").css({opacity:0}),$(".section-box-8").hasClass("section-box-8")){var P=$(".section-box-8").offset().top;P-=$(window).height()-264}var B=$(".landing-work-our-img-text"),O=$(".landing-work-our-img p");if(B.css({marginTop:155,opacity:0}),O.css({display:"none"}),C(),$(".tender-form-buttons-wr a").click(function(e){e.preventDefault(),window.location.reload()}),j("js/forms.js"),j("js/jmousewhell.js"),j("js/jscroll.js"),$(".min_markers li").click(function(){$(".min_markers li").removeClass("active_m"),$(this).addClass("active_m"),$(".min_markers_two li").removeClass("active_m")}),$(".min_markers_two li").click(function(){$(".min_markers li").removeClass("active_m"),$(".min_markers_two li").removeClass("active_m"),$(this).addClass("active_m")}),$(".min_markers li, .min_markers_two li").click(function(){$.post("maps/maps-all-markers.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize(),$("#demo5 ul").empty();var t=$(".slider_for_maps").children();$("#demo5 ul").append(t)})}),D(),$(".main-menu").hover(function(){$("select").blur()}),$(".section-box-tender-tags-wr").hasClass("section-box-tender-tags-wr")){var Y=$(".section-box-tender-tags span"),F=Y.length,A=$(Y[F-1]).html();$(Y[F-1]).empty().html(A.replace(/,(?![^,]*,)/m,"."))}var H={resComm:function(){var e=$("#res_f_text");e.val().length<2?(H.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resSendItF:function(){H.errors||$(".resformsfile").submit()}};$("#res_f_submit").click(function(){return H.errors=!1,H.resComm(),H.resSendItF(),!1}),$("#res_f_submit2").click(function(){return H.errors=!1,H.resComm(),H.resSendItF(),!1}),$("#res_f_text").focusout(function(){H.resComm()});var W=$(".video-slider li").length;$(".video-slider ul").css({width:220*W-20})}); | |
| 0 | 2 | \ No newline at end of file | ... | ... |
frontend/web/js/forms.js
| 1 | -$(document).ready(function(){function o(){$(".blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_favorite").css({display:"block",marginTop:-230+n}).animate({opacity:1,top:"50%"},200)})})}function n(){$(".blog-buttons-offer, .get-project, .main-menu-icons-home").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_offer").css({display:"block",marginTop:-313+n}).animate({opacity:1,top:"50%"},200)})})}function a(){$(".header-contacts-menu li:last-child").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_question").css({display:"block",marginTop:-230+n}).animate({opacity:1,top:"50%"},200)})})}if($(".blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy, .blog-buttons-offer, .get-project, .main-menu-icons-home").length>0){var t=$("#overlay").length;$.post("forms-modal.html",function(o){!t>0&&$("body").append('<div id="overlay"></div>'),$("body").append(o)}).complete(function(){$(".closed-form, #overlay").on("click",function(){$("#modal_form_favorite, #modal_form_offer, #modal_form_question").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$("#overlay").fadeOut(400)})})})}o(),n(),a()}); | |
| 2 | 1 | \ No newline at end of file |
| 2 | +$(document).ready(function(){ | |
| 3 | + if($('.blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy, .blog-buttons-offer, .get-project, .main-menu-icons-home').length>0) { | |
| 4 | + console.log('here'); | |
| 5 | + var overlayLength = $('#overlay').length; | |
| 6 | + $.post("site/forms-modal", function (data) { | |
| 7 | + if ( !overlayLength>0 ){ | |
| 8 | + $("body").append('<div id="overlay"></div>'); | |
| 9 | + } | |
| 10 | + $("body").append(data); | |
| 11 | + }).complete(function() { | |
| 12 | + $('.closed-form, #overlay').on('click', function(){ | |
| 13 | + $('#modal_form_favorite, #modal_form_offer, #modal_form_question') | |
| 14 | + .animate({opacity: 0, top: '30%'}, 200, | |
| 15 | + function(){ | |
| 16 | + $(this).css('display', 'none'); | |
| 17 | + $('#overlay').fadeOut(400); | |
| 18 | + } | |
| 19 | + ); | |
| 20 | + }); | |
| 21 | + }); | |
| 22 | + } | |
| 23 | + | |
| 24 | + addToFavorites(); | |
| 25 | + addToOffer(); | |
| 26 | + addCuestions(); | |
| 27 | + | |
| 28 | + function addToFavorites(){ | |
| 29 | + $('.blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list/*, .main-menu-icons-copy*/').click(function(e){ | |
| 30 | + var newMarg = $(window).scrollTop(); | |
| 31 | + e.preventDefault() | |
| 32 | + $('#overlay').fadeIn(400, | |
| 33 | + function(){ | |
| 34 | + $('#modal_form_favorite') | |
| 35 | + .css({display:'block', marginTop:-230+newMarg}) | |
| 36 | + .animate({opacity: 1, top: '50%'}, 200); | |
| 37 | + }); | |
| 38 | + }) | |
| 39 | + } | |
| 40 | + | |
| 41 | + function addToOffer(){ | |
| 42 | + $('.blog-buttons-offer, .get-project/*,.main-menu-icons-home*/').click(function(e){ | |
| 43 | + var newMarg = $(window).scrollTop(); | |
| 44 | + e.preventDefault() | |
| 45 | + $('#overlay').fadeIn(400, | |
| 46 | + function(){ | |
| 47 | + $('#modal_form_offer') | |
| 48 | + .css({display:'block', marginTop:-313+newMarg}) | |
| 49 | + .animate({opacity: 1, top: '50%'}, 200); | |
| 50 | + }); | |
| 51 | + }) | |
| 52 | + } | |
| 53 | + | |
| 54 | + function addCuestions() { | |
| 55 | + $('.header-contacts-menu li:last-child').click(function(e){ | |
| 56 | + var newMarg = $(window).scrollTop(); | |
| 57 | + e.preventDefault() | |
| 58 | + $('#overlay').fadeIn(400, | |
| 59 | + function(){ | |
| 60 | + $('#modal_form_question') | |
| 61 | + .css({display:'block', marginTop:-230+newMarg}) | |
| 62 | + .animate({opacity: 1, top: '50%'}, 200); | |
| 63 | + }); | |
| 64 | + }) | |
| 65 | + } | |
| 66 | +}); | |
| 3 | 67 | \ No newline at end of file | ... | ... |
frontend/web/js/jquery.rating.js
| 1 | -!function(t){t.rating=function(s,i){this.options=t.extend({fx:"float",image:"images/stars.png",width:15,stars:5,minimal:0,titles:["ะณะพะปะพั","ะณะพะปะพัะฐ","ะณะพะปะพัะพะฒ"],readOnly:!1,url:"",type:"post",loader:"images/ajax-loader.gif",click:function(){}},i||{}),this.el=t(s),this.left=0,this.val=parseFloat(t(".val",s).val())||0,this.val>this.options.stars&&(this.val=this.options.stars),this.val<0&&(this.val=0),this.old=this.val,this.votes=parseInt(t(".votes",s).val())||"",this.voteID=t(".vote-id",s).val()||"",this.vote_wrap=t('<div class="vote-wrap"></div>'),this.vote_block=t('<div class="vote-block"></div>'),this.vote_hover=t('<div class="vote-hover"></div>'),this.vote_stars=t('<div class="vote-stars"></div>'),this.vote_active=t('<div class="vote-active"></div>'),this.vote_result=t('<div class="vote-result"></div>'),this.vote_success=t('<div class="vote-success"></div>'),this.loader=t('<img src="'+this.options.loader+'" alt="load...">'),this.init()};var s=t.rating;s.fn=s.prototype={rating:"0.1"},s.fn.extend=s.extend=t.extend,s.fn.extend({init:function(){if(this.render(),!this.options.readOnly){var s=this,i=0,o=0;this.vote_hover.bind("mousemove mouseover",function(e){if(!s.options.readOnly){var n=t(this),a=0;i=e.clientX>0?e.clientX:e.pageX,o=i-n.offset().left-2;var h=s.options.width*s.options.stars,v=s.options.minimal*s.options.width;o>h&&(o=h),v>o&&(o=v),a=Math.round(o/s.options.width*10)/10,"half"==s.options.fx?o=Math.ceil(o/s.options.width*2)*s.options.width/2:"float"!=s.options.fx&&(o=Math.ceil(o/s.options.width)*s.options.width),a=Math.round(o/s.options.width*10)/10,s.vote_active.css({width:o,"background-position":"0 15px"}),s.vote_success.html("ะัะตะฝะบะฐ: "+a+"ะธะท 5")}}).bind("mouseout",function(){s.options.readOnly||(s.reset(),s.vote_success.empty())}).bind("click.rating",function(){if(!s.options.readOnly){var t=Math.round(o/s.options.width*10)/10;t>s.options.stars&&(t=s.options.stars),0>t&&(t=0),s.old=s.val,s.val=(s.val*s.votes+t)/(s.votes+1),s.val.toFixed(1),s.vote_success.html("ะะฐัะฐ ะพัะตะฝะบะฐ: "+t),""!=s.options.url&&s.send(t),s.options.readOnly=!0,s.options.click.apply(this,[t])}})}},set:function(){this.vote_active.css({width:this.val*this.options.width,"background-position":"0 15px"})},reset:function(){this.vote_active.css({width:this.old*this.options.width,"background-position":"0 15px"})},setvoters:function(){this.vote_result.html(this.declOfNum(this.votes))},render:function(){this.el.html(this.vote_wrap.append(this.vote_hover.css({padding:"0 4px",height:this.options.width,width:this.options.width*this.options.stars}),this.vote_result.text(this.declOfNum(this.votes)),this.vote_success)),this.vote_block.append(this.vote_stars.css({height:this.options.width,width:this.options.width*this.options.stars,background:"url('"+this.options.image+"') 0 0"}),this.vote_active.css({height:this.options.width,width:this.val*this.options.width,background:"url('"+this.options.image+"') 0 15px"})).appendTo(this.vote_hover)},send:function(s){var i=this;this.vote_result.html(this.loader),t.ajax({url:i.options.url,type:i.options.type,data:{id:this.voteID,score:s},dataType:"json",success:function(t){"OK"==t.status?(i.votes++,i.set()):i.reset(),i.setvoters(),t.msg&&i.vote_success.html(t.msg)}})},declOfNum:function(t){return 0>=t?"":(t=Math.abs(Math.floor(t)),cases=[2,0,1,1,1,2],t+" "+this.options.titles[t%100>4&&20>t%100?2:cases[5>t%10?t%10:5]])}}),t.fn.rating=function(i){if("string"==typeof i){var o=t(this).data("rating"),e=Array.prototype.slice.call(arguments,1);return o[i].apply(o,e)}return this.each(function(){var o=t(this).data("rating");o?(i&&t.extend(o.options,i),o.init()):t(this).data("rating",new s(this,i))})}}(jQuery); | |
| 2 | 1 | \ No newline at end of file |
| 2 | +/** http://biznesguide.ru/coding/156.html*/ | |
| 3 | + | |
| 4 | +;(function($){ | |
| 5 | + $.rating = function(e, o){ | |
| 6 | + | |
| 7 | + this.options = $.extend({ | |
| 8 | + fx: 'float', | |
| 9 | + image: '/images/stars.png', | |
| 10 | + width: 15, | |
| 11 | + stars: 5, | |
| 12 | + minimal: 0, | |
| 13 | + titles: ['ะณะพะปะพั','ะณะพะปะพัะฐ','ะณะพะปะพัะพะฒ'], | |
| 14 | + readOnly: false, | |
| 15 | + url: '', | |
| 16 | + type: 'post', | |
| 17 | + loader: 'images/ajax-loader.gif', | |
| 18 | + click: function(){} | |
| 19 | + }, o || {}); | |
| 20 | + | |
| 21 | + this.el = $(e); | |
| 22 | + this.left = 0; | |
| 23 | + | |
| 24 | + this.val = parseFloat($('.val',e).val()) || 0; | |
| 25 | + | |
| 26 | + if(this.val > this.options.stars) this.val = this.options.stars; | |
| 27 | + if(this.val < 0) this.val = 0; | |
| 28 | + | |
| 29 | + this.old = this.val; | |
| 30 | + | |
| 31 | + this.votes = parseInt($('.votes',e).val()) || ''; | |
| 32 | + this.voteID = $('.vote-id',e).val() || ''; | |
| 33 | + | |
| 34 | + this.vote_wrap = $('<div class="vote-wrap"></div>'); | |
| 35 | + this.vote_block = $('<div class="vote-block"></div>'); | |
| 36 | + this.vote_hover = $('<div class="vote-hover"></div>'); | |
| 37 | + this.vote_stars = $('<div class="vote-stars"></div>'); | |
| 38 | + this.vote_active = $('<div class="vote-active"></div>'); | |
| 39 | + this.vote_result = $('<div class="vote-result"></div>'); | |
| 40 | + this.vote_success = $('<div class="vote-success"></div>'); | |
| 41 | + this.loader = $('<img src="'+this.options.loader+'" alt="load...">'); | |
| 42 | + | |
| 43 | + this.init(); | |
| 44 | + }; | |
| 45 | + | |
| 46 | + | |
| 47 | + var $r = $.rating; | |
| 48 | + | |
| 49 | + $r.fn = $r.prototype = { | |
| 50 | + rating: '0.1' | |
| 51 | + }; | |
| 52 | + | |
| 53 | + $r.fn.extend = $r.extend = $.extend; | |
| 54 | + | |
| 55 | + $r.fn.extend({ | |
| 56 | + | |
| 57 | + init: function(){ | |
| 58 | + | |
| 59 | + this.render(); | |
| 60 | + | |
| 61 | + if(this.options.readOnly) return; | |
| 62 | + | |
| 63 | + var self = this, left = 0, width = 0; | |
| 64 | + | |
| 65 | + this.vote_hover.bind('mousemove mouseover',function(e){ | |
| 66 | + | |
| 67 | + if(self.options.readOnly) return; | |
| 68 | + | |
| 69 | + var $this = $(this), | |
| 70 | + score = 0; | |
| 71 | + | |
| 72 | + left = e.clientX>0 ? e.clientX: e.pageX; | |
| 73 | + width = left - $this.offset().left - 2; | |
| 74 | + | |
| 75 | + var max = self.options.width*self.options.stars, | |
| 76 | + min = self.options.minimal*self.options.width; | |
| 77 | + | |
| 78 | + if(width > max) width = max; | |
| 79 | + if(width < min) width = min; | |
| 80 | + | |
| 81 | + score = Math.round( width/self.options.width * 10 ) / 10; //ะพะบััะณะปัะตะผ ะดะพ 1 ะทะฝะฐะบะฐ ะฟะพัะปะต ะทะฐะฟััะพะน | |
| 82 | + | |
| 83 | + if(self.options.fx == 'half'){ | |
| 84 | + width = Math.ceil(width/self.options.width*2)*self.options.width/2; | |
| 85 | + } | |
| 86 | + else if(self.options.fx != 'float'){ | |
| 87 | + width = Math.ceil(width/self.options.width) * self.options.width; | |
| 88 | + } | |
| 89 | + | |
| 90 | + score = Math.round( width/self.options.width * 10 ) / 10; | |
| 91 | + | |
| 92 | + self.vote_active.css({ | |
| 93 | + 'width':width, | |
| 94 | + 'background-position':'0 15px' | |
| 95 | + }); | |
| 96 | + | |
| 97 | + self.vote_success.html('ะัะตะฝะบะฐ: '+score + 'ะธะท 5'); | |
| 98 | + | |
| 99 | + }) | |
| 100 | + .bind('mouseout',function(){ | |
| 101 | + if(self.options.readOnly) return; | |
| 102 | + self.reset(); | |
| 103 | + self.vote_success.empty(); | |
| 104 | + }). | |
| 105 | + bind('click.rating',function(){ | |
| 106 | + | |
| 107 | + if(self.options.readOnly) return; | |
| 108 | + | |
| 109 | + var score = Math.round( width/self.options.width * 10 ) / 10; | |
| 110 | + | |
| 111 | + if(score > self.options.stars) score = self.options.stars; | |
| 112 | + if(score < 0) score = 0; | |
| 113 | + | |
| 114 | + self.old = self.val; | |
| 115 | + self.val = (self.val*self.votes +score)/(self.votes + 1); | |
| 116 | + self.val.toFixed(1); | |
| 117 | + self.vote_success.html('ะะฐัะฐ ะพัะตะฝะบะฐ: '+score); | |
| 118 | + if(self.options.url != ''){ | |
| 119 | + | |
| 120 | + self.send(score); | |
| 121 | + } | |
| 122 | + | |
| 123 | + self.options.readOnly = true; | |
| 124 | + self.options.click.apply(this,[score]); | |
| 125 | + }); | |
| 126 | + | |
| 127 | + }, | |
| 128 | + set: function(){ | |
| 129 | + this.vote_active.css({ | |
| 130 | + 'width':this.val*this.options.width, | |
| 131 | + 'background-position':'0 15px' | |
| 132 | + }); | |
| 133 | + }, | |
| 134 | + reset: function(){ | |
| 135 | + this.vote_active.css({ | |
| 136 | + 'width':this.old*this.options.width, | |
| 137 | + 'background-position':'0 15px' | |
| 138 | + }); | |
| 139 | + }, | |
| 140 | + setvoters: function(){ | |
| 141 | + this.vote_result.html(this.declOfNum(this.votes)); | |
| 142 | + }, | |
| 143 | + render: function(){ | |
| 144 | + | |
| 145 | + this.el.html(this.vote_wrap.append( | |
| 146 | + this.vote_hover.css({ | |
| 147 | + padding:'0 4px', | |
| 148 | + height:this.options.width, | |
| 149 | + width:this.options.width*this.options.stars | |
| 150 | + }), | |
| 151 | + this.vote_result.text(this.declOfNum(this.votes)), | |
| 152 | + this.vote_success | |
| 153 | + )); | |
| 154 | + | |
| 155 | + | |
| 156 | + this.vote_block.append( | |
| 157 | + this.vote_stars.css({ | |
| 158 | + height:this.options.width, | |
| 159 | + width:this.options.width*this.options.stars, | |
| 160 | + background:"url('"+this.options.image+"') 0 0" | |
| 161 | + }), | |
| 162 | + this.vote_active.css({ | |
| 163 | + height:this.options.width, | |
| 164 | + width:this.val*this.options.width, | |
| 165 | + background:"url('"+this.options.image+"') 0 15px" | |
| 166 | + }) | |
| 167 | + ).appendTo(this.vote_hover); | |
| 168 | + | |
| 169 | + }, | |
| 170 | + send: function(score){ | |
| 171 | + | |
| 172 | + var self = this; | |
| 173 | + this.vote_result.html(this.loader); | |
| 174 | + | |
| 175 | + $.ajax({ | |
| 176 | + url: self.options.url, | |
| 177 | + type: self.options.type, | |
| 178 | + data:{id:this.voteID,score:score}, | |
| 179 | + dataType: 'json', | |
| 180 | + success: function(data){ | |
| 181 | + if(data.status == 'OK') { | |
| 182 | + self.votes++; | |
| 183 | + self.set(); | |
| 184 | + } | |
| 185 | + else{ | |
| 186 | + self.reset(); | |
| 187 | + } | |
| 188 | + | |
| 189 | + self.setvoters(); | |
| 190 | + | |
| 191 | + if(data.msg)self.vote_success.html(data.msg); | |
| 192 | + } | |
| 193 | + }); | |
| 194 | + | |
| 195 | + }, | |
| 196 | + declOfNum: function(number){ | |
| 197 | + if(number <= 0) return ''; | |
| 198 | + number = Math.abs(Math.floor(number)); | |
| 199 | + cases = [2, 0, 1, 1, 1, 2]; | |
| 200 | + return number+' '+ this.options.titles[ (number%100>4 && number%100<20)? 2 : cases[(number%10<5)?number%10:5] ]; | |
| 201 | + } | |
| 202 | + }); | |
| 203 | + | |
| 204 | + | |
| 205 | + $.fn.rating = function(o){ | |
| 206 | + | |
| 207 | + if (typeof o == 'string') { | |
| 208 | + var instance = $(this).data('rating'), args = Array.prototype.slice.call(arguments, 1); | |
| 209 | + return instance[o].apply(instance, args); | |
| 210 | + } else { | |
| 211 | + return this.each(function() { | |
| 212 | + var instance = $(this).data('rating'); | |
| 213 | + if (instance) { | |
| 214 | + if (o) { | |
| 215 | + $.extend(instance.options, o); | |
| 216 | + } | |
| 217 | + | |
| 218 | + instance.init(); | |
| 219 | + | |
| 220 | + } else { | |
| 221 | + | |
| 222 | + $(this).data('rating', new $r(this, o)); | |
| 223 | + } | |
| 224 | + }); | |
| 225 | + } | |
| 226 | + }; | |
| 227 | + | |
| 228 | +})(jQuery); | |
| 3 | 229 | \ No newline at end of file | ... | ... |
frontend/web/js/script.js
| 1 | -$(document).ready(function(){function e(){$(window).resize(function(){n()})}function n(){var e=document.getElementsByClassName("section-box header"),t=document.getElementsByClassName("section-box menu-header-all"),n=document.getElementsByClassName("section-box content"),s=document.getElementsByClassName("section-box footer");$(n).css({minHeight:$(window).height()-$(s).height()-$(e).height()-$(t).height()})}function s(){var e=navigator.userAgent;e.indexOf("Chrome")>-1||e.indexOf("Safari")>-1&&$("body").css({fontFamily:"arial"});var t=navigator.userAgent;t=t.indexOf("WebKit");var n=0,s=0;$(window).scroll(function(){s=t>=0?$("body").scrollTop():$("html").scrollTop(),s>n?(s>=114&&($(".menu-header-all").css({position:"fixed",zIndex:999}),$(".section-box.content").css({marginTop:41})),$(".section-box-6").hasClass("section-box-6")&&s>E&&!N[0]&&(N[0]=!0,m()),$(".section-box-8").hasClass("section-box-8")&&(s>P&&!N[1]&&(N[1]=!0,u()),s>P+300&&!N[2]&&(N[2]=!0,f()))):n>s&&114>=s&&($(".menu-header-all").css({position:"relative"}),$(".section-box.content").css({marginTop:0})),n=s})}function o(){var e=$("ul.content-menu-first").height();$(".menu-two-wrapp").css({height:e-1}),$("ul.content-menu-first").hover(function(){},function(){$(".content-menu-first li").css({backgroundColor:"#fff"})}),$(".content-menu-first li").hover(function(){var e=$(this).find("span").attr("data-menu-bg");$(".content-menu-first li").css({backgroundColor:"#fff"}),$(".content-menu-first li a").css({color:"#333333"}),$(this).css({backgroundColor:e}).find("ul li").css({backgroundColor:e}),$(".content-menu-first li >ul li").mouseover(function(){$(this).parent().parent().css({backgroundColor:e}),$(".content-menu-first li >ul li").css({backgroundColor:e}),$(".content-menu-first li >ul li").removeClass("hov-arrow"),$(this).addClass("hov-arrow")})},function(){$(".hov-arrow").removeClass("hov-arrow")});var t=$("ul.content-menu-first li ul li ul");if(t.addClass("third-ul-menu"),t.hasClass("third-ul-menu")){t.parent().find("a").addClass("remove-link"),$(".third-ul-menu li a").removeClass("remove-link"),$(".remove-link").parent().addClass("yes-after");for(var n=$(".remove-link"),s=0;s<n.length;s++)$(n[s]).html($(n[s]).text()+'<div class="hack-arrow"></div>')}$("ul.content-menu-first li ul li ul li ul").removeClass("third-ul-menu").addClass("last-ul-menu");var o=$("ul.content-menu-first li ul li ul li ul");if(o.hasClass("last-ul-menu")){o.parent().find("a").addClass("remove-link-two"),$(".remove-link-two").parent().addClass("yes-after yes-after-two");var a=$("ul.content-menu-first li ul li ul li.yes-after-two ul");a.find("li").removeClass("yes-after yes-after-two"),a.find("a").removeClass(".remove-link-two");var i=$(".remove-link-two");$(".last-ul-menu .remove-link-two").removeClass("remove-link-two");for(var s=0;s<i.length;s++)$(i[s]).html($(i[s]).text()+'<div class="hack-arrow"></div>'),$(".last-ul-menu .hack-arrow").removeClass("hack-arrow")}$("ul.last-ul-menu").find("a").removeClass("remove-link-two"),$(".remove-link, .remove-link-two").click(function(e){e.preventDefault()}),$("ul.content-menu-first > li").hover(function(){var e=$(this).attr("data-img");$(".menu-two-wrapp").css({backgroundImage:"url("+e+")"})})}function a(){$(".company-performer-map-menu .content-menu-first>li>ul").addClass("content-menu-map-first"),$(".company-performer-map-menu .content-menu-first>li>ul>li").addClass("content-menu-map-second"),$(".company-performer-map-menu .content-menu-first>li").addClass("old-content-menu-map-zero"),$(".company-performer-map-menu .content-menu-map-first").parent().removeClass("old-content-menu-map-zero").addClass("content-menu-map-zero"),$(".company-performer-map-menu .content-menu-map-zero").click(function(e){e.preventDefault()}),$(".company-performer-map-menu .content-menu-map-second, .company-performer-map-menu .old-content-menu-map-zero").click(function(e){e.preventDefault(),$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function i(){$(".all-project-home-title_menu li").click(function(){$(".all-project-home-title_menu li").removeClass("project-home-active"),$(this).addClass("project-home-active")})}function r(){$(".settings-map-ul ul li a").click(function(e){e.preventDefault(),$(".settings-map-ul ul li a").removeClass("active"),$(this).addClass("active"),$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function l(){$(".all-project-home-title_menu ul li").click(function(){$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function c(){var e=0;$(".federation-home-list li").each(function(){e=e+$(this).outerWidth()+9}),$(".federation-home-list").css({width:e}),$(".federation-home-list li").click(function(){$(".federation-home-list li").removeClass("federation-home-list-active"),$(this).addClass("federation-home-list-active");var e=$(this).index(),t=$(".federation-home-blocks-wr-blocks");$(t).css({display:"none"}),$(t[e]).css({display:"block"})})}function m(){var e=$(".landing-your-buisnes-blocks"),t=$(".lan_yo_buis_arr");$(e[0]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[0]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1}),setTimeout(function(){$(e[1]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[1]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},500),setTimeout(function(){$(e[2]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[2]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},1e3),setTimeout(function(){$(e[5]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[5]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},1500),setTimeout(function(){$(e[4]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[4]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},2e3),setTimeout(function(){$(e[3]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[3]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},2500),setTimeout(function(){$(t[0]).css({transition:"1s",opacity:1})},300),setTimeout(function(){$(t[1]).css({transition:"1s",opacity:1})},650),setTimeout(function(){$(t[4]).css({transition:"1s",opacity:1})},1300),setTimeout(function(){$(t[2]).css({transition:"1s",opacity:1})},1950),setTimeout(function(){$(t[3]).css({transition:"1s",opacity:1})},2600)}function u(){B.css({transition:"0.8s"}),$(B[0]).css({marginTop:0,opacity:1}),$(O[0]).delay(600).fadeIn(350),setTimeout(function(){$(B[1]).css({marginTop:0,opacity:1}),$(O[1]).delay(600).fadeIn(350)},250),setTimeout(function(){$(B[2]).css({marginTop:0,opacity:1}),$(O[2]).delay(600).fadeIn(350)},500)}function f(){$(B[3]).css({marginTop:0,opacity:1}),$(O[3]).delay(600).fadeIn(350),setTimeout(function(){$(B[4]).css({marginTop:0,opacity:1}),$(O[4]).delay(600).fadeIn(350)},250),setTimeout(function(){$(B[5]).css({marginTop:0,opacity:1}),$(O[5]).delay(600).fadeIn(350)},500)}function d(){var e={comments:function(){var t=$("#comments_two");t.val().length<6?(e.errors=!0,t.removeClass("normal").addClass("wrong")):t.removeClass("wrong").addClass("normal")},phone:function(){var t=$("#phone_two"),n=/[0-9]/g;n.test(t.val())?t.removeClass("wrong").addClass("normal"):(e.errors=!0,t.removeClass("normal").addClass("wrong"))},email:function(){var t=$("#email_two"),n=/^.+@.+[.].{2,}$/i;n.test(t.val())?t.removeClass("wrong").addClass("normal"):(e.errors=!0,t.removeClass("normal").addClass("wrong"))},sendIt:function(){e.errors||$(".form-questions").submit()}};$("#send_two").click(function(){var t=$("body, html");return t.animate({scrollTop:$(".form-questions").offset().top-151},750,function(){e.errors=!1,e.comments(),e.phone(),e.email(),e.sendIt()}),!1}),$("#comments_two").focusout(function(){e.comments()}),$("#phone_two").focusout(function(){e.phone()}),$("#email_two").focusout(function(){e.email()});var t={cbName:function(){var e=$("#callbac_name");e.val().length<2?(t.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},cbPhone:function(){var e=$("#callbac_phone"),n=/[0-9]/g;n.test(e.val())?e.removeClass("wrong").addClass("normal"):(t.errors=!0,e.removeClass("normal").addClass("wrong"))},cbSendIt:function(){t.errors||$(".callback").submit()}};$("#callbac_submit").click(function(){var e=$("body, html");return e.animate({scrollTop:$(".callback").offset().top-151},750,function(){t.errors=!1,t.cbName(),t.cbPhone(),t.cbSendIt()}),!1}),$("#callbac_name").focusout(function(){t.cbName()}),$("#callbac_phone").focusout(function(){t.cbPhone()});var n={resNsme:function(){var e=$("#res_name");e.val().length<2?(n.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resPhone:function(){var e=$("#res_phone"),t=/[0-9]/g;t.test(e.val())?e.removeClass("wrong").addClass("normal"):(n.errors=!0,e.removeClass("normal").addClass("wrong"))},resComm:function(){var e=$("#res_text");e.val().length<6?(n.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resSendIt:function(){n.errors||$(".resforms").submit()}};$("#res_submit").click(function(){return n.errors=!1,n.resNsme(),n.resPhone(),n.resComm(),n.resSendIt(),!1}),$("#res_name").focusout(function(){n.resNsme()}),$("#res_phone").focusout(function(){n.resPhone()}),$("#res_text").focusout(function(){n.resComm()})}function p(){$(".menu-content li a").click(function(e){e.preventDefault(),$(".menu-content li").removeClass("active-menu-content"),$(this).parent().addClass("active-menu-content")})}function v(){$(".activejob a").click(function(e){e.preventDefault(),$(".sidebar-droped-wr").toggleClass("act"),$(".performance-vacancy-sidebar-company-job>ul").addClass("active-dropped-ul"),$(".sidebar-droped-wr").hasClass("act")||$(".performance-vacancy-sidebar-company-job>ul").removeClass("active-dropped-ul")}),$(".sidebar-droped-wr li").click(function(){$(".sidebar-droped-wr").hasClass("act")&&$(".sidebar-droped-wr").removeClass("act"),$(".performance-vacancy-sidebar-company-job>ul").removeClass("active-dropped-ul"),$(".sidebar-droped-wr li").css({display:"block"}),$(this).css({display:"none"});var e=$(this).text();$(".activejob>a").text(e)})}function h(){$(".section-box-15").css({minHeight:$(".performer-vacancy-sidebar-views ul").height()-50}),$(".section-box-17").css({minHeight:$(".performer-vacancy-sidebar-left").height()-164})}function g(){$(".performance-vacancy-desc-form a").click(function(e){e.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form").css("display","block").animate({opacity:1,top:"50%"},200)})}),$(".closed-form, #overlay").on("click",function(){$("#modal_form").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$("#overlay").fadeOut(400)})})}function y(){$("#res_file").change(function(){var e=$(this).val();e.indexOf("C:\\fakepath\\")+1&&(e=e.substr(12));var n=$(this).next().find(".fake_file_input");n.val(t),$(".res-wrapper-mb p").text(e)}),$(".label-file a").click(function(e){e.preventDefault()})}function C(){$('.tender-file-wr input[type="file"]').change(function(){$(".max-size").css({marginTop:20})}),0==$('.tender-file-wr input[type="file"]').val&&alert("fdg");var e=$(".MultiFile-title").text();console.log(e),$(".tender-file-wr a").click(function(e){e.preventDefault()})}function _(){for(var e=$(".company-performer-comments-bl").length,t=document.getElementsByClassName("company-performer-comments-txt"),n=0;e>n;n++){var s=$(t[n]).text().length;220>s&&$(t[n]).next().css({display:"none"})}$(".company-comm-see-all").click(function(e){e.preventDefault();var t=$(this).prev();t.toggleClass("auto-height-blog-post"),$(this).toggleClass("company-comm-expand");var n="ะ ะฐะทะฒะตัะฝััั",s="ะกะฒะตัะฝััั",o=$(this).find("span");t.hasClass("auto-height-blog-post")?o.text(s):o.text(n)})}function b(){for(var e=$(".gallery-box"),t=1;t<e.length;t++)t%4||$(e[t-1]).css({marginLeft:34})}function w(){$(".search-work-form select").after('<div class="select-after"></div>')}function k(){$(".portfolio-project-tags a").click(function(){$(".portfolio-project-tags a").removeClass("active-tag"),$(this).addClass("active-tag")}),$(".portfolio-project-tags a.active-tag").click(function(e){e.preventDefault()})}function x(){$(".proektant-profile-hidden-txt").css({height:306});var e=$(".proektant-profile-hidden-txt p").text().length,t=$(".profile-see-all"),n="ะ ะฐะทะฒะตัะฝััั",s="ะกะฒะตัะฝััั";e>=1e3&&(t.text(n).css({display:"block"}),t.click(function(e){e.preventDefault(),$(this).toggleClass("profile-txt-big"),$(this).hasClass("profile-txt-big")?($(this).text(s),$(".proektant-profile-hidden-txt").css({height:"auto"})):($(this).text(n),$(".proektant-profile-hidden-txt").css({height:306}))}))}function T(){function e(){for(var e=6;o+1>=e;e++)$(s[e]).addClass("features-tags-display")}if($(".features-tags-profile").hasClass("features-tags-profile")){var t=$(".features-tags span:last-child").html(),n=t.replace(/,(?![^,]*,)/m,"");$(".features-tags span:last-child").empty().html(n);var s=$(".features-tags span"),o=s.length,a=o-6;e(),$(s[6]).after('<a href="#" class="features-tags-left">ะตัะต '+a+"</a>"),$(".features-tags-left").click(function(e){e.preventDefault(),s.removeClass("features-tags-display"),$(".features-tags-left").remove()})}if($(".features-tags-company").hasClass("features-tags-company")){for(var i=$(".features-tags-company"),r=0;r<i.length;r++){var l=$(i[r]).find("span:last-child").html();$(i[r]).find("span:last-child").empty().html(l.replace(/,(?![^,]*,)/m,""));var c=$(i[r]).find("span"),m=c.length,u=m-6;$(c[5]).after('<a href="#" class="features-tags-left">ะตัะต '+u+"</a>");for(var f=6;m+1>=f;f++)$(c[f]).addClass("features-tags-display")}$(".features-tags-left").click(function(e){e.preventDefault();var t=$(this).parent().parent().parent().parent();t.find(".features-tags-left").remove(),t.find(".features-tags-display").removeClass("features-tags-display")})}}function j(e){var t=document.createElement("script");t.src=e,document.getElementsByTagName("head")[0].appendChild(t)}function I(){$(".form-price-wr input").keypress(function(e){return 8==e.which||e.which>47&&e.which<58?void 0:!1})}function D(){$(".input_file").change(function(){var e=$(".input_file").val().replace(/.+[\\\/]/,"");if(""==e)var e="ะะฐะบัะธะผะฐะปัะฝัะน ัะฐะทะผะตั ัะฐะนะปะฐ 5 ะะ";$(".input_file_text").text(e)}),$(".comments_block").hasClass("comments_block")&&$(function(){$(".comments_block").jScrollPane({showArrows:!0,scrollbarWidth:20,arrowSize:20})})}function z(){$(".scroll-img").hasClass("video-slider")&&($("body").append('<div class="video-full"></div>'),$(".video-slider ul li").click(function(e){$(".video-full").append('<div class="closed-form"></div>'),e.preventDefault(),$("#overlay").fadeIn(400,function(){$(".video-full").css("display","block").animate({opacity:1,top:"50%"},200)});var t=$(this).find(".iframe-video").html();$(".video-full").append('<div class="video-full-iframe"></div>'),$(".video-full-iframe").append(t);var n=$(".video-full-iframe iframe").attr("src");n=n.replace("showinfo=0","showinfo=1"),$(".video-full-iframe").empty(),$(".video-full-iframe").append('<iframe width="100%" height="100%" src="'+n+'" frameborder="0" allowfullscreen></iframe>'),$(".closed-form, #overlay").on("click",function(){$("#overlay").fadeOut(400),$(".video-full").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$(this).empty()})})}))}for(var N=[],S=0;2>S;S++)N[N.length]=!1;if(n(),e(),s(),o(),i(),r(),c(),d(),p(),v(),h(),g(),y(),a(),_(),b(),w(),k(),x(),T(),I(),z(),l(),$(".section-box-6").hasClass("section-box-6")){var E=$(".section-box-6").offset().top;E-=$(window).height()/2}if($(".lan_yo_buis_txt, .lan_yo_buis_img, .lan_yo_buis_arr").css({opacity:0}),$(".section-box-8").hasClass("section-box-8")){var P=$(".section-box-8").offset().top;P-=$(window).height()-264}var B=$(".landing-work-our-img-text"),O=$(".landing-work-our-img p");if(B.css({marginTop:155,opacity:0}),O.css({display:"none"}),C(),$(".tender-form-buttons-wr a").click(function(e){e.preventDefault(),window.location.reload()}),j("js/forms.js"),j("js/jmousewhell.js"),j("js/jscroll.js"),$(".min_markers li").click(function(){$(".min_markers li").removeClass("active_m"),$(this).addClass("active_m"),$(".min_markers_two li").removeClass("active_m")}),$(".min_markers_two li").click(function(){$(".min_markers li").removeClass("active_m"),$(".min_markers_two li").removeClass("active_m"),$(this).addClass("active_m")}),$(".min_markers li, .min_markers_two li").click(function(){$.post("maps/maps-all-markers.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize(),$("#demo5 ul").empty();var t=$(".slider_for_maps").children();$("#demo5 ul").append(t)})}),D(),$(".main-menu").hover(function(){$("select").blur()}),$(".section-box-tender-tags-wr").hasClass("section-box-tender-tags-wr")){var Y=$(".section-box-tender-tags span"),F=Y.length,A=$(Y[F-1]).html();$(Y[F-1]).empty().html(A.replace(/,(?![^,]*,)/m,"."))}var H={resComm:function(){var e=$("#res_f_text");e.val().length<2?(H.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resSendItF:function(){H.errors||$(".resformsfile").submit()}};$("#res_f_submit").click(function(){return H.errors=!1,H.resComm(),H.resSendItF(),!1}),$("#res_f_submit2").click(function(){return H.errors=!1,H.resComm(),H.resSendItF(),!1}),$("#res_f_text").focusout(function(){H.resComm()});var W=$(".video-slider li").length;$(".video-slider ul").css({width:220*W-20})}); | |
| 2 | 1 | \ No newline at end of file |
| 2 | +$(document).ready(function(){ | |
| 3 | + var checkscroll = []; | |
| 4 | + for(var ch=0;ch<2;ch++) { | |
| 5 | + checkscroll[checkscroll.length] = false; | |
| 6 | + } | |
| 7 | + contentHeight(); | |
| 8 | + resizeWindow(); | |
| 9 | + scrolling(); | |
| 10 | + menuBg(); | |
| 11 | + projectAllMenu(); | |
| 12 | + mapLoad(); | |
| 13 | + federationHome(); | |
| 14 | + validationForms(); | |
| 15 | + //menuContent(); | |
| 16 | + jobClick(); | |
| 17 | + box15Height(); | |
| 18 | + formRezume(); | |
| 19 | + fileVal(); | |
| 20 | + newMenuMap(); | |
| 21 | + seeAllComm(); | |
| 22 | + gallerPage(); | |
| 23 | + selectAfter(); | |
| 24 | + tagPortfolio(); | |
| 25 | + seeAllProfile(); | |
| 26 | + featuresTags(); | |
| 27 | + inputNumber(); | |
| 28 | + videoFull(); | |
| 29 | + function resizeWindow(){ | |
| 30 | + $(window).resize(function(){ | |
| 31 | + contentHeight(); | |
| 32 | + }); | |
| 33 | + } | |
| 34 | + function contentHeight(){ | |
| 35 | + //ะฟัะธะถะธะผะฐะตะผ ัััะตั | |
| 36 | + var headerHeight = document.getElementsByClassName('section-box header'); | |
| 37 | + var menuHeight = document.getElementsByClassName('section-box menu-header-all'); | |
| 38 | + var contentHeight = document.getElementsByClassName('section-box content'); | |
| 39 | + var footerHeight = document.getElementsByClassName('section-box footer'); | |
| 40 | + $(contentHeight).css({minHeight:($(window).height())-($(footerHeight).height())-($(headerHeight).height())-($(menuHeight).height())}); | |
| 41 | + } | |
| 42 | + function scrolling(){ | |
| 43 | + //ะฟัะพะฒะตัะบะฐ ะฑัะฐัะทะตัะฐ | |
| 44 | + var sUsrAg = navigator.userAgent; | |
| 45 | + if(sUsrAg.indexOf("Chrome") > -1) { | |
| 46 | + } else if (sUsrAg.indexOf("Safari") > -1) { | |
| 47 | + $('body').css({fontFamily:'arial'}); | |
| 48 | + } | |
| 49 | + var _browser = navigator.userAgent; | |
| 50 | + _browser = _browser.indexOf("WebKit"); | |
| 51 | + //scroll | |
| 52 | + var tempScrollTop = 0; | |
| 53 | + var currentScrollTop = 0; | |
| 54 | + | |
| 55 | + $(window).scroll(function(){ | |
| 56 | + if (_browser>=0) { | |
| 57 | + currentScrollTop = $('body').scrollTop(); | |
| 58 | + } else { | |
| 59 | + currentScrollTop = $('html').scrollTop(); | |
| 60 | + } | |
| 61 | + if (tempScrollTop < currentScrollTop ){ | |
| 62 | + if (currentScrollTop>=114) { | |
| 63 | + $('.menu-header-all').css({position:'fixed', zIndex:999}); | |
| 64 | + $('.section-box.content').css({marginTop:41}); | |
| 65 | + } | |
| 66 | + | |
| 67 | + if($('.section-box-6').hasClass('section-box-6')) { | |
| 68 | + if (currentScrollTop>offsetSect6 && !checkscroll[0]) { | |
| 69 | + checkscroll[0]=true; | |
| 70 | + landingAnimation(); | |
| 71 | + } | |
| 72 | + } | |
| 73 | + | |
| 74 | + if($('.section-box-8').hasClass('section-box-8')) { | |
| 75 | + if (currentScrollTop>offsetSect8 && !checkscroll[1]) { | |
| 76 | + checkscroll[1]=true; | |
| 77 | + landingAnimationWhyWork(); | |
| 78 | + } | |
| 79 | + if (currentScrollTop>(offsetSect8+300) && !checkscroll[2]) { | |
| 80 | + checkscroll[2]=true; | |
| 81 | + landingAnimationWhyWorkTwo(); | |
| 82 | + | |
| 83 | + } | |
| 84 | + } | |
| 85 | + } | |
| 86 | + | |
| 87 | + else if (tempScrollTop > currentScrollTop ){ | |
| 88 | + //console.log('ะฒะฒะตัั '); | |
| 89 | + if (currentScrollTop<=114) { | |
| 90 | + $('.menu-header-all').css({position:'relative'}); | |
| 91 | + $('.section-box.content').css({marginTop:0}); | |
| 92 | + } | |
| 93 | + | |
| 94 | + } | |
| 95 | + tempScrollTop = currentScrollTop; | |
| 96 | + }); | |
| 97 | + } | |
| 98 | + | |
| 99 | + function menuBg(){ | |
| 100 | + | |
| 101 | + var heightUlTwoMenu = $('ul.content-menu-first').height(); | |
| 102 | + $('.menu-two-wrapp').css({height:heightUlTwoMenu-1}); | |
| 103 | + | |
| 104 | + $('ul.content-menu-first').hover(function(){ | |
| 105 | + | |
| 106 | + },function(){ | |
| 107 | + $('.content-menu-first li').css({backgroundColor:'#fff'}); | |
| 108 | + }); | |
| 109 | + $('.content-menu-first li').hover(function(){ | |
| 110 | + var dataMenuBg = $(this).find('span').attr('data-menu-bg'); | |
| 111 | + | |
| 112 | + $('.content-menu-first li').css({backgroundColor:'#fff'}); | |
| 113 | + $('.content-menu-first li a').css({color:'#333333'}); | |
| 114 | + | |
| 115 | + $(this).css({backgroundColor:dataMenuBg}).find('ul li').css({backgroundColor:dataMenuBg}); | |
| 116 | + $('.content-menu-first li >ul li').mouseover(function(){ | |
| 117 | + $(this).parent().parent().css({backgroundColor:dataMenuBg}); | |
| 118 | + $('.content-menu-first li >ul li').css({backgroundColor:dataMenuBg}); | |
| 119 | + $('.content-menu-first li >ul li').removeClass('hov-arrow'); | |
| 120 | + $(this).addClass('hov-arrow'); | |
| 121 | + }) | |
| 122 | + | |
| 123 | + },function(){ | |
| 124 | + $('.hov-arrow').removeClass('hov-arrow'); | |
| 125 | + }); | |
| 126 | + var thirdUlMenu = $('ul.content-menu-first li ul li ul'); | |
| 127 | + thirdUlMenu.addClass('third-ul-menu'); | |
| 128 | + if( thirdUlMenu.hasClass('third-ul-menu') ) { | |
| 129 | + thirdUlMenu.parent().find('a').addClass('remove-link'); | |
| 130 | + $('.third-ul-menu li a').removeClass('remove-link'); | |
| 131 | + $('.remove-link').parent().addClass('yes-after'); | |
| 132 | + | |
| 133 | + var remLink = $('.remove-link'); | |
| 134 | + for (var ixx=0;ixx<remLink.length;ixx++) { | |
| 135 | + $(remLink[ixx]).html($(remLink[ixx]).text()+'<div class="hack-arrow"></div>') | |
| 136 | + } | |
| 137 | + } | |
| 138 | + | |
| 139 | + $('ul.content-menu-first li ul li ul li ul').removeClass('third-ul-menu').addClass('last-ul-menu'); | |
| 140 | + var lastUlMenu = $('ul.content-menu-first li ul li ul li ul'); | |
| 141 | + if( lastUlMenu.hasClass('last-ul-menu') ) { | |
| 142 | + lastUlMenu.parent().find('a').addClass('remove-link-two'); | |
| 143 | + $('.remove-link-two').parent().addClass('yes-after yes-after-two'); | |
| 144 | + | |
| 145 | + var remLastLink = $('ul.content-menu-first li ul li ul li.yes-after-two ul'); | |
| 146 | + remLastLink.find('li').removeClass('yes-after yes-after-two'); | |
| 147 | + remLastLink.find('a').removeClass('.remove-link-two'); | |
| 148 | + | |
| 149 | + var remLinkT = $('.remove-link-two'); | |
| 150 | + $('.last-ul-menu .remove-link-two').removeClass('remove-link-two') | |
| 151 | + for (var ixx=0;ixx<remLinkT.length;ixx++) { | |
| 152 | + $(remLinkT[ixx]).html($(remLinkT[ixx]).text()+'<div class="hack-arrow"></div>') | |
| 153 | + $('.last-ul-menu .hack-arrow').removeClass('hack-arrow') | |
| 154 | + } | |
| 155 | + } | |
| 156 | + | |
| 157 | + | |
| 158 | + $('ul.last-ul-menu').find('a').removeClass('remove-link-two'); | |
| 159 | + $('.remove-link, .remove-link-two').click(function(e){ | |
| 160 | + e.preventDefault(); | |
| 161 | + }); | |
| 162 | + | |
| 163 | + $('ul.content-menu-first > li').hover(function(){ | |
| 164 | + var dataImgThis = $(this).attr('data-img'); | |
| 165 | + $('.menu-two-wrapp').css({backgroundImage:'url('+dataImgThis+')'}) | |
| 166 | + }); | |
| 167 | + } | |
| 168 | + | |
| 169 | + function newMenuMap(){ | |
| 170 | + $('.company-performer-map-menu .content-menu-first>li>ul').addClass('content-menu-map-first'); | |
| 171 | + $('.company-performer-map-menu .content-menu-first>li>ul>li').addClass('content-menu-map-second'); | |
| 172 | + $('.company-performer-map-menu .content-menu-first>li').addClass('old-content-menu-map-zero'); | |
| 173 | + $('.company-performer-map-menu .content-menu-map-first').parent().removeClass('old-content-menu-map-zero').addClass('content-menu-map-zero'); | |
| 174 | + $('.company-performer-map-menu .content-menu-map-zero').click(function(e){ | |
| 175 | + e.preventDefault(); | |
| 176 | + }); | |
| 177 | + $('.company-performer-map-menu .content-menu-map-second, .company-performer-map-menu .old-content-menu-map-zero').click(function(e){ | |
| 178 | + e.preventDefault() | |
| 179 | + $.post("maps/maps.php", function (data) { | |
| 180 | + $("#map_cloud").empty(); | |
| 181 | + $("#map_cloud").append(data); | |
| 182 | + initialize(); | |
| 183 | + }); | |
| 184 | + }); | |
| 185 | + } | |
| 186 | + | |
| 187 | + function projectAllMenu() { | |
| 188 | + $('.all-project-home-title_menu li').click(function(){ | |
| 189 | + $('.all-project-home-title_menu li').removeClass('project-home-active') | |
| 190 | + $(this).addClass('project-home-active') | |
| 191 | + }) | |
| 192 | + } | |
| 193 | + | |
| 194 | + function mapLoad(){ | |
| 195 | + $('.settings-map-ul ul li a').click(function (e) { | |
| 196 | + e.preventDefault(); | |
| 197 | + $('.settings-map-ul ul li a').removeClass('active') | |
| 198 | + $(this).addClass('active') | |
| 199 | + $.post("maps/maps.php", function (data) { | |
| 200 | + $("#map_cloud").empty(); | |
| 201 | + $("#map_cloud").append(data); | |
| 202 | + initialize(); | |
| 203 | + }); | |
| 204 | + }); | |
| 205 | + } | |
| 206 | + mapLoadNewMenus() | |
| 207 | + function mapLoadNewMenus(){ | |
| 208 | + $('.all-project-home-title_menu ul li').click(function () { | |
| 209 | + $.post("maps/maps.php", function (data) { | |
| 210 | + $("#map_cloud").empty(); | |
| 211 | + $("#map_cloud").append(data); | |
| 212 | + initialize(); | |
| 213 | + }); | |
| 214 | + }); | |
| 215 | + } | |
| 216 | + | |
| 217 | + function federationHome(){ | |
| 218 | + var menu_width = 0; | |
| 219 | + $('.federation-home-list li').each(function(){ menu_width = menu_width + $(this).outerWidth()+9 }); | |
| 220 | + $('.federation-home-list').css({width:menu_width}); | |
| 221 | + | |
| 222 | + $('.federation-home-list li').click(function(){ | |
| 223 | + $('.federation-home-list li').removeClass('federation-home-list-active') | |
| 224 | + $(this).addClass('federation-home-list-active') | |
| 225 | + var fedTisIndex = $(this).index() | |
| 226 | + var fedBlocks = $('.federation-home-blocks-wr-blocks') | |
| 227 | + $(fedBlocks).css({display:'none'}) | |
| 228 | + $(fedBlocks[fedTisIndex]).css({display:'block'}) | |
| 229 | + }); | |
| 230 | + } | |
| 231 | + | |
| 232 | + if($('.section-box-6').hasClass('section-box-6')) { | |
| 233 | + var offsetSect6 = $('.section-box-6').offset().top; | |
| 234 | + offsetSect6 = offsetSect6-($(window).height()/2); | |
| 235 | + } | |
| 236 | + $('.lan_yo_buis_txt, .lan_yo_buis_img, .lan_yo_buis_arr').css({opacity:0}) | |
| 237 | + function landingAnimation(){ | |
| 238 | + | |
| 239 | + var animBlockLand = $('.landing-your-buisnes-blocks'); | |
| 240 | + var animBlockLandArrow = $('.lan_yo_buis_arr'); | |
| 241 | + $(animBlockLand[0]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); | |
| 242 | + $(animBlockLand[0]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); | |
| 243 | + setTimeout(function(){ | |
| 244 | + $(animBlockLand[1]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); | |
| 245 | + $(animBlockLand[1]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); | |
| 246 | + },500) | |
| 247 | + setTimeout(function(){ | |
| 248 | + $(animBlockLand[2]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); | |
| 249 | + $(animBlockLand[2]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); | |
| 250 | + },1000) | |
| 251 | + setTimeout(function(){ | |
| 252 | + $(animBlockLand[5]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); | |
| 253 | + $(animBlockLand[5]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); | |
| 254 | + },1500) | |
| 255 | + setTimeout(function(){ | |
| 256 | + $(animBlockLand[4]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); | |
| 257 | + $(animBlockLand[4]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); | |
| 258 | + },2000) | |
| 259 | + setTimeout(function(){ | |
| 260 | + $(animBlockLand[3]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); | |
| 261 | + $(animBlockLand[3]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); | |
| 262 | + },2500) | |
| 263 | + setTimeout(function(){ | |
| 264 | + $(animBlockLandArrow[0]).css({transition:'1s', opacity:1}); | |
| 265 | + },300); | |
| 266 | + setTimeout(function(){ | |
| 267 | + $(animBlockLandArrow[1]).css({transition:'1s', opacity:1}); | |
| 268 | + },650); | |
| 269 | + setTimeout(function(){ | |
| 270 | + $(animBlockLandArrow[4]).css({transition:'1s', opacity:1}); | |
| 271 | + },1300); | |
| 272 | + setTimeout(function(){ | |
| 273 | + $(animBlockLandArrow[2]).css({transition:'1s', opacity:1}); | |
| 274 | + },1950); | |
| 275 | + setTimeout(function(){ | |
| 276 | + $(animBlockLandArrow[3]).css({transition:'1s', opacity:1}); | |
| 277 | + },2600); | |
| 278 | + } | |
| 279 | + | |
| 280 | + if($('.section-box-8').hasClass('section-box-8')) { | |
| 281 | + var offsetSect8 = $('.section-box-8').offset().top; | |
| 282 | + offsetSect8 = offsetSect8-(($(window).height())-264); | |
| 283 | + } | |
| 284 | + var whyWorkImg = $('.landing-work-our-img-text'); | |
| 285 | + var whyWorkText = $('.landing-work-our-img p'); | |
| 286 | + whyWorkImg.css({marginTop:155, opacity:0}); | |
| 287 | + whyWorkText.css({display:'none'}); | |
| 288 | + | |
| 289 | + function landingAnimationWhyWork(){ | |
| 290 | + whyWorkImg.css({transition:'0.8s'}); | |
| 291 | + | |
| 292 | + $(whyWorkImg[0]).css({marginTop:0, opacity:1}); | |
| 293 | + $(whyWorkText[0]).delay(600).fadeIn(350); | |
| 294 | + | |
| 295 | + setTimeout(function(){ | |
| 296 | + $(whyWorkImg[1]).css({marginTop:0, opacity:1}); | |
| 297 | + $(whyWorkText[1]).delay(600).fadeIn(350) | |
| 298 | + },250); | |
| 299 | + | |
| 300 | + setTimeout(function(){ | |
| 301 | + $(whyWorkImg[2]).css({marginTop:0, opacity:1}); | |
| 302 | + $(whyWorkText[2]).delay(600).fadeIn(350) | |
| 303 | + },500); | |
| 304 | + } | |
| 305 | + | |
| 306 | + function landingAnimationWhyWorkTwo(){ | |
| 307 | + $(whyWorkImg[3]).css({marginTop:0, opacity:1}); | |
| 308 | + $(whyWorkText[3]).delay(600).fadeIn(350); | |
| 309 | + | |
| 310 | + setTimeout(function(){ | |
| 311 | + $(whyWorkImg[4]).css({marginTop:0, opacity:1}); | |
| 312 | + $(whyWorkText[4]).delay(600).fadeIn(350) | |
| 313 | + },250); | |
| 314 | + | |
| 315 | + setTimeout(function(){ | |
| 316 | + $(whyWorkImg[5]).css({marginTop:0, opacity:1}); | |
| 317 | + $(whyWorkText[5]).delay(600).fadeIn(350) | |
| 318 | + },500); | |
| 319 | + } | |
| 320 | + | |
| 321 | + function validationForms(){ | |
| 322 | + var jVal_two = { | |
| 323 | + | |
| 324 | + 'comments' : function() { | |
| 325 | + var ele = $('#comments_two'); | |
| 326 | + if(ele.val().length < 6) { | |
| 327 | + jVal_two.errors = true; | |
| 328 | + ele.removeClass('normal').addClass('wrong'); | |
| 329 | + } else { | |
| 330 | + ele.removeClass('wrong').addClass('normal'); | |
| 331 | + } | |
| 332 | + }, | |
| 333 | + 'phone' : function (){ | |
| 334 | + var ele = $('#phone_two'); | |
| 335 | + var patt = /[0-9]/g; | |
| 336 | + if(!patt.test(ele.val())) { | |
| 337 | + jVal_two.errors = true; | |
| 338 | + ele.removeClass('normal').addClass('wrong'); | |
| 339 | + } else { | |
| 340 | + ele.removeClass('wrong').addClass('normal'); | |
| 341 | + } | |
| 342 | + }, | |
| 343 | + | |
| 344 | + 'email' : function() { | |
| 345 | + var ele = $('#email_two'); | |
| 346 | + var patt = /^.+@.+[.].{2,}$/i; | |
| 347 | + if(!patt.test(ele.val())) { | |
| 348 | + jVal_two.errors = true; | |
| 349 | + ele.removeClass('normal').addClass('wrong'); | |
| 350 | + } else { | |
| 351 | + ele.removeClass('wrong').addClass('normal'); | |
| 352 | + } | |
| 353 | + }, | |
| 354 | + | |
| 355 | + 'sendIt' : function (){ | |
| 356 | + if(!jVal_two.errors) { | |
| 357 | + $('.form-questions').submit(); | |
| 358 | + } | |
| 359 | + } | |
| 360 | + }; | |
| 361 | +// ====================================================== // | |
| 362 | + $('#send_two').click(function (){ | |
| 363 | + var obj = $('body, html'); | |
| 364 | + obj.animate({ scrollTop: $('.form-questions').offset().top-151 }, 750, function (){ | |
| 365 | + jVal_two.errors = false; | |
| 366 | + jVal_two.comments(); | |
| 367 | + jVal_two.phone(); | |
| 368 | + jVal_two.email(); | |
| 369 | + jVal_two.sendIt(); | |
| 370 | + }); | |
| 371 | + return false; | |
| 372 | + }); | |
| 373 | + | |
| 374 | + $('#comments_two').focusout(function(){ | |
| 375 | + jVal_two.comments(); | |
| 376 | + }); | |
| 377 | + $('#phone_two').focusout(function(){ | |
| 378 | + jVal_two.phone(); | |
| 379 | + }); | |
| 380 | + $('#email_two').focusout(function(){ | |
| 381 | + jVal_two.email(); | |
| 382 | + }); | |
| 383 | + | |
| 384 | + var jVal_cb = { | |
| 385 | + | |
| 386 | + 'cbName' : function() { | |
| 387 | + var ele = $('#callbac_name'); | |
| 388 | + if(ele.val().length < 2) { | |
| 389 | + jVal_cb.errors = true; | |
| 390 | + ele.removeClass('normal').addClass('wrong'); | |
| 391 | + } else { | |
| 392 | + ele.removeClass('wrong').addClass('normal'); | |
| 393 | + } | |
| 394 | + }, | |
| 395 | + 'cbPhone' : function (){ | |
| 396 | + var ele = $('#callbac_phone'); | |
| 397 | + var patt = /[0-9]/g; | |
| 398 | + if(!patt.test(ele.val())) { | |
| 399 | + jVal_cb.errors = true; | |
| 400 | + ele.removeClass('normal').addClass('wrong'); | |
| 401 | + } else { | |
| 402 | + ele.removeClass('wrong').addClass('normal'); | |
| 403 | + } | |
| 404 | + }, | |
| 405 | + 'cbSendIt' : function (){ | |
| 406 | + if(!jVal_cb.errors) { | |
| 407 | + $('.callback').submit(); | |
| 408 | + } | |
| 409 | + } | |
| 410 | + }; | |
| 411 | +// ====================================================== // | |
| 412 | + $('#callbac_submit').click(function (){ | |
| 413 | + var obj = $('body, html'); | |
| 414 | + obj.animate({ scrollTop: $('.callback').offset().top-151 }, 750, function (){ | |
| 415 | + jVal_cb.errors = false; | |
| 416 | + jVal_cb.cbName(); | |
| 417 | + jVal_cb.cbPhone(); | |
| 418 | + jVal_cb.cbSendIt(); | |
| 419 | + }); | |
| 420 | + return false; | |
| 421 | + }); | |
| 422 | + $('#callbac_name').focusout(function(){ | |
| 423 | + jVal_cb.cbName(); | |
| 424 | + }); | |
| 425 | + $('#callbac_phone').focusout(function(){ | |
| 426 | + jVal_cb.cbPhone(); | |
| 427 | + }); | |
| 428 | + | |
| 429 | + var jVal_res = { | |
| 430 | + 'resNsme' : function() { | |
| 431 | + var ele = $('#res_name'); | |
| 432 | + if(ele.val().length < 2) { | |
| 433 | + jVal_res.errors = true; | |
| 434 | + ele.removeClass('normal').addClass('wrong'); | |
| 435 | + } else { | |
| 436 | + ele.removeClass('wrong').addClass('normal'); | |
| 437 | + } | |
| 438 | + }, | |
| 439 | + 'resPhone' : function (){ | |
| 440 | + var ele = $('#res_phone'); | |
| 441 | + var patt = /[0-9]/g; | |
| 442 | + if(!patt.test(ele.val())) { | |
| 443 | + jVal_res.errors = true; | |
| 444 | + ele.removeClass('normal').addClass('wrong'); | |
| 445 | + } else { | |
| 446 | + ele.removeClass('wrong').addClass('normal'); | |
| 447 | + } | |
| 448 | + }, | |
| 449 | + 'resComm' : function() { | |
| 450 | + var ele = $('#res_text'); | |
| 451 | + if(ele.val().length < 6) { | |
| 452 | + jVal_res.errors = true; | |
| 453 | + ele.removeClass('normal').addClass('wrong'); | |
| 454 | + } else { | |
| 455 | + ele.removeClass('wrong').addClass('normal'); | |
| 456 | + } | |
| 457 | + }, | |
| 458 | + 'resSendIt' : function (){ | |
| 459 | + if(!jVal_res.errors) { | |
| 460 | + $('.resforms').submit(); | |
| 461 | + } | |
| 462 | + } | |
| 463 | + }; | |
| 464 | +// ====================================================== // | |
| 465 | + $('#res_submit').click(function (){ | |
| 466 | + jVal_res.errors = false; | |
| 467 | + jVal_res.resNsme(); | |
| 468 | + jVal_res.resPhone(); | |
| 469 | + jVal_res.resComm(); | |
| 470 | + jVal_res.resSendIt(); | |
| 471 | + return false; | |
| 472 | + }); | |
| 473 | + | |
| 474 | + $('#res_name').focusout(function(){ | |
| 475 | + jVal_res.resNsme(); | |
| 476 | + }); | |
| 477 | + $('#res_phone').focusout(function(){ | |
| 478 | + jVal_res.resPhone(); | |
| 479 | + }); | |
| 480 | + $('#res_text').focusout(function(){ | |
| 481 | + jVal_res.resComm(); | |
| 482 | + }); | |
| 483 | + } | |
| 484 | + | |
| 485 | + //function menuContent(){ | |
| 486 | + // $('.menu-content li a').click(function(e){ | |
| 487 | + // e.preventDefault() | |
| 488 | + // $('.menu-content li').removeClass('active-menu-content') | |
| 489 | + // $(this).parent().addClass('active-menu-content') | |
| 490 | + // }); | |
| 491 | + //} | |
| 492 | + | |
| 493 | + function jobClick(){ | |
| 494 | + $('.activejob a').click(function(e){ | |
| 495 | + e.preventDefault(); | |
| 496 | + $('.sidebar-droped-wr').toggleClass('act') | |
| 497 | + $('.performance-vacancy-sidebar-company-job>ul').addClass('active-dropped-ul') | |
| 498 | + if( !($('.sidebar-droped-wr').hasClass('act')) ) { | |
| 499 | + $('.performance-vacancy-sidebar-company-job>ul').removeClass('active-dropped-ul') | |
| 500 | + } | |
| 501 | + }); | |
| 502 | + | |
| 503 | + $('.sidebar-droped-wr li').click(function(){ | |
| 504 | + if( $('.sidebar-droped-wr').hasClass('act') ) { | |
| 505 | + $('.sidebar-droped-wr').removeClass('act') | |
| 506 | + } | |
| 507 | + $('.performance-vacancy-sidebar-company-job>ul').removeClass('active-dropped-ul') | |
| 508 | + $('.sidebar-droped-wr li').css({display:'block'}) | |
| 509 | + $(this).css({display:'none'}) | |
| 510 | + var thisTxtSidebar = $(this).text() | |
| 511 | + $('.activejob>a').text(thisTxtSidebar); | |
| 512 | + }); | |
| 513 | + } | |
| 514 | + function box15Height(){ | |
| 515 | + $('.section-box-15').css({minHeight:($('.performer-vacancy-sidebar-views ul').height()-50) }) | |
| 516 | + $('.section-box-17').css({minHeight:($('.performer-vacancy-sidebar-left').height())-164 }) | |
| 517 | + } | |
| 518 | + | |
| 519 | + function formRezume(){ | |
| 520 | + $('.performance-vacancy-desc-form a').click(function(e){ | |
| 521 | + e.preventDefault(); | |
| 522 | + $('#overlay').fadeIn(400, | |
| 523 | + function(){ | |
| 524 | + $('#modal_form') | |
| 525 | + .css('display', 'block') | |
| 526 | + .animate({opacity: 1, top: '50%'}, 200); | |
| 527 | + }); | |
| 528 | + }); | |
| 529 | + | |
| 530 | + $('.closed-form, #overlay').on('click', function(){ | |
| 531 | + $('#modal_form') | |
| 532 | + .animate({opacity: 0, top: '30%'}, 200, | |
| 533 | + function(){ | |
| 534 | + $(this).css('display', 'none'); | |
| 535 | + $('#overlay').fadeOut(400); | |
| 536 | + } | |
| 537 | + ); | |
| 538 | + }); | |
| 539 | + | |
| 540 | + } | |
| 541 | + function fileVal(){ | |
| 542 | + $('#res_file').change(function(){ | |
| 543 | + var fileVal = $(this).val(); | |
| 544 | + if(fileVal.indexOf('C:\\fakepath\\')+1) | |
| 545 | + fileVal = fileVal.substr(12); | |
| 546 | + var e = $(this).next().find('.fake_file_input'); | |
| 547 | + e.val(t); | |
| 548 | + $('.res-wrapper-mb p').text(fileVal) | |
| 549 | + }); | |
| 550 | + $('.label-file a').click(function(e){ | |
| 551 | + e.preventDefault() | |
| 552 | + }) | |
| 553 | + } | |
| 554 | + fileValMulti(); | |
| 555 | + function fileValMulti(){ | |
| 556 | + $('.tender-file-wr input[type="file"]').change(function(){ | |
| 557 | + $('.max-size').css({marginTop:20}) | |
| 558 | + }) | |
| 559 | + if($('.tender-file-wr input[type="file"]').val==0) { | |
| 560 | + alert('fdg') | |
| 561 | + } | |
| 562 | + var txtMulti = $('.MultiFile-title').text() | |
| 563 | + console.log(txtMulti) | |
| 564 | + $('.tender-file-wr a').click(function(e){ | |
| 565 | + e.preventDefault() | |
| 566 | + }) | |
| 567 | + } | |
| 568 | + $('.tender-form-buttons-wr a').click(function(e){ | |
| 569 | + e.preventDefault() | |
| 570 | + window.location.reload() | |
| 571 | + }) | |
| 572 | + | |
| 573 | + | |
| 574 | + function seeAllComm(){ | |
| 575 | + var comNum = $('.company-performer-comments-bl').length; | |
| 576 | + var strComm = document.getElementsByClassName('company-performer-comments-txt'); | |
| 577 | + for(var azz=0; azz<comNum; azz++) { | |
| 578 | + var comLenght = ($(strComm[azz]).text().length); | |
| 579 | + if (comLenght<220) { | |
| 580 | + $(strComm[azz]).next().css({display:'none'}) | |
| 581 | + } | |
| 582 | + } | |
| 583 | + | |
| 584 | + $('.company-comm-see-all').click(function(e){ | |
| 585 | + e.preventDefault(); | |
| 586 | + var expandFirst = $(this).prev(); | |
| 587 | + expandFirst.toggleClass('auto-height-blog-post'); | |
| 588 | + $(this).toggleClass('company-comm-expand'); | |
| 589 | + var expand = 'ะ ะฐะทะฒะตัะฝััั'; | |
| 590 | + var rolUp = 'ะกะฒะตัะฝััั'; | |
| 591 | + var seeAllBlogSpan = $(this).find('span'); | |
| 592 | + if(expandFirst.hasClass('auto-height-blog-post')) { | |
| 593 | + seeAllBlogSpan.text(rolUp); | |
| 594 | + } else {seeAllBlogSpan.text(expand)} | |
| 595 | + }) | |
| 596 | + } | |
| 597 | + | |
| 598 | + function gallerPage() { | |
| 599 | + var galBlocks = $('.gallery-box'); | |
| 600 | + for (var i = 1; i < galBlocks.length; i++) { | |
| 601 | + if (!(i % 4)) { | |
| 602 | + $(galBlocks[i - 1]).css({marginLeft: 34}) | |
| 603 | + } | |
| 604 | + } | |
| 605 | + } | |
| 606 | + function selectAfter() { | |
| 607 | + $('.search-work-form select').after('<div class="select-after"></div>') | |
| 608 | + } | |
| 609 | + | |
| 610 | + function tagPortfolio(){ | |
| 611 | + $('.portfolio-project-tags a').click(function(){ | |
| 612 | + $('.portfolio-project-tags a').removeClass('active-tag') | |
| 613 | + $(this).addClass('active-tag') | |
| 614 | + }) | |
| 615 | + | |
| 616 | + $('.portfolio-project-tags a.active-tag').click(function(e){ | |
| 617 | + e.preventDefault(); | |
| 618 | + }) | |
| 619 | + } | |
| 620 | + function seeAllProfile() { | |
| 621 | + $('.proektant-profile-hidden-txt').css({height:306}); | |
| 622 | + var txtLenght = $('.proektant-profile-hidden-txt p').text().length; | |
| 623 | + | |
| 624 | + var profileSee = $('.profile-see-all'); | |
| 625 | + var expand = 'ะ ะฐะทะฒะตัะฝััั'; | |
| 626 | + var rolUp = 'ะกะฒะตัะฝััั'; | |
| 627 | + if(txtLenght>=1000) { | |
| 628 | + profileSee.text(expand).css({display:'block'}) | |
| 629 | + profileSee.click(function(e){ | |
| 630 | + e.preventDefault() | |
| 631 | + $(this).toggleClass('profile-txt-big'); | |
| 632 | + if($(this).hasClass('profile-txt-big')) { | |
| 633 | + $(this).text(rolUp) | |
| 634 | + $('.proektant-profile-hidden-txt').css({height:'auto'}) | |
| 635 | + } else { | |
| 636 | + $(this).text(expand); | |
| 637 | + $('.proektant-profile-hidden-txt').css({height:306}) | |
| 638 | + } | |
| 639 | + }) | |
| 640 | + } | |
| 641 | + } | |
| 642 | + | |
| 643 | + function featuresTags(){ | |
| 644 | + | |
| 645 | + if($('.features-tags-profile').hasClass('features-tags-profile')) { | |
| 646 | + var replaceLast = $('.features-tags span:last-child').html() | |
| 647 | + var newReplaceLast = replaceLast.replace(/,(?![^,]*,)/m, '') | |
| 648 | + $('.features-tags span:last-child').empty().html(newReplaceLast) | |
| 649 | + | |
| 650 | + var featuresTags = $('.features-tags span') | |
| 651 | + var featuresTagsLangth = featuresTags.length | |
| 652 | + var featuresTagsLeft = featuresTagsLangth-6 | |
| 653 | + featuresTagsDisplay() | |
| 654 | + function featuresTagsDisplay(){ | |
| 655 | + for(var i = 6; i<=featuresTagsLangth+1; i++) { | |
| 656 | + $(featuresTags[i]).addClass('features-tags-display') | |
| 657 | + } | |
| 658 | + } | |
| 659 | + $(featuresTags[6]).after('<a href="#" class="features-tags-left">ะตัะต '+ featuresTagsLeft +'</a>') | |
| 660 | + | |
| 661 | + $('.features-tags-left').click(function(e){ | |
| 662 | + e.preventDefault() | |
| 663 | + featuresTags.removeClass('features-tags-display') | |
| 664 | + $('.features-tags-left').remove() | |
| 665 | + }) | |
| 666 | + } | |
| 667 | + if($('.features-tags-company').hasClass('features-tags-company')) { | |
| 668 | + var replaceLastTwo = $('.features-tags-company'); | |
| 669 | + | |
| 670 | + for(var i=0; i<replaceLastTwo.length; i++) { | |
| 671 | + var repTwo = $(replaceLastTwo[i]).find('span:last-child').html() | |
| 672 | + $(replaceLastTwo[i]).find('span:last-child').empty().html(repTwo.replace(/,(?![^,]*,)/m, '')) | |
| 673 | + var repLenghtTwo = $(replaceLastTwo[i]).find('span') | |
| 674 | + var repLenghtLenTwo = repLenghtTwo.length | |
| 675 | + var repLenghtLeftTwo = repLenghtLenTwo-6 | |
| 676 | + | |
| 677 | + $(repLenghtTwo[6-1]).after('<a href="#" class="features-tags-left">ะตัะต '+ repLenghtLeftTwo +'</a>') | |
| 678 | + | |
| 679 | + for(var iq = 6; iq<=repLenghtLenTwo+1; iq++) { | |
| 680 | + $(repLenghtTwo[iq]).addClass('features-tags-display') | |
| 681 | + } | |
| 682 | + | |
| 683 | + } | |
| 684 | + | |
| 685 | + $('.features-tags-left').click(function(e){ | |
| 686 | + e.preventDefault() | |
| 687 | + var newClickTags = $(this).parent().parent().parent().parent(); | |
| 688 | + newClickTags.find('.features-tags-left').remove(); | |
| 689 | + newClickTags.find('.features-tags-display').removeClass('features-tags-display') | |
| 690 | + }) | |
| 691 | + } | |
| 692 | + } | |
| 693 | + | |
| 694 | + function include(url) { | |
| 695 | + var script = document.createElement('script'); | |
| 696 | + script.src = url; | |
| 697 | + document.getElementsByTagName('head')[0].appendChild(script); | |
| 698 | + } | |
| 699 | + include("/js/forms.js"); | |
| 700 | + include("/js/jmousewhell.js"); | |
| 701 | + include("/js/jscroll.js"); | |
| 702 | + | |
| 703 | + function inputNumber(){ | |
| 704 | + $('.form-price-wr input').keypress(function(e) { | |
| 705 | + if (!(e.which==8 ||(e.which>47 && e.which<58))) return false; | |
| 706 | + }); | |
| 707 | + } | |
| 708 | + | |
| 709 | + $('.min_markers li').click(function(){ | |
| 710 | + $('.min_markers li').removeClass('active_m'); | |
| 711 | + $(this).addClass('active_m'); | |
| 712 | + $('.min_markers_two li').removeClass('active_m'); | |
| 713 | + }); | |
| 714 | + $('.min_markers_two li').click(function(){ | |
| 715 | + $('.min_markers li').removeClass('active_m'); | |
| 716 | + $('.min_markers_two li').removeClass('active_m'); | |
| 717 | + $(this).addClass('active_m'); | |
| 718 | + }) | |
| 719 | +//ะฟะพะดะณััะทะบะฐ ะบะฐััั | |
| 720 | + $('.min_markers li, .min_markers_two li').click(function () { | |
| 721 | + $.post("maps/maps-all-markers.php", function (data) { | |
| 722 | + $("#map_cloud").empty(); | |
| 723 | + $("#map_cloud").append(data); | |
| 724 | + initialize(); | |
| 725 | + $('#demo5 ul').empty(); | |
| 726 | + var slider_append = $('.slider_for_maps').children(); | |
| 727 | + $('#demo5 ul').append(slider_append) | |
| 728 | + }); | |
| 729 | + }); | |
| 730 | + messagePage(); | |
| 731 | + function messagePage(){ | |
| 732 | + $(".input_file").change(function(){ | |
| 733 | + var filename = $(".input_file").val().replace(/.+[\\\/]/, ""); | |
| 734 | + if (filename == ""){var filename = "ะะฐะบัะธะผะฐะปัะฝัะน ัะฐะทะผะตั ัะฐะนะปะฐ 5 ะะ";} | |
| 735 | + $(".input_file_text").text(filename); | |
| 736 | + }); | |
| 737 | + if($('.comments_block').hasClass('comments_block')) { | |
| 738 | + $(function(){ | |
| 739 | + $('.comments_block').jScrollPane({showArrows: true, scrollbarWidth: 20, arrowSize: 20}); | |
| 740 | + }); | |
| 741 | + } | |
| 742 | + } | |
| 743 | + | |
| 744 | + $('.main-menu').hover(function(){ | |
| 745 | + $('select').blur() | |
| 746 | + }) | |
| 747 | + | |
| 748 | + if($('.section-box-tender-tags-wr').hasClass('section-box-tender-tags-wr')) { | |
| 749 | + var lastTagTender = $('.section-box-tender-tags span') | |
| 750 | + var lastTagTenderLenght = lastTagTender.length | |
| 751 | + var lastTagTenderHtml = $(lastTagTender[lastTagTenderLenght-1]).html() | |
| 752 | + $(lastTagTender[lastTagTenderLenght-1]).empty().html(lastTagTenderHtml.replace(/,(?![^,]*,)/m, '.')) | |
| 753 | + } | |
| 754 | + | |
| 755 | + var jVal_res_f = { | |
| 756 | + | |
| 757 | + 'resComm' : function() { | |
| 758 | + var ele = $('#res_f_text'); | |
| 759 | + if(ele.val().length < 2) { | |
| 760 | + jVal_res_f.errors = true; | |
| 761 | + ele.removeClass('normal').addClass('wrong'); | |
| 762 | + } else { | |
| 763 | + ele.removeClass('wrong').addClass('normal'); | |
| 764 | + } | |
| 765 | + }, | |
| 766 | + 'resSendItF' : function (){ | |
| 767 | + if(!jVal_res_f.errors) { | |
| 768 | + $('.resformsfile').submit(); | |
| 769 | + } | |
| 770 | + } | |
| 771 | + }; | |
| 772 | +// ====================================================== // | |
| 773 | + $('#res_f_submit').click(function (){ | |
| 774 | + jVal_res_f.errors = false; | |
| 775 | + jVal_res_f.resComm(); | |
| 776 | + jVal_res_f.resSendItF(); | |
| 777 | + return false; | |
| 778 | + }); | |
| 779 | + $('#res_f_submit2').click(function (){ | |
| 780 | + jVal_res_f.errors = false; | |
| 781 | + jVal_res_f.resComm(); | |
| 782 | + jVal_res_f.resSendItF(); | |
| 783 | + return false; | |
| 784 | + }); | |
| 785 | + | |
| 786 | + $('#res_f_text').focusout(function(){ | |
| 787 | + jVal_res_f.resComm(); | |
| 788 | + }); | |
| 789 | + | |
| 790 | + var video_slider = $('.video-slider li').length; | |
| 791 | + $('.video-slider ul').css({width:(video_slider*220)-20}) | |
| 792 | + | |
| 793 | + function videoFull(){ | |
| 794 | + if($('.scroll-img').hasClass('video-slider')) { | |
| 795 | + $("body").append('<div class="video-full"></div>'); | |
| 796 | + $('.video-slider ul li').click(function(e){ | |
| 797 | + $('.video-full').append('<div class="closed-form"></div>') | |
| 798 | + e.preventDefault() | |
| 799 | + $('#overlay').fadeIn(400, | |
| 800 | + function(){ | |
| 801 | + $('.video-full') | |
| 802 | + .css('display', 'block') | |
| 803 | + .animate({opacity: 1, top: '50%'}, 200); | |
| 804 | + }); | |
| 805 | + | |
| 806 | + var thisIframe = $(this).find('.iframe-video').html(); | |
| 807 | + | |
| 808 | + $('.video-full').append('<div class="video-full-iframe"></div>') | |
| 809 | + $('.video-full-iframe').append(thisIframe) | |
| 810 | + var iframeSrc = $('.video-full-iframe iframe').attr('src') | |
| 811 | + iframeSrc = iframeSrc.replace('showinfo=0','showinfo=1') | |
| 812 | + $('.video-full-iframe').empty() | |
| 813 | + $('.video-full-iframe').append('<iframe width="100%" height="100%" src="'+iframeSrc+'" frameborder="0" allowfullscreen></iframe>') | |
| 814 | + | |
| 815 | + $('.closed-form, #overlay').on('click', function(){ | |
| 816 | + $('#overlay').fadeOut(400) | |
| 817 | + $('.video-full') | |
| 818 | + .animate({opacity: 0, top: '30%'}, 200, | |
| 819 | + function(){ | |
| 820 | + $(this).css('display', 'none'); | |
| 821 | + $(this).empty(); | |
| 822 | + } | |
| 823 | + ); | |
| 824 | + }); | |
| 825 | + }) | |
| 826 | + } | |
| 827 | + } | |
| 828 | +}); | |
| 3 | 829 | \ No newline at end of file | ... | ... |