1<!DOCTYPE html> 2<html lang="en"> 3 <head> 4 <meta charset="utf-8" /> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 7<meta name="viewport" content="width=device-width, initial-scale=1.0"> 8 <meta name="robots" content="index,follow" /> 9<link rel="shortcut icon" href=https://gst-contracts.s3.ap-southeast-1.amazonaws.com/uploads/bcc/cms/asset/avatar/252/fav_icon.jpg type="image/png"/> 10<link rel="canonical" href="agent-registration.html"> 11 <link href="https://fonts.googleapis.com/css?family=Cabin:400" rel="stylesheet"> 12 13 <link href="http://cms.ticketsimply.com/uploads/cms/style/2443/2443.css" media="all" data-turbolinks-track="true" rel="stylesheet"> 14 15 <link rel="stylesheet" href="cms_mp1_all-2eb8cb0dcc99b0be13f29c2989534b225db04f255d1bd8c49dfbfa44e0e80976.css" media="all" data-turbolinks-track="true" /> 16
16<script src="all-e6901cd1ecb973812ac8d60fa58d82424c4e7b7a15ff2c500976ed33bc6d7f8f.js" data-turbolinks-track="true"></script>
16 17 <style> 18section#slider_info { 19 display: none; 20} 21#testimonial4{ 22display:none; 23} 24.info-icon, .fa-book:before { 25 content: "\f145"; 26} 27#searchInfo, span.ant-form-item-children label{ 28color:#000 !important; 29} 30#searchInfo .ant-select-selection__placeholder{ 31 color:#000; 32} 33#searchInfo .ant-calendar-picker-input, #searchInfo .ant-select-selection-selected-value{ 34color:#000; 35} 36.silent_feature .title{ 37 display: block; 38} 39div#sailent-feature .row { 40 width: 50%; 41 float: left; 42} 43#quick-Book { 44 width:100%; 45 margin-top:20px; 46} 47.quick_book h3{ 48 font-size: 30px; 49 color:#0000ab; 50 text-transform: capitalize; 51} 52.quick_book h3::before{ 53 background: none; 54} 55#extra_16 { 56 height: 300px; 57 background: #fff; 58 width: 100%; 59 60} 61#sailent-feature { 62 width: 100%; 63} 64#sailent-feature, .silent_feature .title{ 65 text-align: left; 66 padding-bottom: 20px; 67 position: relative; 68 font-size: 30px; 69 /* text-align: center; */ 70 text-transform: capitalize; 71 color: #c20000; 72 font-weight: bold; 73 74} 75#sailent-feature, .silent_feature .title:before{ 76 background: none; 77} 78#infowidget{ 79 background:url('https://gst-contracts.s3.amazonaws.com/uploads/bcc/cms/asset/avatar/255/latest_bg.jpg') no-repeat top center; 80 height:315px; 81} 82.hover_div{ 83 display: none; 84} 85#sailent-feature{ 86 background:url('https://gst-contracts.s3.amazonaws.com/uploads/bcc/cms/asset/avatar/258/salient_feature.png') no-repeat top 1em center; 87 height:256px; 88} 89#infowidget, .margin50{ 90 margin:0px; 91 padding-top:38px; 92 padding-bottom: 30px; 93} 94#sailent-feature, .info-icon{ 95color:#ffdd00; 96text-align: center; 97font-size:80px; 98} 99#sailent-feature, .info-icon:hover{ 100 color:#fff; 101} 102#sailent-feature, .hover_div{ 103 box-shadow: 0px 0px 0px 0px #ddd; 104} 105.widget-container .ant-select-selection--single{ 106 border-bottom: 1px solid #000 !important; 107} 108#section_info, #latest_info{ 109 background: #0000ab; 110 position: relative; 111} 112#news-latest { 113 width: 100%; 114 height: 100px; 115 position: relative; 116 padding-left:12em; 117} 118#news-latest:before { 119 position: absolute; 120 content: ""; 121 background: url("https://gst-contracts.s3.amazonaws.com/uploads/bcc/cms/asset/avatar/13718/latest_icon12.png") no-repeat top left; 122 float:left; 123 left:1%; 124 width: 100%; 125 height: 200px; 126} 127#section_info, #latest_info.padding30{ 128 padding-top:35px; 129} 130#section_info, #testimonial4 { 131 background:#fff; 132} 133#section_info{ 134height: 475px; 135} 136.widget-container .ant-calendar-picker input{ 137 border-bottom: 1px solid #000 !important; 138} 139input.ant-calendar-picker-input.ant-input.ant-input::placeholder{ 140color:#000; 141} 142.widget-container button.ant-btn.ant-btn-primary{ 143 background: #000 !important; 144 border: 2px solid #000 !important; 145 font-weight: 600; 146 text-transform: uppercase; 147 color:#fff; 148} 149#latest_info h3{ 150color: #ffdd00; 151font-size: 30px; 152text-transform: capitalize; 153} 154ul.quickBook li, ul.quickBook li:before{ 155color:#000; 156} 157#latest_info h3:after{ 158 background: #cecfff; 159} 160.testimonial1 .media-body.media-middle{ 161color:#fff; 162} 163.testimonial1 .media{ 164border-right:none; 165margin:0; 166} 167section#amenities_sect { 168 display: none; 169} 170#banerInfo{ 171 background-color: #ffffff; 172 padding: 5px 0; 173 color: #000; 174 text-align: center; 175 border-bottom: 1px solid #000; 176} 177#banerInfo h1{ 178 color: #045aa9; 179 padding: 20px 0px !important; 180 border-radius: 30px; 181 background: #ffdd00 !important; 182 font-size: 37px; 183} 184.wrapper-footer .main-top-footer:before{ 185top:0px 186} 187#searchInfo .nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus { 188 background-color: #045aa9; 189} 190.wrapper-footer .main-top-footer .widget-title{ 191 color: #fff; 192 font-size: 22px; 193 text-transform: capitalize; 194} 195.wrapper-footer .main-top-footer .widget-title::after{ 196 background: #fff; 197} 198#searchInfo .nav-tabs>li>a{ 199 border-radius: 0px 0px 0 0; 200} 201#searchInfo, .nav-tabs{ 202border-bottom: 0px solid #ddd; 203} 204#searchInfo{ 205margin-top:0px; 206} 207#header .navbar-nav > li > a{ 208 color: #0706f7; 209} 210#searchInfo, .nav > li > a{ 211 padding:8px 0px; 212} 213#cssmenu > ul > li:hover > a, #cssmenu > ul > li.active > a{ 214 color: #0706f7; 215} 216#searchInfo .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus{ 217 background: none; 218 color:#000; 219} 220#footer{ 221 background: #0000ab; 222} 223.wrapper-footer .main-top-footer::before{ 224 border-left: 15px solid transparent; 225 border-right: 15px solid transparent; 226 border-bottom: 17px solid #0c48fe; 227} 228#myCarousel1 i, .widget_text i{ 229 color:#fff; 230} 231.right_footer a{ 232 color:#fff; 233} 234.hover_div:hover { 235 background: none; 236 box-shadow: 0px 0px 0px #ddd; 237 transform: scale(0.9); 238} 239#latest_info h3::after{ 240 background: none; 241} 242#searchInfo .input-group .form-control, #searchInfo .ant-calendar-picker-input{ 243 background: url("https://gst-contracts.s3.amazonaws.com/uploads/bcc/cms/asset/avatar/136/cal.png") no-repeat top left; 244 padding-left: 35px; 245} 246#searchInfo select.form-control, .ant-select{ 247 background: url("https://gst-contracts.s3.amazonaws.com/uploads/bcc/cms/asset/avatar/137/origin.png") no-repeat top left; 248} 249.search-widget .ant-select-selection__placeholder { 250 padding-left: 28px !important; 251 line-height: 18px; 252} 253.widget-container .ant-select-selection--single .ant-select-arrow{ 254 color:#000 !important; 255} 256#infoBar .list-group-horizontal .list-group-item{ 257 color:#fff; 258 border-right:0px solid #0101ff; 259} 260#cssmenu > ul > li.has-sub > a{ 261 display: none; 262} 263#header ul.nav.navbar-nav.navbar-right { 264 margin-top: 33px; 265} 266#sailent-feature, .info-title h3{ 267 color:#fff; 268} 269#sailent-feature, .info-title h3:hover{ 270 color:#fff; 271} 272.footer-info .contact-info li { 273 color: #fff; 274} 275.footer-info .contact-info a{ 276 color: #fff; 277} 278.footer-info, .wrapper-footer a{ 279 color:#fff; 280} 281.right_footer.text-center p{ 282 color:#fff; 283} 284#Swidget, .search-head, .tab-content{ 285background-color: #fff; 286} 287.search-head{ 288 border-bottom: 3px solid #fff; 289} 290.widget-container button.ant-btn.ant-btn-primary{ 291 background: #000 !important; 292 border: 2px solid #000 !important; 293} 294#latest_info .col-md-3{ 295 display: none; 296} 297.wrapper-footer .main-top-footer::before { 298 border-left: 15px solid transparent; 299 border-right: 15px solid transparent; 300 border-bottom: 17px solid #0000ab; 301} 302#extra_16 { 303 height: 260px; 304 background: #fff; 305 width: 100%; 306} 307.quick_book .routes_content { 308background: #fff; 309padding:0px; 310margin-top: 15px; 311color:#850004; 312} 313.quick_book .allroutes{ 314 column-count: 3; 315width: 100%; 316} 317.allroutes div a{ 318 color:#850004; 319 font-size: 19px; 320 text-align: center; 321} 322.allroutes{ 323column-gap: 17px !important; 324} 325.allroutes div{ 326 padding: 10px 10px 10px 10px; 327 background: #ffdd00; 328 border-radius: 20px; 329 margin-bottom: 22px; 330width:100%; 331} 332.allroutes div a::before{ 333 content: ""; 334} 335.allroutes div a:hover { 336 color: #0000ab; 337} 338#about-us { 339 font-size: 24px; 340 color: #4a4a4a; 341} 342#infoBar .fa-envelope:before { 343 content: "e-mail : "!important; 344 font-weight: bold !important; 345} 346#infoBar .fa-phone:before { 347 content: "Helpline : "!important; 348 font-weight: bold !important; 349} 350.offname { 351 font-size: 56px; 352 text-align: right; 353 width: 99%; 354color:#fff; 355} 356#baner .carousel-caption { 357 left: 58%; 358 right: 0%; 359 padding-bottom: 30px; 360 width: 34%; 361 top: 0%; 362} 363.carousel-caption .offname.animated.fadeIn { 364 position: absolute; 365 top: 50%;
366 left: 83%; 367 right: 0%; 368 transform: translate(-50%,-50%); 369} 370#header .navbar-brand.logo { 371 height: auto; 372 margin-top: -5px; 373 margin-bottom: 10px; 374} 375 376 377 378 379 380 381 382 383.nav-tabs>li { 384 float: left; 385 margin-bottom: -1px; 386 display: none; 387} 388.search-widget { 389 margin-bottom: 0px; 390} 391 392.owl-buttons { 393 display: none; 394} 395.testimonial1 .info { 396 background: url(/assets/cms_mp1/latest_news-b918de9â¦.png) no-repeat left center; 397 padding-left: 49px; 398 background-size: 40px; 399 height: 41px; 400 display: none; 401 margin-bottom: 5px; 402} 403#section_info .col-md-7{ 404float:none; 405} 406 407.offname { 408 font-size: 38px; 409 text-align: left; 410 width: 60%; 411 color: #fff; 412} 413#about-us{ 414max-height: 300px; 415} 416.allroutes { 417 height: 150px !important; 418} 419 420 421/* App icon css */ 422.app-booking { 423 color: #000; 424 font-family: 'Open Sans',sans-serif; 425 font-size: 16px; 426 427 line-height: 1.6em; 428 margin-top: -4px; 429 font-weight: bold; 430} 431.app-booking div { 432 float: left; 433} 434.app-booking .discount-div { 435 color: #fff; 436 font-size: 18px; 437 letter-spacing: 1px; 438 float: left; 439} 440 441.android-icon { 442 background: rgba(0,0,0,0) url(https://gst-contracts.s3.amazonaws.com/uploads/bcc/cms/asset/avatar/25365/google-play-store-png.png) no-repeat scroll right top; 443 width: 150px; 444 445 height: 40px; 446 447 border-radius: 0px; 448 margin-top: -32px; 449 position: relative; 450 right: 17px; 451 background-size: 118px; 452} 453.app-down{ 454display:none; 455} 456 457/*App booking CSS Ends*/ 458 459 460#auth_links { 461 display: block !important; 462} 463 464 465.bg_dwn { 466 background-image: url(https://gst-contracts.s3.ap-southeast-1.amazonaws.com/uploads/bcc/cms/asset/avatar/322762/Shree-SRM-Tours-_-Travels.png); 467 background-position: center; 468 background-repeat: no-repeat; 469 background-size: cover; 470 height: 385px; 471} 472.down_su { 473 font-family: Work Sans; 474 color: #fff; 475 font-size: 20px; 476 text-transform: capitalize; 477 padding-top: 60px; 478} 479.do_h { 480 font-family: Work Sans; 481 color: #fff; 482 font-size: 32px; 483 text-transform: uppercase; 484 font-weight: 700; 485} 486.do_desc { 487 font-family: Poppins; 488 line-height: 2; 489 width: 80%; 490 color: #fff; 491 font-size: 15px; 492} 493.icns_pl { 494 float: left; 495 margin: 10px; 496} 497</style> 498
498<script src="cms_common-9ee3f5065ea40cfb7c9cdc3552e5f8c69eb1c7b5265269a1a5edf97f4b1b0784.js"></script>
498 499
500<script type="text/javascript"> 501if (typeof window !== "undefined") { 502 window.global = window; 503 } 504 var MOBILE_REDIRECT_URL_OLD = "http://www.shreesrmbus.com/m/index.html"; 505 var MOBILE_REDIRECT_URL = window.location.origin + "/m/index.html"; 506 var is_tineyUrl = false; 507 is_tineyUrl = getParameterByName('is_tiny_url_booking', window.location.href); 508 if(is_tineyUrl == 'true'){ 509 MOBILE_REDIRECT_URL = window.location.origin + "/m/#/autofill-form" + window.location.search; 510 } 511 var TRAVEL_ID = 2443; 512 var CURRENCY = "â¹"; 513 var CMS_API_URL = "http://cms.ticketsimply.com"; 514 var SKIP_MOBILE_REDIRECT = false 515 516 function isMobileDevice() { 517 return (typeof window.orientation !== "undefined") || (navigator.userAgent.indexOf('IEMobile') !== -1); 518 }; 519 520 function getParameterByName(name, url) { 521 if (!url) url = window.location.href; 522 name = name.replace(/[\[\]]/g, '\\$&'); 523 var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'), 524 results = regex.exec(url); 525 if (!results) return null; 526 if (!results[2]) return ''; 527 return decodeURIComponent(results[2].replace(/\+/g, ' ')); 528} 529 530 function getCookie(cname) { 531 var name = cname + "="; 532 var ca = document.cookie.split(';'); 533 for(var i = 0; i < ca.length; i++) { 534 var c = ca[i]; 535 while (c.charAt(0) == ' ') { 536 c = c.substring(1); 537 } 538 if (c.indexOf(name) == 0) { 539 return c.substring(name.length, c.length); 540 } 541 } 542 return false; 543 } 544 545 function setMobileCookie(){ 546 if( !getCookie('is_mobile_app') ){ 547 var d = new Date(); 548 d.setTime(d.getTime() + (30 * 60 * 1000)); 549 document.cookie = "is_mobile_app=false; expires=" + d.toUTCString() + ";" 550 } 551 } 552 553 function isFullVersion(){ 554 var isFullWeb = /mb=1/.test(window.location.search); 555 556 if( isFullWeb && !getCookie('is_mobile_app') ){ 557 setMobileCookie() 558 } 559 560 if( location.pathname.includes("bangalore_tirupati_online_bus_booking_package_tour") || SKIP_MOBILE_REDIRECT ){ 561 setMobileCookie() 562 } 563 if(TRAVEL_ID === 5103){ 564 setMobileCookie() 565 } 566 567 return isFullWeb || getCookie('is_mobile_app') == "false" 568 } 569 if( isMobileDevice() && !isFullVersion() && (!location.pathname.includes("booking-confirm") && !location.pathname.includes("booking-cancel") && !location.pathname.includes("phone-blocking-to-ebooking"))){ 570 window.location = MOBILE_REDIRECT_URL; 571 } 572 573 function getConfig(cb){ 574 var userJson = localStorage.getItem('user'); 575 user = userJson ? JSON.parse( userJson ).full : {}; 576 577 $.ajax({ 578 url: API_URL + "api/cms_booking_engine.json", 579 method: 'post', 580 beforeSend: function(request) { 581 request.setRequestHeader("auth-token", user['authentication_token']); 582 }, 583 data:{ 584 query: 'q1' 585 }, 586 success: function(response){ 587 cb(response) 588 } 589 }) 590 } 591
592 $(document).ready(function(){ 593 $.ajax({ 594 url: API_URL + "/api/cms_banners.json", 595 method: "get", 596 dataType: 'json', 597 data: { 598 travel_id: TRAVEL_ID 599 }, 600 success: function(res){ 601 constructBanner(res) 602 } 603 }) 604 $.ajax({ 605 url: API_URL + "api/sync_cms_contact_details.json", 606 method: "get", 607 dataType: "json", 608 success: function(data) { 609 let html = '<section id="terms_conditions"><div class="container">'; 610 html += '<h3>Cancellation Policy:</h3>'; 611 612 if (data.cancellation_policies && data.cancellation_policies.length > 0) { 613 data.cancellation_policies.forEach(function(policy) { 614 html += `<div>${formatPolicyRange(policy.time_limit_from, policy.time_limit_to)} <b>${policy.percent}%</b> Cancellation Charges</div>`; 615 }); 616 } else { 617 html += `<div>No cancellation policies available.</div>`; 618 } 619 620 html += '</div></section>'; 621 $('#cancellation_policy_section').html(html); 622 } 623 }); 624 }) 625 function formatPolicyRange(from, to) { 626 from = parseFloat(from); 627 to = parseFloat(to); 628 if (from === 0 && to <= 2) { 629 return `Less than ${to} hours from the main station departure time`; 630 } else if (from < 24 && to <= 24) { 631 return `Between ${from} Hrs to ${to} Hrs from the main station departure time`; 632 } else { 633 return `Between ${from} to ${to} days before main station departure time`; 634 } 635 } 636</script>
636 637
637<script type="text/javascript"> 638 var API_URL = "https://www.shreesrmbus.com/"; 639 var CMS_API_URL = "http://cms.ticketsimply.com" 640 </script>
640 641 <style type="text/css"> 642 #quick-Book .allroutes, #news-latest .testimonials1-carousel.owl-carousel{ 643 display: none; 644 } 645 </style> 646 <!-- Global site tag (gtag.js) - Google Analytics --> 647 <!-- Google tag (gtag.js) -->
vendor: 65 bytes, lines 647-648
647 648<script async src="https://www.googletagmanager.com/gtag/js?id=
648G-BNB2HZXNER
vendor: 13 bytes, line 648
648"></script>
649<script> 650
vendor: 138 bytes, lines 650-654
650window.dataLayer = window.dataLayer || []; 651 function gtag(){dataLayer.push(arguments);} 652 gtag('js', new Date()); 653 654 gtag('config', '
654G-BNB2HZXNER
vendor: 5 bytes, line 654
654');
655</script>
655 656 </head> 657 <body> 658 659 <section id="infoBar"> 660 <div class="container"> 661 <div class="row"> 662 <div class="col-md-7 contact-top"> 663 <div class="list-group list-group-horizontal" id="contact_div" style="display: none;"> 664 <a href="mailto:[email protected]" class="list-group-item"><i class="fa fa-envelope"></i> [email protected] 665 </a> 666 </div> 667 </div> 668 <div class="col-md-5"> 669 <div class="list-group list-group-horizontal pull-right"> 670 <ul class="social"> 671 <li> 672 <a class="playicon" target="_blank" href="https://play.google.com/store/apps/details?id=com.mbapp.shreesrmtoursandtravels" type="button"> 673 <img src="https://gst-contracts.s3.ap-southeast-1.amazonaws.com/uploads/bcc/cms/asset/avatar/313799/google_don.png" alt="android icon"> 674 675 </a> 676 </li> 677 <li id="auth_links"> 678 <a href="javascript:void(0)" class="list-group-item" onclick="showHideAuthModal(false)"> 679 Customer Login 680 </a> 681 </li> 682 <li> 683 <a target="_blank" href="http://srmb.shreesrmbus.com" class="list-group-item"> 684 Agent Login 685 </a> 686 </li> 687 <li> 688 <a href="agent-registration.html" class="list-group-item">Agent Registration</a> 689 </li> 690 691 </ul> 692 </div> 693 </div> 694 </div> 695</section> 696<section id="header"> 697 <div class="container"> 698 <div class="row"> 699 <nav class="navbar"> 700 <div class="container-fluid"> 701 <div class="navbar-header"> 702 <a class="navbar-brand logo" href="index.html"> 703 <img src="https://gst-contracts.s3.ap-southeast-1.amazonaws.com/uploads/bcc/cms/asset/avatar/260/logo.jpg" class="img-responsive" alt="logo"> 704 </a> 705 </div> 706 707 <div id='cssmenu' class="navbar-right"> 708 <ul class="nav navbar-nav navbar-right"> 709 <li class=''> 710 <a title="Home" href="index.html">Home</a> 711</li> 712 <li class=''> 713 <a title="Manage Bookings" href="manage-bookings.html">Manage Bookings</a> 714</li> 715 <li class=''> 716 <a title="Packages" href="packages.html">Packages</a> 717</li> 718 <li class=''> 719 <a title="Schedules" href="schedules.html">Schedules</a> 720</li> 721 <li class=''> 722 <a title="Contact" href="contact.html">Contact</a> 723</li> 724 <li class='has-sub last'><a href="agent-registration.html#">more</a> 725 <ul id="mainmenu"> 726 <li class=''> 727 <a title="Gallery" class="" href="gallery.html">Gallery</a> 728</li> 729 <li class=''> 730 <a title="About Us" class="" href="about-us.html">About Us</a> 731</li> 732 <li class=''> 733 <a title="Testimonials" class="" href="testimonials.html">Testimonials</a> 734</li> 735 <li class=''> 736 <a title="Feedback" class="" href="feedback.html">Feedback</a> 737</li> 738 </ul> 739 </li> 740 </ul> 741 </div> 742 </div> 743 </nav> 744 </div> 745 </div> 746</section>
747<script type="text/javascript"> 748 $(document).ready(function(){ 749 $.ajax({ 750 url: API_URL + "api/sync_cms_contact_details.json", 751 method: "get", 752 dataType: 'json', 753 success: function(data){ 754 ContactDetailContent(data); 755 trackingoUrlUpdate(data); 756 $('#contact_div').show(); 757 if(data.trackingo_url != ""){ 758 $('#trackingo_sec').show(); 759 } 760 }, 761 error: function(){ 762 $('#contact_div').show(); 763 $('#trackingo_sec').show(); 764 } 765 }) 766}) 767 768</script>
vendor: 1 bytes, line 768
768
769<script type="text/javascript"> 770 function loggedInComponent(user){ 771 user_name = (user != undefined && user.full != undefined) ? user.full.first_name == null ? "User" : user.full.first_name : (user != "") ? user.first_name : "User" 772 getConfig(function(response){ 773 var walletMenu = response.wallet_booking_enabled ? '<li class="wpml-ls-item"><a onclick="window.gotoMyPage(\'2\')" href="javascript:void(0)"><span>Wallets</span></a></li>' : ""; 774 var html = '<div class="wpml-ls wpml-ls-legacy-dropdown">'+ 775 '<ul><li tabindex="0" class="wpml-ls-item wpml-ls-item-en"><a href="agent-registration.html#" class="wpml-ls-item-toggle"><span>'+user_name+'</span></a>'+ 776 '<ul class="wpml-ls-sub-menu">'+ 777 '<li class="wpml-ls-item"><a onclick="window.gotoMyPage(\'1\')" href="javascript:void(0)"><span>My Profile</span></a></li>' + 778 walletMenu + 779 '<li class="wpml-ls-item"><a onclick="window.gotoMyPage(\'3\')" href="javascript:void(0)"><span>My Bookings</span></a></li>' + 780 '<li class="wpml-ls-item"><a onclick="window.gotoMyPage(\'2\')" href="javascript:void(0)"><span>Travellers List</span></a></li>' + 781 '<li class="wpml-ls-item"><a onclick="window.gotoMyPage(\'6\')" href="javascript:void(0)"><span>Change Password</span></a></li>' + 782 '<li class="wpml-ls-item"><a onclick="logoutApplication()" href="javascript:void(0)"><span>Logout</span></a></li>' + 783 '</ul>' 784 '</li></ul></div>'; 785 $("#auth_links").html( html ) 786 }) 787 } 788 789 function loggedOutComponent(){ 790 var html = '<div class="wpml-ls wpml-ls-legacy-dropdown">'+ 791 '<ul><li tabindex="0" class="wpml-ls-item wpml-ls-item-en"><a href="agent-registration.html#" class="wpml-ls-item-toggle"><span>Login</span></a>'+ 792 '<ul class="wpml-ls-sub-menu">'+ 793 '<li class="wpml-ls-item"><a onclick="showHideAuthModal(false)" href="javascript:void(0)"><span>Sign In</span></a></li>' + 794 '<li class="wpml-ls-item"><a onclick="showHideAuthModal(true)" href="javascript:void(0)"><span>Sign Up</span></a></li>' + 795 796 '</ul>' 797 '</li></ul></div>'; 798 $("#auth_links").html( html ) 799 } 800 801 function logoutApplication(){ 802 window.LogoutApp(function(reactComponent, isSuccess){ 803 if( isSuccess ){ 804 localStorage.removeItem('user'); 805 localStorage.removeItem('accessHeaders'); 806 reactComponent.setState({ 807 isLoginModalOpened: false, 808 user: null 809 }) 810 } else { 811 console.log( reactComponent ); 812 } 813 }) 814 } 815$(".dropdown-menu1").parent('li').addClass("dropdown-icon"); 816</script>
816 817 818 <section id="innerpage_banner" style='background-image: url("https://gst-contracts.s3.ap-southeast-1.amazonaws.com/uploads/bcc/cms/asset/avatar/13738/banner_Banner_1.jpg");'> 819 <h2 class="text-center">Agent Registration</h2> 820 </section> 821 822<section id="agent_reg"> 823 <div class="container"> 824 825 <div class="row agent_info"> 826 <div class="agent_block"> 827 <h2 class="text-center">Register for an agency</h2> 828 <p>Kindly fill in the below details & submit, we shall get in touch with you soon.</p> 829 830 <div class="col-md-12 agent_left"> 831 <h5 class="agent-title">Registration Process</h5> 832 833 <div class="agent_process"> 834 <ul> 835 <li><i class="fa fa-mobile" aria-hidden="true"></i><span>Send us your contact details.</span></li> 836 <li><i class="fa fa-phone" aria-hidden="true"></i><span>We will contact you within 24 hours.</span></li> 837 <li><i class="fa fa-check" aria-hidden="true"></i><span>On completion, you will get login Id and password</span></li> 838 </ul> 839 </div> 840 </div> 841 842 <div id="mail_success" class='message'> 843 <div class='check'>✔</div> 844 <p>Success </p> 845 <p>Thank you for your successful registration, We will check and getback to you!</p> 846 <button id='agent-success'>OK</button> 847 </div> 848 849 <div class="col-md-12 agent_right"> 850 <h5 class="agent-title">Agent Registration</h5> 851 <div class="agent_form col-md-12"> 852 853 <form id=agent-form> 854 <div class="col-md-12"> 855 856 </div> 857 <div class="form-group col-md-6"> 858 <label for="exampleInputName">Name<font color="red">*</font></label> 859 <input type="text" class="form-control" name="name" id="name" placeholder="Your Name" /> 860 </div> 861 <div class="form-group col-md-6"> 862 863 <label for="exampleInputPhone">Phone<font color="red">*</font></label> 864 <input type="text" class="form-control" maxlength="10" name="phone" id="phone" placeholder="Your Phone Number" onkeypress="return isNumberKey(event);" /> 865 </div> 866 <div class="form-group col-md-6"> 867 <label for="exampleInputEmail">Email<font color="red">*</font></label> 868 <input type="text" class="form-control" name="email" id="email" placeholder="Your Email-Id" /> 869 </div> 870 <div class="form-group col-md-6"> 871 <label for="exampleInputAgencyName">Organization</label> 872 <input type="text" class="form-control" name="organization" id="organization" placeholder=""> 873 </div> 874 <div class="form-group col-md-6"> 875 <label for="exampleInputCity">City</label> 876 <input type="text" class="form-control" name="city" onkeypress="return (event.charCode > 64 && event.charCode < 91) || (event.charCode > 96 && event.charCode < 123)" id="city" placeholder=""> 877 </div> 878 <div class="form-group col-md-6"> 879 <label for="exampleInputState">State</label> 880 <input type="text" class="form-control" name="state" onkeypress="return (event.charCode > 64 && event.charCode < 91) || (event.charCode > 96 && event.charCode < 123)" id="state" placeholder=""> 881 </div> 882 <div class="form-group agent-label col-md-12"> 883 <label for="exampleInputComment">Comments</label> 884 <textarea cols="20" rows="3" maxlength="512" name="agent_signup[comments]" id="comments"></textarea> 885 </div> 886 <div class="form-group agent-label col-md-12"> 887 <label for="exampleInputVerify">Verification</label> 888 <div class="agent-verify"> 889 <label><p id="question"></p></label> 890 <input id="ans" type="text" onkeypress="return isNumberKey(event);" class="form-control" placeholder=""> 891 </div> 892 </div> 893 <div id="success">Validation complete.</div> 894 <div id="fail">Validation failed.</div> 895 <div class="text-center col-md-12"> 896 <button type="button" value="submit" onclick="submit_agent();" class="btn btn-default print_btn"> Submit</button> 897 </div> 898 </form> 899 900 </div> 901 </div> 902 903 </div> 904 </div> 905 906 </div> 907 908</section> 909
910<script type="text/javascript"> 911 912 function submit_agent(){ 913 914 var name = $('#name').val(); 915 var phone = $('#phone').val(); 916 var email = $('#email').val(); 917 var organization = $('#organization').val(); 918 var city = $('#city').val(); 919 var state = $('#state').val(); 920 var comments = $('#comments').val(); 921 var spam_answer = $('#ans').val(); 922 var input = $('#ans').val(); 923 if(name == ''){ 924 alert('Please Enter Your Name.'); 925 }else if(email == ''){ 926 alert('Please Enter Your Email Id.'); 927 }else if(IsEmail(email)==false){ 928 alert('Please Enter a valid Email Id.'); 929 }else if(phone == ''){ 930 alert('Please Enter Your Phone No.'); 931 }else if(phone.length != 10){ 932 alert('Please Enter a valid Phone No.'); 933 }else if(spam_answer == ''){ 934 alert('Please Enter verification.'); 935 }else if (input == total) { 936 937 $.ajax({ 938 url: "https://www.shreesrmbus.com/api/get_cms_agent_registration", 939 940 method: "POST", 941 data: {name: name, email: email, phone: phone, organization: organization, city: city, state: state, comments: comments,spam_answer: spam_answer}, 942 success: function(data, textStatus, xhr){ 943 $('#name').val(); 944 $('#email').val(); 945 $('#phone').val(); 946 $('#organization').val(); 947 $('#city').val(); 948 $('#state').val(); 949 $('#comments').val(); 950 $('#spam_answer').val(); 951 setTimeout(function(){ 952 $('#mail_success').val(); 953 }, 2000); 954 setTimeout(agent_go, 1000); 955 }, 956 error: function(xhr){ 957 alert(xhr.responseJSON.message); 958 } 959 }); 960 } 961 else{ 962 963 } 964 965 966 function IsEmail(email) { 967 var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; 968 if(!regex.test(email)) { 969 return false; 970 }else{ 971 return true; 972 } 973 } 974 } 975 976 977 //Validation 978 var randomNum1; 979 var randomNum2; 980 981 //set the largeest number to display 982 983 var maxNum = 20; 984 var total; 985 986 randomNum1 = Math.ceil(Math.random() * maxNum); 987 randomNum2 = Math.ceil(Math.random() * maxNum); 988 total = randomNum1 + randomNum2; 989 990 $("#question").prepend(randomNum1 + " + " + randomNum2 + " = ?"); 991 992 // When users input the value 993 994 $("#ans").keyup(function() { 995 996 var input = $(this).val(); 997 var slideSpeed = 200; 998 999 $('#message').hide(); 1000 1001 if (input == total) { 1002 1003 $('button[type=submit]').removeAttr('disabled'); 1004 //$('#success').slideDown(slideSpeed); 1005 //$('#fail').slideUp(slideSpeed); 1006 $('#fail').hide(); 1007 $('#success').show(); 1008 1009 } else { 1010 1011 $('button[type=submit]').attr('disabled', 'disabled'); 1012 //$('#fail').slideDown(slideSpeed); 1013 //$('#success').slideUp(slideSpeed); 1014 $('#success').hide(); 1015 $('#fail').show(); 1016 1017 } 1018 1019 }); 1020 1021 // Wheen "reset button" click, generating new randomNum1 & randomNum2 1022 $("#agent-success").on("click", function() { 1023 randomNum1 = Math.ceil(Math.random() * maxNum); 1024 randomNum2 = Math.ceil(Math.random() * maxNum); 1025 total = randomNum1 + randomNum2; 1026 $("#question").empty(); 1027 $("#ans").val(''); 1028 $("#question").prepend(randomNum1 + " + " + randomNum2 + " = ?"); 1029 }); 1030 1031 1032 1033 function isNumberKey(evt) 1034 { 1035 var charCode = (evt.which) ? evt.which : event.keyCode 1036 if (charCode > 31 && (charCode < 48 || charCode > 57)) 1037 return false; 1038 1039 return true; 1040 } 1041 1042 $('#agent-success').click(function(){ 1043 $('#agent_reg input').val(""); 1044 $('#agent_reg textarea').val(""); 1045 $('#success,#fail').hide(); 1046 agent_go(500) 1047 }); 1048 1049 function agent_go(nr) { 1050 $('.bb').fadeToggle(200); 1051 $('#agent_reg .message').toggleClass('comein'); 1052 $('#agent_reg .check').toggleClass('scaledown'); 1053 $('#go').fadeToggle(nr); 1054 } 1055</script>
1055 1056 1057 <section id="banerInfo"> 1058 <div class="container"> 1059 <div class="row"> 1060 <h1 style="margin:0;padding:0">Wish you a Happy and Comfortable Journey</h1> 1061 </div> 1062 </div> 1063</section> 1064<footer id="footer" class="wrapper-footer"> 1065 <div class="container"> 1066 <div class="row"> 1067 <div class="main-top-footer"> 1068 <aside id="text-6" class="col-sm-3 widget_text"> 1069 <h3 class="widget-title">CONTACT</h3> 1070 <div class="textwidget"> 1071 <div class="footer-info"> 1072 <ul class="contact-info footer-contact" style="display: none;"> 1073 <li class="footer-operator-address"><i class="fa fa-map-marker fa-fw"></i><span><span class="footer-operator-name">Shree SRM Tours & Travels</span><br/> 1074 #102/6, Basweswara Statue, opp BUDA complex, Mothi circle, 1075 Bellary,<br/> 1076 Karnataka-583101</span></li> 1077 <li class="footer-contact-num"><i class="fa fa-phone fa-fw"></i>9880806666</li> 1078 <li><i class="fa fa-envelope fa-fw"></i><a href="mailto:[email protected]" target="_blank">[email protected]</a></li> 1079 </ul> 1080 </div> 1081 </div> 1082 </aside> 1083 1084 <aside id="text-7" class="col-sm-6 widget_text"> 1085 <h3 class="widget-title">Quick Links</h3> 1086 <div class="textwidget"> 1087 <ul class="menu list-arrow"> 1088 1089 <li><a href="careers.html"><i class="fa fa-angle-double-right"></i> Careers</a></li> 1090 <li><a href="confirm-phone-booking.html"><i class="fa fa-angle-double-right"></i> Confirm Phone Booking</a></li> 1091 1092 <li><a href="offers.html"><i class="fa fa-angle-double-right"></i> Offers</a></li> 1093 <li><a href="gallery.html"><i class="fa fa-angle-double-right"></i> Gallery</a></li> 1094 1095 <li><a href="about-us.html"><i class="fa fa-angle-double-right"></i> About Us</a></li> 1096 <li><a href="contact.html"><i class="fa fa-angle-double-right"></i> Contact</a></li> 1097 1098 <li><a href="testimonials.html"><i class="fa fa-angle-double-right"></i> Testimonials</a></li> 1099 <li><a href="feedback.html"><i class="fa fa-angle-double-right"></i> Feedback</a></li> 1100 1101 <li><a href="schedules.html"><i class="fa fa-angle-double-right"></i> Schedules</a></li> 1102 <li><a href="privacy-policy.html"><i class="fa fa-angle-double-right"></i> Privacy Policy</a></li> 1103 1104 <li><a href="terms-and-conditions.html"><i class="fa fa-angle-double-right"></i> Terms & Conditions</a></li> 1105 <li><a href="refund-status.html"><i class="fa fa-angle-double-right"></i> Refund Status</a></li> 1106 1107 <li><a href="sitemap.html"><i class="fa fa-angle-double-right"></i> Sitemap</a></li> 1108 <li><a href="http://srmb.shreesrmbus.com"><i class="fa fa-angle-double-right"></i>Agent Login</a></li> 1109 1110 <li><a href="agent-registration.html"><i class="fa fa-angle-double-right"></i> Agent Registration</a></li> 1111 <li><a href="faqs.html"><i class="fa fa-angle-double-right"></i> FAQS</a></li> 1112 </ul> 1113 </div> 1114 </aside> 1115 <aside id="text-21" class="col-sm-3 widget_text social-icon"> 1116 <div class="textwidget"> 1117 <h3 class="widget-title">Follow Us</h3> 1118 <p> 1119 <a href="agent-registration.html#" target="_blank"><i class="fa fa-facebook-square"></i></a> 1120 <a href="agent-registration.html#" target="_blank"><i class="fa fa-twitter-square"></i></a> 1121 <a href="agent-registration.html#" target="_blank"><i class="fa fa-youtube-square"></i></a> 1122 <a href="agent-registration.html#" target="_blank"><i class="fa fa-linkedin-square"></i></a> 1123 <a href="agent-registration.html#" target="_blank"><i class="fa fa-instagram"></i></a> 1124 </p> 1125 1126 </div> 1127 </aside> 1128 1129 </div> 1130 </div> 1131 <div class="right_footer text-center"> 1132 <p>© 2026 All rights reserved. <a href="http://www.shreesrmbus.com">Shree SRM Tours & Travels</a></p> 1133 1134 </div> 1135 </div> 1136</footer> 1137 1138<div style="display: none"> 1139 <a href="booking-confirm.html">booking-confirm</a> 1140 <a href="booking-cancel.html">booking-cancel</a> 1141 <a href="search-results.html">search-results</a> 1142 <a href="service-details.html">service-details</a> 1143 <a href="ticket-details.html">ticket-details</a> 1144 <a href="thank-you.html">thank-you</a> 1145 <a href="my-page.html">my-page</a> 1146 <a href="phone-blocking-to-ebooking.html">phone-blocking-to-ebooking></a> 1147 <a href="404.html">404></a> 1148 <a href="410.html">410></a> 1149</div> 1150 <section class="slider_parent"> 1151 <div id="slider_news" style="left:-300px;"> 1152 <div id="sidebar_news" onclick="open_panel()"><button>
1152 1153 <div class="group-pack"> 1154 <h4>Packages</h4> 1155 </div> 1156 <img src="bus-hire-68eb50c037d96044f35295d0d04ada0089ba225b417c62eceea506ebc703bbb7.png"> 1157 <img src="car-hire-8d955e7bb0d1238011e7be735629100fbd41d6e74452f6e1a86dbcd31b2172c1.png"> 1158 <img src="pack-1ac284f630d57b15e5581d6fb48e9beed2b0da4f2e3442dcce1ee5d9d887c4b8.png" style="border-bottom:0;" alt=""> 1159 </button></div> 1160 <div id="latest_news"> 1161 <div class=""> 1162 <h3>Please Enter Your Details</h3> 1163 1164 <form class="contact_form" action="agent-registration.html"> 1165 <div class="col-md-12 hiring_detail"> 1166 1167 <div class="form-group"> 1168 <label class="col-sm-6" for="exampleInputUsername">Name <small class='text-danger'>*</small></label> 1169 <input type="text" id="passenger_name" class="form-control col-sm-6" placeholder=""> 1170 </div> 1171 <div class="form-group"> 1172 <label class="col-sm-6" for="exampleInputEmail">Email<small class='text-danger'>*</small></label> 1173 <input type="email" id="user_email" class="form-control col-sm-6" placeholder=""> 1174 </div> 1175 <div class="form-group"> 1176 <label class="col-sm-6" for="telephone">Mobile<small class='text-danger'>*</small></label> 1177 <input type="tel" id="mobile_number" maxlength="10" onkeypress="return isNumberKey(event);" class="form-control col-sm-6" placeholder=" "> 1178 </div> 1179 <div class="form-group"> 1180 <label class="col-sm-6" for="exampleInputUsername">Type</label> 1181 <select id="package_type" class="form-control col-sm-6"> 1182 <option value='1' >Bus Hire</option> 1183 <option value='2' >Car Hire</option> 1184 <option value='4' >Packages</option> 1185 </select> 1186 </div> 1187 <div class="form-group"> 1188 <label class="col-sm-6" for="exampleInputEmail">From</label> 1189 <input type="email" id="from" class="form-control col-sm-6" placeholder=" "> 1190 </div> 1191 <div class="form-group"> 1192 <label class="col-sm-6" for="telephone">To</label> 1193 <input type="tel" id="to" class="form-control col-sm-6" placeholder=""> 1194 </div> 1195 <div class="form-group"> 1196 <label class="col-sm-6" for="telephone">No. of Seats<small class='text-danger'>*</small></label> 1197 <input type="tel" id="no_of_seats" onkeypress="return isNumberKey(event);" class="form-control col-sm-6" placeholder=""> 1198 </div> 1199 <div class="form-group"> 1200 <label class="col-sm-6" for="exampleInputUsername">Bus Type</label> 1201 <select id="bus_type" class="form-control col-sm-6"> 1202 <option value='0' >AC</option> 1203 <option value='1' >Non-AC</option> 1204 <option value='2' >AC and Non-AC</option> 1205 </select> 1206 </div> 1207 <div class="form-group"> 1208 <label class="col-sm-6" for ="description"> Message<small class='text-danger'>*</small></label> 1209 <textarea id="remarks" class="form-control col-sm-6" placeholder=""></textarea> 1210 </div> 1211 <!-- <div class="form-group"> 1212 <label class="col-sm-6" for="telephone">Verification</label> 1213 <input type="tel" class="form-control col-sm-6" placeholder=""> 1214 </div> --> 1215 <div class="text-center"> 1216 <button type="button" onclick="submit_bus();" class="btn btn-default print_btn load-btn"><i class='fa fa-circle-o-notch fa-spin '></i>Submit</button> 1217 </div> 1218 </div> 1219 </form> 1220 </div> 1221 </div> 1222 </div> 1223<div id="mail_success" class='theme_message'> 1224 <div class='check'>✔</div> 1225 <p>Success </p> 1226 <p>Thank you, Message has been sent successfully</p> 1227 <button id='ok'>OK</button> 1228 </div> 1229 1230</section> 1231
1232<script type="text/javascript"> 1233 function submit_bus(){ 1234 var passenger_name = $('#passenger_name').val(); 1235 var email_id = $('#user_email').val(); 1236 var mobile_number = $('#mobile_number').val(); 1237 var remarks = $('#remarks').val(); 1238 var from = $('#from').val(); 1239 var to = $('#to').val(); 1240 var package_type = $('#package_type').val(); 1241 var no_of_seats = $('#no_of_seats').val(); 1242 var bus_type = $('#bus_type').val(); 1243 if( passenger_name == ''){ 1244 alert('Please Enter Your Name.'); 1245 }else if(email_id == ''){ 1246 alert('Please Enter Your Email Id.'); 1247 }else if(IsEmail(email_id)==false){ 1248 alert('Please Enter a valid Email Id.'); 1249 }else if(mobile_number == ''){ 1250 alert('Please Enter Your Phone No.'); 1251 }else if(mobile_number.length != 10){ 1252 alert('Please Enter Correct Phone No.'); 1253 }else if(no_of_seats == ''){ 1254 alert('Please enter number of seats'); 1255 }else if(remarks == ''){ 1256 alert('Please enter the message'); 1257 }else{ 1258 $('.load-btn').addClass("active"); 1259 $('.load-btn').prop('disabled', true); 1260 var api_url = 'https://www.shreesrmbus.com/' 1261 $.ajax({ 1262 url: api_url + "api/get_create_package_booking", 1263 method: "POST", 1264 data: {passenger_name: passenger_name, email: email_id, mobile_number: mobile_number, remarks: remarks, from: from,to: to,bus_type: bus_type,no_of_seats: no_of_seats, package_type: package_type}, 1265 success: function(){ 1266 $('#passenger_name').val(); 1267 $('#user_email').val(); 1268 $('#mobile_number').val(); 1269 $('#remarks').val(); 1270 $('#from').val(); 1271 $('#to').val(); 1272 $('#bus_type').val(); 1273 $('#no_of_seats').val(); 1274 $('#package_type').val(); 1275 $('.load-btn').removeClass("active"); 1276 $('.load-btn').prop('disabled', false); 1277 //alert('Successfully Created'); 1278 go(); 1279 } 1280 }); 1281 } 1282 function IsEmail(email) { 1283 var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; 1284 if(!regex.test(email)) { 1285 return false; 1286 }else{ 1287 return true; 1288 } 1289 } 1290 } 1291 function go(nr) { 1292 $('.bb').fadeToggle(200); 1293 $('.theme_message').toggleClass('comein'); 1294 $('.check').toggleClass('scaledown'); 1295 $('#go').fadeToggle(nr); 1296} 1297 1298$('#ok').click(function(){ 1299 $('#latest_news input').val(""); 1300 $('#latest_news textarea').val(""); 1301 go(500); 1302 setTimeout(function(){ close_panel(); }, 500); 1303 1304 1305}); 1306 1307 function isNumberKey(evt) 1308 { 1309 var charCode = (evt.which) ? evt.which : event.keyCode 1310 if (charCode > 31 && (charCode < 48 || charCode > 57)) 1311 return false; 1312 1313 return true; 1314 } 1315</script>
1315 1316<style type="text/css"> 1317 #slider_news{ 1318 z-index: 2; 1319 } 1320</style> 1321 1322<div id="login_container"></div> 1323<template id="embedded_js_container"> 1324
1324<script type="text/javascript"> 1325 $(document).ready(function(){ 1326 $( "#extra_16 .container .row" ).prepend( $( "#quick-Book" ) ); 1327 }); 1328$( "#extra_37918" ).insertAfter( $( ".col-md-5 .pull-right" ) ); 1329</script>
vendor: 2 bytes, line 1329
1329
1330<script type="text/javascript"> 1331 $(document).ready(function(){ 1332 $( "#extra_16" ).insertBefore( $( "#latest_info" ) ); 1333$( "#extra_38049" ).insertAfter( $( ".col-md-5 .pull-right" ) ); 1334 }); 1335</script>
vendor: 2 bytes, line 1335
1335
1336<script> 1337 1338$("#testimonials1-carousel").removeClass('owl-carousel owl-loaded'); 1339$("#testimonials1-carousel").find('.owl-stage-outer').children().unwrap(); 1340$("#testimonials1-carousel").removeData(); 1341 1342$("#testimonials1-carousel").owlCarousel({ 1343 pagination : false, 1344 navigation : true, 1345 responsive : true, 1346 autoPlay : true, 1347 1348 paginationSpeed : 400, 1349 slideSpeed : 300, 1350 1351 items : 1, 1352 itemsDesktop : [1199, 1], 1353 itemsDesktopSmall : [991,1], 1354 itemsMobile : [590,1], 1355 1356 navigationText : [ 1357 '<i class="fa fa-angle-left"></i>', 1358 '<i class="fa fa-angle-right"></i>' 1359 ] 1360}) 1361</script>
1361 1362 1363 1364</template> 1365<div id="whatsappmodal" class="modal" tabindex="-1" role="dialog"> 1366</div>
1367<script type="text/javascript"> 1368$(document).ready(function(){ 1369 $.ajax({ 1370 url: API_URL + "api/whats_app_support_configuration.json?is_mobile_app=false", 1371 method: "get", 1372 dataType: 'json', 1373 success: function(data){ 1374 whatsapp_global = data; 1375 if(data.show_whatsapp_icon_public){ 1376 var whatsapp_icon = document.createElement("IMG"); 1377 whatsapp_icon.setAttribute("src", data.chat_configuration.chat_bubble); 1378 whatsapp_icon.setAttribute("class", "whatsapp_icon"); 1379 document.body.appendChild(whatsapp_icon); 1380 } 1381 }, 1382 error: function(){ 1383 } 1384 }) 1385}) 1386 1387$('body').on('click', '.whatsapp_icon' , function(){ 1388 var htm = ""; 1389 htm += '<div class="modal-dialog" role="document">' 1390 htm += ' <div class="modal-content animate-bottom">' 1391 htm += '<div class="modal-header">' 1392 htm += '<h5 class="modal-title">'+ whatsapp_global.chat_configuration.chat_header +'</h5>' 1393 htm += '<button type="button" class="close" data-dismiss="modal" aria-label="Close">' 1394 htm += '<span aria-hidden="true">×</span>' 1395 htm += '</button>' 1396 htm += '</div>' 1397 htm += '<div class="modal-body"><div class="inner_whatsapp_blk">' 1398 htm += '<p>'+whatsapp_global.chat_configuration.chat_message+'</p>' 1399 $.each(whatsapp_global.contact_configuration, function( key, value ) { 1400 console.log('caste: ' + value.caste + ' | id: ' +value.id); 1401 htm += '<div class="query_list">' 1402 htm += '<input type="radio" id="'+value.query+'" name="query" value="'+value.query+'">' 1403 htm += '<label for="'+value.query+'">' + value.query +'</label><br>' 1404 htm += '</div>' 1405 }); 1406 htm += '</div></div>' 1407 htm += '<div class="modal-footer">' 1408 htm += '<a href="javascript:void(0)" class="start_chat btn btn-primary"><i class="fa fa-whatsapp" aria-hidden="true"></i>Start Chat</button>' 1409 htm += '</div>' 1410 htm += '</div>' 1411 htm += '</div>' 1412 1413 $('#whatsappmodal').html(htm); 1414 if($('#whatsappmodal input[name="query"]').length == 1){ 1415 $('#whatsappmodal input[name="query"]').prop('checked',true); 1416 } 1417 $('#whatsappmodal').modal('toggle'); 1418}) 1419 1420$('body').on('click', '.start_chat' , function(){ 1421 if($('#whatsappmodal input[name="query"]:checked').length == 0){ 1422 alert('Please Select The Query Type') 1423 }else{ 1424 var is_valid = false; 1425 for(var i = 0; i < whatsapp_global.contact_configuration.length; i++) { 1426 if (whatsapp_global.contact_configuration[i].query == $('#whatsappmodal input[name="query"]:checked').val()) { 1427 for(var j = 0; j < whatsapp_global.contact_configuration[i].shift_configuration.length; j++){ 1428 if(moment(new Date()).isBetween(moment(whatsapp_global.contact_configuration[i].shift_configuration[j].from, ["h:mm A"]), moment(whatsapp_global.contact_configuration[i].shift_configuration[j].to, ["h:mm A"]))){ 1429 window.open(whatsapp_global.contact_configuration[i].shift_configuration[j].url, '_blank'); 1430 is_valid = true; 1431 break; 1432 } 1433 } 1434 } 1435 } 1436 if(!is_valid){ 1437 $('.inner_whatsapp_blk').html('<p>'+ whatsapp_global.chat_configuration.offline_message +'</p>'); 1438 $('.start_chat').addClass('disabled'); 1439 } 1440 } 1441}); 1442</script>
1442 1443</body>
1444<script type="text/javascript"> 1445 function showHideAuthModal(isSignup) { 1446 window.authState(function (reactComponent) { 1447 reactComponent.setState({ 1448 isLoginModalOpened: true, 1449 isSignup: isSignup 1450 }) 1451 }) 1452 } 1453 1454 function loggedInComponent() { 1455 getConfig(function (response) { 1456 if( !response.allow_login_for_eticketing ){ 1457 $("#auth_links").hide(); 1458 return false; 1459 } 1460 var walletMenu = response.wallet_booking_enabled ? '<li><a onclick="window.gotoMyPage(\'4\')" href="javascript:void(0)">Wallets</a></li>' : ""; 1461 var html = '<div class="dropdown"><a class="user-icon scroll dropdown-toggle list-group-item" class="nav-button" href="agent-registration.html#" id="dropdownMenuUser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">My Account</a>' + 1462 '<ul class="dropdown-menu" aria-labelledby="dropdownMenuUser">' + 1463 '<li><a onclick="window.gotoMyPage(\'1\')" href="javascript:void(0)">My Profile</a></li>' + 1464 '<li><a onclick="window.gotoMyPage(\'3\')" href="javascript:void(0)">My Bookings</a></li>' + 1465 walletMenu + 1466 '<li><a onclick="logoutApplication()" href="javascript:void(0)">Logout</a></li>' + 1467 '</ul></div>'; 1468 $("#auth_links").html(html) 1469 }) 1470 } 1471 1472 function loggedOutComponent() { 1473 var html = '<a href="javascript:void(0)" class="list-group-item" onclick="showHideAuthModal(false)">Customer Login</a>'; 1474 $("#auth_links").html(html) 1475 } 1476 1477 function logoutApplication(){ 1478 window.LogoutApp(function(reactComponent, isSuccess){ 1479 if( isSuccess ){ 1480 localStorage.removeItem('user'); 1481 localStorage.removeItem('accessHeaders'); 1482 reactComponent.setState({ 1483 isLoginModalOpened: false, 1484 user: null 1485 }) 1486 } else { 1487 console.log( reactComponent ); 1488 } 1489 }) 1490 } 1491 1492 // $(function () { 1493 // var date = new Date(); 1494 // var tomorrow = new Date(date.getFullYear(), date.getMonth(), (date.getDate() + 1)); 1495 // $("#datepicker").datepicker({ 1496 // startDate: date, 1497 // autoclose: true, 1498 // todayHighlight: true 1499 // }).datepicker('update', new Date()); 1500 1501 1502 // $("#datepicker1").datepicker({ 1503 // startDate: tomorrow, 1504 // autoclose: true 1505 1506 // }).datepicker('update', tomorrow); 1507 1508 1509 // }); 1510</script>
vendor: 1 bytes, line 1510
1510
1511<script> 1512 $('body').click(function(event){ 1513 $("#light").hide(); 1514 }); 1515 $('#light').click(function(event){ 1516 return false; 1517 }); 1518 1519 $(document).ready(function(){ 1520 1521 var isPreview = 'false' 1522 $.ajax({ 1523 url: "/home_content.json", 1524 data: { 1525 travel_id: TRAVEL_ID 1526 }, 1527 success: function(response){ 1528 // construction code need to be added 1529 if(response){ 1530 quickBook(response.q2,isPreview); 1531 latestNews(response.q4,isPreview); 1532 allRoutes(response.q1,response.cities,isPreview); 1533 $("body").append( $("#embedded_js_container").html() ); 1534 if($('#news-latest .testimonial1').length > 0){ 1535 homeOwlCarousel(); 1536 } 1537 $("#quick-Book .allroutes").show(); 1538 $("#news-latest .testimonials1-carousel.owl-carousel").show(); 1539 $(" #content-1 .quickBook").show(); 1540 } 1541 }, 1542 error:function(){ 1543 homeOwlCarousel(); 1544 $("#quick-Book .allroutes").show(); 1545 $("#news-latest .testimonials1-carousel.owl-carousel").show(); 1546 $(" #content-1 .quickBook").show(); 1547 }, 1548 }); 1549 }); 1550 1551 1552 /*$(document).ready(function(){ 1553 homeOwlCarousel(); 1554 }); 1555 */ 1556 function homeOwlCarousel(){ 1557 $("#testimonials1-carousel").owlCarousel({ 1558 pagination: false, 1559 navigation: true, 1560 responsive: true, 1561 autoPlay: true, 1562 1563 paginationSpeed: 400, 1564 slideSpeed: 300, 1565 1566 items: 2, 1567 itemsDesktop: [1199, 2], 1568 itemsDesktopSmall: [991, 2], 1569 itemsMobile: [590, 1], 1570 1571 navigationText: [ 1572 '<i class="fa fa-angle-left"></i>', 1573 '<i class="fa fa-angle-right"></i>' 1574 ] 1575 }); 1576 } 1577</script>
vendor: 1 bytes, line 1577
1577
1578<script type="text/javascript"> 1579 $(document).ready(function(){ 1580 var travel_name = 'Shree SRM Tours & Travels' 1581 $.ajax({ 1582 url: API_URL + "api/sync_cms_branch_details.json", 1583 method: "get", 1584 dataType: 'json', 1585 success: function(data){ 1586 footerContactDetail(data,travel_name); 1587 $(".contact-info.footer-contact").show(); 1588 }, 1589 error: function(){ 1590 $(".contact-info.footer-contact").show(); 1591 } 1592 }) 1593 }) 1594</script>
1594 1595
1595<script src="common.js"></script>
1595 1596</html>
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.