1$(document).ready(function () { 2 3 4 $.validator.addMethod("alphanumericspace", function (e, t) { return this.optional(t) || /^[A-Za-z0-9-_]+( [A-Za-z0-9-_]+)*$/i.test(e) }, "Should allowed Numbers, Letters, hyphen, underscore, space between word"), $.validator.addMethod("minStrict", function (e, t, r) { return e > r }, "Please enter 500 or above 500 SMS"), $.validator.addMethod("regexpcol", function (e, t, r) { return this.optional(t) || !/['"]/.test(e) }, "Single quotes and double quotes not allowed"), jQuery.validator.addMethod("myEmail", function (e, t) { return this.optional(t) || /^[a-z0-9]+([-._][a-z0-9]+)*@([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,4}$/.test(e) && /^(?=.{1,64}@.{4,64}$)(?=.{6,100}$).*/.test(e) }, "Please enter valid email address."), $.ajaxSetup({ headers: { csrftoken: "{{ csrf_token() }}" } }), $("#sms-form-save1").validate({ rules: { noofsms: { required: !0, minStrict: 499, number: !0 }, smstype: { required: !0 }, subcription: { required: !0 } }, messages: { noofsms: { required: "Please Enter No of SMS" }, smstype: { required: "Please select sms type" }, subcription: { required: "Please select subcription" } }, tooltip_options: { noofsms: { placement: "bottom", html: !0 }, smstype: { placement: "bottom", html: !0 }, subcription: { placement: "bottom", html: !0 } } }), $("#save").on("click", function () { if ($("#sms-form-save1").valid()) { $(".price-form-sms01").hide(), $(".price-form-sms-mail").show(); var e = $("#noofsms").val(), t = $("#smstype").val(), r = $("#couponText").val(), s = $("#subcription").val(), a = ($("#totalsms").html($("#noofsms").val()), $("#acttype").html($("#smstype").val()), $("#noofmonths").html($("#subcription").val()), baseurl + "smsequiry.php?noofsms=" + e + "&smstype=" + t + "&subcription=" + s + "&couponCode=" + r + "&method_s
4ave=save"); $.ajax({ type: "GET", url: a, async: !0, dataType: "json", success: function (e) { $("#userid").val(e[0].id) }, error: function (e) { } }) } else $(".price-form-sms01").show() }); var e = 1; $(".resendotp").click(function () { if (3 >= e) { e++; var t = $("#name").val(), r = $("#email").val(), s = $("#mobile").val(), a = $("#userid").val(), o = baseurl + "smsequiry.php?email=" + r + "&mobile=" + s + "&name=" + t + "&userid=" + a + "&resendotp"; $.ajax({ type: "GET", url: o, async: !0, dataType: "json", success: function (e) { if (e.resend) { $(".emsg").html("OTP Sent to Register Email & Mobile"); var t = baseurl + "sendemail.php?sendotp=sendotp&pid=" + a; $.ajax({ type: "GET", url: t, async: !0, dataType: "json", success: function (e) { } }) } }, error: function (e) { } }) } $(".emsg").html("You have exceeded no of attempts !.. "), $(".emsg").css("color", "red") }), $("#sms-form-save2").validate({ rules: { name: { required: !0, minlength: 5, maxlength: 25, alphanumericspace: !0 }, mobile: { required: !0, minlength: 10, maxlength: 10, number: !0 }, email: { required: !0, maxlength: 50, myEmail: !0 } }, messages: { name: { required: "Please Enter UserName", minlength: "username must be at least 5 characters long" }, mobile: { required: "Please Enter Mobile Number", minlength: "Please Enter 10 Digit Mobile Number", maxlength: "Please Enter 10 Digit Mobile Number", number: "Please Enter Numbers Only" }, email: { required: "Please Enter Email", email: "Please Enter Valid Email" } }, tooltip_options: { name: { placement: "bottom", html: !0 }, mobile: { placement: "bottom", html: !0 }, email: { placement: "bottom", html: !0 } } }), $("#save2").click(function () { if ($("#sms-form-save2").valid()) { $("#smsotp").show(), $("#sms-form-save2").hide(); var e = $("#name").val(), t = $("#email").val(), r = $("#couponText").val(), s = $("#mobile").val(), a = $("#userid").val(), o = baseurl + "smsequiry.php?username=" + e + "&email=" + t + "&mobile=" + s + "&userid=" + a + "&couponCode=" + r + "&save2"; $.ajax({ type: "GET", url: o, async: !0, dataType: "json", success: function (e) { if (200 == e.status) { $(".price-form-sms-mail").hide(), $(".price-form-smsotp").show(), alert("OTP Sent to Register Email & Mobile"); var t = baseurl + "sendemail.php?sendotp=sendotp&pid=" + a; $.ajax({ type: "GET", url: t, async: !0, dataType: "json", success: function (e) { } }) } else 201 == e.status && $("#couponError").text("You already used this coupon...").css("color", "red") }, error: function (e) { } }) } else $("#sms-form-save2").show() }), $("#save3").click(function () { var e = $("#otpverify").val(); if ("" != e) { var t = $("#userid").val(), r = baseurl + "smsequiry.php?otpverify=" + e + "&userid=" + t + "&save3"; $.ajax({ type: "GET", url: r, async: !0, dataType: "json", success: function (e) { if (1 == e.verifystatus) { var r = baseurl + "sendemail.php?sendemail=sendemail&type=sms&userid=" + t; $.ajax({ type: "GET", url: r, async: !0, dataType: "json", success: function (e) { } }), $("#smsotp").hide(), $("#smsthanku").show() } else 0 == e.verifystatus ? ($(".emsg").html("Invalid OTP"), $(".emsg").css("color", "red")) : 2 == e.verifystatus && $(".emsg").html("3 min over please send again your otp code") }, error: function (e) { } }) } }), $(".price-form-longcode01").validate({ rules: { longcodetype: { required: !0 }, noofkeywords: { required: !0, number: !0 }, replaytype: { required: !0 }, subscription: { required: !0 } }, messages: { longcodetype: { required: "Please Select Loncode type" }, noofkeywords: { required: "Please enter noofkeywords/longcodes" }, replaytype: { required: "Please select replay type" }, subscription: { required: "Please select subcription" } }, tooltip_options: { longcodetype: { placement: "bottom", html: !0 }, noofkeywords: { placement: "bottom", html: !0 }, replaytype: { placement: "bottom", html: !0 }, subscription: { placement: "bottom", html: !0 } } }), $("#longselectbtn").click(function () { if ($(".price-form-longcode01").valid()) { $(".price-form-longcode01").hide(), $(".price-form-longcode-mail").show(); var e = $("#longcodetype").val(), t = $("#noofkeywords").val(), r = $("#longcodesubscription").val(), s = $("#replaytype").val(); $("#longcodeacttype").html($("#longcodetype").val()), $("#totalkeywords").html($("#noofkeywords").val()), $("#noofmonthslongcode").html($("#longcodesubscription").val()), $("#replytype").html($("#replaytype").val()); var a = baseurl + "longcode.php?noofkeywords=" + t + "&servicetype=" + e + "&subscription=" + r + "&replaytype=" + s + "&method_s
4ave=save"; $.ajax({ type: "GET", url: a, async: !0, dataType: "json", success: function (e) { $("#longuserid").val(e[0].id) }, error: function () { } }) } else $(".price-form-longcode01").show() }), $("#resendotplongcode").click(function () { var e = $("#longusrname").val(), t = $("#longusremail").val(), r = $("#longusrmobile").val(), s = $("#longuserid").val(), a = baseurl + "longcode.php?email=" + t + "&mobile=" + r + "&name=" + e + "&userid=" + s + "&resendotp"; $.ajax({ type: "GET", url: a, async: !0, dataType: "json", success: function (e) { if (1 == e.resend) { $(".emsg").html("OTP Sent to Register Email & Mobile"); var t = baseurl + "sendemail.php?sendotp=sendotp&pid=" + s; $.ajax({ type: "GET", url: t, async: !0, dataType: "json", success: function (e) { } }) } }, error: function (e) { } }) }), $(".price-form-longcode-mail").validate({ rules: { name: { required: !0, minlength: 5, maxlength: 25, alphanumericspace: !0 }, phone: { required: !0, minlength: 10, maxlength: 10, number: !0 }, email: { required: !0, maxlength: 50, myEmail: !0 } }, messages: { name: { required: "Please Enter UserName", minlength: "username must be at least 5 characters long" }, phone: { required: "Please Enter Mobile Number", minlength: "Please Enter 10 Digit Mobile Number", maxlength: "Please Enter 10 Digit Mobile Number", number: "Please Enter Numbers Only" }, email: { required: "Please Enter Email", email: "Please Enter Valid Email" } }, tooltip_options: { name: { placement: "bottom", html: !0 }, phone: { placement: "bottom", html: !0 }, email: { placement: "bottom", html: !0 } } }), $("#longdetailbtn").click(function () { if ($(".price-form-longcode-mail").valid()) { var e = $("#longusrname").val(), t = $("#longusremail").val(), r = $("#longusrmobile").val(), s = $("#longuserid").val(); $(".price-form-longcode-mail").hide(), $(".price-form-longcodeotp").show(); var a = baseurl + "longcode.php?username=" + e + "&email=" + t + "&mobile=" + r + "&userid=" + s + "&save2"; $.ajax({ type: "GET", url: a, async: !0, dataType: "json", success: function (e) { alert("OTP Sent to Register Email & Mobile"); var t = baseurl + "sendemail.php?sendotp=sendotp&pid=" + s; $.ajax({ type: "GET", url: t, async: !0, dataType: "json", success: function (e) { } }) }, error: function (e) { } }) } else $(".price-form-longcode-mail").show() }), $("#longotpbtn").click(function () { var e = $("#otpsendlongcode").val(); if ("" != e) { var t = $("#longuserid").val(), r = baseurl + "longcode.php?otpverify=" + e + "&userid=" + t + "&save3"; $.ajax({ type: "GET", url: r, async: !0, dataType: "json", success: function (e) { if (1 == e.verifystatus) { $(".price-form-longcodeotp").hide(), $(".price-longcode-thanks-message").show(); var r = baseurl + "sendemail.php?sendemail=sendemail&type=longcode&userid=" + t; $.ajax({ type: "GET", url: r, async: !0, dataType: "json", success: function (e) { } }) } else if (0 == e.verifystatus) $(".emsg").html("Invalid OTP"), $(".emsg").css("color", "red"); else { if (2 != e.verifystatus) return !1; $(".emsg").html("3 min over please send again your otp code") } }, error: function (e) { } }) } }), $(".price-form-shorturl01").validate({ rules: { shorturl: { required: !0, number: !0, maxlength: 12 }, shortreplay: { required: !0 }, shortsubcription: { required: !0 } }, messages: { shorturl: { required: "Please Enter shorturl" }, shortreplay: { required: "Please select replay type" }, shortsubcription: { required: "Please select subcription" } }, tooltip_options: { shorturl: { placement: "bottom", html: !0 }, shortreplay: { placement: "bottom", html: !0 }, shortsubcription: { placement: "bottom", html: !0 } } }), $("#shortsave").click(function () { if ($(".price-form-shorturl01").valid()) { $(".price-form-shorturl01").hide(), $(".price-form-shorturl-mail").show(), $(".price-form-shorturl01").hide(), $(".price-form-shorturl-mail").show(); var e = $("#shorturl").val(), t = $("#shortreplay").val(), r = $("#shortsubcription").val(); $("#shorturlnos").html($("#shorturl").val()), $("#shorturlreplay").html($("#shortreplay").val()), $("#monthsnos").html($("#shortsubcription").val()); var s = baseurl + "shorturlenquiry.php?noofshorturl=" + e + "&shortreplay="
4+ t + "&shortsubcription=" + r + "&method_save=save"; $.ajax({ type: "GET", url: s, async: !0, dataType: "json", success: function (e) { $("#shorturluserid").val(e[0].id) }, error: function (e) { } }) } else $(".price-shorturl-section02").show(), $(".price-shorturl-section03").hide() }), $(".price-form-shorturl-mail").validate({ rules: { shortlusrname: { required: !0, minlength: 5, maxlength: 25, alphanumericspace: !0 }, shorturlmobile: { required: !0, minlength: 10, maxlength: 10, number: !0 }, shortusremail: { required: !0, maxlength: 50, myEmail: !0 } }, messages: { shortlusrname: { required: "Please Enter UserName", minlength: "username must be at least 5 characters long" }, shorturlmobile: { required: "Please Enter Mobile Number", minlength: "Please Enter 10 Digit Mobile Number", maxlength: "Please Enter 10 Digit Mobile Number", number: "Please Enter Numbers Only" }, shortusremail: { required: "Please Enter Email", email: "Please Enter Valid Email" } }, tooltip_options: { shortlusrname: { placement: "bottom", html: !0 }, shorturlmobile: { placement: "bottom", html: !0 }, shortusremail: { placement: "bottom", html: !0 } } }), $("#shorturlsave2").click(function () { if ($(".price-form-shorturl-mail").valid()) { $(".price-form-shorturl-mail").hide(), $("#shortotp").show(), $(".price-form-shorturl-mail").hide(), $("#shortotp").show(); var e = $("#shortlusrname").val(), t = $("#shortusremail").val(), r = $("#shorturlmobile").val(), s = $("#shorturluserid").val(), a = baseurl + "shorturlenquiry.php?username=" + e + "&email=" + t + "&mobile=" + r + "&userid=" + s + "&save2"; $.ajax({ type: "GET", url: a, async: !0, dataType: "json", success: function (e) { alert("OTP Sent to Register Email & Mobile"); var t = baseurl + "sendemail.php?sendotp=sendotp&pid=" + s; $.ajax({ type: "GET", url: t, async: !0, dataType: "json", success: function (e) { } }) }, error: function (e) { } }) } else $(".price-shorturl-section03").show(), $(".price-form-shortotp").hide() }), $("#shorturlsave3").click(function () { var e = $("#shorturlotpverify").val(); if ("" != e) { var t = $("#shorturluserid").val(), r = baseurl + "shorturlenquiry.php?otpverify=" + e + "&userid=" + t + "&save3"; console.log(r), $.ajax({ type: "GET", url: r, async: !0, dataType: "json", success: function (e) { if (console.log(e), 1 == e.verifystatus) { $("#shortotp").hide(), $("#shortthanku").show(); var r = baseurl + "sendemail.php?sendemail=sendemail&type=shorturl&userid=" + t; $.ajax({ type: "GET", url: r, async: !0, dataType: "json", success: function (e) { } }) } else 0 == e.verifystatus ? ($(".emsg").html("Invalid OTP"), $(".emsg").css("color", "red")) : 2 == e.verifystatus && $(".emsg").html("3 min over please send again your otp code") }, error: function (e) { } }) } }), $("#resendotpshorturl").click(function () { var e = $("#shortlusrname").val(), t = $("#shortusremail").val(), r = $("#shorturlmobile").val(), s = $("#shorturluserid").val(), a = baseurl + "shorturlenquiry.php?email=" + t + "&mobile=" + r + "&name=" + e + "&userid=" + s + "&resendotp"; $.ajax({ type: "GET", url: a, async: !0, dataType: "json", success: function (e) { if (e.resend) { $(".emsg").html("OTP Sent to Register Email & Mobile"); var t = baseurl + "sendemail.php?sendotp=sendotp&pid=" + s; $.ajax({ type: "GET", url: t, async: !0, dataType: "json", success: function (e) { } }) } }, error: function (e) { } }) }), $(".shorturllinkdiv").validate({ rules: { short_input: { required: !0 }, entercaptchacode: { required: !0, equalTo: "#txtCaptcha", minlength: 5, maxlength: 10 } }, messages: { short_input: { required: "Please Enter URL" }, entercaptchacode: { required: "Please Enter Captcha Code", equalTo: "Please Enter valid Captcha Code", minlength: "Please Enter 10 Digit Captcha Code", maxlength: "Please Enter 10 Digit Captcha Code" } }, tooltip_options: { short_input: { placement: "bottom", html: !0 }, entercaptchacode: { placement: "bottom", html: !0 } } }), $("#shorturlgenerate").click(function () { if ($(".shorturllinkdiv").valid()) { $(".copybtn-div").show(); var e = "http://ion.bz/", t = $.trim($(".short_input").val()), r = ($("#shorturluserid").val(), $("#entercaptchacode").val()), s = $("#txtCaptcha").val(); if ($(".short_input").val().match(/http:\/\//) || $(".short_input").val().match(/https?:\/\//) || $(".short_input").val().match(/www./)) if (r == s) { $(".shorturllinkdemodiv").show(), $("#captchamatched").hide(); var a = e + "smsnewui_api.php?get_shorturl=success&user_url=" + t; $.ajax({ url: a, type: "POST", dataType: "JSON", success: function (t) { $("#operatingsystem").html(t.operatingsystem), $("#date").html(t.date), $("#browserdetail").html(t.browserdetail), $("#devicetype").html(t.devicetype), $("#buidby").html(t.build_by), $("#city").html(t.city), $("#shortlinkgen").html(e + t.short_code + "\n") }, error: function () { } }) } else DrawCaptcha(), $("#shorurlcaptcha").html("Invalid Captcha Code!.."), $(".shortcaptchacolor").css("color", "red");
4 else DrawCaptcha(), $("#invalidurl").html("Invalid URL"), $("#invalidurl").css("color", "red") } else $(".shorturllinkdemodiv").hide() }), $("#enquirySubmit").click(function () { var e = $("#firstName").val(), t = $("#lastName").val(), r = $("#mobileNum").val(), s = $("#emailAdd").val(), a = $("#enquiryMsg").val(), o = $("#orgName").val(), l = e + " " + t, n = baseurl + "contact_form.php"; "" != e.length && "" != s.length && "" != r.length && "" != a.length && $.ajax({ method: "POST", url: n, data: { personname: l, personphone: r, personemail: s, personmessage: a, personOrg: o, contactsave: "contactsave" }, success: function (e) { var t = encodeURIComponent(e.contact_id); window.location.href = baseurl + "thank-you.html" }, error: function () { } }) }), $(".validation-contact").validate({ rules: { name: { required: !0, minlength: 5, maxlength: 25, alphanumericspace: !0 }, phone: { required: !0, minlength: 10, maxlength: 10, number: !0 }, email: { required: !0, maxlength: 50, myEmail: !0 }, message: { required: !0, regexpcol: !0 } }, messages: { name: { required: "Please Enter Name" }, phone: { required: "Please Enter Phone Number", minlength: "Please Enter 10 Digit Phone Number", maxlength: "Please Enter 10 Digit Phone Number", number: "Please Enter Numbers Only" }, email: { required: "Please Enter Email", email: "Please Enter Valid Email" }, message: { required: "Please Enter Message" } }, tooltip_options: { name: { placement: "bottom", html: !0 }, phone: { placement: "bottom", html: !0 }, email: { placement: "bottom", html: !0 }, message: { placement: "bottom", html: !0 } } }), $("#contactsave").click(function () { if ($(".validation-contact").valid()) { var e = $("#personname").val(), t = $("#personphone").val(), r = $("#personemail").val(), s = $("#personmessage").val(), a = $("#personOrg").val(), o = baseurl + "contact_form.php"; return $.ajax({ method: "POST", url: o, data: { personname: e, personphone: t, personemail: r, personmessage: s, personOrg: a, contactsave: "contactsave" }, success: function (e) { var t = encodeURIComponent(e.contact_id); window.location.href = baseurl + "thank-you.html"}, error: function () { } }), !1 } }), $("#pContact").click(function () { var e = $("#pName").val(), t = $("#pPhone").val(), r = $("#pEmail").val(), s = $("#pMessage").val(), a = $("#pOrg").val(), o = baseurl + "contact_form.php"; "" != e.length && "" != t.length && "" != r.length && "" != s.length && $.ajax({ method: "POST", url: o, data: { personname: e, personphone: t, personemail: r, personmessage: s, personOrg: a, contactsave: "contactsave" }, success: function (e) { var t = encodeURIComponent(e.contact_id); window.location = baseurl + "thank-you.html"}, error: function () { } }) }), $("#cartremove").click(function () { var e = $("#productid").val(), t = baseurl + "index.php/products/removeCart"; $.ajax({ method: "POST", url: t, data: { pid: e, del: "del" }, success: function (e) { alert("successfully deleted") }, error: function () { } }) }) });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.