Line 1: #pragma checksum "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "319337F28DE7E8DC4963683388919FD1FAACE2A9"
Line 2: //------------------------------------------------------------------------------
Line 3: // <auto-generated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:4.0.30319.42000
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </auto-generated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System;
Line 14: using System.Collections.Generic;
Line 15: using System.IO;
Line 16: using System.Linq;
Line 17: using System.Net;
Line 18: using System.Web;
Line 19: using System.Web.Helpers;
Line 20: using System.Web.Security;
Line 21: using System.Web.UI;
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Mvc;
Line 24: using System.Web.Mvc.Ajax;
Line 25: using System.Web.Mvc.Html;
Line 26: using System.Web.Routing;
Line 27: using Umbraco.Web;
Line 28: using Umbraco.Core;
Line 29: using Umbraco.Core.Models;
Line 30: using Umbraco.Web.Mvc;
Line 31: using umbraco;
Line 32: using Examine;
Line 33: using Umbraco.Web.PublishedContentModels;
Line 34:
Line 35: #line 2 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 36: using UmbCMSLibrary.DAL.Helper;
Line 37:
Line 38: #line default
Line 39: #line hidden
Line 40:
Line 41: #line 3 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 42: using umbraco.MacroEngines;
Line 43:
Line 44: #line default
Line 45: #line hidden
Line 46:
Line 47: #line 4 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 48: using BobaWeb.DAL.Helper;
Line 49:
Line 50: #line default
Line 51: #line hidden
Line 52:
Line 53: #line 5 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 54: using BobaWeb.DAL;
Line 55:
Line 56: #line default
Line 57: #line hidden
Line 58:
Line 59:
Line 60: public class _Page_Views_ContactUs_cshtml : Umbraco.Web.Mvc.UmbracoTemplatePage {
Line 61:
Line 62: #line hidden
Line 63:
Line 64: public _Page_Views_ContactUs_cshtml() {
Line 65: }
Line 66:
Line 67: protected ASP.global_asax ApplicationInstance {
Line 68: get {
Line 69: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 70: }
Line 71: }
Line 72:
Line 73: public override void Execute() {
Line 74:
Line 75: #line 6 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 76:
Line 77: Layout = "Master.cshtml";
Line 78:
Line 79:
Line 80: #line default
Line 81: #line hidden
Line 82: WriteLiteral("\r\n\r\n");
Line 83:
Line 84: WriteLiteral("\r\n\r\n\r\n");
Line 85:
Line 86: DefineSection("css", () => {
Line 87:
Line 88: WriteLiteral("\r\n <link");
Line 89:
Line 90: WriteLiteral(" href=\"https://bobaweb.com/CDN-development/dist/css/kendo/kendo.common.min.css\"");
Line 91:
Line 92: WriteLiteral(" rel=\"stylesheet\"");
Line 93:
Line 94: WriteLiteral(" />\r\n <link");
Line 95:
Line 96: WriteLiteral(" href=\"https://bobaweb.com/CDN-development/dist/css/kendo/kendo.bootstrap.min.css" +
Line 97: "\"");
Line 98:
Line 99: WriteLiteral(" rel=\"stylesheet\"");
Line 100:
Line 101: WriteLiteral(" />\r\n <link");
Line 102:
Line 103: WriteLiteral(" rel=\"stylesheet\"");
Line 104:
Line 105: WriteLiteral(" href=\"/css/kendo/kendo.bootstrap.min.css\"");
Line 106:
Line 107: WriteLiteral(" />\r\n <link");
Line 108:
Line 109: WriteLiteral(" href=\"/css/kendo/kendo.bootstrap.mobile.min.css\"");
Line 110:
Line 111: WriteLiteral(" rel=\"stylesheet\"");
Line 112:
Line 113: WriteLiteral(" />\r\n <link");
Line 114:
Line 115: WriteLiteral(" href=\"/js/NS/css/ns-default.css\"");
Line 116:
Line 117: WriteLiteral(" rel=\"stylesheet\"");
Line 118:
Line 119: WriteLiteral(" />\r\n <link");
Line 120:
Line 121: WriteLiteral(" href=\"/js/NS/css/ns-style-bar.css\"");
Line 122:
Line 123: WriteLiteral(" rel=\"stylesheet\"");
Line 124:
Line 125: WriteLiteral(" />\r\n <link");
Line 126:
Line 127: WriteLiteral(" href=\"/css/contact.css\"");
Line 128:
Line 129: WriteLiteral(" rel=\"stylesheet\"");
Line 130:
Line 131: WriteLiteral(" />\r\n");
Line 132:
Line 133: });
Line 134:
Line 135: WriteLiteral("\r\n");
Line 136:
Line 137: DefineSection("js", () => {
Line 138:
Line 139: WriteLiteral("\r\n <script");
Line 140:
Line 141: WriteLiteral(" src=\"https://bobaweb.com/CDN-development/dist/js/jquery-migrate-1.4.1.min.js\"");
Line 142:
Line 143: WriteLiteral("></script>\r\n <script");
Line 144:
Line 145: WriteLiteral(" src=\"https://bobaweb.com/CDN-development/dist/js/kendo/kendo.all.min.js\"");
Line 146:
Line 147: WriteLiteral("></script>\r\n <script");
Line 148:
Line 149: WriteLiteral(" src=\"https://bobaweb.com/CDN-development/dist/js/loading/loadingoverlay.min.js\"");
Line 150:
Line 151: WriteLiteral("></script>\r\n <script");
Line 152:
Line 153: WriteLiteral(" src=\"https://bobaweb.com/CDN-development/dist/js/jquery.validate.min.js\"");
Line 154:
Line 155: WriteLiteral("></script>\r\n <script");
Line 156:
Line 157: WriteLiteral(" src=\"https://bobaweb.com/CDN-development/dist/js/jquery.validate.unobtrusive.min" +
Line 158: ".js\"");
Line 159:
Line 160: WriteLiteral("></script>\r\n <script");
Line 161:
Line 162: WriteLiteral(" src=\"https://bobaweb.com/CDN-development/dist/js/jquery.unobtrusive-ajax.min.js\"" +
Line 163: "");
Line 164:
Line 165: WriteLiteral("></script>\r\n ");
Line 166:
Line 167: WriteLiteral("\r\n <script");
Line 168:
Line 169: WriteLiteral(" src=\"/js/NS/js/classie.js\"");
Line 170:
Line 171: WriteLiteral("></script>\r\n <script");
Line 172:
Line 173: WriteLiteral(" src=\"/js/NS/js/modernizr.custom.js\"");
Line 174:
Line 175: WriteLiteral("></script>\r\n <script");
Line 176:
Line 177: WriteLiteral(" src=\"/js/NS/js/notificationFx.js\"");
Line 178:
Line 179: WriteLiteral("></script>\r\n <script>\r\n\r\n function ViewSuccess(data) {\r\n $(\'" +
Line 180: ".contact-submit\').text(\'Submit\');\r\n $.LoadingOverlay(\"hide\");\r\n\r\n " +
Line 181: " if (data[\"success\"] != undefined) {\r\n Notifsuccess(\"We\'ve" +
Line 182: " received your message\");\r\n //popIt(\"notification\", data[\"success" +
Line 183: "\"]);\r\n }\r\n }\r\n\r\n function ViewError(data) {\r\n " +
Line 184: " $(\'.contact-submit\').text(\'Submit\');\r\n $.LoadingOverlay(\"hide\");\r\n\r" +
Line 185: "\n if (data[\"error\"] != undefined) {\r\n //popIt(\"error\"," +
Line 186: " data[\"error\"]);\r\n Notifzonk(\"Message submit error\")\r\n " +
Line 187: " }\r\n }\r\n\r\n function ViewBegin() {\r\n\r\n $.LoadingOverlay(" +
Line 188: "\"show\", {\r\n minSize: \"20px\",\r\n maxSize: \"30px\",\r\n " +
Line 189: " image: \"\",\r\n fontawesome: \"fa fa-spinner fa-spin\"\r" +
Line 190: "\n });\r\n }\r\n\r\n function popIt(notif, value) {\r\n " +
Line 191: " var alertThis = $(\"#popupNotification\").kendoNotification().data(\"kendoNotifi" +
Line 192: "cation\");\r\n if (notif == \"notification\") {\r\n\r\n alertTh" +
Line 193: "is.show(kendo.toString(value), \"info\");\r\n } else if (notif == \"alert\"" +
Line 194: ") {\r\n alertThis.show(kendo.toString(value), \"error\");\r\n " +
Line 195: " }\r\n }\r\n\r\n function Notifsuccess(text) {\r\n setTimeout(" +
Line 196: "function () {\r\n\r\n\r\n // create the notification\r\n v" +
Line 197: "ar notification = new NotificationFx({\r\n message: \'<span clas" +
Line 198: "s=\"fa fa-thumbs-o-up\"></span><p>\' + text + \'</p>\',\r\n layout: " +
Line 199: "\'bar\',\r\n effect: \'slidetop\',\r\n type: \'noti" +
Line 200: "ce\', // notice, warning or error\r\n ttl: 5000\r\n " +
Line 201: " });\r\n\r\n notification.show();\r\n\r\n }, 1200);\r\n }" +
Line 202: ";\r\n\r\n\r\n function Notifzonk(text) {\r\n setTimeout(function () {\r" +
Line 203: "\n\r\n\r\n // create the notification\r\n var notificatio" +
Line 204: "n = new NotificationFx({\r\n message: \'<span class=\"fa fa-excla" +
Line 205: "mation\"></span><p>\' + text + \'</p>\',\r\n layout: \'bar\',\r\n " +
Line 206: " effect: \'slidetop\',\r\n type: \'error\', // notice," +
Line 207: " warning or error\r\n ttl: 5000\r\n });\r\n\r\n " +
Line 208: " notification.show();\r\n\r\n }, 1200);\r\n };\r\n\r\n\r\n </sc" +
Line 209: "ript>\r\n");
Line 210:
Line 211: });
Line 212:
Line 213: WriteLiteral("\r\n");
Line 214:
Line 215:
Line 216: #line 117 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 217:
Line 218: var home = CurrentPage.AncestorOrSelf("home");
Line 219:
Line 220: var HomePage = new DynamicNode(Global.HomeID);
Line 221:
Line 222: var ContactUs = new DynamicNode(CurrentPage.Id);
Line 223:
Line 224: string[] bannerList = HomePage.HasValue("banner") ? home.banner.Split(',') : new string[0];
Line 225:
Line 226: var imgUrl = string.Empty;
Line 227: try
Line 228: {
Line 229: imgUrl = CurrentPage.HasValue("bgImage") ? UIFormat.GetURLImage(int.Parse(CurrentPage.bgImage)) : string.Empty;
Line 230: }
Line 231: catch (Exception ex)
Line 232: {
Line 233:
Line 234: }
Line 235:
Line 236:
Line 237: #line default
Line 238: #line hidden
Line 239: WriteLiteral("\r\n\r\n<div>\r\n <div");
Line 240:
Line 241: WriteLiteral(" class=\"bw-product-categories\"");
Line 242:
Line 243: WriteLiteral(">\r\n <div");
Line 244:
Line 245: WriteLiteral(" class=\"content-container\"");
Line 246:
Line 247: WriteLiteral(">\r\n <div");
Line 248:
Line 249: WriteLiteral(" class=\"bw-product-breadcrumb\"");
Line 250:
Line 251: WriteLiteral(">\r\n <span><a");
Line 252:
Line 253: WriteAttribute("href", Tuple.Create(" href=\"", 4685), Tuple.Create("\"", 4705)
Line 254:
Line 255: #line 141 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 256: , Tuple.Create(Tuple.Create("", 4692), Tuple.Create<System.Object, System.Int32>(HomePage.Url
Line 257:
Line 258: #line default
Line 259: #line hidden
Line 260: , 4692), false)
Line 261: );
Line 262:
Line 263: WriteLiteral(">Home</a></span> / <span>Contact Us</span>\r\n </div>\r\n </div>\r\n " +
Line 264: " </div>\r\n <div");
Line 265:
Line 266: WriteLiteral(" class=\"contact-main-bg\"");
Line 267:
Line 268: WriteAttribute("style", Tuple.Create(" style=\"", 4830), Tuple.Create("\"", 4862)
Line 269: , Tuple.Create(Tuple.Create("", 4838), Tuple.Create("background:", 4838), true)
Line 270: , Tuple.Create(Tuple.Create(" ", 4849), Tuple.Create("url(", 4850), true)
Line 271:
Line 272: #line 145 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 273: , Tuple.Create(Tuple.Create("", 4854), Tuple.Create<System.Object, System.Int32>(imgUrl
Line 274:
Line 275: #line default
Line 276: #line hidden
Line 277: , 4854), false)
Line 278: , Tuple.Create(Tuple.Create("", 4861), Tuple.Create(")", 4861), true)
Line 279: );
Line 280:
Line 281: WriteLiteral(">\r\n <div");
Line 282:
Line 283: WriteLiteral(" class=\"content-container\"");
Line 284:
Line 285: WriteLiteral(">\r\n <h4>");
Line 286:
Line 287:
Line 288: #line 147 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 289: Write(ContactUs.GetPropertyValue("headTitle"));
Line 290:
Line 291:
Line 292: #line default
Line 293: #line hidden
Line 294: WriteLiteral("</h4>\r\n </div>\r\n </div>\r\n <div");
Line 295:
Line 296: WriteLiteral(" class=\"contact-content\"");
Line 297:
Line 298: WriteLiteral(">\r\n <div");
Line 299:
Line 300: WriteLiteral(" class=\"content-container\"");
Line 301:
Line 302: WriteLiteral(">\r\n <div");
Line 303:
Line 304: WriteLiteral(" class=\"row\"");
Line 305:
Line 306: WriteLiteral(">\r\n <div");
Line 307:
Line 308: WriteLiteral(" class=\"col-md-7 col-12\"");
Line 309:
Line 310: WriteLiteral(">\r\n <div");
Line 311:
Line 312: WriteLiteral(" class=\"contact-left\"");
Line 313:
Line 314: WriteLiteral(">\r\n <h3>Ask Anything</h3>\r\n <div");
Line 315:
Line 316: WriteLiteral(" class=\"contact-desc\"");
Line 317:
Line 318: WriteLiteral(">\r\n <p>");
Line 319:
Line 320:
Line 321: #line 157 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 322: Write(Html.Raw(CurrentPage.GetPropertyValue("content")));
Line 323:
Line 324:
Line 325: #line default
Line 326: #line hidden
Line 327: WriteLiteral("</p>\r\n </div>\r\n </div>\r\n " +
Line 328: " </div>\r\n <div");
Line 329:
Line 330: WriteLiteral(" class=\"col-md-5 col-12\"");
Line 331:
Line 332: WriteLiteral(">\r\n");
Line 333:
Line 334: WriteLiteral(" ");
Line 335:
Line 336:
Line 337: #line 162 "C:\inetpub\Sites\Website\2020\ponytaleshop.com\Views\ContactUs.cshtml"
Line 338: Write(Html.Partial("ContactView", new BobaWeb.Models.ContactSimpleModel()));
Line 339:
Line 340:
Line 341: #line default
Line 342: #line hidden
Line 343: WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r" +
Line 344: "\n\r\n\r\n");
Line 345:
Line 346: }
Line 347: }
Line 348: }
Line 349:
|