Запрос на управление страницей
Это отличная возможность привлечь и удержать клиентов, получить обратную связь и выделиться на фоне конкурентов.
Управление аккаунтом абсолютно бесплатно!
Сайт временно не работает $dblocation = "localhost"; $dbuser = "wikicity"; $dbpasswd = "oc9ha77gX7d83FS"; $dbname = "wikicity1"; $SiteName = "Wikicity"; $RootPath="https://wikicity.kz/"; $mRootPath="https://m.wikicity.kz/"; $RootPath_no_slash="https://wikicity.kz"; $DocRoot=$_SERVER["DOCUMENT_ROOT"]; $bRootPath="https://wikicity.kz/biz_owner/"; $mDocRoot=$_SERVER["DOCUMENT_ROOT"]."/m/"; $PhotoRoot=$DocRoot."fotos/"; $PhotoRoot_original=$DocRoot."fotos_original/"; $PhotoRoot_ls=$DocRoot."fotos_ls/"; $PhotoRoot_ms=$DocRoot."fotos_ms/"; $PhotoRoot_ss=$DocRoot."fotos_ss/"; $PhotoRoot_xss=$DocRoot."fotos_xss/"; $ImagePath="https://wikicity.kz/fotos/"; $ImagePath_original="https://wikicity.kz/fotos_original/"; $ImagePath_ls="https://wikicity.kz/fotos_ls/"; $ImagePath_ms="https://wikicity.kz/fotos_ms/"; $ImagePath_ss="https://wikicity.kz/fotos_ss/"; $ImagePath_xss="https://wikicity.kz/fotos_xss/"; $admin_email = "adil_askarov@mail.ru"; $vk_client_id = "3424744"; $vk_client_secret = "TEcVVzj26rUkXTJOCpTw"; $fb_client_id = "218254644982579"; $fb_client_secret = "49728228a99848054d1d1a8d695f4662"; ?> $Page_n = "claim"; require($DocRoot."header_pre.php"); $str_id = htmlspecialchars($_GET["str_id"]); if(!$_SESSION["id"]) { redirect($RootPath."login?return_url=support/claim_form/".$str_id); exit; } $is_noindex = true; $res = $db->q("select id, name from company where str_id='".$str_id."' limit 1;"); if(!($biz_data = $res->fetch())) { redirect($RootPath."404.php"); exit; } if($_SERVER['REQUEST_METHOD']=="POST") { $biz_id = intval($_POST["biz_id"]); $name = mb_substr(htmlspecialchars($_POST['name']), 0, 100, 'utf-8'); $phone = mb_substr(htmlspecialchars($_POST['phone']), 0, 20, 'utf-8'); $email = mb_substr(htmlspecialchars($_POST['email']), 0, 60, 'utf-8'); $comment = mb_substr(htmlspecialchars($_POST['comment']), 0, 500, 'utf-8'); if($name == "") { $infoAlert[0] = "error"; $infoAlert["name"] = 1; //$err_ar['error'] = "Не указано имя."; } if($phone == "") { $infoAlert[0] = "error"; $infoAlert["phone"] = 1; //$err_ar['error'] = "Не указан телефон."; } if($email == "") { $infoAlert[0] = "error"; $infoAlert["email"] = 1; //$err_ar['error'] = "Не указан электронный адрес!"; } if(!preg_match("/^(?:[a-z0-9]+(?:[-_.]?[a-z0-9]+)?@[a-z0-9_.-]+(?:\.?[a-z0-9]+)?\.[a-z]{2,5})$/i", $email)) { $infoAlert[0] = "error"; $infoAlert["email"] = 1; //$err_ar['error'] = "Электронный адрес некорректный!"; } if($infoAlert[0]=="error") { $infoAlert[1] = "Заполните пожелуйста выделенные цветом поля."; } if($infoAlert[0] != "error") { require_once($DocRoot."model/contact.php"); $phone = contact::convert2phone($phone); $arFieldNamePar = Array("biz_id", "name", "email", "phone", "comment", "user_id", "date_post"); $arFieldValuePar = Array($biz_id, $name, $email, $phone, $comment, intval($_SESSION["id"]), date("Y-m-d H:i:s")); $res = $db->insert("owner_request", $arFieldNamePar, $arFieldValuePar); if(!$res) { $infoAlert[0] = "error"; $infoAlert[1] = "Не удалось отправить запрос."; } else { require($DocRoot."model/notification.php"); $msg .= "Запрос на управление\n"; $msg .= "\n".$name." запросил в упарвление ".$biz_data["name"]."\n"; $msg .= "\nКомментарий: ".$comment."\n"; $msg .= "\nПозвонить ".$phone." или Написать Whatsapp\n"; $msg .= "\nПерейти в управление запросами"; notification::send($msg); redirect($RootPath."biz/".$str_id); exit; } } } $meta_title .= "Запрос на управление страницей - ".$l->g("wikicity"); $meta_description = "Возьмите в управление свой бизнес - отвечайте на отзывы, добавляйте описание и фотографии."; $meta_keywords = ""; //require("support_header_post.php"); require("biz_owner_header_post.php"); ?>
Это отличная возможность привлечь и удержать клиентов, получить обратную связь и выделиться на фоне конкурентов.
Управление аккаунтом абсолютно бесплатно!