Joywork/index1.php
2026-05-22 21:21:54 +03:00

966 lines
34 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
require_once($_SERVER['DOCUMENT_ROOT']."/config.php");
$get=clearInputData($_GET);
if($_GET['ok_auth'])
{
$user = new User;
$msg = $user->auth($get);
}
if($get['msg']) $msg = $get['msg'];
if($_POST['ok_auth2'])
{
$post=clearInputData($_POST);
$user = new User;
$msg2 = $user->check_sms($post);
}
if($_POST['ok_auth3'])
{
$post=clearInputData($_POST);
$user = new User;
$msg2 = $user->check_sms($post,1);
}
if($_POST['ok_user'])
{
$post=clearInputData($_POST);
$user = new User;
$msg_user = $user->reg($post);
}
?>
<!doctype html>
<html class="with_pattern">
<head>
<meta charset="utf-8">
<title>JoyWork</title>
<link rel="shortcut icon" type="image/x-icon" href="/images/favicon.ico" />
<link rel="stylesheet" media="screen" href="/css/style_land.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="/js/core_land.js?t=<?php echo ceil(microtime(true)); ?>"></script>
<script src="/js/jquery.maskedinput.min.js"></script>
<script src="/js/main.js"></script>
</head>
<body>
<div class="f__modal-bg" id="sign_bg" style="display: none;">
<div class="f__modal sign" id="sign" style="display: none;">
<span class="pseudo-link closer" onclick="hideSign(); return false;">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="26px" height="26px" viewBox="0 0 612 612" style="enable-background:new 0 0 612 612;" xml:space="preserve">
<g id="cross">
<g>
<polygon points="612,36.004 576.521,0.603 306,270.608 35.478,0.603 0,36.004 270.522,306.011 0,575.997 35.478,611.397 306,341.411 576.521,611.397 612,575.997 341.459,306.011 " fill="#78909C"/>
</g>
</g>
</svg>
</span>
<div class="f-col">
<div class="f-col-3">
<h2>Регистрация</h2>
</div>
<div class="f-col-6">
<div class="login-sign-block" style="padding-top: 8px;">
<p>Уже зарегистрированы? <a onclick="LoginFromSign(); return false;" class="pseudo">Войдите</a>.</p>
</div>
</div>
<div class="clear"></div>
</div>
<div class="f-col">
<div class="f-col-3">&nbsp;</div>
<div class="f-col-6">
<?php
if($msg_user) echo '<div class="bg-danger" style="font-size:1.2em; border-radius:5px; text-align:center;">'.$msg_user.'</div>
<script>SignFromLogin();</script>';
else echo '<p class="small grey">Или заполните форму:</p>';
?>
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col">
<div class="f-col-3">&nbsp;</div>
<div class="f-col-6">
<div class="button-row">
<input type="radio" class="hidden--radio" id="type_1" name="type" value="1" <?php if(!$post or $post['type'] == 1) echo "checked"; ?>>
<input type="radio" class="hidden--radio" id="type_2" name="type" value="2" <?php if($post['type'] == 2) echo "checked"; ?>>
<div class="selector-button button-left type agency selected">
<span>Агентство</span>
<label for="type_1" class="label-overlay">&nbsp;</label>
</div>
<div class="selector-button button-right type agent">
<span>Агент</span>
<label for="type_2" class="label-overlay">&nbsp;</label>
</div>
<div class="clear"></div>
</div>
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<form method="post" class="agent-field" style="display: none;">
<div class="f-col f-control">
<div class="f-col-3 form-label">
<span>Имя и фамилия</span>
</div>
<div class="f-col-6">
<input type="text" name="fio" class="text" value="<?php echo $post['fio']; ?>">
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control">
<div class="f-col-3 form-label">
<span>Телефон</span>
</div>
<div class="f-col-6">
<input type="text" name="phone" class="text phoneMask" required value="<?php echo $post['phone']; ?>">
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control">
<div class="f-col-3 form-label">
<span>Эл. почта</span>
</div>
<div class="f-col-6">
<input type="email" name="email" class="text" required autofocus value="<?php echo $post['email']; ?>">
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control">
<div class="f-col-3 form-label">
&nbsp;
</div>
<div class="f-col-6">
&nbsp;
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control modal-submit">
<input type="hidden" name="ok_user" value="register">
<input type="hidden" name="type" value="2">
<input type="hidden" name="id_tarif" value="5">
<button type="submit" class="big-button">Зарегистрироваться</button>
</div>
</form>
<form method="post" class="agency-field">
<div class="f-col f-control">
<div class="f-col-3 form-label">
<span>Название</span>
</div>
<div class="f-col-6">
<input type="text" name="fio" class="text" value="<?php echo $post['fio']; ?>">
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control">
<div class="f-col-3 form-label">
<span>ФИО руководителя</span>
</div>
<div class="f-col-6">
<input type="text" name="director" class="text" value="<?php echo $post['director']; ?>">
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control">
<div class="f-col-3 form-label">
<span>Телефон руководителя</span>
</div>
<div class="f-col-6">
<input type="text" name="phone" class="text phoneMask" required value="<?php echo $post['phone']; ?>">
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control">
<div class="f-col-3 form-label">
<span>Эл. почта руководителя</span>
</div>
<div class="f-col-6">
<input type="email" name="email" class="text" required autofocus value="<?php echo $post['email']; ?>">
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control">
<div class="f-col-3 form-label">
&nbsp;
</div>
<div class="f-col-6">
&nbsp;
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control modal-submit" style="padding: 0;">
<input type="hidden" name="ok_user" value="register">
<input type="hidden" name="type" value="1">
<input type="hidden" name="id_tarif" value="5">
<button type="submit" class="big-button">Зарегистрироваться</button>
</div>
</form>
</div>
</div>
<div class="f__modal-bg" id="login_bg" style="display: none;">
<div class="f__modal login" id="login" style="display: none;">
<span class="pseudo-link closer" onclick="hideLogin(); return false;">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="26px" height="26px" viewBox="0 0 612 612" style="enable-background:new 0 0 612 612;" xml:space="preserve">
<g id="cross">
<g>
<polygon points="612,36.004 576.521,0.603 306,270.608 35.478,0.603 0,36.004 270.522,306.011 0,575.997 35.478,611.397 306,341.411 576.521,611.397 612,575.997 341.459,306.011 " fill="#78909C"/>
</g>
</g>
</svg>
</span>
<div class="f-col">
<div class="f-col-3">
<h2>Вход</h2>
</div>
<div class="f-col-6">
<div class="login-sign-block">
<p>Впервые здесь? Пройдите <a onclick="SignFromLogin(); return false;" class="pseudo">регистрацию</a>.</p>
</div>
</div>
<div class="clear"></div>
</div>
<?php
if($_GET['phone'] and !$msg)
{
?>
<script>LoginFromSign();</script>
<form method="post">
<div class="f-col f-control">
<div class="f-col-3 form-label">
<span>Пароль в смс:</span>
</div>
<div class="f-col-6">
<input type="text" name="sms" class="text" autofocus>
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control modal-submit" style="padding: 0;">
<input type="hidden" name="phone" value="<?php echo $get['phone']; ?>">
<input type="hidden" name="ok_auth2" value="1">
<button id="f-login" type="submit" class="big-button">Войти</button>
</div>
</form>
<?php
} elseif($_GET['phone2'] and !$msg)
{
?>
<script>LoginFromSign();</script>
<form method="post">
<div class="f-col f-control">
<div class="f-col-3 form-label">
<span>Пароль:</span>
</div>
<div class="f-col-6">
<input type="password" name="pwd" class="text" autofocus>
</div>
<div class="f-col-3 forgotpass"><a class="small grey" href="remind_pass.php">Забыли<br> пароль?</a></div>
<div class="clear"></div>
</div>
<div class="f-col f-control modal-submit" style="padding: 0;">
<input type="hidden" name="phone" value="<?php echo $get['phone2']; ?>">
<input type="hidden" name="ok_auth3" value="1">
<button id="f-login" type="submit" class="big-button">Войти</button>
</div>
</form>
<?php
} else
{
?>
<form>
<div class="f-col">
<div class="f-col-3">&nbsp;</div>
<div class="f-col-6">
<p class="small grey">Или введите телефон и пароль:</p>
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control">
<div class="f-col-3 form-label">
<span>Телефон</span>
</div>
<div class="f-col-6">
<input type="text" name="phone" class="text phoneMask" autofocus value="<?php echo $post['phone']; ?>">
</div>
<div class="f-col-3">&nbsp;</div>
<div class="clear"></div>
</div>
<div class="f-col f-control modal-submit" style="padding: 0;">
<input type="hidden" name="ok_auth" value="1">
<button id="f-login" type="submit" class="big-button">Войти</button>
</div>
</form>
<?php
}
if($msg or $msg2) echo '<div class="bg-danger" style="font-size:1.2em; border-radius:5px; text-align:center;">'.$msg.$msg2.'</div><script>toggleLogin();</script>';
?>
</div>
</div>
<div class="fr_land-layout">
<div class="fr_land-layout-header">
<div class="line">
<!-- <div class="logo"></div> -->
<div class="text-logo"><span><span class="logo-green">Joy</span>Work</span></div>
<div class="login-reg">
<button type="submit" onclick="toggleSign(); return false;">Регистрация</button>
<button type="submit" onclick="toggleLogin(); return false;">Вход</button>
</div>
</div>
</div>
<article class="fr_land-layout-welcome">
<h2>Online-платформа</h2>
<p>для агентов по недвижимости Санкт-Петербурга</p>
<figure class="hero-image">
<!--pointer 1-->
<a class="pointer pointer-1" data-toggle="popover" title="" data-content="And here's some amazing content. It's very engaging." data-original-title="Popover title"> <span class="plus"><i class="fa fa-plus"></i></span> <span class="minus"><i class="fa fa-minus"></i></span></a>
<!--pointer 1 end-->
<!--pointer 2-->
<a class="pointer pointer-2" data-toggle="popover" title="" data-content="And here's some amazing content. It's very engaging." data-original-title="Popover title"> <span class="plus"><i class="fa fa-plus"></i></span> <span class="minus"><i class="fa fa-minus"></i></span></a>
<!--pointer 2 end-->
<!--pointer 3-->
<a class="pointer pointer-3" data-toggle="popover" title="" data-content="And here's some amazing content. It's very engaging." data-original-title="Popover title"> <span class="plus"><i class="fa fa-plus"></i></span> <span class="minus"><i class="fa fa-minus"></i></span></a>
<!--pointer 3 end-->
<img src="images/screen-img.png" alt="hero image">
</figure>
</article>
<section class="fr_land-layout-content a">
<article>
<div class="heading-a">
<h3><span class="small">О системе</span> <span class="strong">Теперь работа</span> занимает всего несколько минут</h3>
<p>Суть системы JoyWork — максимально упростить и ускорить процесс взаимодействия агента и клиента. Система была разработана, протестирована и успешно внедрена совместно с агентством недвижимости Санкт-Петербурга, при этом учитывались все особенности работы агентов по недвижимости и их пожелания. Тестирование проходило действующими агентами в рабочем режиме и показало значительное повышение эффективности работы агентов, использующих JoyWork. Мы постарались создать как можно более удобный и простой интерфейс с максимально объемной, актуальной и объективной информацией.</p>
</div>
<ul class="list">
<li>
<span class="inner">
<i class="icon-basic"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="60px" height="60px" viewBox="0 0 43.028 43.028" style="enable-background:new 0 0 43.028 43.028;" xml:space="preserve"><g><path d="M39.561,33.973l-0.145,0.172c-4.774,5.729-11.133,8.884-17.902,8.884c-6.77,0-13.128-3.154-17.903-8.884l-0.144-0.172 l0.034-0.225c0.922-6.014,4.064-10.844,8.847-13.605l0.34-0.196l0.271,0.284c2.259,2.369,5.297,3.674,8.554,3.674 s6.295-1.306,8.554-3.674l0.271-0.284l0.34,0.196c4.783,2.762,7.925,7.592,8.848,13.605L39.561,33.973z M21.514,21.488 c5.924,0,10.744-4.82,10.744-10.744S27.438,0,21.514,0S10.77,4.82,10.77,10.744S15.59,21.488,21.514,21.488z M28.977,35.854 l5.505-5.506c0.616-0.615,0.616-1.615,0-2.229c-0.616-0.617-1.616-0.617-2.231,0l-4.389,4.39l-2.752-2.752 c-0.617-0.617-1.615-0.617-2.232,0c-0.614,0.614-0.614,1.614,0,2.231l3.869,3.866c0.309,0.31,0.711,0.463,1.115,0.463 S28.668,36.16,28.977,35.854z" fill="#78909C"/></g></svg></i>
<span class="title">Самая полная база объектов</span>
<p>Наиболее свежие и актуальные предложения о сдаче недвижимости от собственников и агентов обновляются в реальном времени. Более 250 объектов от собственников добавляются в систему ежедневно.</p>
</span>
</li>
<li>
<span class="inner">
<i class="icon-basic"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="60px" height="60px" viewBox="0 0 37.166 37.166" style="enable-background:new 0 0 37.166 37.166;" xml:space="preserve"><g><path d="M35.829,32.045l-6.833-6.833c-0.513-0.513-1.167-0.788-1.836-0.853c2.06-2.567,3.298-5.819,3.298-9.359 c0-8.271-6.729-15-15-15c-8.271,0-15,6.729-15,15c0,8.271,6.729,15,15,15c3.121,0,6.021-0.96,8.424-2.598 c0.018,0.744,0.305,1.482,0.872,2.052l6.833,6.833c0.585,0.586,1.354,0.879,2.121,0.879s1.536-0.293,2.121-0.879 C37.001,35.116,37.001,33.217,35.829,32.045z M15.458,25c-5.514,0-10-4.484-10-10c0-5.514,4.486-10,10-10c5.514,0,10,4.486,10,10 C25.458,20.516,20.972,25,15.458,25z" fill="#78909C"/></g></svg></i>
<span class="title">Сканер</span>
<p>Сканер ведущих сайтов по аренде жилья в Санкт-Петербурге. При помощи сканера вы можете отправлять презентации своим клиентам без водяных знаков, с вашей визиткой и фотографией. Контакты встречного агента автоматически заменяются на ваши.</p>
</span>
</li>
<li>
<span class="inner">
<i class="icon-basic"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="60px" height="60px" viewBox="0 0 36.293 36.292" style="enable-background:new 0 0 36.293 36.292;" xml:space="preserve"><g><path d="M7.984,15.654v4.985c0,0.827-0.672,1.5-1.5,1.5H1.5c-0.828,0-1.5-0.673-1.5-1.5v-4.985c0-0.829,0.672-1.5,1.5-1.5h4.984 C7.312,14.154,7.984,14.827,7.984,15.654z M34.792,14.154H13.289h-0.781c-0.827,0-1.5,0.671-1.5,1.5v4.985 c0,0.827,0.673,1.5,1.5,1.5h0.781h21.504c0.828,0,1.5-0.673,1.5-1.5v-4.985C36.292,14.827,35.621,14.154,34.792,14.154z M6.484,2.779H1.5c-0.828,0-1.5,0.671-1.5,1.5v4.985c0,0.829,0.672,1.5,1.5,1.5h4.984c0.828,0,1.5-0.671,1.5-1.5V4.279 C7.984,3.452,7.312,2.779,6.484,2.779z M34.792,2.779H13.289h-0.781c-0.827,0-1.5,0.671-1.5,1.5v4.985c0,0.829,0.673,1.5,1.5,1.5 h0.781h21.504c0.828,0,1.5-0.671,1.5-1.5V4.279C36.292,3.452,35.621,2.779,34.792,2.779z M6.484,25.53H1.5 c-0.828,0-1.5,0.671-1.5,1.5v4.984c0,0.83,0.672,1.5,1.5,1.5h4.984c0.828,0,1.5-0.67,1.5-1.5V27.03 C7.984,26.201,7.312,25.53,6.484,25.53z M34.792,25.53H13.289h-0.781c-0.827,0-1.5,0.671-1.5,1.5v4.984c0,0.83,0.673,1.5,1.5,1.5 h0.781h21.504c0.828,0,1.5-0.67,1.5-1.5V27.03C36.292,26.201,35.621,25.53,34.792,25.53z" fill="#78909C"/></g></svg></i>
<span class="title">Архив собственников</span>
Самый большой архив собственников Санкт-Петербурга — более 190 000 объектов. Теперь вы можете обходить встречных агентов и получать 100% комиссии!
</li>
</ul>
</article>
<article class="block-a block-search grey-bg">
<div class="heading-a a">
<h3><span class="small">Простой и понятный поиск объектов</span> <span class="strong">Всего несколько кликов и вам доступны сотни объявлений</span></h3>
<p>Мы постарались создать наиболее удобный поиск объявлений, предусмотрев все нюансы и убрав все лишнее. Вы можете всего в несколько кликов получить сотни актуальных объявлений как от собственников, так и от агентов.</p>
</div>
<figure class="sticky-b">
<img src="images/screen-search.png" alt="Поиск">
</figure>
</article>
<article>
<div class="heading-a">
<h3><span class="small">Быстрая и удобная отправка презентаций</span> <span class="strong">Презентуйте объекты в один клик</span></h3>
</div>
<div class="screen">
<div class="text-screen">
<p>С помощью функции отправки презентаций вам больше не нужно рассказывать информацию об объекте по телефону и часами ждать, пока собственник или агент вышлет вам фотографии, чтобы отправить их клиенту.</p>
</div>
<img src="images/screen-pdf.png">
<div class="text-screen">
<p>Просто выберите подходящие варианты и одним кликом отправьте их клиенту в виде красивых и удобных pdf-презентаций, либо добавьте в «избранное», чтобы отправить позже. Весь процесс от подбора объекта до отправки клиенту займет не больше нескольких минут. Все отправленные варианты сохраняются в вашем личном кабинете, и вы в любое время сможете посмотреть, что уже видел ваш клиент.</p>
</div>
</div>
</article>
<article class="grey-bg">
<div class="heading-a">
<h3><span class="small">Архив собственников</span> <span class="strong">Ждут сдачи более 190 000 реальных объектов</span></h3>
</div>
<div class="screen">
<div class="text-screen">
<p>Доступ к более чем 190 000 квартир и комнат от собственников жилья поможет вам значительно увеличить число сдающихся объектов или размер комиссии при заселении клиента, ведь заселять теперь можно будет напрямую, обходя встречных агентов.</p>
<p><img src="images/screen-archiv.jpg"></p>
<p>Специально для вас нами была разработана система сравнения актуальных объявлений от агентов с нашим архивом и базой собственников, с помощью которой вы сможете связываться напрямую с хозяином, обходя встречных агентов и получая 100% комиссии.</p>
</div>
</div>
</article>
<article class="vb">
<div class="heading-a">
<h3><span class="small">Тарифы</span> <span class="strong">Самое выгодное</span> предложение</h3>
</div>
<ul class="list-c">
<?php
$trfs = Tarif::getAll();
$cls = array("a","b","c");
$k = 0;
foreach ($trfs as $i => $trf) {
if($trf['status'] > 0) continue;
if($trf['cena'] == 0) $trf['cena'] = "FREE"; else $trf['cena'] = $trf['cena']."₽";
echo '<li class="'.$cls[$k].'">
<span>'.$trf['nazv'].' <span>'.$trf['cena'].'</span></span>
'.$trf['opis'].'
<a href="#" onclick="toggleSign('.$trf['id'].'); return false;">Регистрация</a>
</li>';
$k++;
}
?>
</ul>
</article>
</section>
<div class="fr-footer">
<div class="e-8 no-pad">
<div class="fr-row fr-footer-cols">
<div class="fr-col-left">
<div class="copyrights">
<p>© 2017, <a href="https://joywork.ru">«Joywork.ru»</a>. Использование материалов сайта возможно только при наличии активной ссылки на первоисточник.</p>
<p style="position: relative; padding-left: 25px;"><span class="spb-logo-white mobile-none"><img src="https://joywork.ru/images/spb-logo-white.png"></span>Санкт-Петербург, ул. 7-ая линия, д. 76</p>
</div>
<div class="links">
<p><a href="https://joywork.ru/privacy.php">Политика конфиденциальности</a></p>
<p><a href="https://joywork.ru/agreement.php">Пользовательское соглашение</a></p>
<p><a style="font-size: 12px !important;" href=http://www.fotomakler.ru/>FotoMakler.ru - недвижимость Москвы</a></p>
</div>
</div>
<div class="fr-col-right">
<div class="footer-block">
<p class="phone-in-spb">Телефон в Санкт-Петербурге:</p>
<h2 class="phone">+7 812 981 56 17</h2>
<p class="time-call">По будням с 11:00 до 20:00</p>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter40367945 = new Ya.Metrika({
id:40367945,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
trackHash:true
});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = "https://mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/40367945" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<link rel="stylesheet" href="https://cdn.callbackkiller.com/widget/cbk.css">
<script type="text/javascript" src="https://cdn.callbackkiller.com/widget/cbk.js?cbk_code=9419ce93830679c6973017998f561020" charset="UTF-8" async></script>
</body>
</html>