Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @using QuestGuru.Models
- @{
- string cacheToken = "1";
- }
- <!DOCTYPE html>
- <html lang="en" class="wide wow-animation smoothscroll scrollTo">
- <head>
- <!-- Site Title-->
- <title>QuestGuru</title>
- <meta http-equiv="Cache-Control" content="max-age=3600, must-revalidate"/>
- <meta charset="utf-8">
- <meta name="format-detection" content="telephone=no">
- <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
- <meta http-equiv="X-UA-Compatible" content="IE=Edge">
- <meta name="keywords" content="">
- <link rel="icon" href="/icon.png?token=@cacheToken" type="image/x-icon" async>
- <meta name="cmsmagazine" content="678a0ea6255e10fc651b3d16885c119f" />
- <!-- Stylesheets-->
- @*<link rel="stylesheet" href="/Content/css/style_black.css?token=@cacheToken">*@
- @Styles.Render("~/bundles/styles")
- <!-- Fonts -->
- <link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,700&subset=cyrillic&token=@cacheToken" rel="stylesheet" media="none" onload="if (media != 'all') media = 'all'">
- <link href="~/Content/fonts/futura-bold_ff79676945948891835ba4ce3bdcbef6.woff?token=@cacheToken" rel="stylesheet" media="none" onload="if (media != 'all') media = 'all'">
- <!--[if lt IE 10]>
- <div style="background: #212121; padding: 10px 0; box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, .3); clear: both; text-align: center; position: relative; z-index: 1;">
- <a href="http://windows.microsoft.com/en-US/internet-explorer/">
- <img src="images/ie8-panel/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today.">
- </a>
- </div>
- <script src="js/html5shiv.min.js"></script>
- <![endif]-->
- @{
- var controllerName = HttpContext.Current.Request.RequestContext.RouteData.Values["controller"].ToString();
- if (controllerName != "Admin")
- {
- @:@Html.Raw(Helpers.GetParametrValue("HeaderMeta"))
- }
- }
- <style>
- .developed:hover {
- color:#e37b00;
- }
- </style>
- </head>
- <body>
- <!-- Page-->
- <div class="page text-center">
- <!-- Page Header-->
- <header class="page-head">
- <!-- RD Navbar Transparent-->
- <div class="rd-navbar-wrap">
- <nav data-md-device-layout="rd-navbar-fixed" data-lg-device-layout="rd-navbar-static" data-lg-stick-up-offset="110px" class="rd-navbar rd-navbar-logo-center rd-navbar-light" data-lg-auto-height="true" data-md-layout="rd-navbar-fixed" data-lg-layout="rd-navbar-static" data-lg-stick-up="true">
- <div class="rd-navbar-inner">
- <div class="container">
- <div class="rd-navbar-top-block range range-lg-center range-lg-middle">
- <div class="cell-lg-3">
- <p class="veil reveal-lg-block">
- @*<span class="mdi mdi-phone"></span> <a href="callto:+7 (952) 280-2000">+7 (952) 280-2000</a>*@
- @{
- var phone = Helpers.GetPhoneByCity(Request.Cookies["testCity"]?.Value);
- }
- <span class="mdi mdi-phone"></span> <a href="callto:@(phone)">@phone</a>
- </p>
- </div>
- <div class="cell-lg-6 text-center">
- <!--Navbar Brand-->
- <div class="rd-navbar-brand">
- <a href="/">
- <img src='/Content/images/custom/qgLogo.png?token=@cacheToken' alt=''/>
- </a>
- </div>
- </div>
- <div class="cell-lg-3">
- <p class="veil reveal-lg-block">
- @*<select id="citySelect"></select>*@
- @{
- var cities = Helpers.GetCities();
- var citiesListItems = cities.Select(city => new SelectListItem
- {
- Text = city.Name,
- Value = city.Id.ToString()
- }).ToList();
- }
- @Html.DropDownList("citySelect1", citiesListItems, null, new {@id = "citySelect1", @style = "border:none;", @class = "form-control"})
- </p>
- </div>
- <div class="cell-lg-3">
- <div class="form-search-wrap">
- <!-- RD Search Form-->
- @*<form action="search-results.html" method="GET" class="form-search rd-search">
- <div class="form-group">
- <label for="rd-navbar-form-search-widget" class="form-label form-search-label form-label-sm">Search</label>
- <input id="rd-navbar-form-search-widget" type="text" name="s" autocomplete="off" class="form-search-input input-sm form-control form-control-gray-lightest input-sm"/>
- </div>
- <button type="submit" class="form-search-submit"><span class="mdi mdi-magnify"></span></button>
- </form>*@
- @*<a target="_blank" href="https://yandex.ru/maps/-/CZDs6Rlv">СПб, пр. Луначарского д. 11 к. 3</a>*@
- </div>
- </div>
- </div>
- <!-- RD Navbar Panel-->
- <div class="rd-navbar-panel">
- <!-- RD Navbar Toggle-->
- <button data-rd-navbar-toggle=".rd-navbar, .rd-navbar-nav-wrap" class="rd-navbar-toggle">
- <span></span></button>
- <a class="phone mobile-phone hidden-lg" href="callto:@phone">
- <span class="mdi mdi-phone"></span>@phone</a>
- <!-- RD Navbar Top Panel Toggle-->
- @*<button data-rd-navbar-toggle=".rd-navbar, .form-search-wrap" class="rd-navbar-search-toggle">*@
- @*<a class="phone rd-navbar-search-toggle" href="callto:+7 (952) 280-2000"><span class="mdi-num mdi-phone-num"></span></a>*@
- @*</button>*@
- </div>
- </div>
- <div class="rd-navbar-menu-wrap">
- <div class="container">
- <div class="rd-navbar-nav-wrap">
- <div class="rd-navbar-mobile-scroll">
- <!--Navbar Brand Mobile-->
- <div class="rd-navbar-mobile-brand">
- <a href="/">
- <img width='221' src='/Content/images/custom/qgLogo.png?token=@cacheToken' alt=''/>
- </a>
- </div>
- <!-- RD Navbar Nav-->
- <ul class="rd-navbar-nav">
- <li class="showOnStucked hidden">
- <p class="veil reveal-lg-block">
- <span class="mdi mdi-phone"></span> <a id="topPhone" href="callto:@phone">@phone</a>
- </p>
- </li>
- <li class="hidden-lg">
- @Html.DropDownList("citySelect2", citiesListItems, "-- Ваш город --", new {@id = "citySelect2", @class = "form-control"})
- </li>
- @{
- var controller = HttpContext.Current.Request.RequestContext.RouteData.Values["controller"].ToString();
- }
- @if (controller == "Admin" || User.Identity.IsAuthenticated)
- {
- <li class="active">
- <a href="/Admin/Index">
- <span>Админка</span></a>
- </li>
- }
- <li class="">
- <a href="/">
- <span>Главная</span></a>
- </li>
- <li>
- <a>Квесты</a>
- <ul class="rd-navbar-dropdown">
- @{
- var quests = Helpers.GetQuestsForMenu(Request.Cookies["testCity"]?.Value);
- }
- @foreach (var quest in quests)
- {
- <li>
- <a href="@Url.Action("Quest", "Home", new {id = quest.Item2})">
- <span>@quest.Item1</span></a>
- </li>
- }
- </ul>
- </li>
- <li>
- <a href="/Home/Holidays">
- <span>Праздники</span></a>
- </li>
- <li>
- <a href="/Home/Gifts">
- <span>В подарок</span></a>
- </li>
- <li>
- <a href="/Home/Promotions">
- <span>Акции</span>
- </a>
- </li>
- <li>
- <a href="/Home/Contacts">
- <span>Контакты</span></a>
- </li>
- @*<li>
- <a href="@Url.Action("Quest", "Home", new {id = "e7d63c91-c118-4646-8954-a9b81fce98e2"})"><span>Форт Боярд</span></a>
- </li>
- <li>
- <a href="@Url.Action("Quest", "Home", new {id = "f5d8032c-2fd6-49b4-ace7-88f7522f368d"})"><span>Пятница 13</span></a>
- </li>*@
- </ul>
- @{
- var c = HttpContext.Current.Request.RequestContext.RouteData.Values["controller"].ToString();
- }
- @if (c == "Admin")
- {
- @Html.Partial("_MenuPartial")
- }
- </div>
- </div>
- </div>
- </div>
- </div>
- </nav>
- </div>
- @if (ViewBag.Index != null && ViewBag.Index == true)
- {
- <!-- Swiper-->
- <section class="section-relative" id="top">
- <div data-loop="true" data-autoplay="true" data-slide-effect="fade" data-height="60vh" data-dragable="false" data-min-height="335px" data-dots="true" class="swiper-container swiper-slider">
- <div class="swiper-wrapper">
- @if (ViewBag.Mode != null && ViewBag.Mode == "slide")
- {
- if (ViewBag.Slides != null)
- {
- foreach (var s in ViewBag.Slides)
- {
- <img src="/Content/slides/@s.Filename?token=@cacheToken" style="display: none" />
- <div data-slide-bg="/Content/slides/@s.Filename?token=@cacheToken" class="swiper-slide swiper-slide-overlay-disable swiper-slide-center"></div>
- }
- }
- }
- else
- {
- if (ViewBag.SingleSlide != null)
- {
- var singleSlide = (Slide) ViewBag.SingleSlide;
- <div data-slide-bg="/Content/slides/@singleSlide.Filename?token=@cacheToken" class="swiper-slide swiper-slide-overlay-disable swiper-slide-center"></div>
- }
- }
- @*<div data-slide-bg="/Content/images/quests/fb2.jpg" class="swiper-slide swiper-slide-overlay-disable swiper-slide-center"></div>
- <div data-slide-bg="/Content/images/quests/fb3.jpg" class="swiper-slide swiper-slide-overlay-disable swiper-slide-center"></div>
- <div data-slide-bg="/Content/images/quests/p2.jpg" class="swiper-slide swiper-slide-overlay-disable swiper-slide-center"></div>*@
- </div>
- <!-- Swiper Pagination-->
- <div class="swiper-pagination swiper-pagination-type-2"></div>
- </div>
- <div class="section-center-absolute">
- @*<div class="text-extra-big text-white font-accent">QuestGuru</div>
- <br/><h5 class="text-regular text-white offset-top-10 font-accent">Лучшие квесты в реальности</h5>*@
- <div class="shell offset-top-41 offset-sm-top-66">
- @*<div class="range range-xs-center">
- <div class="cell-sm-6 cell-md-5 cell-lg-4 cell-xl-5"><a href="shop.html" class="btn btn-block btn-primary btn-ellipse">shop now</a>
- </div>
- <div class="cell-sm-6 cell-md-5 cell-lg-4 cell-xl-5 offset-top-20 offset-sm-top-0"><a href="blog.html" class="btn btn-block btn-default btn-ellipse btn-anis-effect">view blog</a>
- </div>
- </div>*@
- </div>
- </div>
- </section>
- }
- </header>
- <!-- Page Content-->
- <div class="mainBody">
- @RenderBody()
- </div>
- <!-- Page Footers-->
- <!-- Footer variant 4-->
- <footer class="@*section-relative*@ section-34 page-footer bg-gray-base context-dark">
- <div class="shell">
- <div class="range range-sm-center text-lg-left">
- <div class="cell-sm-12">
- <div class="range range-xs-center">
- <div class="cell-xs-12 cell-md-8 cell-md-push-2 text-md-right">
- <div class="hidden-xs visible-md visible-lg">
- <ul class="list-inline list-inline-dashed p text-darker list-inline-md list-inline-dashed-wide">
- <li>
- <a href="/#top">QuestGuru</a>
- </li>
- <li>
- <a href="/#quests">Квесты</a>
- </li>
- @* <li><a href="/#feedback">Отзывы</a></li>*@
- </ul>
- </div>
- <p>Мы в социальных сетях:</p>
- <ul class="list-inline list-inline-white offset-top-10 text-darker">
- <li>
- <a href="http://www.tripadvisor.ru/Attraction_Review-g298507-d8134055-Reviews-QuestGuru-St_Petersburg_Northwestern_District.html" class="fa fa-tripadvisor"></a>
- </li>
- <li>
- @{
- var vk = Helpers.GetVkUrlBySity(Request.Cookies["testCity"]?.Value);
- }
- <a href="@vk" class="fa fa-vk"></a>
- </li>
- <li>
- <a href="https://ru.foursquare.com/v/questguru/55491f1c498e402d3a845f3b" class="fa fa-foursquare"></a>
- </li>
- </ul>
- <a href="/Home/Pd">Политика обработки персональных данных</a>
- </div>
- <div class="cell-xs-12 cell-md-4 cell-md-push-1 offset-top-34 offset-md-top-0">
- <!-- Footer brand-->
- <div class="footer-brand">
- <a href="index.html">
- @*<img width='221' height='32' style='margin-left: -6px;' src='/Content/images/logo-light.png' alt=''/>*@
- </a>
- </div>
- <p class="small text-darker offset-top-4">
- <a href="https://pqlab.ru" class="developed" target="_blank">developed by <img src="~/Content/favicon120-dark.png" width="40" height="40" /></a>
- </p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </footer>
- </div>
- <!-- Global Mailform Output-->
- <div id="form-output-global" class="snackbars"></div>
- <!-- PhotoSwipe Gallery-->
- <div tabindex="-1" role="dialog" aria-hidden="true" class="pswp">
- <div class="pswp__bg"></div>
- <div class="pswp__scroll-wrap">
- <div class="pswp__container">
- <div class="pswp__item"></div>
- <div class="pswp__item"></div>
- <div class="pswp__item"></div>
- </div>
- <div class="pswp__ui pswp__ui--hidden">
- <div class="pswp__top-bar">
- <div class="pswp__counter"></div>
- <button title="Close (Esc)" class="pswp__button pswp__button--close"></button>
- <button title="Share" class="pswp__button pswp__button--share"></button>
- <button title="Toggle fullscreen" class="pswp__button pswp__button--fs"></button>
- <button title="Zoom in/out" class="pswp__button pswp__button--zoom"></button>
- <div class="pswp__preloader">
- <div class="pswp__preloader__icn">
- <div class="pswp__preloader__cut">
- <div class="pswp__preloader__donut"></div>
- </div>
- </div>
- </div>
- </div>
- <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
- <div class="pswp__share-tooltip"></div>
- </div>
- <button title="Previous (arrow left)" class="pswp__button pswp__button--arrow--left"></button>
- <button title="Next (arrow right)" class="pswp__button pswp__button--arrow--right"></button>
- <div class="pswp__caption">
- <div class="pswp__caption__center"></div>
- </div>
- </div>
- </div>
- </div>
- <!-- Java script-->
- <script src="/Content/js/core.min.js?token=@cacheToken"></script>
- <script src="/Content/js/script.js?token=@cacheToken"></script>
- <script type="text/javascript" src="/Content/js/js.cookie.js?token=@cacheToken"></script>
- <script>
- @if (User.Identity.IsAuthenticated && (User.Identity.Name == "VolgoAdmin" || User.Identity.Name == "AdminQuestVolgo"))
- {
- <text>
- Cookies.set("testCity", "089ef6f6-8844-4067-b345-ec9bd75acf25");
- </text>
- }
- </script>
- <script type="text/javascript" src="/Content/js/geoLocation.js?token=@cacheToken"></script>
- <script type="text/javascript" src="/Content/js/citySelecting.js?token=@cacheToken"></script>
- <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js?token=@cacheToken" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>
- <script src="/Content/js/jquery.inputmask.bundle.min.js?token=@cacheToken"></script>
- <script type="text/javascript" src="/Content/js/js.cookie.js?token=@cacheToken"></script>
- <script type="text/javascript" src="/Content/js/geoLocation.js?token=@cacheToken"></script>
- <script type="text/javascript" src="/Content/js/citySelecting.js?token=@cacheToken"></script>
- <script type="text/javascript" src="/Scripts/moment.min.js?token=@cacheToken"></script>
- @RenderSection("Scripts", false)
- @if (controllerName != "Admin")
- {
- @:@Html.Raw(Helpers.GetParametrValue("FooterMeta"))
- }
- <script type='text/javascript'>document.write(unescape("%3Cscript src='https://electro.gift/products/335388229/widget.js'; type='text/javascript'%3E%3C/script%3E"));</script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement