716 lines
28 KiB
PHP
716 lines
28 KiB
PHP
<style>
|
||
.chart_btn_wrap {
|
||
text-align: center;
|
||
margin-bottom: 20px;
|
||
}
|
||
.chart_btn {
|
||
padding: 10px;
|
||
text-shadow: none;
|
||
border: 2px solid #43a047;
|
||
box-shadow: none;
|
||
cursor: pointer;
|
||
font-size: 15px;
|
||
background: white !important;
|
||
color: #43a047 !important;
|
||
}
|
||
.chart_btn.active {
|
||
background: #43a047 !important;
|
||
color: white !important;
|
||
}
|
||
.chart_wrap {
|
||
display: none;
|
||
}
|
||
.chart_wrap.active {
|
||
display: block;
|
||
}
|
||
</style>
|
||
<?php
|
||
|
||
require_once($_SERVER['DOCUMENT_ROOT']."/config.php");
|
||
$user = new User;
|
||
$user->get($_SESSION['id']);
|
||
|
||
// $sqlForAd = "SELECT id FROM `users` WHERE id = 4 or id = 93 or id = 117 or id = 3455 or id in (SELECT id FROM `users` WHERE newbuildings_access = 1) or id_manager in (SELECT id FROM `users` WHERE newbuildings_access = 1) or id_manager in (select id from users where id_manager in (SELECT id FROM `users` WHERE newbuildings_access = 1)) or id_manager in (select id from users where id_manager in (select id from users where id_manager in (SELECT id FROM `users` WHERE newbuildings_access = 1)))";
|
||
// $rezForAd = mysql_query($sqlForAd);
|
||
|
||
$sqlForNeedNb = "SELECT COUNT(blocks.id) as count
|
||
FROM `blocks`
|
||
INNER JOIN regions r on r.id = blocks.region_id
|
||
INNER JOIN rf_regions rr on rr.id = r.rf_region_id
|
||
WHERE rr.id = $user->region_rf_id
|
||
";
|
||
|
||
// $needNewbuildings = false;
|
||
$showNewbuildings = false;
|
||
|
||
// while($userId=mysql_fetch_assoc($rezForAd)) {
|
||
// if ($userId['id'] == $_SESSION['id']) {
|
||
// $needNewbuildings = true;
|
||
// break;
|
||
// }
|
||
// }
|
||
|
||
$rezForNeedNb = mysql_query($sqlForNeedNb);
|
||
$countResult = mysql_fetch_assoc($rezForNeedNb);
|
||
// var_dump($countResult);die;
|
||
if ($countResult['count'] != '0') {
|
||
$showNewbuildings = true;
|
||
}
|
||
|
||
|
||
if (!$showNewbuildings && !$user->role_developer) { // !$needNewbuildings ||
|
||
header("location:/index.php");
|
||
die("Доступ запрещён!");
|
||
}
|
||
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/ImportRecord.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/document/target/DocTarget.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/Subway.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/Region.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/Block.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/Building.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/Builder.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/FlatType.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/RoomType.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/Bank.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/DecorationType.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/Apartment.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/obj/BlockSubway.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/helper/Date.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/Clock/Clock.php';
|
||
include $_SERVER['DOCUMENT_ROOT'] . '/import/Clock/RealtimeClock.php';
|
||
|
||
$get=clearInputData($_GET);
|
||
|
||
if(isset($_GET['ok_auth']))
|
||
|
||
{
|
||
|
||
$user = new User;
|
||
|
||
$msg = $user->auth($get);
|
||
|
||
}
|
||
|
||
if(isset($get['msg'])) $msg = $get['msg'];
|
||
|
||
if(isset($_POST['ok_auth2']))
|
||
|
||
{
|
||
|
||
$post=clearInputData($_POST);
|
||
|
||
$user = new User;
|
||
|
||
$msg2 = $user->check_sms($post);
|
||
|
||
}
|
||
|
||
if(isset($_POST['ok_auth3']))
|
||
|
||
{
|
||
|
||
$post=clearInputData($_POST);
|
||
|
||
$user = new User;
|
||
|
||
$msg2 = $user->check_sms($post,1);
|
||
|
||
}
|
||
|
||
|
||
|
||
require($_SERVER['DOCUMENT_ROOT']."/templates/new-header.php");
|
||
|
||
$agenciesHaveAccessToNewComplexes = [4,12028,12061, 17328, 11325, 13735, 19093, 16378, 19467, 20197, 19909, 19646];
|
||
|
||
?>
|
||
|
||
<div class="content-right new">
|
||
|
||
<div class="inner">
|
||
|
||
<?php
|
||
|
||
if($_SESSION['id'])
|
||
|
||
{
|
||
|
||
?>
|
||
|
||
<div class="main-title">
|
||
|
||
<h1>Поиск объектов</h1>
|
||
|
||
</div>
|
||
<div class="jw__page__tabs type__tabs">
|
||
<?php if (!$hasRestrictedAccess && !$user->role_developer) {?>
|
||
<a href="/sale.php" class="tab">
|
||
<span>Продажа</span>
|
||
</a>
|
||
<a href="/main.php" class="tab">
|
||
<span>Аренда</span>
|
||
</a>
|
||
<?} else if (!$user->role_developer) {?>
|
||
<span class="tab tooltip tooltip-effect" style="background-color: rgb(235, 235, 228);">
|
||
<span class='tooltip-item' style="color: darkgray;border-bottom: none;">Продажа</span>
|
||
<em style="font-style: normal;" class="tooltip-content tt-pdf clear"><b class="tooltip-text">Доступно в платной версии</b></em>
|
||
</span>
|
||
<span class="tab tooltip tooltip-effect" style="background-color: rgb(235, 235, 228);">
|
||
<span class='tooltip-item' style="color: darkgray;border-bottom: none;">Аренда</span>
|
||
<em style="font-style: normal;" class="tooltip-content tt-pdf clear"><b class="tooltip-text">Доступно в платной версии</b></em>
|
||
</span>
|
||
<?} ?>
|
||
<a href="/newbuildings.php" class="tab active">
|
||
<span>Новостройки</span>
|
||
</a>
|
||
<!-- <a href="/tariff.php" class="tab <?php // if(stripos($_SERVER['SCRIPT_NAME'], "tariff.php") !== false) echo 'active'; ?>">
|
||
<span>Ваши комиссионные</span>
|
||
</a> -->
|
||
<?php if (!$hasRestrictedAccess || $user->role_developer) {
|
||
|
||
if ($user->role_developer)
|
||
{
|
||
?>
|
||
<a href="/complexes/#/view" class="tab"> <span>Новостройки компании</span> </a>
|
||
<?php
|
||
}
|
||
else if (in_array($_SESSION['agency_id'] , $agenciesHaveAccessToNewComplexes) ) {
|
||
?>
|
||
|
||
<a href="/complexes/#/view" class="tab"> <span>Новостройки компании</span> </a>
|
||
<a href="/add-object.php" class="tab tab__new-object" style="padding-left: 35px;margin-left: 30px;">
|
||
<i class="ti-plus"></i><span>Новый объект</span>
|
||
</a>
|
||
<? }
|
||
} else { ?>
|
||
<?php if (in_array($_SESSION['agency_id'] , $agenciesHaveAccessToNewComplexes) ) {?>
|
||
<span class="tab tooltip tooltip-effect" style="background-color: rgb(235, 235, 228);">
|
||
<span class='tooltip-item' style="color: darkgray;border-bottom: none;">Новостройки компании</span>
|
||
<em style="font-style: normal;" class="tooltip-content tt-pdf clear"><b class="tooltip-text">Доступно в платной версии</b></em>
|
||
</span>
|
||
<?php } ?>
|
||
<span class="tab tooltip tooltip-effect" style="background-color: rgb(235, 235, 228);">
|
||
<span class='tooltip-item' style="color: darkgray;border-bottom: none;">Новый объект</span>
|
||
<em style="font-style: normal;" class="tooltip-content tt-pdf clear"><b class="tooltip-text">Доступно в платной версии</b></em>
|
||
</span>
|
||
<? } ?>
|
||
<?php if (!$user->role_developer) { ?>
|
||
<a href="/find-objects.php" class="tab">
|
||
<span>Поиск на карте</span>
|
||
</a>
|
||
<?php } ?>
|
||
</div>
|
||
|
||
<script type="text/javascript" src="/js/jquery.multiselect.js"></script>
|
||
<script type="text/javascript" src="/js/newbuildingsMapModal.js"></script>
|
||
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript" defer></script>
|
||
<!-- Stat amcharts loading -->
|
||
<script src="https://www.amcharts.com/lib/3/amcharts.js"></script>
|
||
<script src="https://www.amcharts.com/lib/3/funnel.js"></script>
|
||
<script src="https://www.amcharts.com/lib/3/pie.js"></script>
|
||
<script src="https://www.amcharts.com/lib/3/serial.js"></script>
|
||
<script src="https://www.amcharts.com/lib/3/lang/ru.js"></script>
|
||
<script src="https://www.amcharts.com/lib/3/plugins/export/export.min.js"></script>
|
||
<!-- <link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css" media="all" />-->
|
||
<!-- <script src="https://www.amcharts.com/lib/3/themes/none.js"></script>-->
|
||
<!-- End amcharts loading -->
|
||
|
||
<script>
|
||
$(document).ready(function () {
|
||
$('#region_newbuilding_select_search').fastselect({placeholder: 'Регион'});
|
||
$('select[multiple].ms-subway').multiselect({
|
||
columns: 3,
|
||
placeholder: 'Выберите станции',
|
||
search: true,
|
||
searchOptions: {
|
||
'default': 'Быстрый поиск'
|
||
},
|
||
selectAll: false
|
||
});
|
||
$('select[multiple].ms-district').multiselect({
|
||
columns: 2,
|
||
placeholder: 'Выберите районы',
|
||
search: true,
|
||
searchOptions: {
|
||
'default': 'Быстрый поиск'
|
||
},
|
||
selectGroup: true,
|
||
selectAll: false,
|
||
onLoad:function(e) {
|
||
//$('.optgroup span').next().hide()
|
||
|
||
$('.optgroup span').each((_, elem) => {
|
||
console.log($(elem).next('a'));
|
||
if ($(elem).parent().children('ul').children().length) {
|
||
const headingElement = $(elem).next('a');
|
||
if (headingElement.text().includes('Убрать')) {
|
||
$(elem).addClass('selected-label')
|
||
}
|
||
}
|
||
})
|
||
|
||
$('.optgroup span').on('click', (e) => {
|
||
const headingElement = $(e.target).next('a');
|
||
headingElement.click()
|
||
})
|
||
|
||
$('.optgroup a').on('DOMSubtreeModified', function(e){
|
||
const headingElement = $(e.target);
|
||
|
||
if (headingElement.parent().children('ul').children().length) {
|
||
if (headingElement.text().includes('Убрать')) {
|
||
$(e.target).parent().children('span').addClass('selected-label')
|
||
} else {
|
||
$(e.target).parent().children('span').removeClass('selected-label')
|
||
}
|
||
}
|
||
});
|
||
}
|
||
});
|
||
$('select[multiple].ms-residential').multiselect({
|
||
columns: 2,
|
||
placeholder: 'Выберите жилой комплекс',
|
||
search: true,
|
||
searchOptions: {
|
||
'default': 'Быстрый поиск'
|
||
},
|
||
selectAll: false
|
||
});
|
||
$('select[multiple].ms-developer').multiselect({
|
||
columns: 2,
|
||
placeholder: 'Выберите застройщика',
|
||
search: true,
|
||
searchOptions: {
|
||
'default': 'Быстрый поиск'
|
||
},
|
||
selectAll: false
|
||
});
|
||
$('select[multiple].ms-type').multiselect({
|
||
columns: 1,
|
||
placeholder: 'Выберите тип',
|
||
selectAll: false
|
||
});
|
||
$('select[multiple].ms-variant').multiselect({
|
||
columns: 1,
|
||
placeholder: 'Выберите вариант',
|
||
selectAll: false
|
||
});
|
||
$('select[multiple].ms-bank').multiselect({
|
||
columns: 2,
|
||
placeholder: 'Выберите банк',
|
||
search: true,
|
||
searchOptions: {
|
||
'default': 'Быстрый поиск'
|
||
},
|
||
selectAll: false
|
||
});
|
||
$('select[multiple].ms-decoration').multiselect({
|
||
columns: 1,
|
||
placeholder: 'Выберите отделку',
|
||
selectAll: false
|
||
});
|
||
$('select[multiple].ms-payment').multiselect({
|
||
columns: 1,
|
||
placeholder: 'Выберите оплату',
|
||
selectAll: false
|
||
});
|
||
|
||
// Chart Start
|
||
$('.chart_btn').on('click', function(){
|
||
active_btn = $(this);
|
||
active_chart_id = $(this).attr('chart_wrap');
|
||
|
||
$('.chart_btn').each(function(){
|
||
$(this).removeClass('active');
|
||
$('.chart_wrap').removeClass('active');
|
||
});
|
||
active_btn.addClass('active');
|
||
$('#'+active_chart_id).addClass('active');
|
||
});
|
||
|
||
|
||
|
||
function in_array(needle, haystack){
|
||
var found = 0;
|
||
for (var i=0, len=haystack.length;i<len;i++) {
|
||
if (haystack[i] == needle) return i;
|
||
found++;
|
||
}
|
||
return -1;
|
||
}
|
||
|
||
$('body .show_chart').on('click', function(e){
|
||
arr = [];
|
||
btn = $(this);
|
||
obj = btn.attr('chart_id');
|
||
param = {"obj":obj};
|
||
$.post('/ajax/getNBChart.php', param, function(data) {
|
||
console.log(data);
|
||
var res1 = JSON.parse(data);
|
||
|
||
if (res1.length != 0) {
|
||
|
||
arr = res1.price;
|
||
arr_types = [];
|
||
graphs = [];
|
||
graphs2 = [];
|
||
ap_types = {
|
||
"1":"Студия",
|
||
"2":"1 ккв",
|
||
"3":"2 ккв",
|
||
"4":"3 ккв",
|
||
"5":"4 ккв",
|
||
"6":"5 ккв",
|
||
"7":"6 ккв",
|
||
"8":"7 ккв",
|
||
"9":"8 ккв",
|
||
"10":"9 ккв",
|
||
"11":"10 ккв",
|
||
"22":"4 ккв (Евро)",
|
||
"23":"2 ккв (Евро)",
|
||
"24":"3 ккв (Евро)",
|
||
"25":"Паркинг",
|
||
"26":"К. пом",
|
||
"28":"Участок",
|
||
"29":"Таун Хаус",
|
||
"30":"Коттедж",
|
||
"31":"Кладовка",
|
||
"33":"5 ккв (Евро)",
|
||
};
|
||
|
||
arr.forEach(function(objc){
|
||
for (var key in objc) {
|
||
if(in_array(key, arr_types) == -1 && key != 'date'){
|
||
arr_types.push(key);
|
||
|
||
graph_obj = {
|
||
"bullet": "round",
|
||
"balloonText": "[[title]]:[[value]]",
|
||
"id": "a"+key,
|
||
"title": ap_types[key],
|
||
"valueField": key
|
||
};
|
||
|
||
graph_obj2 = {
|
||
"bullet": "round",
|
||
"balloonText": "[[title]]:[[value]]",
|
||
"id": "a"+key,
|
||
"title": ap_types[key],
|
||
"valueField": key
|
||
};
|
||
|
||
graphs.push(graph_obj);
|
||
graphs2.push(graph_obj2);
|
||
}
|
||
}
|
||
});
|
||
|
||
var chart = AmCharts.makeChart("nb_chart",
|
||
{
|
||
"type": "serial",
|
||
"categoryField": "date",
|
||
"dataDateFormat": "YYYY-MM",
|
||
"theme": "default",
|
||
"autoMargin": false,
|
||
"marginLeft": 40,
|
||
"marginBottom": 40,
|
||
"language": "ru",
|
||
"fontFamily": "Lato",
|
||
"fontSize": 15,
|
||
"color": "#757575",
|
||
"categoryAxis": {
|
||
"minPeriod": "MM",
|
||
"parseDates": true
|
||
},
|
||
"chartCursor": {
|
||
"enabled": true,
|
||
"categoryBalloonDateFormat": "MMM YYYY",
|
||
"cursorColor": "#ef6c00"
|
||
},
|
||
"chartScrollbar": {
|
||
"enabled": true
|
||
},
|
||
"colors": [
|
||
"#1B5E20",
|
||
"#388E3C",
|
||
"#4CAF50",
|
||
"#81C784",
|
||
"#C8E6C9",
|
||
"#E8F5E9",
|
||
"#00C853",
|
||
"#DDDDDD",
|
||
"#999999",
|
||
"#333333"
|
||
],
|
||
"trendLines": [],
|
||
"graphs": graphs,
|
||
"guides": [],
|
||
"allLabels": [],
|
||
"balloon": {},
|
||
"legend": {
|
||
"enabled": true,
|
||
"equalWidths": false,
|
||
"marginRight": 25,
|
||
"marginTop": 4,
|
||
"spacing": 15,
|
||
"useGraphSettings": true,
|
||
"valueAlign": "left",
|
||
"valueWidth": 0,
|
||
"color": "#757575"
|
||
},
|
||
|
||
"dataProvider": res1.price
|
||
} );
|
||
|
||
var chart = AmCharts.makeChart("nb_chart2",
|
||
{
|
||
"type": "serial",
|
||
"categoryField": "date",
|
||
"dataDateFormat": "YYYY-MM",
|
||
"theme": "default",
|
||
"autoMargin": false,
|
||
"marginLeft": 40,
|
||
"marginBottom": 40,
|
||
"language": "ru",
|
||
"fontFamily": "Lato",
|
||
"fontSize": 15,
|
||
"color": "#757575",
|
||
"categoryAxis": {
|
||
"minPeriod": "MM",
|
||
"parseDates": true
|
||
},
|
||
"chartCursor": {
|
||
"enabled": true,
|
||
"categoryBalloonDateFormat": "MMM YYYY",
|
||
"cursorColor": "#ef6c00"
|
||
},
|
||
"chartScrollbar": {
|
||
"enabled": true
|
||
},
|
||
"colors": [
|
||
"#1B5E20",
|
||
"#388E3C",
|
||
"#4CAF50",
|
||
"#81C784",
|
||
"#C8E6C9",
|
||
"#E8F5E9",
|
||
"#00C853",
|
||
"#DDDDDD",
|
||
"#999999",
|
||
"#333333"
|
||
],
|
||
"trendLines": [],
|
||
"graphs": graphs2,
|
||
"guides": [],
|
||
"allLabels": [],
|
||
"balloon": {},
|
||
"legend": {
|
||
"enabled": true,
|
||
"equalWidths": false,
|
||
"marginRight": 25,
|
||
"marginTop": 4,
|
||
"spacing": 15,
|
||
"useGraphSettings": true,
|
||
"valueAlign": "left",
|
||
"valueWidth": 0,
|
||
"color": "#757575"
|
||
},
|
||
"dataProvider": res1.count
|
||
});
|
||
|
||
$('#show_nb_chart_bg').show();
|
||
$('#show_nb_chart').show();
|
||
} else {
|
||
btn.text("Нет данных");
|
||
}
|
||
});
|
||
});
|
||
});
|
||
</script>
|
||
<div class="full_modal-bg" id="show_nb_chart_bg" style="display: none">
|
||
<span class="pseudo-link closer event-modal-closer"><i class="ti-close"></i></span>
|
||
<div class="full_modal edit-modal" id="show_nb_chart" style="display: none;">
|
||
<div class="modal-inner">
|
||
<div class="chart_btn_wrap">
|
||
<button class="chart_btn active" id="chart1" chart_wrap="chart_wrap1">Статистика ЖК. Цена.</button>
|
||
<button class="chart_btn" id="chart2" chart_wrap="chart_wrap2">Статистика ЖК. Количество продаж.</button>
|
||
</div>
|
||
<div class="chart_wrap active" id="chart_wrap1">
|
||
<h2 style="text-align: center;">Статистика ЖК. Цена.</h2>
|
||
<div class="form-block">
|
||
<div>
|
||
<div id="nb_chart" style="height: 500px;"></div>
|
||
</div>
|
||
<div class="clear"></div>
|
||
</div>
|
||
</div>
|
||
<div class="chart_wrap" id="chart_wrap2">
|
||
<h2 style="text-align: center;">Статистика ЖК. Количество продаж.</h2>
|
||
<div class="form-block">
|
||
<div>
|
||
<div id="nb_chart2" style="height: 500px;"></div>
|
||
</div>
|
||
<div class="clear"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script>
|
||
$('#show_nb_chart_bg .closer').on('click', function(){
|
||
$("#show_nb_chart_bg").toggle(10);
|
||
});
|
||
</script>
|
||
<!-- End Charts -->
|
||
|
||
<?php
|
||
|
||
require_once($_SERVER['DOCUMENT_ROOT']."/templates/search_newbuildings.php");
|
||
|
||
} else
|
||
|
||
{
|
||
|
||
?>
|
||
|
||
<div class="login-reg">
|
||
|
||
<div class="login-reg_inner">
|
||
|
||
<div class="main-title">
|
||
|
||
<h1>Вход</h1>
|
||
|
||
</div>
|
||
|
||
<?php
|
||
|
||
if($_GET['phone'] and !$msg)
|
||
|
||
{
|
||
|
||
?>
|
||
|
||
<form method="post">
|
||
|
||
<div class="control-group control-line">
|
||
|
||
<div class="form-search__main-label">Пароль в смс:</div>
|
||
|
||
<div class="control-inputs">
|
||
|
||
<div class="inputs-group">
|
||
|
||
<input type="text" name="sms" class="text" autofocus style="float:left;">
|
||
|
||
<input type="hidden" name="phone" value="<?php echo $get['phone']; ?>">
|
||
|
||
<input type="hidden" name="ok_auth2" value="1">
|
||
|
||
<button type="submit" class="fr-btn button-fl-left big-button">Вход</button>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="clear"></div>
|
||
|
||
</div>
|
||
|
||
</form>
|
||
|
||
<?php
|
||
|
||
} elseif($_GET['phone2'] and !$msg)
|
||
|
||
{
|
||
|
||
?>
|
||
|
||
<form method="post">
|
||
|
||
<div class="control-group control-line" style="margin-bottom: 25px">
|
||
|
||
<div class="form-search__main-label">Пароль:</div>
|
||
|
||
<div class="control-inputs">
|
||
|
||
<div class="inputs-group">
|
||
|
||
<input type="password" name="pwd" class="text" autofocus style="float:left;">
|
||
|
||
<input type="hidden" name="phone" value="<?php echo $get['phone2']; ?>">
|
||
|
||
<input type="hidden" name="ok_auth3" value="1">
|
||
|
||
<button type="submit" class="fr-btn button-fl-right medium-button">Вход</button>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="clear"></div>
|
||
|
||
</div>
|
||
|
||
</form>
|
||
|
||
<!--<a href="remind_pass.php">Забыли пароль?</a>-->
|
||
|
||
<?php
|
||
|
||
} else
|
||
|
||
{
|
||
|
||
?>
|
||
|
||
<form>
|
||
|
||
<div class="control-group control-line" style="margin-bottom: 25px">
|
||
|
||
<div class="form-search__main-label">Телефон:</div>
|
||
|
||
<div class="control-inputs">
|
||
|
||
<div class="inputs-group">
|
||
|
||
<input type="text" name="phone" placeholder="Телефон:" class="text phoneMask" autofocus value="<?php echo $post['phone']; ?>" style="float:left;">
|
||
|
||
<input type="hidden" name="ok_auth" value="1">
|
||
|
||
<button type="submit" class="fr-btn button-fl-right medium-button">Далее</button>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="clear"></div>
|
||
|
||
</div>
|
||
|
||
</form>
|
||
|
||
<a href="reg.php">Регистрация</a>
|
||
|
||
<?php
|
||
|
||
}
|
||
|
||
if($msg or $msg2) echo '<div class="error_msg">'.$msg.$msg2.'</div>';
|
||
|
||
}
|
||
|
||
?>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<?php require($_SERVER['DOCUMENT_ROOT']."/templates/footer.php"); ?>
|