Line 1: #pragma checksum "c:\inetpub\wwwroot\book.netofun.co.il\Views\login\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F1E813286FE82ABA1E61B8FB6C9A35DE5A0EC5C7"
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 DotNetOpenAuth.AspNet;
Line 28: using WebMatrix.WebData;
Line 29: using Microsoft.Web.WebPages.OAuth;
Line 30: using WebMatrix.Data;
Line 31:
Line 32:
Line 33: public class _Page_Views_login_Index_cshtml : System.Web.Mvc.WebViewPage<dynamic> {
Line 34:
Line 35: #line hidden
Line 36:
Line 37: public _Page_Views_login_Index_cshtml() {
Line 38: }
Line 39:
Line 40: protected ASP.global_asax ApplicationInstance {
Line 41: get {
Line 42: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 43: }
Line 44: }
Line 45:
Line 46: public override void Execute() {
Line 47:
Line 48: #line 1 "c:\inetpub\wwwroot\book.netofun.co.il\Views\login\Index.cshtml"
Line 49:
Line 50: ViewBag.Title = "חבילות נופש, דילים וטיסות לצעירים ";
Line 51: Layout = "~/Views/Shared/_LayoutB2C.cshtml";
Line 52:
Line 53: List<DMH.Core.Models.Deal> deal = BookNetoFun.Models.SiteGlobalData.GetHotelDealList();
Line 54:
Line 55:
Line 56: #line default
Line 57: #line hidden
Line 58: WriteLiteral("\r\n\r\n\r\n<script");
Line 59:
Line 60: WriteLiteral(" type=\"text/javascript\"");
Line 61:
Line 62: WriteLiteral(@">
Line 63:
Line 64: var step = 1;
Line 65: $(document).ready(function () {
Line 66: $("".step1"").show();
Line 67: $("".step2"").hide();
Line 68:
Line 69: $("".verifyUser"").click(function (e) {
Line 70: e.preventDefault();
Line 71: if (step == 1) {
Line 72: VerifyUser();
Line 73: } else {
Line 74: VerifyCode();
Line 75: }
Line 76: });
Line 77: })
Line 78:
Line 79: function VerifyUser() {
Line 80: $('#preloader').delay(350).fadeIn('slow');
Line 81: if ($(""#tz"").val().length >= 5 ) {
Line 82: $.ajax({
Line 83: url: '");
Line 84:
Line 85:
Line 86: #line 30 "c:\inetpub\wwwroot\book.netofun.co.il\Views\login\Index.cshtml"
Line 87: Write(Url.Action("VerifyUser", "login"));
Line 88:
Line 89:
Line 90: #line default
Line 91: #line hidden
Line 92: WriteLiteral(@"',
Line 93: type: 'POST',
Line 94: data: { tz: $(""#tz"").val(), mobile: $(""#mobile"").val() },
Line 95: cache: false,
Line 96: success: function (data) {
Line 97: if (data[""Success""] == ""OK"") {
Line 98: document.location ='");
Line 99:
Line 100:
Line 101: #line 36 "c:\inetpub\wwwroot\book.netofun.co.il\Views\login\Index.cshtml"
Line 102: Write(Url.Action("", "home"));
Line 103:
Line 104:
Line 105: #line default
Line 106: #line hidden
Line 107: WriteLiteral(@"'
Line 108: //$("".step2"").show(800);
Line 109: //$("".step1"").hide(400);
Line 110: //step = 2;
Line 111: } else {
Line 112: alert(""לא נמצא חבר אירגון "");
Line 113: }
Line 114:
Line 115:
Line 116: $('#preloader').delay(350).fadeOut('slow');
Line 117: },
Line 118: error: function (e) {
Line 119: alert(""המערכת לא הצליחה לאתר את מספר ת.ז."")
Line 120: $('#preloader').delay(350).fadeOut('slow');
Line 121: }
Line 122:
Line 123: });
Line 124: } else {
Line 125: alert(""יש למלא תעודת זהות וטלפון תקינים"")
Line 126: }
Line 127: }
Line 128: function VerifyCode() {
Line 129: $('#preloader').delay(350).fadeIn('slow');
Line 130: if ($(""#tz"").val().length >= 5 && $(""#mobile"").val().length > 9){
Line 131: $.ajax({
Line 132: url: '");
Line 133:
Line 134:
Line 135: #line 61 "c:\inetpub\wwwroot\book.netofun.co.il\Views\login\Index.cshtml"
Line 136: Write(Url.Action("VerifyCode", "login"));
Line 137:
Line 138:
Line 139: #line default
Line 140: #line hidden
Line 141: WriteLiteral(@"',
Line 142: type: 'POST',
Line 143: data: { code: $(""#code"").val(), mobile: $(""#mobile"").val() },
Line 144: cache: false,
Line 145: success: function (data) {
Line 146: if (data[""Success""] == ""OK"") {
Line 147: document.location ='");
Line 148:
Line 149:
Line 150: #line 67 "c:\inetpub\wwwroot\book.netofun.co.il\Views\login\Index.cshtml"
Line 151: Write(Url.Action("", "home"));
Line 152:
Line 153:
Line 154: #line default
Line 155: #line hidden
Line 156: WriteLiteral(@"'
Line 157: }
Line 158:
Line 159: $('#searchwModal').modal('hide');
Line 160: $('#preloader').delay(350).fadeOut('slow');
Line 161: },
Line 162: error: function (e) {
Line 163: $('#searchwModal').modal('hide');
Line 164: $('#preloader').delay(350).fadeOut('slow');
Line 165: }
Line 166:
Line 167: });
Line 168: } else {
Line 169: alert(""יש למלא תעודת זהות וטלפון תקינים"");
Line 170: }
Line 171: }
Line 172:
Line 173: </script>
Line 174:
Line 175: <main>
Line 176: <section");
Line 177:
Line 178: WriteLiteral(" id=\"hero\"");
Line 179:
Line 180: WriteLiteral(" class=\"login\"");
Line 181:
Line 182: WriteLiteral(">\r\n <div");
Line 183:
Line 184: WriteLiteral(" class=\"container\"");
Line 185:
Line 186: WriteLiteral(">\r\n <div");
Line 187:
Line 188: WriteLiteral(" class=\"row\"");
Line 189:
Line 190: WriteLiteral(">\r\n <div");
Line 191:
Line 192: WriteLiteral(" class=\"col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3\"");
Line 193:
Line 194: WriteLiteral(">\r\n <div");
Line 195:
Line 196: WriteLiteral(" id=\"login\"");
Line 197:
Line 198: WriteLiteral(">\r\n <div");
Line 199:
Line 200: WriteLiteral(" class=\"text-center\"");
Line 201:
Line 202: WriteLiteral("><img");
Line 203:
Line 204: WriteAttribute("src", Tuple.Create(" src=\"", 3192), Tuple.Create("\"", 3239)
Line 205:
Line 206: #line 92 "c:\inetpub\wwwroot\book.netofun.co.il\Views\login\Index.cshtml"
Line 207: , Tuple.Create(Tuple.Create("", 3198), Tuple.Create<System.Object, System.Int32>(Url.Content("~/images/netofun")
Line 208:
Line 209: #line default
Line 210: #line hidden
Line 211: , 3198), false)
Line 212: , Tuple.Create(Tuple.Create("", 3230), Tuple.Create("/logo.png", 3230), true)
Line 213: );
Line 214:
Line 215: WriteLiteral(" alt=\"נטופאן\"");
Line 216:
Line 217: WriteLiteral(" data-retina=\"true\"");
Line 218:
Line 219: WriteLiteral("></div>\r\n <hr>\r\n <form>\r\n\r\n " +
Line 220: " <div");
Line 221:
Line 222: WriteLiteral(" class=\"login-or\"");
Line 223:
Line 224: WriteLiteral("> </div>\r\n\r\n <div");
Line 225:
Line 226: WriteLiteral(" class=\"form-group step1\"");
Line 227:
Line 228: WriteLiteral(">\r\n <label>תעודת זהות</label>\r\n " +
Line 229: " <input");
Line 230:
Line 231: WriteLiteral(" id=\"tz\"");
Line 232:
Line 233: WriteLiteral(" name=\"tz\"");
Line 234:
Line 235: WriteLiteral(" class=\" form-control \"");
Line 236:
Line 237: WriteLiteral(" placeholder=\"תעודת זהות\"");
Line 238:
Line 239: WriteLiteral(" type=\"text\"");
Line 240:
Line 241: WriteLiteral(">\r\n </div>\r\n <div");
Line 242:
Line 243: WriteLiteral(" class=\"form-group step2\"");
Line 244:
Line 245: WriteLiteral(">\r\n <label>טלפון נייד</label>\r\n " +
Line 246: " <input");
Line 247:
Line 248: WriteLiteral(" id=\"mobile\"");
Line 249:
Line 250: WriteLiteral(" name=\"mobile\"");
Line 251:
Line 252: WriteLiteral(" class=\" form-control\"");
Line 253:
Line 254: WriteLiteral(" placeholder=\"טלפון נייד\"");
Line 255:
Line 256: WriteLiteral(" type=\"text\"");
Line 257:
Line 258: WriteLiteral(">\r\n </div>\r\n <div");
Line 259:
Line 260: WriteLiteral(" class=\"form-group step2\"");
Line 261:
Line 262: WriteLiteral(">\r\n <label> הקוד שנשלח לנייד</label>\r\n " +
Line 263: " <input");
Line 264:
Line 265: WriteLiteral(" id=\"code\"");
Line 266:
Line 267: WriteLiteral(" name=\"code\"");
Line 268:
Line 269: WriteLiteral(" class=\" form-control\"");
Line 270:
Line 271: WriteLiteral(" placeholder=\"קוד\"");
Line 272:
Line 273: WriteLiteral(" type=\"text\"");
Line 274:
Line 275: WriteLiteral(">\r\n </div>\r\n \r\n " +
Line 276: " <a");
Line 277:
Line 278: WriteLiteral(" href=\"#\"");
Line 279:
Line 280: WriteLiteral(" class=\"btn_full verifyUser\"");
Line 281:
Line 282: WriteLiteral(">שלח</a>\r\n \r\n </form>\r\n " +
Line 283: " </div>\r\n </div>\r\n </div>\r\n </div>\r\n" +
Line 284: " </section>\r\n</main>");
Line 285:
Line 286: }
Line 287: }
Line 288: }
Line 289:
|