From 33349e3d6b5eafd42c6eeb71d854cc79ced1ffc3 Mon Sep 17 00:00:00 2001 From: andryeyev Date: Thu, 18 Feb 2016 17:38:13 +0200 Subject: [PATCH] + callback --- .idea/vcs.xml | 6 ++++++ admin.php | 1 + ajax/callback.php | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ config/config.php | 75 ++++++++++++++++++++++++++++++++++++++++++--------------------------------- css/admin/callback.css | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ css/style.css | 2621 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- db-migration/callback.sql | 205 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ email/discont.php | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ img/alert/done.png | Bin 0 -> 4178 bytes img/alert/warning.png | Bin 0 -> 9054 bytes img/call.jpg | Bin 0 -> 1862 bytes img/callback.jpg | Bin 0 -> 1141 bytes index.php | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------- js/admin/callback.js | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ js/bpopup/bpopup.css | 19 ++++++++++--------- js/callback.js | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ js/modalBox/modalBox.js | 74 +++++++++++++++++++++++++++++++++++++++----------------------------------- js/transForm.js | 364 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ js/transForm.plugin.js | 360 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ libs/callback.class.php | 307 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ libs/setup.php | 98 +++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------- modules/admin/callback.php | 4 ++++ templates/admin/callback.tpl | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ templates/index.tpl | 135 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------- 24 files changed, 4070 insertions(+), 803 deletions(-) create mode 100644 .idea/vcs.xml create mode 100644 ajax/callback.php create mode 100644 css/admin/callback.css create mode 100644 db-migration/callback.sql create mode 100644 email/discont.php create mode 100644 img/alert/done.png create mode 100644 img/alert/warning.png create mode 100644 img/call.jpg create mode 100644 img/callback.jpg create mode 100644 js/admin/callback.js create mode 100644 js/callback.js create mode 100644 js/transForm.js create mode 100644 js/transForm.plugin.js create mode 100644 libs/callback.class.php create mode 100644 modules/admin/callback.php create mode 100644 templates/admin/callback.tpl diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/admin.php b/admin.php index 1127539..e9721e0 100644 --- a/admin.php +++ b/admin.php @@ -52,6 +52,7 @@ $objFon = $setup->setupClass ('Fon'); $objVideo2 = $setup->setupClass ('Video2'); $objSend = $setup->setupClass ('Send'); $objExtra = $setup->setupClass ('Extra'); +$objCallback = $setup->setupClass ('Callback'); if (isset ($_POST['order_id']) && $_POST['order_id'] > 0) { diff --git a/ajax/callback.php b/ajax/callback.php new file mode 100644 index 0000000..99bcffa --- /dev/null +++ b/ajax/callback.php @@ -0,0 +1,83 @@ +setupClass ('Callback'); +$objCallback->init(); + +switch ($_REQUEST['jaction']) +{ + case 'getForm': + + ob_start(); + + echo $objCallback->htmlForm (); + + echo json_encode (array ( + 'html' => ob_get_clean() + )); + + break; + + case 'save': + + $objCallback->add($_POST); + + echo json_encode(array ( + 'code' => 0, + 'html' => $objCallback->getSuccessMessage(), + )); + + break; + + case 'getOne': + + $callback = $objCallback->getOne($_POST['callback_id']); + + echo json_encode(array ( + 'code' => 0, + 'text' => iconv ('windows-1251', 'utf-8', $callback['text']), + )); + + break; + + case 'setStatus': + + // завершен? + $callback = $objCallback->getOne($_POST['callback_id']); + if ($callback['callback_status_id'] != Callback::$DONE) + { + // тот же менеджер? + if ($callback['manager_id'] ==0 || $callback['manager_id'] == $_SESSION['admin']['id']) + { + $objCallback->setStatus($callback['callback_id'], $_POST['callback_status_id']); + + // ответ + echo json_encode(array ( + 'code' => 0, + 'button' => iconv ('windows-1251', 'utf-8', $objCallback->buttonById($_POST['callback_id'])), + 'manager' => iconv ('windows-1251', 'utf-8', $_SESSION['admin']['name']), + 'date_edit' => date ('Y-m-d H:i:s'), + )); + } + else + { + // ответ + echo json_encode(array ( + 'code' => 1, + 'html' => iconv ('utf-8', 'utf-8', $objCallback->getProcessingMessage($callback)), + )); + } + } + else + { + // ответ + echo json_encode(array ( + 'code' => 1, + 'html' => iconv ('utf-8', 'utf-8', $objCallback->getDoneMessage($callback)), + )); + } + return; +} diff --git a/config/config.php b/config/config.php index a7b91dc..7db8a88 100644 --- a/config/config.php +++ b/config/config.php @@ -1,61 +1,70 @@ .btn { + border-radius: 5px; + } + + #callback .status.done .dropdown-toggle { + display: none; + } + +/* + ==== modal ==== +*/ + + .modal-body { + word-wrap: break-word; + } + + .modal-content .alert { + display: table; + margin: auto; + } + + .modal-content .alert > div { + display: inline-block; + text-align: center; + vertical-align: middle; + } + + .modal-content .alert.warning .img { + background-image: url(/img/alert/warning.png); + } + + .modal-content .alert.done .img { + background-image: url(/img/alert/done.png); + } + + .modal-content .alert .img { + width: 96px; + height: 96px; + background-size: cover; + } diff --git a/css/style.css b/css/style.css index 94aa6d8..6d35474 100644 --- a/css/style.css +++ b/css/style.css @@ -1,410 +1,1464 @@ -BODY,FORM{margin:0px;padding:0px;font-family: Arial, Tahoma, Helvetica, sans-serif;font-size:12px;color:#575757;} -.fl{float:left;} -.fr{float:right;} -.both{clear:both;} -body{background: #fff;} -p{padding:0px;margin:4px 0px;} +BODY, FORM { + margin: 0px; + padding: 0px; + font-family: Arial, Tahoma, Helvetica, sans-serif; + font-size: 12px; + color: #575757; +} + +.fl { + float: left; +} + +.fr { + float: right; +} + +.both { + clear: both; +} + +body { + background: #fff; +} + +p { + padding: 0px; + margin: 4px 0px; +} + +h1, h2 { + padding: 0px; + margin: 0px; +} + +h1, .h1 { + font-size: 20px; + font-weight: normal; + color: #388e1e; + padding-bottom: 15px; +} + +h2 { + padding-bottom: 10px; + color: #388e1e; + font-weight: normal; +} + +a:visited, a:link { + font-size: 12; + font-weight: normal; + color: #4b4b4b; + text-decoration: underline; +} + +a:hover { + color: #42a725; + text-decoration: underline; +} + +a.link_p:visited, a.link_p:link { + display1: block; + color: #434343; + text-decoration: underline; + background: url("../img/login.jpg") left no-repeat; + width: 32px; + height: 29px; + float: right; + margin-top: -15px; +} + +a.link_p:hover { + color: #42a725; + text-decoration: underline; +} + +a.link_p span { + display: none; +} + +a.link1:visited, a.link1:link { + color: #378f1f; + text-decoration: none; + font-size: 16px; + text-transform: uppercase; +} + +a.link1:hover { + color: #42a725; + text-decoration: underline; +} + +a.link2:visited, a.link2:link { + display: block; + color: #338e17; + text-decoration: underline; +} + +a.link2:hover { + color: #42a725; + text-decoration: underline; +} + +a.link3:visited, a.link3:link { + display: block; + color: #f5f5f5; + text-decoration: underline; +} + +a.link3:hover { + color: #42a725; + text-decoration: underline; +} + +a.link4:visited, a.link4:link { + color: #4b4b4b; + text-decoration: none; +} + +a.link4:hover { + text-decoration: underline; +} + +a.link5:visited, a.link5:link { + color: #484848; + text-decoration: none; + font-size: 16px; + font-weight: bold; +} + +a.link5:hover { + color: #42a725; + text-decoration: underline; +} + +a.link6:visited, a.link6:link { + color: #368e1e; + text-decoration: underline; +} + +a.link6:hover { + color: #484848; + text-decoration: underline; +} + +a.link7:visited, a.link7:link { + color: #4b4b4b; + text-decoration: underline; +} + +a.link7:hover { + color: #484848; + text-decoration: underline; +} + +a.link_green:visited, a.link_green:link { + color: #3a881a; + text-decoration: underline; + font-size: 12px; + font-weight: bold; +} + +a.link_green:hover { + color: #42a725; + text-decoration: underline; +} + +a.link_blue:visited, a.link_blue:link { + color: #0054a5; + text-decoration: underline; + font-size: 12px; + font-weight: normal; +} + +a.link_blue:hover { + color: #42a725; + text-decoration: underline; +} + +a.link4 span { + font-weight: normal; + color: #585858; +} + +a.link_opros:visited, a.link_opros:link { + margin-left: 20px; + float: left; + padding: 5px 10px; + border-radius: 5px; + background: #52ad34; + color: #ffffff; + text-decoration: none; + font-size: 12px; + font-weight: normal; + text-transform: uppercase; +} + +a.link_opros:hover { + text-decoration: underline; +} + +a.smill:visited, a.smill:link { + color: #3273b5; + text-decoration: underline; +} + +a.smill:hover { + color: #42a725; + text-decoration: underline; +} + +a.link_home:visited, a.link_home:link, a.link_home:hover { + display: block; + float: left; + width: 40px; + height: 40px; + background: url("../img/home.jpg") no-repeat; + margin-right: 10px; +} + +.link_home span { + display: none; +} + +a.link_kupit:visited, a.link_kupit:link, a.link_kupit:hover { + display: block; + margin: 10px auto; + width: 87px; + height: 29px; + line-height: 29px; + background: url("../img/kupit.jpg") no-repeat; + color: #ffffff; + text-decoration: none; + text-transform: uppercase; +} + +a.link_sub:visited, a.link_sub:link, a.link_sub:hover { + display: block; + margin-top: 10px; + width: 81px; + height: 29px; + line-height: 29px; + background: url("../img/sub6.jpg") no-repeat; + color: #464646; + text-decoration: none; + text-align: center; +} + +a.link_pic1:visited, a.link_pic1:link, a.link_pic1:hover { + display: block; + float: left; + background: #ffffff; + width: 144px; + height: 121px; + text-align: center; + overflow: hidden; +} + +a.link_pic2:visited, a.link_pic2:link, a.link_pic2:hover { + display: block; + float: left; + background: #ffffff; + width: 100px; + height: 100px; + text-align: center; + overflow: hidden; + margin-right: 10px; +} + +a.link_pic4:visited, a.link_pic4:link, a.link_pic4:hover { + display: block; + background: #ffffff; + width: 144px; + height: 121px; + text-align: center; + overflow: hidden; + margin: 0px auto; +} + +a.link_video:visited, a.link_video:link, a.link_video:hover { + color: #0055a6; + padding-left: 25px; + background: url('../img/ico_video.png') left no-repeat; +} + +a.sbcModal_a:visited, a.sbcModal_a:link { + display: block; + float: left; + margin-left1: 15px; + width: 139px; + height: 28px; + line-height: 28px; + text-align: center; + color: #ffffff; + text-decoration: none; + background: url('../img/sub_pay.jpg') no-repeat; +} + +a.sbcModal_a:hover { + background-position: 0px -28px; +} + +a.sbcModal_a span1 { + display: none; +} + +a.status:visited, a.status:link { + display: block; + float: left; + margin-left: 5px; + width: 95px; + height: 28px; + line-height: 28px; + text-align: center; + color: #ffffff; + font-size: 10px; + text-decoration: none;; + background: url('../img/sub_status.jpg') no-repeat; +} + +a.status:hover { + background-position: 0px -28px; +} + +a.status span1 { + display: none; +} + +a.credit:visited, a.credit:link { + display: block; + float: left; + margin-top: 2px; + width: 238px; + height: 28px; + line-height: 28px; + text-align: center; + color: #000000; + text-decoration: none; + background: url('../img/button_credit.png') no-repeat; +} + +a.credit:hover { + background-position: 0px -28px; +} + +a.credit span1 { + display: none; +} + +.top { + height: 130px; + width: 1000px; + text-align: left; + margin: 0px auto; +} + +.logo { + padding: 0px 45px 0px 0px; + float: left; +} + +.logo span { + display: none; +} + +.logo h1 { + padding: 0px; + margin: 0px; +} + +.logo a { + display: block; + width: 198px; + height: 108px; + background: url("../img/logo.jpg"); +} + +.search_top { + float: left; + padding: 10px 0px 0px 0px; + text-align: center; + width: 500px; +} + +.search_top input[type="text"] { + float: left; + width: 300px; + height: 34px; + line-height: 34px; + border: none; + background: url("../img/inp.jpg") repeat-x; + outline: 0 +} + +.inp_l { + float: left; + width: 8px; + height: 34px; + background: url("../img/inp_l.jpg") no-repeat; +} + +.search_top input[type="submit"], .submit_search { + float: left; + width: 71px; + height: 34px; + border: none; + background: url("../img/inp_submit.jpg") no-repeat; + cursor: pointer; +} + +.slogan { + color: #474747; + font-size: 18px; + padding-top: 5px; + margin-left: 335px; +} + +.search_form { + padding-left: 50px; +} + +.inp_search { + float: left; + width: 168px; + height: 34px; + line-height: 34px; + border: none; + background: url("../img/inp.jpg") repeat-x; + outline: 0 +} + +.tel { + font-size: 14px; + color: #424242; + padding-bottom1: 10px; +} + +.tel span { + color: #42a725; + font-size: 15px; + font-weight: bold; +} + +.tel span.b { + color: #424242; + font-weight: bold; +} + +.search_top > .tel { + background: url(/img/call.jpg); + background-repeat: no-repeat; + padding-left: 25px; +} + +.search_top .hotline-skype { + margin: 5px 0 2px 0; +} + +.search_top .hotline-skype > div { + display: inline-block; +} + +#callback-button { + background: url(/img/callback.jpg); + background-repeat: no-repeat; + padding: 5px 5px 5px 25px; + color: #42a725; + font-weight: normal; + text-decoration: underline; + cursor: pointer; +} + +.hotline { + font-size: 12px; + color: #424242; + font-weight: bold; + padding-bottom: 5px; + text-transform: lowercase; +} + +.hotline span, .hotline a { + color: #42a725; +} + +.basket_top { + padding-top: 15px; + float: right; + text-align: right; + width: 240px; +} + +.basket_box { + background: url("../img/ico_basket.jpg") left bottom no-repeat; + height: 36px; + margin-bottom: 5px; +} + +.count_p { + float: left; + color: #ffffff; + font-size: 14px; + padding-left: 22px; + padding-top: 4px; +} + +.basket_box a { + padding-top: 10px; + font-size: 14px; + font-weight: bold; + color: #42a725; + text-transform: uppercase; +} + +.txtb2 { + padding-top: 10px; + font-size: 14px; + font-weight: bold; + color: #42a725; + text-transform: uppercase; + margin-left: 20px; + float: left; +} + +.txtb { + font-weight: bold; +} + +.txtb14 { + font-weight: bold; + font-size: 14px; +} + +.txtblue { + color: #07569b; + text-decoration: underline; +} + +.menu { + height: 40px; + background: #50ae34; + z-index: 98; + width: 100%; +} + +.menu .wrp { + width: 1000px; + text-align: left; + margin: 0px auto; +} + +.menu ul { + list-style: none; + margin: 0px; + padding: 0px; + position: relative; +} + +.menu ul li { + float: left; + background: url("../img/m_h.jpg") center right no-repeat; +} + +.menu ul li > a { + float: left; + padding: 12px 20px; + font-size: 14px; + font-weight: normal; + color: #ffffff; + text-decoration: none; +} + +.menu ul li > a:hover { + color: #fff201; +} + +.menu ul li.active > a { + color: #fff201; +} + +.menu ul li.first > a { + font-weight: bold; + text-transform: uppercase; + padding: 0px 10px; + height: 40px; + line-height: 40px; + float: left; + background: url("../img/m_a.jpg") center repeat-x; + color: #474747; +} + +.menu ul li.first span.r { + float: left; + width: 31px; + height: 40px; + background: url("../img/m_a_r.jpg") center no-repeat; +} + +.menu ul li.first span.l { + float: left; + width: 5px; + height: 40px; + background: url("../img/m_a_l.jpg") center no-repeat; +} + +.menu ul li.first:hover > a { + padding: 0px 10px 0px 9px; + height: 43px; + line-height: 38px; + float: left; + background: url("../img/mh_a.jpg") center repeat-x; + color: #474747; + position: relative; + z-index: 1999; + bottom: -1px; +} + +.menu ul li.first:hover span.r { + float: left; + width: 31px; + height: 43px; + background: url("../img/mh_a_r.jpg") center no-repeat; + position: relative; + z-index: 1999; + bottom: -1px; +} + +.menu ul li.first:hover span.l { + float: left; + width: 6px; + height: 43px; + background: url("../img/mh_a_l.jpg") center no-repeat; + position: relative; + z-index: 1999; + bottom: -1px; +} + +.menup { + position: absolute; + z-index: 9999; + top: -999em; + border: 2px solid #c1c1c1; + border-radius: 5px 5px 5px 5px; + width: 960px; + padding: 10px 20px; + background: #ffffff; +} + +.menu ul li:hover .menup { + left: 0; + top: 40px; +} + +#slides { + width: 1000px; + text-align: left; + margin: 0px auto; + padding-top: 10px; + position: relative; + z-index: 888; +} + +.site { + width: 1000px; + text-align: left; + margin: 0px auto; + padding-top: 10px; + min-height: 600px; + background: #ffffff; +} + +ul.list { + list-style: none; + margin: 0px; + padding: 0px; + position: relative; + z-index: 5; +} + +ul.list li { + float: left; + margin-right: -7px; + z-index: 4; + position: relative; +} + +ul.list li.red a { + float: left; + height: 32px; + line-height: 32px; + padding: 0px 10px 0px 10px; + font-size: 14px; + font-weight: bold; + color: #ffffff; + text-decoration: none; + text-transform: uppercase; + background: url("../img/l_bg_r.png") bottom repeat-x; +} + +ul.list li.red span.r { + float: left; + height: 32px; + width: 19px; + background: url("../img/l_r_r.png") left bottom no-repeat; +} + +ul.list li.red span.l { + float: left; + height: 32px; + width: 9px; + background: url("../img/l_l_r.png") right bottom no-repeat; +} + +ul.list li.green a { + float: left; + height: 32px; + line-height: 32px; + padding: 0px 20px 0px 20px; + font-size: 14px; + font-weight: bold; + color: #ffffff; + text-decoration: none; + text-transform: uppercase; + background: url("../img/l_bg_g.png") bottom repeat-x; +} + +ul.list li.green span.r { + float: left; + height: 32px; + width: 19px; + background: url("../img/l_r_g.png") left bottom no-repeat; +} + +ul.list li.green span.l { + float: left; + height: 32px; + width: 9px; + background: url("../img/l_l_g.png") right bottom no-repeat; + margin-left: -2px; +} + +ul.list li.green span.l2 { + float: left; + height: 32px; + width: 9px; + background: url("../img/l_l_g2.png") right bottom no-repeat; + margin-left: -2px; +} + +ul.list li.active { + z-index: 5; +} + +ul.list li.active span.l { + float: left; + height: 33px; + width: 8px; + background: url("../img/l_l.png") right bottom no-repeat; +} + +ul.list li.active span.r { + float: left; + height: 33px; + width: 20px; + background: url("../img/l_r.png") left bottom no-repeat; +} + +ul.list li.active a { + float: left; + height: 33px; + line-height: 33px; + padding: 0px 10px 0px 10px; + font-size: 14px; + font-weight: bold; + color: #595959; + text-decoration: none; + text-transform: uppercase; + background: url("../img/l_bg.jpg") repeat-x; +} + +ul.list li a { + float: left; + height: 32px; + line-height: 32px; + padding: 0px 10px 0px 10px; + font-size: 14px; + font-weight: bold; + color: #595959; + text-decoration: none; + text-transform: uppercase; + background: url("../img/l_bg_a.png") bottom repeat-x; +} + +ul.list li span.r { + float: left; + height: 32px; + width: 19px; + background: url("../img/l_r_a.png") left bottom no-repeat; +} + +ul.list li span.l { + float: left; + height: 32px; + width: 7px; + background: url("../img/l_l_a.png") right bottom no-repeat; +} + +ul.list2 { + list-style: none; + margin: 0px 0px 35px 0px; + padding: 0px; + position: relative; + z-index: 5; +} + +ul.list2 li { + float: left; + margin-right: 20px; + z-index: 4; + position: relative; +} + +ul.list2 li a { + float: left; + font-size: 14px; + font-weight: bold; + color: #595959; + text-decoration: underline; + text-transform: uppercase; +} + +ul.list2 li.active a { + color: #4c973c; + text-decoration: none; +} + +.box_br { + border: 2px solid #c1c1c1; + border-radius: 5px 5px 5px 5px; + padding: 15px; + color: #363636; +} + +.box_br .txtb { + margin-bottom: 10px; +} + +.account-menu { + margin-top: 10px; + background: #f8f8f8; + border: 2px solid #c1c1c1; + border-radius: 5px 5px 5px 5px; + padding: 15px; + color: #363636; +} + +.account-menu ul { + list-style: none; + margin: 0px; + padding: 0px; +} + +.account-menu ul li { + padding: 3px 0px; +} + +.account-menu ul ul li { + padding: 3px 20px; +} + +.tab_container { + z-index: 4; + position: relative; + margin-top: -2px; + border-top: 2px solid #c1c1c1; + border-left: 2px solid #c1c1c1; + border-right: 2px solid #c1c1c1; + border-bottom: 2px solid #c1c1c1; + clear: both; + float: left; + width: 996px; + background: #fff; + border-radius: 0px 5px 0px 5px; + overflow: hidden; + +} + +.tab_container2 { + z-index: 4; + position: relative; + margin-top: -2px; + border-top: 2px solid #c1c1c1; + border-left: 2px solid #c1c1c1; + border-right: 2px solid #c1c1c1; + border-bottom: 2px solid #c1c1c1; + clear: both; + float: left; + width: 490px; + background: #fff; + border-radius: 0px 5px 0px 5px; + overflow: hidden; + +} + +.tab_container3 { + z-index: 4; + position: relative; + overflow: hidden; +} + +.tab_container2 ul { + list-style-image: url("../img/li.gif"); + margin: 0px 0px 0px 10px; + padding: 0px; +} + +#etab1 { + border-radius: 0px 5px 0px 5px; +} + +#etab11, #etab12, #etab13, #etab51 { + background: url("../img/rhbg.jpg") repeat-y; + border-radius: 0px 5px 0px 5px; +} + +#etab11_n, #etab12_n { + background: url("../img/rhbg2.jpg") repeat-y; + border-radius: 0px 5px 0px 5px; +} + +.rd { + border-radius: 0px 5px 5px 5px; +} + +.rd2 { + border-radius: 0px 5px 0px 5px; + overflow: visible; +} + +.tab_content, .tab_content4, .tab_content3 { + padding: 10px 20px; +} + +.tab_content2, .tab_content5 { + padding: 10px 0px; +} + +.cont_box { + border-left: 2px solid #c1c1c1; + border-right: 2px solid #c1c1c1; + border-bottom: 2px solid #c1c1c1; + border-radius: 0px 0px 5px 5px; + padding: 20px; +} + +#etab1 { + padding-right: 0px; +} + +.rowlbar { + float: left; + margin-right: 17px; +} + +.row { + width: 220px; + float: left; + margin-right1: 17px; + padding-top: 20px; + padding-right: 10px; +} + +.n { + background: none; + margin-right: 0px; + padding-right: 0px; + border: 1px solid red; + width: 213px; +} + +.row a { + display: block; + text-decoration: none; + color: #323232; +} + +.row a:hover { + color: #50AE34; +} + +.title2 { + color: #5E655E; + font-size: 12px; + font-weight: bold; + text-transform: uppercase; +} + +.title2 a:visited, .title2 a:link { + font-size: 14px; + font-weight: bold; + color: #000000; + text-decoration: none; +} + +.title2 a:hover { + color: #EE1C25; + text-decoration: underline; +} + +.box2 { + padding: 10px 0px 10px 0px; +} + +hr { + color: #e0e0e0; /*��� IE */ + background-color: #e0e0e0; /*��� Firefox, Opera, Safari*/ + border: 0px none; + height: 1px; /* ������ 1px IE, Firefox, Opera, Safari */ + clear: both; /* ��� �������, ���� ��� ���� ����� float �������� */ + margin-bottom: 15px; +} + +a.view-source:visited, a.view-source:link, a.view-source:hover { + float: right; + text-decoration: none; + background: #707070; + color: #ffffff; + padding: 5px 10px; + border-left: 2px solid #c1c1c1; + border-right: 2px solid #c1c1c1; + border-bottom: 2px solid #c1c1c1; + border-radius: 0px 0px 10px 10px; +} + +a.view-source2:visited, a.view-source2:link, a.view-source2:hover { + position: relative; + margin-bottom: -29px; + bottom: -10px; + right: -2px; + margin-bottom1: -140px; + margin-right1: -2px; + float: right; + text-decoration: none; + background: #707070; + color: #ffffff; + padding: 5px 10px; + border-left: 2px solid #c1c1c1; + border-right: 2px solid #c1c1c1; + border-bottom: 2px solid #c1c1c1; + border-radius: 0px 0px 10px 10px; +} + +.mrt { + margin-top: 10px; +} + +.cost { + color: #474747; + font-size: 14px; + font-weight: bold; +} + +.fotter_bg { + background: #c2c2c2; + color: #ffffff; + margin-top: 20px; +} + +.fotter { + width: 1000px; + text-align: left; + margin: 0px auto; + padding: 40px 0px; +} + +.txtc { + text-align: center; + overflow: hidden; +} + +.txtr { + text-align: right; +} + +.fotter ul { + list-style: none; + margin: 0px; + padding: 0px; +} + +.fotter ul li { + display: inline; + margin: 0px 5px; +} + +.fotter ul li a { + font-size: 14px; + text-decoration: none; +} + +.item_news { + border-bottom: 1px solid #C8C8C8; + padding-bottom: 5px; + margin-bottom: 5px; +} + +.rgh { + text-align: right; +} + +.products { +} + +.row_product:hover { + background: #fffeea; +} + +.products .row_product { + border-bottom: 1px solid #C8C8C8; +} + +.products .row_product2 { + border-bottom: 1px solid #C8C8C8; + padding-bottom: 10px; + margin-bottom: 10px; +} + +.products .row_product .wrp { + padding: 15px; +} + +.products .pr_t { + height: 25px; + line-height: 25px; + background: url('img/prbg.jpg') repeat-x; + text-transform: uppercase; + color: #419B29; + font-weight: bold; + text-indent: 20px; +} + +.products .pr_t .l { + background: url('img/prl.jpg') left top no-repeat; +} + +.products .pr_t .r { + background: url('img/prr.jpg') right top no-repeat; +} + +.products .infob { + overflow: hidden; + padding: 0px 10px 0px 10px; + background: url('img/tk.jpg') right repeat-y; + height: 120px; +} + +.products .infor { + float: right; + height1: 120px; + width: 180px; + padding-top: 0px; +} + +.products .infob p { + padding-top: 5px; + text-indent: 10px; +} + +.product_box .infob h1 { + display: inline; +} + +.product_box .infob a.f18 { + font-size: 18px; +} + +.product_box .infor { + float: right; + height1: 120px; + width: 150px; + padding-top: 0px; +} + +.navig { + padding-bottom: 10px; +} + +.product_box .infob { + overflow: hidden; + padding: 0px 20px 0px 20px; +} + +.product_box .row_product2 { + border-bottom: 1px solid #C8C8C8; + padding-bottom: 10px; + margin-bottom: 10px; +} + +.title3 { + margin-top: 10px; + height: 41px; + line-height1: 41px; + text-indent1: 20px; + background: #50ae36; + color: #ffffff; + font-size: 13px; + font-weight: bold; + text-transform: uppercase; + margin-bottom1: 20px; +} + +.title3 .l { + background: url('../img/t_l.jpg') left top no-repeat; +} + +.title3 .r { + background: url('../img/t_r.jpg') right top no-repeat; +} + +.title3 .w { + padding-top: 12px; + padding-right: 20px; + padding-left: 20px; +} + +.title3 span { + height: 19px; + line-height: 19px; + background: url('../img/t_abg.jpg') repeat-x; + color: #414141; + text-align: center; + text-transform: lowercase; + font-weight: normal; +} -h1,h2{padding:0px;margin:0px;} -h1,.h1{font-size:20px;font-weight:normal;color:#388e1e;padding-bottom:15px;} -h2{padding-bottom:10px;color:#388e1e;font-weight:normal;} +.title3 h2, .title3 h1, .title3 .h1 { + color: #ffffff; + font-size: 13px; + font-weight: bold; + display: inline; +} -a:visited,a:link{font-size:12;font-weight:normal;color:#4b4b4b;text-decoration: underline;} -a:hover{color:#42a725;text-decoration: underline;} +.leftbar { + float: left; + width: 245px; +} -a.link_p:visited,a.link_p:link{display1:block;color:#434343;text-decoration: underline;background:url("../img/login.jpg") left no-repeat;width:32px;height:29px;float:right;margin-top:-15px;} -a.link_p:hover{color:#42a725;text-decoration: underline;} -a.link_p span{display:none;} +.leftbar2 { + float: left; + width: 220px; +} -a.link1:visited,a.link1:link{color:#378f1f;text-decoration: none;font-size:16px;text-transform: uppercase;} -a.link1:hover{color:#42a725;text-decoration: underline;} +.content { + overflow: hidden; + padding: 0px 0px 0px 15px; + margin-bottom: 20px; +} -a.link2:visited,a.link2:link{display:block;color:#338e17;text-decoration: underline;} -a.link2:hover{color:#42a725;text-decoration: underline;} +* html .content { + height: 1%; +} -a.link3:visited,a.link3:link{display:block;color:#f5f5f5;text-decoration: underline;} -a.link3:hover{color:#42a725;text-decoration: underline;} +.perPage { + text-align: right; + float: right; +} -a.link4:visited,a.link4:link{color:#4b4b4b;text-decoration: none;} -a.link4:hover{text-decoration: underline;} +.pager { + font-weight: normal; + margin-bottom: 5px; + text-decoration: none; + margin-bottom: 20px; +} -a.link5:visited,a.link5:link{color:#484848;text-decoration: none;font-size:16px;font-weight:bold;} -a.link5:hover{color:#42a725;text-decoration: underline;} +a.link_class { + padding: 3px; + color: #545454; + font-weight: bold; + text-decoration: none; + font-size: 12px; +} -a.link6:visited,a.link6:link{color:#368e1e;text-decoration: underline;} -a.link6:hover{color:#484848;text-decoration: underline;} +.link_class_active { + padding: 3px; + color: #07569b; + font-weight: bold; + text-decoration: none; + font-size: 12px; +} -a.link7:visited,a.link7:link{color:#4b4b4b;text-decoration: underline;} -a.link7:hover{color:#484848;text-decoration: underline;} +.ft { + width: 245px; + height: 8px; + background: url('../img/ft.jpg') no-repeat; +} -a.link_green:visited,a.link_green:link{color:#3a881a;text-decoration: underline;font-size:12px;font-weight:bold;} -a.link_green:hover{color:#42a725;text-decoration: underline;} +.fb { + width: 245px; + height: 8px; + background: url('../img/fb.jpg') no-repeat; +} -a.link_blue:visited,a.link_blue:link{color:#0054a5;text-decoration: underline;font-size:12px;font-weight:normal;} -a.link_blue:hover{color:#42a725;text-decoration: underline;} -a.link4 span{font-weight:normal;color:#585858;} +.fbg { + width: 245px; + background: url('../img/fbg.jpg') repeat-y; +} -a.link_opros:visited,a.link_opros:link{margin-left:20px;float:left;padding:5px 10px;border-radius:5px;background:#52ad34;color:#ffffff;text-decoration: none;font-size:12px;font-weight:normal;text-transform: uppercase;} -a.link_opros:hover{text-decoration: underline;} +.fbg .wrp { + padding: 10px; +} -a.smill:visited,a.smill:link{color:#3273b5;text-decoration: underline;} -a.smill:hover{color:#42a725;text-decoration: underline;} +.fbg span { + font-weight: bold; + font-size: 14px; + color: #525252; +} -a.link_home:visited,a.link_home:link,a.link_home:hover{display:block;float:left;width:40px;height:40px;background:url("../img/home.jpg") no-repeat;margin-right:10px;} -.link_home span{display:none;} +.fbg select { + width: 100%; + border: 1px solid #a4a4a4; + border-radius: 5px; + height: 25px; +} -a.link_kupit:visited,a.link_kupit:link,a.link_kupit:hover{display:block;margin:10px auto;width:87px;height:29px;line-height:29px;background:url("../img/kupit.jpg") no-repeat;color:#ffffff;text-decoration:none;text-transform: uppercase;} +.rating { + color: #555555; + font-size: 11px; /* ! */ + font-family: tahoma; /* ! */ + width: 85px; + height: 16px; +} -a.link_sub:visited,a.link_sub:link,a.link_sub:hover{display:block;margin-top:10px;width:81px;height:29px;line-height:29px;background:url("../img/sub6.jpg") no-repeat;color:#464646;text-decoration:none;text-align:center;} +.unit-rating { + list-style: none; + margin: 0px; + padding: 0px; + width: 85px; + height: 16px; + position: relative; + background-image: url(../img/rating.png); + background-position: top left; + background-repeat: repeat-x; +} -a.link_pic1:visited,a.link_pic1:link,a.link_pic1:hover{display:block;float:left;background:#ffffff;width:144px;height:121px;text-align:center;overflow:hidden;} -a.link_pic2:visited,a.link_pic2:link,a.link_pic2:hover{display:block;float:left;background:#ffffff;width:100px;height:100px;text-align:center;overflow:hidden;margin-right:10px;} -a.link_pic4:visited,a.link_pic4:link,a.link_pic4:hover{display:block;background:#ffffff;width:144px;height:121px;text-align:center;overflow:hidden;margin:0px auto;} +.unit-rating li { + text-indent: -90000px; + padding: 0px; + margin: 0px; + float: left; +} -a.link_video:visited,a.link_video:link,a.link_video:hover{color:#0055a6;padding-left:25px;background:url('../img/ico_video.png') left no-repeat;} +.unit-rating li a { + display: block; + width: 17px; + height: 16px; + text-decoration: none; + text-indent: -9000px; + z-index: 17; + position: absolute; + padding: 0px; +} -a.sbcModal_a:visited,a.sbcModal_a:link{display:block;float:left;margin-left1:15px;width:139px;height:28px;line-height:28px;text-align:center;color:#ffffff;text-decoration:none;background:url('../img/sub_pay.jpg') no-repeat;} -a.sbcModal_a:hover{background-position:0px -28px;} -a.sbcModal_a span1{display:none;} +.unit-rating li a:hover { + background-image: url(../img/rating.png); + background-position: left center; + z-index: 2; + left: 0px; +} -a.status:visited,a.status:link{display:block;float:left;margin-left:5px;width:95px;height:28px;line-height:28px;text-align:center;color:#ffffff;font-size:10px;text-decoration:none;;background:url('../img/sub_status.jpg') no-repeat;} -a.status:hover{background-position:0px -28px;} -a.status span1{display:none;} +.unit-rating a.r1-unit { + left: 0px; +} -a.credit:visited,a.credit:link{display:block;float:left;margin-top:2px;width:238px;height:28px;line-height:28px;text-align:center;color:#000000;text-decoration:none;background:url('../img/button_credit.png') no-repeat;} -a.credit:hover{background-position:0px -28px;} -a.credit span1{display:none;} +.unit-rating a.r1-unit:hover { + width: 17px; +} -.top{height:130px;width:1000px;text-align:left;margin:0px auto;} +.unit-rating a.r2-unit { + left: 17px; +} -.logo{padding:0px 45px 0px 0px;float:left;} -.logo span{display:none;} -.logo h1{padding:0px;margin:0px;} -.logo a{display: block;width:198px;height:108px;background:url("../img/logo.jpg");} - -.search_top{float:left;padding:10px 0px 0px 0px;text-align:center;width:500px;} -.search_top input[type="text"]{float:left;width:300px;height:34px;line-height:34px;border:none;background:url("../img/inp.jpg") repeat-x;outline:0} -.inp_l{float:left;width:8px;height:34px;background:url("../img/inp_l.jpg") no-repeat;} -.search_top input[type="submit"],.submit_search{float:left;width:71px;height:34px;border:none;background:url("../img/inp_submit.jpg") no-repeat;cursor:pointer;} -.slogan{color:#474747;font-size:18px;padding-top:5px;} -.search_form{padding-left:50px;} - -.inp_search{float:left;width:168px;height:34px;line-height:34px;border:none;background:url("../img/inp.jpg") repeat-x;outline:0} - - -.tel{font-size:14px;color:#424242;padding-bottom1:10px;} -.tel span{color:#42a725;font-size:15px;font-weight:bold;} -.tel span.b{color:#424242;font-weight:bold;} - -.hotline{font-size:14px;color:#424242;font-weight:bold;padding-bottom:5px;} -.hotline span,.hotline a{color:#42a725;font-size:15px;font-weight:bold;} - -.basket_top{padding-top:15px;float:right;text-align:right;width:240px;} -.basket_box{background:url("../img/ico_basket.jpg") left bottom no-repeat;height:36px;margin-bottom:5px;} -.count_p{float:left;color:#ffffff;font-size:14px;padding-left:22px;padding-top:4px;} -.basket_box a{padding-top:10px;font-size:14px;font-weight:bold;color:#42a725;text-transform: uppercase;} -.txtb2{padding-top:10px;font-size:14px;font-weight:bold;color:#42a725;text-transform: uppercase;margin-left:20px;float:left;} -.txtb{font-weight:bold;} -.txtb14{font-weight:bold;font-size:14px;} -.txtblue{color:#07569b;text-decoration:underline;} - -.menu{height:40px;background:#50ae34;z-index:98;width:100%;} -.menu .wrp{width:1000px;text-align:left;margin:0px auto;} -.menu ul{list-style:none;margin:0px;padding:0px;position:relative;} -.menu ul li{float:left;background:url("../img/m_h.jpg") center right no-repeat;} -.menu ul li > a{float:left;padding:12px 20px;font-size:14px;font-weight:normal;color:#ffffff;text-decoration:none;} -.menu ul li > a:hover{color:#fff201;} -.menu ul li.active > a{color:#fff201;} -.menu ul li.first > a{font-weight:bold;text-transform: uppercase;padding:0px 10px;height:40px;line-height:40px;float:left;background:url("../img/m_a.jpg") center repeat-x;color:#474747;} -.menu ul li.first span.r{float:left;width:31px;height:40px;background:url("../img/m_a_r.jpg") center no-repeat;} -.menu ul li.first span.l{float:left;width:5px;height:40px;background:url("../img/m_a_l.jpg") center no-repeat;} -.menu ul li.first:hover > a{padding:0px 10px 0px 9px;height:43px;line-height:38px;float:left;background:url("../img/mh_a.jpg") center repeat-x;color:#474747;position:relative;z-index:1999;bottom:-1px;} -.menu ul li.first:hover span.r{float:left;width:31px;height:43px;background:url("../img/mh_a_r.jpg") center no-repeat;position:relative;z-index:1999;bottom:-1px;} -.menu ul li.first:hover span.l{float:left;width:6px;height:43px;background:url("../img/mh_a_l.jpg") center no-repeat;position:relative;z-index:1999;bottom:-1px;} - -.menup{position:absolute;z-index:9999;top:-999em;border:2px solid #c1c1c1;border-radius:5px 5px 5px 5px;width:960px;padding:10px 20px; -background:#ffffff;} -.menu ul li:hover .menup{left:0;top:40px;} - - -#slides{width:1000px;text-align:left;margin:0px auto;padding-top:10px;position:relative;z-index:888;} - - -.site{width:1000px;text-align:left;margin:0px auto;padding-top:10px;min-height:600px;background:#ffffff;} - - -ul.list{list-style:none;margin:0px;padding:0px;position:relative;z-index:5;} -ul.list li{float:left;margin-right:-7px;z-index:4;position:relative;} -ul.list li.red a{float:left;height:32px;line-height:32px;padding:0px 10px 0px 10px;font-size:14px;font-weight:bold;color:#ffffff;text-decoration:none;text-transform: uppercase;background:url("../img/l_bg_r.png") bottom repeat-x;} -ul.list li.red span.r{float:left;height:32px;width:19px;background:url("../img/l_r_r.png") left bottom no-repeat;} -ul.list li.red span.l{float:left;height:32px;width:9px;background:url("../img/l_l_r.png") right bottom no-repeat;} - -ul.list li.green a{float:left;height:32px;line-height:32px;padding:0px 20px 0px 20px;font-size:14px;font-weight:bold;color:#ffffff;text-decoration:none;text-transform: uppercase;background:url("../img/l_bg_g.png") bottom repeat-x;} -ul.list li.green span.r{float:left;height:32px;width:19px;background:url("../img/l_r_g.png") left bottom no-repeat;} -ul.list li.green span.l{float:left;height:32px;width:9px;background:url("../img/l_l_g.png") right bottom no-repeat;margin-left:-2px;} -ul.list li.green span.l2{float:left;height:32px;width:9px;background:url("../img/l_l_g2.png") right bottom no-repeat;margin-left:-2px;} - -ul.list li.active{z-index:5;} -ul.list li.active span.l{float:left;height:33px;width:8px;background:url("../img/l_l.png") right bottom no-repeat;} -ul.list li.active span.r{float:left;height:33px;width:20px;background:url("../img/l_r.png") left bottom no-repeat;} -ul.list li.active a{float:left;height:33px;line-height:33px;padding:0px 10px 0px 10px;font-size:14px;font-weight:bold;color:#595959;text-decoration:none;text-transform: uppercase;background:url("../img/l_bg.jpg") repeat-x;} -ul.list li a{float:left;height:32px;line-height:32px;padding:0px 10px 0px 10px;font-size:14px;font-weight:bold;color:#595959;text-decoration:none;text-transform: uppercase;background:url("../img/l_bg_a.png") bottom repeat-x;} -ul.list li span.r{float:left;height:32px;width:19px;background:url("../img/l_r_a.png") left bottom no-repeat;} -ul.list li span.l{float:left;height:32px;width:7px;background:url("../img/l_l_a.png") right bottom no-repeat;} - -ul.list2{list-style:none;margin:0px 0px 35px 0px;padding:0px;position:relative;z-index:5;} -ul.list2 li{float:left;margin-right:20px;z-index:4;position:relative;} -ul.list2 li a{float:left;font-size:14px;font-weight:bold;color:#595959;text-decoration:underline;text-transform: uppercase;} -ul.list2 li.active a{color:#4c973c;text-decoration:none;} - -.box_br{border:2px solid #c1c1c1;border-radius:5px 5px 5px 5px;padding:15px;color:#363636;} -.box_br .txtb{margin-bottom:10px;} - -.account-menu{margin-top:10px;background:#f8f8f8;border:2px solid #c1c1c1;border-radius:5px 5px 5px 5px;padding:15px;color:#363636;} -.account-menu ul{list-style:none;margin:0px;padding:0px;} -.account-menu ul li{padding:3px 0px;} -.account-menu ul ul li{padding:3px 20px;} - -.tab_container {z-index:4; - position:relative;margin-top:-2px; - border-top:2px solid #c1c1c1; - border-left:2px solid #c1c1c1; - border-right:2px solid #c1c1c1; - border-bottom:2px solid #c1c1c1; - clear: both; - float: left; - width: 996px; - background: #fff; - border-radius:0px 5px 0px 5px;overflow:hidden ; - -} -.tab_container2 {z-index:4; - position:relative;margin-top:-2px; - border-top:2px solid #c1c1c1; - border-left:2px solid #c1c1c1; - border-right:2px solid #c1c1c1; - border-bottom:2px solid #c1c1c1; - clear: both; - float: left; - width: 490px; - background: #fff; - border-radius:0px 5px 0px 5px;overflow:hidden ; - -} -.tab_container3 {z-index:4; - position:relative; - overflow:hidden; -} -.tab_container2 ul{list-style-image: url("../img/li.gif");margin:0px 0px 0px 10px;padding:0px;} -#etab1{border-radius:0px 5px 0px 5px;} -#etab11,#etab12,#etab13,#etab51{background:url("../img/rhbg.jpg") repeat-y;border-radius:0px 5px 0px 5px;} -#etab11_n,#etab12_n{background:url("../img/rhbg2.jpg") repeat-y;border-radius:0px 5px 0px 5px;} -.rd{border-radius:0px 5px 5px 5px;} -.rd2{border-radius:0px 5px 0px 5px;overflow:visible;} -.tab_content,.tab_content4,.tab_content3{padding:10px 20px;} -.tab_content2,.tab_content5{padding:10px 0px;} - -.cont_box{ - border-left:2px solid #c1c1c1; - border-right:2px solid #c1c1c1; - border-bottom:2px solid #c1c1c1; - border-radius:0px 0px 5px 5px; - padding:20px; -} - -#etab1{padding-right:0px;} -.rowlbar{float:left;margin-right:17px;} -.row{width:220px;float:left;margin-right1:17px;padding-top:20px;padding-right:10px;} -.n{background:none;margin-right:0px;padding-right:0px;border:1px solid red;width:213px;} -.row a{display:block;text-decoration:none;color: #323232;} -.row a:hover{color: #50AE34;} -.title2{color:#5E655E;font-size:12px;font-weight:bold;text-transform: uppercase;} -.title2 a:visited, .title2 a:link{font-size:14px;font-weight:bold;color: #000000;text-decoration: none;} -.title2 a:hover {color:#EE1C25;text-decoration: underline;} -.box2{padding:10px 0px 10px 0px;} -hr { - color: #e0e0e0; /* IE */ - background-color:#e0e0e0; /* Firefox, Opera, Safari*/ - border:0px none; - height:1px; /* 1px IE, Firefox, Opera, Safari */ - clear:both; /* , float */ - margin-bottom:15px; -} - -a.view-source:visited,a.view-source:link,a.view-source:hover{ - float:right;text-decoration: none; - background:#707070; - color:#ffffff; - padding:5px 10px; - border-left:2px solid #c1c1c1; - border-right:2px solid #c1c1c1; - border-bottom:2px solid #c1c1c1; - border-radius:0px 0px 10px 10px; -} -a.view-source2:visited,a.view-source2:link,a.view-source2:hover{ - position:relative;margin-bottom:-29px;bottom:-10px;right:-2px; - margin-bottom1:-140px;margin-right1:-2px; - float:right;text-decoration: none; - background:#707070; - color:#ffffff; - padding:5px 10px; - border-left:2px solid #c1c1c1; - border-right:2px solid #c1c1c1; - border-bottom:2px solid #c1c1c1; - border-radius:0px 0px 10px 10px; -} -.mrt{margin-top:10px;} -.cost{color:#474747;font-size:14px;font-weight:bold;} -.fotter_bg{background:#c2c2c2;color:#ffffff;margin-top:20px;} -.fotter{width:1000px;text-align:left;margin:0px auto;padding:40px 0px;} -.txtc{text-align:center;overflow:hidden;} -.txtr{text-align:right;} -.fotter ul{list-style:none;margin:0px;padding:0px;} -.fotter ul li{display:inline;margin:0px 5px;} -.fotter ul li a{font-size:14px;text-decoration:none;} - -.item_news{border-bottom:1px solid #C8C8C8;padding-bottom:5px;margin-bottom:5px;} -.rgh{text-align:right;} - -.products{} -.row_product:hover{background:#fffeea;} -.products .row_product{border-bottom:1px solid #C8C8C8;} -.products .row_product2{border-bottom:1px solid #C8C8C8;padding-bottom:10px;margin-bottom:10px;} -.products .row_product .wrp{padding:15px;} -.products .pr_t{height:25px;line-height:25px;background:url('img/prbg.jpg') repeat-x;text-transform: uppercase;color:#419B29;font-weight:bold;text-indent: 20px;} -.products .pr_t .l{background:url('img/prl.jpg') left top no-repeat;} -.products .pr_t .r{background:url('img/prr.jpg') right top no-repeat;} -.products .infob{overflow:hidden ;padding:0px 10px 0px 10px;background:url('img/tk.jpg') right repeat-y;height:120px;} -.products .infor{float:right;height1:120px;width:180px;padding-top:0px;} -.products .infob p{padding-top:5px;text-indent: 10px;} -.product_box .infob h1{display:inline;} -.product_box .infob a.f18{font-size:18px;} - -.product_box .infor{float:right;height1:120px;width:150px;padding-top:0px;} -.navig{padding-bottom:10px;} -.product_box .infob{overflow:hidden ;padding:0px 20px 0px 20px;} -.product_box .row_product2{border-bottom:1px solid #C8C8C8;padding-bottom:10px;margin-bottom:10px;} - -.title3{margin-top:10px;height:41px;line-height1:41px;text-indent1:20px;background:#50ae36;color:#ffffff;font-size:13px;font-weight:bold;text-transform: uppercase;margin-bottom1:20px;} -.title3 .l{background:url('../img/t_l.jpg') left top no-repeat;} -.title3 .r{background:url('../img/t_r.jpg') right top no-repeat;} -.title3 .w{padding-top:12px;padding-right:20px;padding-left:20px;} -.title3 span{height:19px;line-height:19px;background:url('../img/t_abg.jpg') repeat-x;color:#414141;text-align:center;text-transform:lowercase;font-weight:normal;} -.title3 h2,.title3 h1,.title3 .h1{color:#ffffff;font-size:13px;font-weight:bold;display:inline;} - - -.leftbar{float:left;width:245px;} -.leftbar2{float:left;width:220px;} -.content {overflow:hidden;padding:0px 0px 0px 15px;margin-bottom:20px;} -* html .content{height:1%;} - - -.perPage{text-align:right;float:right;} -.pager{font-weight:normal;margin-bottom:5px;text-decoration: none;margin-bottom:20px;} -a.link_class{padding:3px;color:#545454;font-weight:bold;text-decoration: none;font-size:12px;} -.link_class_active{padding:3px;color:#07569b;font-weight:bold;text-decoration: none;font-size:12px;} - - -.ft{width:245px;height:8px;background:url('../img/ft.jpg') no-repeat;} -.fb{width:245px;height:8px;background:url('../img/fb.jpg') no-repeat;} -.fbg{width:245px;background:url('../img/fbg.jpg') repeat-y;} -.fbg .wrp{padding:10px;} -.fbg span{font-weight:bold;font-size:14px;color:#525252;} -.fbg select{width:100%;border:1px solid #a4a4a4;border-radius:5px;height:25px;} +.unit-rating a.r2-unit:hover { + width: 34px; +} -.rating { - color: #555555; - font-size: 11px; /* ! */ - font-family: tahoma; /* ! */ - width: 85px; - height: 16px; +.unit-rating a.r3-unit { + left: 34px; } -.unit-rating { - list-style: none; - margin: 0px; - padding: 0px; - width: 85px; - height: 16px; - position: relative; - background-image: url(../img/rating.png); - background-position: top left; - background-repeat: repeat-x; + +.unit-rating a.r3-unit:hover { + width: 51px; } -.unit-rating li { - text-indent: -90000px; - padding: 0px; - margin: 0px; - float: left; + +.unit-rating a.r4-unit { + left: 51px; } -.unit-rating li a { - display: block; - width: 17px; - height: 16px; - text-decoration: none; - text-indent: -9000px; - z-index: 17; - position: absolute; - padding: 0px; + +.unit-rating a.r4-unit:hover { + width: 68px; } -.unit-rating li a:hover { - background-image: url(../img/rating.png); - background-position: left center; - z-index: 2; - left: 0px; -} -.unit-rating a.r1-unit { left: 0px; } -.unit-rating a.r1-unit:hover { width: 17px; } -.unit-rating a.r2-unit { left: 17px; } -.unit-rating a.r2-unit:hover { width: 34px; } -.unit-rating a.r3-unit { left: 34px; } -.unit-rating a.r3-unit:hover { width: 51px; } -.unit-rating a.r4-unit { left: 51px; } -.unit-rating a.r4-unit:hover { width: 68px; } -.unit-rating a.r5-unit { left: 68px; } -.unit-rating a.r5-unit:hover { width: 85px; } + +.unit-rating a.r5-unit { + left: 68px; +} + +.unit-rating a.r5-unit:hover { + width: 85px; +} + .unit-rating li.current-rating { - background-image: url(../img/rating.png); - background-position: left bottom; - position: absolute; - height: 16px; - display: block; - text-indent: -9000px; - z-index: 1; -} - #inputArea - { - font-family: Arial, Sans-Serif; - font-size: 13px; - padding: 10px; - } - .activeField - { - background-image: none; - background-color: #ffffff; - border: solid 2px #0FAFBD;border-radius:5px; - font-family: Arial, Sans-Serif; - font-size: 13px; - margin-bottom: 5px; - display: block; - padding: 5px;width:350px; - } - .idle - { - border: solid 2px #c2c2c2;border-radius:5px; - background-image: url( '../img/gray_bg.png' ); - background-repeat: repeat-x; - background-position: top; - background-color:#FFFFFF; - font-family: Arial, Sans-Serif; - font-size: 13px; - margin-bottom: 5px; - display: block; - padding: 5px;width:350px; - - } - -.red{color:red;} -.itemsbox label{display:block;padding:5px 0px;} + background-image: url(../img/rating.png); + background-position: left bottom; + position: absolute; + height: 16px; + display: block; + text-indent: -9000px; + z-index: 1; +} + +#inputArea { + font-family: Arial, Sans-Serif; + font-size: 13px; + padding: 10px; +} + +.activeField { + background-image: none; + background-color: #ffffff; + border: solid 2px #0FAFBD; + border-radius: 5px; + font-family: Arial, Sans-Serif; + font-size: 13px; + margin-bottom: 5px; + display: block; + padding: 5px; + width: 350px; +} + +.idle { + border: solid 2px #c2c2c2; + border-radius: 5px; + background-image: url('../img/gray_bg.png'); + background-repeat: repeat-x; + background-position: top; + background-color: #FFFFFF; + font-family: Arial, Sans-Serif; + font-size: 13px; + margin-bottom: 5px; + display: block; + padding: 5px; + width: 350px; + +} + +.red { + color: red; +} + +.itemsbox label { + display: block; + padding: 5px 0px; +} + #login_social_vkontakte { background: url("../img/sprite_gif22_new.gif") no-repeat scroll -340px -67px transparent; } @@ -416,190 +1470,635 @@ a.link_class{padding:3px;color:#545454;font-weight:bold;text-decoration: none;fo #login_social_twitter { background: url("../img/sprite_gif22_new.gif") no-repeat scroll -102px -67px transparent; } -div.signup div.col-2 {float: left; padding-top:20px; width:210px;} - div.signup div.col-3 span.noaccount {font-size: 14px; margin-left: 10px;} - div.signup div.col-3 span.registration {font-size: 16px;display: block;} - div.col-3 span.remind { display: block; text-transform: lowercase; margin-bottom: 15px;} - div.signup div.col-3 {padding-top: 20px;text-align: center;width:400px;} - -.block_info_item2{border-bottom:1px solid #C8C8C8;padding-bottom:15px;margin-bottom:15px;} -.item_news{border-bottom:1px solid #C8C8C8;padding-bottom:5px;margin-bottom:5px;} -.date{color:#0B4B89;font-size:11px;} -#.pic{border:3px solid #E3E1E4;} -.right{margin-right:25px;} -.box_brend{float:left;width:165px;height:100px;text-align:center;} -.box_brend2{float:left;width:159px;height:100px;text-align:center;} -.bgcontact{background:url('../img/bgcontact.jpg');width:363px;height:136px;font-weight:bold;padding:0px 10px 0px 0px;} -.tr{background:#898989;color:#ffffff;font-weight:bold;} -.cost_box{background:#ebebeb url('../img/box_bg.jpg') top repeat-x;padding:20px;border:1px solid #cccccc;border-radius:5px; - -webkit-box-shadow: 0 0 10px #a4a4a4; - -moz-box-shadow: 0 0 10px #a4a4a4; - box-shadow: 0 0 10px #a4a4a4; -} - - -#compare{position:fixed;right:0px;top:370px;display:none;} -#compare span{display:none;} -#compare a{display:block;width:43px;height:144px;background:url('../img/compare.jpg');} - -.list_rubric{color:#3D946A;font-size:14px;padding-top:10px;} -.box5{background:#F5F5F5;padding:5px;border-bottom:4px solid #CACACA;border-top:4px solid #CACACA;} -.products_list_row{width:160px;float:left;margin:0px 19px 0px 19px;} -.mt{margin-top:10px;margin-left:30px;} -.name2{padding:5px 0px 0px 0px;height:50px;} - -.row_adv{margin-bottom:10px;} -.row_adv .pic{margin-right:10px;} - -.boxrp{} -.boxrp .t{background:#ededed url('../img/br_t.jpg') top repeat-x;border-radius:5px;} -.boxrp .l{background:url('../img/br_l.jpg') left repeat-y;border-radius:5px;} -.boxrp .lt{background:url('../img/br_lt.jpg') left top no-repeat;} -.boxrp .wrp{padding:10px 30px 20px 30px;} - -.box_sort{padding:20px 20px;} -select{border:1px solid #a4a4a4;border-radius:5px;height:25px;} - -.submit{border:none;min-width:94px;height:27px;background:url('../img/sub3.jpg') center no-repeat;color:#454545;cursor:pointer;} -.submit4{border:none;width:150px;height:29px;background:url('../img/sub4.jpg') no-repeat;color:#ffffff;cursor:pointer;text-transform: uppercase;font-size:11px;} -.submit5{border:none;width:87px;height:29px;line-height:29px;background:url("../img/kupit.jpg") no-repeat;color:#ffffff;cursor:pointer;} -.submit_large{border:none;width:255px;height:56px;padding:0px 43px;background:url('../img/submit_large.jpg') no-repeat;color:#ffffff;font-size:16px;cursor:pointer;word-wrap:break-word;} - -.attention{float:right;color:#f46523;margin:20px 100px 0px 0px;} - -.bar_products_parent{float:right;width:220px;} -.head{background:#969696;color:#ffffff;font-weight:bold;text-align:center;height:30px;line-height:30px;border-radius:5px 5px 0px 0px;} -.box_products{ - border-left:2px solid #c1c1c1; - border-right:2px solid #c1c1c1; - border-bottom:2px solid #c1c1c1; - padding:0px 10px;margin-bottom:20px; -} -.product{text-align:center;padding:20px 0px;border-bottom:1px solid #c1c1c1;} -.pic_box{border:3px solid #E3E1E4;float:left;width:120px;height:100px;text-align:center;margin-right:10px;overflow:hidden;} - -.info{line-height:30px;} -.row2{clear:both;} -.row2 label{display:block;} - .line { - border-bottom: 1px solid #ADADAF; - margin: 5px; - width: 100%; - } - div.interest-block div.common, - div.interest-block div.interst {padding-left: 60px;} - div.interest-block div.title {margin-top:20px;} - div.interest-block div.th {font-weight: bold;display:block; padding-bottom:6px;} - div.interest-block span { padding-bottom:6px;display: table-cell;} - div.choice {display: block;margin-bottom: 10px;} - div.column {float:left; min-width:150px;} - + +div.signup div.col-2 { + float: left; + padding-top: 20px; + width: 210px; +} + +div.signup div.col-3 span.noaccount { + font-size: 14px; + margin-left: 10px; +} + +div.signup div.col-3 span.registration { + font-size: 16px; + display: block; +} + +div.col-3 span.remind { + display: block; + text-transform: lowercase; + margin-bottom: 15px; +} + +div.signup div.col-3 { + padding-top: 20px; + text-align: center; + width: 400px; +} + +.block_info_item2 { + border-bottom: 1px solid #C8C8C8; + padding-bottom: 15px; + margin-bottom: 15px; +} + +.item_news { + border-bottom: 1px solid #C8C8C8; + padding-bottom: 5px; + margin-bottom: 5px; +} + +.date { + color: #0B4B89; + font-size: 11px; +} + +# +.pic { + border: 3px solid #E3E1E4; +} + +.right { + margin-right: 25px; +} + +.box_brend { + float: left; + width: 165px; + height: 100px; + text-align: center; +} + +.box_brend2 { + float: left; + width: 159px; + height: 100px; + text-align: center; +} + +.bgcontact { + background: url('../img/bgcontact.jpg'); + width: 363px; + height: 136px; + font-weight: bold; + padding: 0px 10px 0px 0px; +} + +.tr { + background: #898989; + color: #ffffff; + font-weight: bold; +} + +.cost_box { + background: #ebebeb url('../img/box_bg.jpg') top repeat-x; + padding: 20px; + border: 1px solid #cccccc; + border-radius: 5px; + -webkit-box-shadow: 0 0 10px #a4a4a4; + -moz-box-shadow: 0 0 10px #a4a4a4; + box-shadow: 0 0 10px #a4a4a4; +} + +#compare { + position: fixed; + right: 0px; + top: 370px; + display: none; +} + +#compare span { + display: none; +} + +#compare a { + display: block; + width: 43px; + height: 144px; + background: url('../img/compare.jpg'); +} + +.list_rubric { + color: #3D946A; + font-size: 14px; + padding-top: 10px; +} + +.box5 { + background: #F5F5F5; + padding: 5px; + border-bottom: 4px solid #CACACA; + border-top: 4px solid #CACACA; +} + +.products_list_row { + width: 160px; + float: left; + margin: 0px 19px 0px 19px; +} + +.mt { + margin-top: 10px; + margin-left: 30px; +} + +.name2 { + padding: 5px 0px 0px 0px; + height: 50px; +} + +.row_adv { + margin-bottom: 10px; +} + +.row_adv .pic { + margin-right: 10px; +} + +.boxrp { +} + +.boxrp .t { + background: #ededed url('../img/br_t.jpg') top repeat-x; + border-radius: 5px; +} + +.boxrp .l { + background: url('../img/br_l.jpg') left repeat-y; + border-radius: 5px; +} + +.boxrp .lt { + background: url('../img/br_lt.jpg') left top no-repeat; +} + +.boxrp .wrp { + padding: 10px 30px 20px 30px; +} + +.box_sort { + padding: 20px 20px; +} + +select { + border: 1px solid #a4a4a4; + border-radius: 5px; + height: 25px; +} + +.submit { + border: none; + min-width: 94px; + height: 27px; + background: url('../img/sub3.jpg') center no-repeat; + color: #454545; + cursor: pointer; +} + +.submit4 { + border: none; + width: 150px; + height: 29px; + background: url('../img/sub4.jpg') no-repeat; + color: #ffffff; + cursor: pointer; + text-transform: uppercase; + font-size: 11px; +} + +.submit5 { + border: none; + width: 87px; + height: 29px; + line-height: 29px; + background: url("../img/kupit.jpg") no-repeat; + color: #ffffff; + cursor: pointer; +} + +.submit_large { + border: none; + width: 255px; + height: 56px; + padding: 0px 43px; + background: url('../img/submit_large.jpg') no-repeat; + color: #ffffff; + font-size: 16px; + cursor: pointer; + word-wrap: break-word; +} + +.attention { + float: right; + color: #f46523; + margin: 20px 100px 0px 0px; +} + +.bar_products_parent { + float: right; + width: 220px; +} + +.head { + background: #969696; + color: #ffffff; + font-weight: bold; + text-align: center; + height: 30px; + line-height: 30px; + border-radius: 5px 5px 0px 0px; +} + +.box_products { + border-left: 2px solid #c1c1c1; + border-right: 2px solid #c1c1c1; + border-bottom: 2px solid #c1c1c1; + padding: 0px 10px; + margin-bottom: 20px; +} + +.product { + text-align: center; + padding: 20px 0px; + border-bottom: 1px solid #c1c1c1; +} + +.pic_box { + border: 3px solid #E3E1E4; + float: left; + width: 120px; + height: 100px; + text-align: center; + margin-right: 10px; + overflow: hidden; +} + +.info { + line-height: 30px; +} + +.row2 { + clear: both; +} + +.row2 label { + display: block; +} + +.line { + border-bottom: 1px solid #ADADAF; + margin: 5px; + width: 100%; +} + +div.interest-block div.common, +div.interest-block div.interst { + padding-left: 60px; +} + +div.interest-block div.title { + margin-top: 20px; +} + +div.interest-block div.th { + font-weight: bold; + display: block; + padding-bottom: 6px; +} + +div.interest-block span { + padding-bottom: 6px; + display: table-cell; +} + +div.choice { + display: block; + margin-bottom: 10px; +} + +div.column { + float: left; + min-width: 150px; +} + #share42 { - position: fixed1; - z-index: 1000; - margin-left1: -70px; /* */ - right:0px; - margin-top2:450px; - padding: 6px 6px 0; - background: #FFF; - border: 1px solid #E9E9E9; - -moz-border-radius: 4px; - border-radius: 4px; margin-bottom:5px; -} -* html #share42 {display: none} + position: fixed1; + z-index: 1000; + margin-left1: -70px; + right: 0px; + margin-top2: 450px; + padding: 6px 6px 0; + background: #FFF; + border: 1px solid #E9E9E9; + -moz-border-radius: 4px; + border-radius: 4px; + margin-bottom: 5px; +} + +* html #share42 { + display: none +} + #share42:hover { - background: #F6F6F6; - border: 1px solid #D4D4D4; - -webkit-box-shadow: 0 0 5px #DDD; - -moz-box-shadow: 0 0 5px #DDD; - box-shadow: 0 0 5px #DDD; -} -#share42 a {opacity: 0.5} -#share42:hover a {opacity: 0.7} -#share42 a:hover {opacity: 1} -#share42 img {margin: 0 !important; padding: 0 !important; border: none !important;} - -.cabinet_box{ - position: fixed; - left: 0; - top: 0; - width: 100%; - height: 100%; - z-index: 999; /* z-index > 0 */ - - background: #000; -filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* IE 5.5+*/ --moz-opacity: 0.5; /* Mozilla 1.6 */ --khtml-opacity: 0.5; /* Konqueror 3.1, Safari 1.1 */ -opacity: 0.5; - -} - -#cabinet_form{position:absolute;top:100px;z-index:1000;width:692px;height:310px;background:#ffffff; - -webkit-box-shadow: 0 0 15px #000; - -moz-box-shadow: 0 0 15px #000; - box-shadow: 0 0 15px #000; - border-radius:10px; -} -#cabinet_form .wrp{padding:20px;font-size:14px;line-height:30px;} -#cabinet_close{cursor:pointer;} - -#cabinet_form label{font-weight:bold;color:#388e1e;} - -#subscribe_form{position:absolute;top:100px;z-index:1000;width:692px;background:#ffffff; - -webkit-box-shadow: 0 0 15px #000; - -moz-box-shadow: 0 0 15px #000; - box-shadow: 0 0 15px #000; - border-radius:5px; - border:3px solid #6c6c6c; -} -#subscribe_form .wrp{padding:20px;font-size:14px;line-height:30px;} - - -.col1{float:left;} -.col2{float:left;width:350px;text-align:center;font-weight:bold;} - - -.gallery_box{margin-top:20px;} -div.registration {width:600px; margin:20px auto 0;} -form#registration label, - form#info label { float: left; text-align: right; width: 150px; margin-right:10px;} - form#registration div.optional, - form#registration div.need, - form#info div.row {height: 50px;} - - -.box_facebook{background:#f5f5f5;margin-top:20px;} -.info_txt{line-height:20px;} -.bld{font-weight:bold;} - -.jcarousel-skin-tango2{list-style:none;margin:0px 0px 0px 30px;padding:0px;} + background: #F6F6F6; + border: 1px solid #D4D4D4; + -webkit-box-shadow: 0 0 5px #DDD; + -moz-box-shadow: 0 0 5px #DDD; + box-shadow: 0 0 5px #DDD; +} + +#share42 a { + opacity: 0.5 +} + +#share42:hover a { + opacity: 0.7 +} + +#share42 a:hover { + opacity: 1 +} + +#share42 img { + margin: 0 !important; + padding: 0 !important; + border: none !important; +} + +.cabinet_box, .modal-box-overlay { + position: fixed; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 999; + + background: #000; + filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* IE 5.5+*/ + -moz-opacity: 0.5; /* Mozilla 1.6 � ���� */ + -khtml-opacity: 0.5; /* Konqueror 3.1, Safari 1.1 */ + opacity: 0.5; +} + +#cabinet_form { + position: absolute; + top: 100px; + z-index: 1000; + width: 692px; + height: 310px; + background: #ffffff; + -webkit-box-shadow: 0 0 15px #000; + -moz-box-shadow: 0 0 15px #000; + box-shadow: 0 0 15px #000; + border-radius: 10px; +} + +#cabinet_form .wrp { + padding: 20px; + font-size: 14px; + line-height: 30px; +} + +#cabinet_close { + cursor: pointer; +} + +#cabinet_form label { + font-weight: bold; + color: #388e1e; +} + +#subscribe_form { + position: absolute; + top: 100px; + z-index: 1000; + width: 692px; + background: #ffffff; + -webkit-box-shadow: 0 0 15px #000; + -moz-box-shadow: 0 0 15px #000; + box-shadow: 0 0 15px #000; + border-radius: 5px; + border: 3px solid #6c6c6c; +} + +#subscribe_form .wrp { + padding: 20px; + font-size: 14px; + line-height: 30px; +} + +/* + ==== modal-box ==== +*/ + +.modal-box { + position: absolute; + top: 100px; + z-index: 1000; + width: 692px; + background: #ffffff; + -webkit-box-shadow: 0 0 15px #000; + -moz-box-shadow: 0 0 15px #000; + box-shadow: 0 0 15px #000; + border-radius: 5px; + border: 3px solid #6c6c6c; +} + +.modal-box-close { + display: block; + height: 35px; + position: absolute; + right: 21px; + top: 21px; + width: 32px; + background: transparent url(/img/close2.png) no-repeat scroll left top; +} + +.modal-box .content { + padding: 20px; + font-size: 14px; + line-height: 30px; +} + +.modal-box .wrp { + padding: 20px; + font-size: 14px; + line-height: 30px; + display: inline-block; +} + +.modal-box .content label { + font-weight: bold; + color: #388e1e; +} + +/* + ==== CALLBACK ==== +*/ + +.modal-box.callback { + width: 400px +} + +.modal-box.callback textarea { + resize: vertical; +} + +.col1 { + float: left; +} + +.col2 { + float: left; + width: 350px; + text-align: center; + font-weight: bold; +} + +.gallery_box { + margin-top: 20px; +} + +div.registration { + width: 600px; + margin: 20px auto 0; +} + +form#registration label, +form#info label { + float: left; + text-align: right; + width: 150px; + margin-right: 10px; +} + +form#registration div.optional, +form#registration div.need, +form#info div.row { + height: 50px; +} + +.box_facebook { + background: #f5f5f5; + margin-top: 20px; +} + +.info_txt { + line-height: 20px; +} + +.bld { + font-weight: bold; +} + +.jcarousel-skin-tango2 { + list-style: none; + margin: 0px 0px 0px 30px; + padding: 0px; +} + .jcarousel-skin-tango2 li { - width: 200px;float:left; - height: 230px;margin-right: 40px; - text-align:center; -} - -.code_video{width:450px;height:265px;overflow:hidden;margin-bottom:20px;} -ul.ul_video{list-style-image: url("../img/ico_video2.png");margin:0px 0px 0px 25px;padding:0px;} -ul.ul_articles{list-style-image: url("../img/arrows_st.png");margin:0px 0px 0px 10px;padding:0px;} -ul.ul_articles li{float:left;width:200px;margin-right:20px;} -.article_box{margin-bottom:20px;} -.article_box_min{float:left;width:200px;margin-right:20px;margin-bottom:20px;} - -.sale{font-size:28px;color:#cc0200;position:relative;} -.sale_cost{position:relative;} - -.city_inp{position:relative;} -.city_inp input[type="text"]{float:left;} -.city_sel{float:left;width:24px;height:30px;background:url('../img/sel.jpg') 50% 50% no-repeat;cursor:pointer;margin-left:-25px;} -.city_box{display:none;position:absolute;width:350px;background:#ffffff;border:1px solid #595959;font-size:14px; - -webkit-box-shadow: 0 0 5px #000; - -moz-box-shadow: 0 0 5px #000; - box-shadow: 0 0 5px #000; -} -.city_box ul li{cursor:pointer;} - -.langs{margin-left:15px;width:25px;float:left;position:relative;z-index:99;} -.langs a{display:block;} -.langs img{margin-bottom:10px;} \ No newline at end of file + width: 200px; + float: left; + height: 230px; + margin-right: 40px; + text-align: center; +} + +.code_video { + width: 450px; + height: 265px; + overflow: hidden; + margin-bottom: 20px; +} + +ul.ul_video { + list-style-image: url("../img/ico_video2.png"); + margin: 0px 0px 0px 25px; + padding: 0px; +} + +ul.ul_articles { + list-style-image: url("../img/arrows_st.png"); + margin: 0px 0px 0px 10px; + padding: 0px; +} + +ul.ul_articles li { + float: left; + width: 200px; + margin-right: 20px; +} + +.article_box { + margin-bottom: 20px; +} + +.article_box_min { + float: left; + width: 200px; + margin-right: 20px; + margin-bottom: 20px; +} + +.sale { + font-size: 28px; + color: #cc0200; + position: relative; +} + +.sale_cost { + position: relative; +} + +.city_inp { + position: relative; +} + +.city_inp input[type="text"] { + float: left; +} + +.city_sel { + float: left; + width: 24px; + height: 30px; + background: url('../img/sel.jpg') 50% 50% no-repeat; + cursor: pointer; + margin-left: -25px; +} + +.city_box { + display: none; + position: absolute; + width: 350px; + background: #ffffff; + border: 1px solid #595959; + font-size: 14px; + -webkit-box-shadow: 0 0 5px #000; + -moz-box-shadow: 0 0 5px #000; + box-shadow: 0 0 5px #000; +} + +.city_box ul li { + cursor: pointer; +} + +.langs { + margin-left: 15px; + width: 25px; + float: left; + position: relative; + z-index: 99; +} + +.langs a { + display: block; +} + +.langs img { + margin-bottom: 10px; +} \ No newline at end of file diff --git a/db-migration/callback.sql b/db-migration/callback.sql new file mode 100644 index 0000000..ba019f7 --- /dev/null +++ b/db-migration/callback.sql @@ -0,0 +1,205 @@ +-- phpMyAdmin SQL Dump +-- version 4.0.10.10 +-- http://www.phpmyadmin.net +-- +-- Хост: 127.0.0.1:3306 +-- Час створення: Лют 18 2016 р., 18:35 +-- Версія сервера: 5.5.45 +-- Версія PHP: 5.3.29 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +-- +-- База даних: `extremstyle` +-- + +-- -------------------------------------------------------- + +-- +-- Структура таблиці `callback` +-- + +CREATE TABLE IF NOT EXISTS `callback` ( + `callback_id` int(6) unsigned NOT NULL AUTO_INCREMENT, + `date_add` datetime DEFAULT NULL, + `callback_status_id` int(1) unsigned NOT NULL, + `city` varchar(50) DEFAULT NULL, + `fio` varchar(100) DEFAULT NULL, + `tel` varchar(70) DEFAULT NULL, + `text` varchar(1000) DEFAULT NULL, + `date_edit` datetime DEFAULT NULL, + `manager_id` int(2) unsigned DEFAULT NULL, + PRIMARY KEY (`callback_id`), + KEY `callback_status_id` (`callback_status_id`), + KEY `manager_id` (`manager_id`) +) ENGINE=InnoDB DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ; + +-- -------------------------------------------------------- + +-- +-- Структура таблиці `callback_status` +-- + +CREATE TABLE IF NOT EXISTS `callback_status` ( + `callback_status_id` int(1) unsigned NOT NULL AUTO_INCREMENT, + `callback_status_name` varchar(20) DEFAULT NULL COMMENT 'SYSTEM NAME', + `callback_status_title` varchar(50) DEFAULT NULL, + `callback_status_color` varchar(10) DEFAULT NULL, + `sortorder` int(1) unsigned DEFAULT NULL, + PRIMARY KEY (`callback_status_id`) +) ENGINE=InnoDB DEFAULT CHARSET=cp1251 AUTO_INCREMENT=6 ; + +-- +-- Дамп даних таблиці `callback_status` +-- + +INSERT INTO `callback_status` (`callback_status_id`, `callback_status_name`, `callback_status_title`, `callback_status_color`, `sortorder`) VALUES +(1, 'NEW', 'Новый', '#286090', 1), +(2, 'PROCESSING', 'Обрабатывается', '#f0ad4e', 2), +(3, NULL, 'Нет ответа', '#e6e6e6', 3), +(4, NULL, 'Перезвонить попоже', '#c9302c', 4), +(5, 'DONE', 'Завершен', '#449d44', 5); + +-- -------------------------------------------------------- + +-- +-- Структура таблиці `modules` +-- + +CREATE TABLE IF NOT EXISTS `modules` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `modul` varchar(200) NOT NULL DEFAULT '', + `name` varchar(200) NOT NULL DEFAULT '', + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=27 ; + +-- +-- Дамп даних таблиці `modules` +-- + +INSERT INTO `modules` (`id`, `modul`, `name`) VALUES +(1, 'statics.php', 'Текст'), +(2, 'gallery.php', 'Галерея'), +(3, 'begin.php', 'Главная'), +(4, 'rubrics.php', 'Рубрики'), +(6, 'forum.php', 'Форум'), +(8, 'articles.php', 'Статьи'), +(9, 'news.php', 'Новости'), +(10, 'advices.php', 'Торты'), +(11, 'catalogs.php', 'Каталог продукций'), +(12, 'advices2.php', 'Обучение'), +(13, 'akcii.php', 'Акции'), +(14, 'promo.php', 'Промо'), +(15, 'sale.php', 'Скидки'), +(16, 'advices3.php', 'Обзоры'), +(17, 'book.php', 'Часто задаваемые вопросы'), +(18, 'url.php', 'Url теги'), +(19, 'vacancy.php', 'Вакансии'), +(20, 'fon.php', 'Фон'), +(21, 'stat.php', 'Статистика'), +(22, 'video2.php', 'Видео'), +(23, 'send.php', 'Рассылка по шаблону'), +(24, 'sitemap.php', 'sitemap'), +(25, 'extra.php', 'extra'), +(26, 'callback.php', 'callback'); + +-- -------------------------------------------------------- + +-- +-- Структура таблиці `rules` +-- + +CREATE TABLE IF NOT EXISTS `rules` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `parent_id` int(11) NOT NULL DEFAULT '0', + `_left` int(11) NOT NULL DEFAULT '0', + `_right` int(11) NOT NULL DEFAULT '0', + `_level` int(11) NOT NULL DEFAULT '0', + `action` varchar(50) DEFAULT '', + `alias` varchar(50) NOT NULL, + `name` varchar(50) NOT NULL DEFAULT '', + `name_ukr` varchar(255) DEFAULT NULL, + `title` varchar(250) NOT NULL DEFAULT '', + `title_ukr` varchar(255) DEFAULT NULL, + `about` text NOT NULL, + `about_ukr` varchar(255) DEFAULT NULL, + `description` varchar(250) NOT NULL DEFAULT '', + `description_ukr` varchar(255) DEFAULT NULL, + `keywords` varchar(250) NOT NULL DEFAULT '', + `keywords_ukr` varchar(255) DEFAULT NULL, + `modul_id` int(3) NOT NULL DEFAULT '0', + `group` varchar(50) DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `action` (`alias`), + KEY `_level` (`_level`), + KEY `tree` (`_left`,`_level`) +) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=59 ; + +-- +-- Дамп даних таблиці `rules` +-- + +INSERT INTO `rules` (`id`, `parent_id`, `_left`, `_right`, `_level`, `action`, `alias`, `name`, `name_ukr`, `title`, `title_ukr`, `about`, `about_ukr`, `description`, `description_ukr`, `keywords`, `keywords_ukr`, `modul_id`, `group`) VALUES +(24, 3, 24, 25, 1, 'akcii', 'admin.php?action=akcii', 'Акции', NULL, 'Акции', NULL, '', NULL, 'Акции', NULL, 'Акции', NULL, 13, '1:3'), +(25, 38, 26, 27, 1, 'promo', 'admin.php?action=promo', 'Промо', NULL, 'Промо', NULL, 'Промо', NULL, 'Промо', NULL, 'Промо', NULL, 14, '1'), +(26, 37, 28, 29, 1, 'akcya', 'admin.php?action=akcya', 'Акция', NULL, 'Акция', NULL, 'Акция', NULL, 'Акция', NULL, 'Акция', NULL, 1, '1:3:5'), +(27, 38, 30, 31, 1, 'sale', 'admin.php?action=sale', 'Скидки', NULL, 'Скидки', NULL, 'Скидки', NULL, 'Скидки', NULL, 'Скидки', NULL, 15, '1:5'), +(28, 37, 32, 33, 1, 'akcya2', 'admin.php?action=akcya2', 'Акция 2', NULL, 'Акция 2', NULL, 'Акция 2', NULL, 'Акция 2', NULL, 'Акция 2', NULL, 1, '1:5'), +(29, 36, 0, 0, 0, 'users', 'admin.php/users/', 'Пользователи', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '1'), +(23, 38, 22, 23, 1, 'training', 'admin.php?action=training', 'Обучение', NULL, 'Обучение', NULL, '', NULL, 'Обучение', NULL, 'Обучение', NULL, 12, '1'), +(21, 37, 20, 21, 1, 'vacancy', 'admin.php?action=vacancy', 'Вакансии', NULL, 'Вакансии', NULL, '', NULL, 'Вакансии', NULL, 'Вакансии', NULL, 19, '1:5'), +(18, 38, 16, 17, 1, 'articles', 'admin.php?action=articles', 'Статьи', NULL, 'Статьи', NULL, '', NULL, 'Статьи', NULL, 'Статьи', NULL, 8, '1:5'), +(17, 38, 14, 15, 1, 'news', 'admin.php?action=news', 'Новости', NULL, 'Новости', NULL, '', NULL, 'Новости', NULL, 'Новости', NULL, 9, '1:3:5'), +(16, 37, 12, 13, 1, 'discount', 'admin.php?action=discount', 'Дисконтная программа', NULL, 'Дисконтная программа', NULL, '', NULL, 'Дисконтная программа', NULL, 'Дисконтная программа', NULL, 1, '1:3:5'), +(15, 37, 10, 11, 1, 'zima', 'admin.php?action=zima', 'Подобрать зимнее снаряжение', NULL, 'Подобрать зимнее снаряжение', NULL, '', NULL, 'Подобрать зимнее снаряжение', NULL, 'Подобрать зимнее снаряжение', NULL, 1, '1'), +(14, 38, 8, 9, 1, 'services', 'admin.php?action=services', 'Сервис', NULL, 'Сервис', NULL, '', NULL, 'Сервис', NULL, 'Сервис', NULL, 10, '1:5'), +(13, 38, 6, 7, 1, 'forum', 'admin.php?action=forum', 'Форум', NULL, 'Форум', NULL, '', NULL, 'Форум', NULL, 'Форум', NULL, 6, '1'), +(12, 37, 4, 5, 1, 'shops', 'admin.php?action=shops', 'Магазины', NULL, 'Магазины', NULL, '', NULL, 'Магазины', NULL, 'Магазины', NULL, 1, '1:5'), +(44, 1, 42, 43, 1, 'payment', '', 'Доставка и оплата', NULL, 'Доставка и оплата', NULL, '', NULL, 'Доставка и оплата', NULL, 'Доставка и оплата', NULL, 1, NULL), +(19, 38, 18, 19, 1, 'line', 'admin.php?action=line', 'Горячая линия', 'Гаряча лінія', 'Горячая линия', 'Гаряча лінія', '', '', '', '', '', '', 1, '1:3:5'), +(1, 0, 1, 60, 0, '', '', '', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '0'), +(3, 38, 2, 3, 1, 'catalogs', 'admin.php?action=catalogs', 'Каталог товаров', NULL, 'Экстремальное снаряжение - Extremstyle | Интернет магазин экстремального снаряжения Киев в магазине товаров для спорта ExtremStyle', NULL, 'Крупнейшая в Украине сеть магазинов товаров для экстримального отдыха', NULL, 'Интернет-магазин Exrtrem Style - это самый широкий выбор товаров для всех видов спорта. Лыжи, сноуборды, коньки, велосипеды, палатки, рюкзаки, скейты в интернет магазине Киев, Харьков, Одесса, Днепропетровск, Львов', NULL, 'Велосипеды, рюкзаки, Лыжи, термобелье, сноуборды, коньки, палатки, скейты, купить киев', NULL, 11, '1:5'), +(30, 36, 0, 0, 0, 'group', 'admin.php/group/', 'Группы', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '1'), +(31, 36, 0, 0, 0, 'messages', 'admin.php/messages/', 'Сообщения', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '1:2:3:4:6'), +(32, 36, 0, 0, 0, 'interest', 'admin.php/interest/', 'Интересы', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '1:3'), +(33, 36, 0, 0, 0, 'audience', 'admin.php/audience/', 'Опросы', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '1:3'), +(34, 36, 0, 0, 0, 'orders', 'admin.php/orders/', 'Заказы', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '1:2:3:4:6'), +(35, 36, 0, 0, 0, 'email', 'admin.php/email/', 'Рассылка', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '1'), +(38, 1, 0, 0, 0, NULL, '', 'Модули', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '1:4:5'), +(36, 1, 0, 0, 0, NULL, '', 'Управление', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '1:2:3:4:6'), +(37, 1, 0, 0, 0, NULL, '', 'Текстовые страницы', NULL, '', NULL, '', NULL, '', NULL, '', NULL, 0, '1:5'), +(40, 38, 34, 35, 1, 'question', 'admin.php?action=question', 'Часто задаваемые вопросы', NULL, 'Часто задаваемые вопросы', NULL, '', NULL, 'Часто задаваемые вопросы', NULL, 'Часто задаваемые вопросы', NULL, 17, '1:4'), +(41, 37, 36, 37, 1, 'payment2', 'admin.php?action=payment2', 'Оплата', NULL, 'Оплата', NULL, '', NULL, 'Оплата', NULL, 'Оплата', NULL, 1, '1:4:5'), +(42, 37, 38, 39, 1, 'delivery', 'admin.php?action=delivery', 'Доставка', NULL, 'Доставка', NULL, '', NULL, 'Доставка', NULL, 'Доставка', NULL, 1, '1:4:5'), +(43, 37, 40, 41, 1, 'warranty', 'admin.php?action=warranty', 'Гарантия', NULL, 'Гарантия', NULL, '', NULL, 'Гарантия', NULL, 'Гарантия', NULL, 1, '1:4:5'), +(45, 38, 44, 45, 1, 'url', 'admin.php?action=url', 'Url теги', NULL, 'Url теги', NULL, '', NULL, 'Url теги', NULL, 'Url теги', NULL, 18, '1'), +(50, 37, 46, 47, 1, 'reg', 'admin.php?action=reg', 'Регистрация', NULL, 'Регистрация', NULL, '', NULL, 'Регистрация', NULL, 'Регистрация', NULL, 1, '1:5'), +(51, 38, 48, 49, 1, 'fon', 'admin.php?action=fon', 'Фон', NULL, 'Фон', NULL, '', NULL, 'Фон', NULL, 'Фон', NULL, 20, '1:5'), +(52, 38, 50, 51, 1, 'stat', 'admin.php?action=stat', 'Статистика', NULL, 'Статистика', NULL, '', NULL, 'Статистика', NULL, 'Статистика', NULL, 21, '1'), +(53, 38, 52, 53, 1, 'video', 'admin.php?action=video', 'Видео', NULL, 'Видео', NULL, '', NULL, 'Видео', NULL, 'Видео', NULL, 22, '1'), +(54, 38, 54, 55, 1, 'send', 'admin.php?action=send', 'Рассылка по шаблону', NULL, 'Рассылка по шаблону', NULL, '', NULL, 'Рассылка по шаблону', NULL, 'Рассылка по шаблону', NULL, 23, '1'), +(55, 1, 56, 57, 1, 'sitemap', '', 'Sitemap', NULL, 'Карта сайта ExstremStyle.ua', NULL, '', NULL, 'Ключевые страницы сайта.', NULL, '', NULL, 24, NULL), +(56, 1, 58, 59, 1, 'sky', '', 'Дорогие лыжники и сноубордисты!', NULL, 'Дорогие лыжники и сноубордисты!', NULL, '', NULL, 'Дорогие лыжники и сноубордисты!', NULL, 'Дорогие лыжники и сноубордисты!', NULL, 1, NULL), +(57, 38, 0, 0, 1, 'extra', 'admin.php?action=extra', 'Extra ☑', NULL, 'Вкл./выкл. функций', NULL, '', NULL, 'Вкл./выкл. функций', NULL, 'Вкл./выкл. функций', NULL, 25, '1'), +(58, 38, 0, 0, 1, 'callback', 'admin.php?action=callback', 'callback ☑', NULL, 'Сallback', NULL, '', NULL, 'Сallback', NULL, 'Сallback', NULL, 26, '1:2:3:4:6'); + +-- +-- Обмеження зовнішнього ключа збережених таблиць +-- + +-- +-- Обмеження зовнішнього ключа таблиці `callback` +-- +ALTER TABLE `callback` + ADD CONSTRAINT `callback_ibfk_1` FOREIGN KEY (`callback_status_id`) REFERENCES `callback_status` (`callback_status_id`) ON DELETE CASCADE ON UPDATE CASCADE; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/email/discont.php b/email/discont.php new file mode 100644 index 0000000..20edc4e --- /dev/null +++ b/email/discont.php @@ -0,0 +1,57 @@ + + + +
+
+ + + + + + + + + + + + +
+ + + + + + + + +
+ + +
'.$card['card'].'
+
+ + +
+
+ +
+ " "! +
+ , , *, . +

+* , +
+

+ :\r\n +http://extremstyle.ua/discont.php?id='.$card['id'].'&uid='.$user['id'].' +

+ + + + :
+http://extremstyle.ua/account/registration/

+ +'; diff --git a/img/alert/done.png b/img/alert/done.png new file mode 100644 index 0000000..42ec66b Binary files /dev/null and b/img/alert/done.png differ diff --git a/img/alert/warning.png b/img/alert/warning.png new file mode 100644 index 0000000..dcee550 Binary files /dev/null and b/img/alert/warning.png differ diff --git a/img/call.jpg b/img/call.jpg new file mode 100644 index 0000000..b97e09e Binary files /dev/null and b/img/call.jpg differ diff --git a/img/callback.jpg b/img/callback.jpg new file mode 100644 index 0000000..bde9f08 Binary files /dev/null and b/img/callback.jpg differ diff --git a/index.php b/index.php index 504a4a4..bf2859b 100644 --- a/index.php +++ b/index.php @@ -5,7 +5,7 @@ //if(trim($_GET['test18'])=='1') print_r($_GET); //print $_SERVER['REQUEST_URI'];exit; -if (preg_match("/%27|'/i",$_SERVER['REQUEST_URI'])) {// ... +if (preg_match("/%27|'/i",$_SERVER['REQUEST_URI'])) {// ���� �� ������� ��������... $uri = preg_replace("/%27|'/i",'_', $_SERVER['REQUEST_URI']); header("HTTP/1.1 301 Moved Permanently"); header('Location: http://'.$_SERVER['SERVER_NAME'].$uri); @@ -56,7 +56,7 @@ if (strlen($uri)>1) { }} $uri = preg_replace("/\?.*/i",'', $_SERVER['REQUEST_URI']); -if (strlen($uri)>1) {// ... +if (strlen($uri)>1) {// ���� �� ������� ��������... if (rtrim($uri,'/')."/"!=$uri) { header("HTTP/1.1 301 Moved Permanently"); header('Location: http://'.$_SERVER['SERVER_NAME'].str_replace($uri, $uri.'/', $_SERVER['REQUEST_URI'])); @@ -66,7 +66,7 @@ if (strlen($uri)>1) {// ... if(preg_match('/filter;\//i',$_SERVER['REQUEST_URI'])){ $uri = preg_replace("/filter;\//i",'', $_SERVER['REQUEST_URI']); -if (strlen($uri)>1) {// ... +if (strlen($uri)>1) {// ���� �� ������� ��������... header("HTTP/1.1 301 Moved Permanently"); header('Location: http://'.$_SERVER['SERVER_NAME'].$uri); @@ -139,10 +139,10 @@ require("./redirect/redirect.php"); $_SESSION['sec_code_session'] = 7; if(trim($_POST['fuckoff'])=='1') if(trim($_POST['b44'])!=@$_SESSION['sec_code_session']){ -//$objCatalogs->tpl->assign("no_capcha",""); -$objCatalogs->tpl->assign("no_capcha",""); +//$objCatalogs->tpl->assign("no_capcha",""); +$objCatalogs->tpl->assign("no_capcha",""); }else{ -$objCatalogs->tpl->assign("no_capcha",""); +$objCatalogs->tpl->assign("no_capcha",""); } @@ -227,30 +227,30 @@ break; if($path_info['extension']=='doc' && $path_info['extension']=='docx'){ //if(@move_uploaded_file($tmp_name, "$uploads_dir/$rand.".$path_info['extension'])) //$link = "http://extremstyle.ua/$uploads_dir/$rand.".$path_info['extension'].""; -//else $link = " !"; +//else $link = "�������� �� �������� !"; }else if(@move_uploaded_file($tmp_name, "$uploads_dir/$rand.".$path_info['extension'])) $link = "http://extremstyle.ua/".$uploads_dir."/".$nameFile.""; -else $link = " !"; +else $link = "�������� �� �������� !"; $message = << - : {$_POST['form']['nom_zakaza']} -: {$_POST['form']['fio']} -: {$_POST['form']['adress']} -: {$_POST['form']['summ']} -: {$_POST['form']['bank']} -: {$_POST['form']['date']} -: {$_POST['form']['time']} - : {$_POST['form']['nom']} -: {$_POST['form']['b33']} - :{$link}


+ � ������: {$_POST['form']['nom_zakaza']} +���: {$_POST['form']['fio']} +�����: {$_POST['form']['adress']} +�����: {$_POST['form']['summ']} +����: {$_POST['form']['bank']} +����: {$_POST['form']['date']} +�����: {$_POST['form']['time']} +����� ����: {$_POST['form']['nom']} +�����������: {$_POST['form']['b33']} +������ �� ����:{$link}


HTML; $namefrom = "ExtremStyle"; $from = "no_reply@extremstyle.ua"; $to = "shop@eltrade.com.ua"; //bykov@eltrade.com.ua -$nameto = ""; -$subject = " .".((trim($_POST['form']['fio'])!='')?" : ".$_POST['form']['nom_zakaza']:"")." : ".$_POST['form']['fio']; +$nameto = "������"; +$subject = "���������� �� ������.".((trim($_POST['form']['fio'])!='')?" � ������: ".$_POST['form']['nom_zakaza']:"")." ���: ".$_POST['form']['fio']; //$subject = iconv("cp1251","utf-8",$subject); //$message = iconv("utf-8","cp1251",$message); $boundary = strtoupper(md5(uniqid(rand()))).""; @@ -340,33 +340,47 @@ $rrrr = $objCatalogs->db->getOne("SELECT translit FROM catalogs_rubrics WHERE id exit; } } - - -/* -if(trim($_GET['brend'])){ -$_GET['brend'] = iconv('UTF-8', 'windows-1251', $_GET['brend']); -$brendID = $objCatalogs->db->getOne("SELECT id FROM catalogs_brends WHERE name=?",array(trim($_GET['brend']))); -if(!$brendID){ -header("HTTP/1.1 301 Moved Permanently"); -header("location:/");exit; -} -}*/ - - -IF(isset($_GET['productID'])){ -if(!@is_numeric(@$_GET['productID'])){ -//echo $_GET['productID']; -$_GET['productID'] = $objCatalogs->db->getOne("SELECT id FROM catalogs_products WHERE translit=?",array(trim($_GET['productID']))); -if(!$_GET['productID']){header("HTTP/1.1 301 Moved Permanently");header("Location: /");exit;} -$_GET['productID'] = str_replace("/","",$_GET['productID2']); -}else{ -$rrrr = $objCatalogs->db->getOne("SELECT translit FROM catalogs_rubrics WHERE id=?",array(trim($_GET['rubID']))); -$rrrr2 = $objCatalogs->db->getOne("SELECT translit FROM catalogs_products WHERE id=?",array(trim($_GET['productID']))); -//$_GET['productID'] = str_replace("/","",$_GET['productID2']); -@header("HTTP/1.1 301 Moved Permanently"); -@header("Location: http://extremstyle.ua/".$rrrr."-catalogs/".$rrrr2."-".$_GET['productID']."/"); -exit; -} + + /* + * if(trim($_GET['brend'])){ + * $_GET['brend'] = iconv('UTF-8', 'windows-1251', $_GET['brend']); + * $brendID = $objCatalogs->db->getOne("SELECT id FROM catalogs_brends WHERE name=?",array(trim($_GET['brend']))); + * if(!$brendID){ + * header("HTTP/1.1 301 Moved Permanently"); + * header("location:/");exit; + * } + * } + */ +IF (isset ($_GET['productID'])) +{ + + if (! @is_numeric (@$_GET['productID'])) + { + // echo $_GET['productID']; + $_GET['productID'] = $objCatalogs->db->getOne ("SELECT id FROM catalogs_products WHERE translit=?", array ( + trim ($_GET['productID']) + )); + if (! $_GET['productID']) + { + header ("HTTP/1.1 301 Moved Permanently"); + header ("Location: /"); + exit (); + } + $_GET['productID'] = str_replace ("/", "", $_GET['productID2']); + } + else + { + $rrrr = $objCatalogs->db->getOne ("SELECT translit FROM catalogs_rubrics WHERE id=?", array ( + trim ($_GET['rubID']) + )); + $rrrr2 = $objCatalogs->db->getOne ("SELECT translit FROM catalogs_products WHERE id=?", array ( + trim ($_GET['productID']) + )); + // $_GET['productID'] = str_replace("/","",$_GET['productID2']); + @header ("HTTP/1.1 301 Moved Permanently"); + @header ("Location: http://extremstyle.ua/" . $rrrr . "-catalogs/" . $rrrr2 . "-" . $_GET['productID'] . "/"); + exit (); + } } @@ -471,7 +485,7 @@ $objUrl = $setup->setupClass('Url'); $objVacancy = $setup->setupClass('Vacancy'); $objFon = $setup->setupClass('Fon'); $objVideo2 = $setup->setupClass('Video2'); - +$objCallback = $setup->setupClass ('Callback'); $lang = isset($_GET['lang']) ? $_GET['lang'] : 'ru'; $_SESSION['lang'] = $lang; switch($lang){ @@ -578,11 +592,11 @@ function ShowRating($id, $rating, $vote_num, $allow = true) {
  • '.$rating.'
  • -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 5
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • +
  • 4
  • +
  • 5
 ('.@$vote_num.')
'; diff --git a/js/admin/callback.js b/js/admin/callback.js new file mode 100644 index 0000000..72cdec1 --- /dev/null +++ b/js/admin/callback.js @@ -0,0 +1,63 @@ + +$(document).ready(function() +{ + $('[data-toggle="popover"]').popover(); + + $('body').on('click', function (e) + { + $('[data-toggle="popover"]').each(function () + { + //the 'is' for buttons that trigger popups + //the 'has' for icons within a button that triggers a popup + if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.popover').has(e.target).length === 0) { + $(this).popover('hide'); + } + }); + }); + + $('#callback .btn.read').on('click', function (e) + { + var $obj = $(this).closest('tr'); + + callbackAction ({ + 'json': { + 'jaction': 'getOne', + 'callback_id': $obj.attr('callback_id'), + } + }).done(function ($result) + { + modalBoxLoad($result.text); + }); + }); + + $(document).on('click', '#callback .status .dropdown-menu li a', function(e) + { + e.preventDefault(); + + var $obj = $(this).closest('tr'); + var $callback_status_id = $(this).attr('value'); + + callbackAction ({ + 'json': { + 'jaction': 'setStatus', + 'callback_id': $obj.attr('callback_id'), + 'callback_status_id': $callback_status_id, + } + }).done(function ($result) + { + // done + // $obj.addClass('done'); + if ($result.code == 0) + { + $obj.find('.manager').html($result.manager); + $obj.find('.date_edit').html($result.date_edit); + $obj.find('.status').html($result.button); + } + else if ($result.code == 1) + { + modalBoxLoad($result.html); + } + }); + + }); +}); \ No newline at end of file diff --git a/js/bpopup/bpopup.css b/js/bpopup/bpopup.css index c324f88..1b64810 100644 --- a/js/bpopup/bpopup.css +++ b/js/bpopup/bpopup.css @@ -14,6 +14,7 @@ } .modalBox .close { + opacity: 1; display: block; position: absolute; top: -16px; @@ -39,18 +40,18 @@ .modalBox, .modalBox .close { - box-shadow: 0 0 5px 1px #c1c1c1; - -moz-box-shadow: 0 0 5px 1px #c1c1c1; - -o-box-shadow: 0 0 5px 1px #c1c1c1; - -webkit-box-shadow: 0 0 5px 1px #c1c1c1; - } - + box-shadow: 0 0 5px 1px #c1c1c1; + -moz-box-shadow: 0 0 5px 1px #c1c1c1; + -o-box-shadow: 0 0 5px 1px #c1c1c1; + -webkit-box-shadow: 0 0 5px 1px #c1c1c1; + } + .modalBox .close:hover { background: #606060; } .modalBoxWindow { - display: none; + display: none; } /* @@ -109,8 +110,8 @@ } .alert.wait .pic { - width: 113px; - height: 128px; + width: 113px; + height: 128px; background-image: url(./img/wait.png); } diff --git a/js/callback.js b/js/callback.js new file mode 100644 index 0000000..144f90f --- /dev/null +++ b/js/callback.js @@ -0,0 +1,101 @@ +function ajaxFormCheck ($el, $callback) +{ + if (jQuery.type( $el ) === 'string') + { + $el = $($el); + } + + if ($el.validationEngine('validate')) + { + if ($callback) + { + $callback.call(); + } + return true; + } + + return false; +} + +function callbackAction ($array) +{ + return $.ajax({ + type: 'POST', + url: '/ajax/callback.php', + dataType: 'json', + data: $.param ($array['json']), + error: function() + { + alert ('Error'); + } + }); +} + +function loadModal($html, $class) +{ + delModal(); + + var winW = document.body.offsetWidth, + $body = + '' + + '