/
/
home
/
u523034047
/
domains
/
gmcrudrapur.com
/
public_html
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.4
PHP 8.3.16
Dir:
/home/u523034047/domains/gmcrudrapur.com/public_html
Edit:
/home/u523034047/domains/gmcrudrapur.com/public_html/Gallery.php
<!doctype html> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <head> <title> Gallery | Pt. Ram Sumer Shukla Government Medical College, Rudrapur (Udham Singh Nagar) </title> <meta name="description" content="Pt. ram Sumer Shukla Government Medical College, Rudrapur (Udham Singh Nagar)"> <meta name="keywords" content="Pt. ram Sumer Shukla Government Medical College, Rudrapur (Udham Singh Nagar)" /> <meta property="og:title" content="NH 87, Bareilly - Nainital Rd, Rudrapur, Uttarakhand 263153." /> <meta property="og:description" content="Ram Sumer Rudrapur Medical College & Hospital in Rudrapur Uttarakhand" /> <meta property="og:image" itemprop="image" content="logo"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <!-- <meta name="google-site-verification" content="googleb9be60acc01208ea" /> <meta name="msvalidate.01" content="F798502A52F471C4B014866E82257BDA" /> <meta name="yandex-verification" content="d85b9d3af395d07b" /> --> <link rel="canonical" href="#" /> <link rel="shortcut icon" type="image/x-icon" href="ramch/static/images/ramch/favicon.ico"> <link href="ramch/static/css/reset.css" rel="stylesheet" type="text/css"> <link href="ramch/static/css/fonts.css" rel="stylesheet" type="text/css"> <link href="ramch/static/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"> <!--<link href="assets/select2/css/select2.min.css" rel="stylesheet" type="text/css">--> <link href="ramch/static/assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <link href="ramch/static/assets/magnific-popup/css/magnific-popup.css" rel="stylesheet" type="text/css"> <!--<link href="assets/iconmoon/css/iconmoon.css" rel="stylesheet" type="text/css">--> <link href="ramch/static/assets/owl-carousel/css/owl.carousel.min.css" rel="stylesheet" type="text/css"> <link type="text/css" rel="stylesheet" href="ramch/static/css/hover-box.css"> <link href="ramch/static/css/animate.css" rel="stylesheet" type="text/css"> <link type="text/css" rel="stylesheet" href="ramch/static/css/swc.css"> <link href="ramch/static/css/custom.css" rel="stylesheet" type="text/css"> <style> .fon-s { font-size: 14px; font-weight: 400; color: #333; font-family: roboto } .dropdown-menu>li.kopie>a { padding-left: 5px } .dropdown-submenu { position: relative } .dropdown-submenu>.dropdown-menu { top: 0; left: 100%; margin-top: -6px; margin-left: -1px; -webkit-border-radius: 0 6px 6px 6px; -moz-border-radius: 0 6px 6px 6px; border-radius: 0 6px 6px 6px } .dropdown-submenu>a:after { border-color: transparent transparent transparent #333; border-style: solid; border-width: 5px 0 5px 5px; content: " "; display: block; float: right; height: 0; margin-right: -10px; margin-top: 5px; width: 0 } .dropdown-submenu:hover>a:after { border-left-color: #555 } .dropdown-menu>li>a:hover, .dropdown-menu>.active>a:hover { text-decoration: underline } .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover { background-color: #144563 } .navbar-default .navbar-toggle { border-color: #144563 } .navbar-toggle:focus { outline: 0 } .navbar-toggle { position: relative; float: right; padding: 6px 5px; margin-top: -50px; margin-bottom: 8px; background-color: #144563; background-image: none; border: 1px solid transparent; border-radius: 4px } .navbar-inverse .navbar-nav>li>a:focus, .navbar-inverse .navbar-nav>li>a:hover { color: #fff; background-color: #4a2f2d } .card { position: relative; display: inline-block } .card .img-top { display: none; position: absolute; top: 2px; left: 0; z-index: 99 } .card:hover .img-top { display: inline } .dropdown-menu .divider { height: 1px; margin: 3px 0; overflow: hidden; background-color: #e5e5e5 } .tpl { padding: 2px } .stu-lo { background-color: #ff9600; border-radius: 5px; font-size: 13px; height: 21px; width: 93px; color: #fff; text-align: center } .tx { color: #fff; cursor: default } a.tx:hover { color: #fff } .dropdown-submenu { position: relative } .dropdown-submenu { position: relative } .dropdown-submenu>.dropdown-menu { top: 0; left: 100%; margin-top: -6px; margin-left: -1px; -webkit-border-radius: 0 6px 6px 6px; -moz-border-radius: 0 6px 6px 6px; border-radius: 0 6px 6px 6px } .dropdown-submenu:hover>.dropdown-menu { display: block } .dropdown-submenu>a:after { display: block; width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 5px 0 5px 5px; border-left-color: #000; margin-top: 5px; margin-right: 0 } .dropdown-submenu:hover>a:after { border-left-color: #fff } .dropdown-submenu .pull-left { float: none } .navbar-toggle:focus { outline: 0 } .dropdown-submenu.pull-left>.dropdown-menu { left: -100%; margin-left: 10px; -webkit-border-radius: 6px 0 6px 6px; -moz-border-radius: 6px 0 6px 6px; border-radius: 6px 0 6px 6px } </style> <script async> (function (w, d) { w.CollectId = "5ec50c65f906363bd69e55d7"; var h = d.head || d.getElementsByTagName("head")[0]; var s = d.createElement("script"); s.setAttribute("type", "text/javascript"); s.setAttribute("src", "collectcdn.com/RAMCHncher.html"); h.appendChild(s); })(window, document); </script>--> <!--<iframe src="https://links.collect.chat/5ec50c65f906363bd69e55d7" width="100%" height="600" frameBorder="0"></iframe>--> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "CollegeOrUniversity", "name": "Rohilkhand Ayurvedic Medical College & Hospital", "alternateName": "RAMCHmed", "url": "https://www.RAMCHmed.org/", "logo": "https://i.postimg.cc/y8GnGTCw/RAMCHmed.png", "contactPoint": { "@type": "ContactPoint", "telephone": "+5922252241", "contactType": "customer service", "contactOption": "TollFree", "areaServed": ["IN","GY"], "availableLanguage": ["en","Hindi","Kannada","Marathi"] }, "sameAs": [ "https://www.facebook.com/ramch/", "https://twitter.com/RAMCHmed_org", "https://www.instagram.com/ramch/", "https://www.youtube.com/channel/UCAwJuBp72gSIxP8k5wqXv0Q?sub_confirmation=1", "https://in.pinterest.com/ramch", "https://ramch.tumblr.com/", "https://en.wikipedia.org/wiki/ramch", "index-2.html", "https://www.linkedin.com/in/ramch" ] } </script> </head> <body style="overflow-x:hidden;"> <header> <?php include ('menu.php');?> </header> <!-- <div class="modal fade" id="exampleModal2" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <div class="row"> <div class="col-lg-8"> <p class="modal-title" id="exampleModalLabel"> <b>Register here to know the detailed fee structure </b> </p> </div> <div class="col-lg-4"> <button type="button" class="close " data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">× </span> </button> </div> </div> </div> <div class="modal-body"> <form action="https://www.RAMCHmed.org/enquiryRAMCHmed.php" method="POST"> <div class="row"> <label for="inputEmail" class="control-label col-xs-4">Name </label> <div class="col-md-8"> <input type="text" placeholder="Enter Your Name" class="form-control" name="name" required> </div> </div> <div class="row"> <label for="inputEmail" class="control-label col-xs-4">Country </label> <div class="col-md-8"> <select name="code" class="form-control" required style="width: 100%; margin: 7px 0; display: inline-block; border: 1px solid #ccc; box-sizing: border-box; height:43px"> <option value="">Please select country </option> </select> </div> </div> <div class="row"> <label for="inputEmail" class="control-label col-xs-4">Phone </label> <div class="col-md-8"> <input type="text" placeholder="Enter Your Phone" class="form-control" name="phone" required> </div> </div> <div class="row"> <label for="inputEmail" class="control-label col-xs-4">Email </label> <div class="col-md-8"> <input type="email" placeholder="Enter Your Email" class="form-control" name="email" required> </div> </div> <div class="row"> <label for="city" class="control-label col-xs-4">City </label> <div class="col-md-8"> <input type="text" placeholder="Enter Your City" class="form-control" name="city" required> </div> </div> <div class="row"> <label for="city" class="control-label col-xs-4">State </label> <div class="col-md-8"> <input type="text" placeholder="Enter Your State" class="form-control" name="state" required> </div> </div> <div class="row"> What is : 9 + 8 <input type="hidden" name="captcha_total" id="captcha_total" value="17" /> <input name="captcha" id="captcha" type="text" placeholder="Enter Captcha here" class="form-control is-valid" style="background-color:#f3f6f5;" required> </div> </div> <div class="modal-footer"> <div class="row"> <div class="container"> <div class="col-lg-2"> <button type="submit" name="btn_submit" class="btn-success">Submit </button> </div> </div> </div> </div> </form> </div> </div> </div> --> <br /> <br /> <style> html { position: relative; min-height: 100% } .carousel-inner img { width: 100%; height: 460px } .carousel-control { width: 100% } #text-carousel { width: 100%; height: auto; margin-top: 70px; padding: 13px } .carousel-control.left, .carousel-control.right { opacity: 1; filter: alpha(opacity=100); background-image: none; background-repeat: no-repeat; text-shadow: none } .carousel-control.left span { padding: 15px } .carousel-control.right span { padding: 15px } .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next { position: absolute; top: 45%; z-index: 5; display: inline-block } .carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev { left: 0 } .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next { right: 0 } .carousel-control.left span, .carousel-control.right span { background-color: #000 } .carousel-control.left span:hover, .carousel-control.right span:hover { opacity: .7; filter: alpha(opacity=70) } .font-slide { color: #433838 ; font-weight: 700; font-size: 48px; line-height: 53px } .top-form { position: absolute; z-index: 999; margin-top: -474px; width: 100% } .form-bg { background-color: #fff; padding: 12px; width: 92%; border-radius: 10px; float: right; margin-top: -80px } .bg-sec { background-color: #fff } .img-banne { height: 620px } .campus { background: linear-gradient(rgba(17, 17, 17, 0.55),rgba(17, 17, 17, 0.55)), url(../biu-static.s3.amazonaws.com/photos/footer/g6.jpg) no-repeat center fixed; width: 100%; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-color: rgba(17, 17, 17, 0.8); content: " "; z-index: 0; } .homebanner { background: linear-gradient(rgba(17, 17, 17, 0.55),rgba(17, 17, 17, 0.55)); content: " "; z-index: 0; } .students-bg { background: url("ramch/static/images/ramch/ayurvedabanner.jpg") no-repeat center fixed; width: 100%; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover } .round-img { background-color: #ebebeb; padding: 7px; border-radius: 50% } .explore-btn { background-color: #0071c5; width: 140px; height: 36px; padding: 10px } .testi-txt { font-size: 13px; text-align: center } .co-txt { color: #fff } .txt-p-p { color: #fff; font-size: 13px } .tx-p { color: #fff } .new-bg { background-color: #048c85; height: 40px } .news-out { background-color: #048c85; height: 40px; padding: 10px } .catch-text { background-color: #048c85; width: 180px; height: 36px; padding: 10px } .tex-padding { padding: 10px } .bord-col { border: 2px solid #ebebeb } .h-lin { line-height: 20px; text-transform: none; text-align: center } .hight-li { height: 10px } .carousel-fade .carousel-inner .item { opacity: 0; transition-property: opacity } .carousel-fade .carousel-inner .active { opacity: 1 } .carousel-fade .carousel-inner .active.left, .carousel-fade .carousel-inner .active.right { left: 0; opacity: 0; z-index: 1 } .carousel-fade .carousel-inner .next.left, .carousel-fade .carousel-inner .prev.right { opacity: 1 } .carousel-fade .carousel-control { z-index: 2 } .p-h { margin-bottom: 5px } .c { text-transform: capitalize } .sli-txt { font-size: 15px; color: #185b18; } .modal { text-align: center; padding: 0 !important } .modal:before { content: ''; display: inline-block; height: 100%; vertical-align: middle; margin-right: -4px } .bt-logi { width: 100% } .modal-dialog { display: inline-block; text-align: left; vertical-align: middle } .font-i-b9 { font-family: "Roboto"; font-weight: 800px; font-size: 22px } .fnt-txti { font-family: "Roboto"; font-size: 30px; font-weight: 500; color: #24353b } .htheigh { height: 8px } .fntsi { font-size: 15px } .fntsi1 { font-size: 17px } .c-textdr { color: #000; font-size: 18px } @media only screen and (max-width:1400px) and (min-width:768px) { san { margin-left: 200px; margin-top: 43px } .close1 { margin-left: 100px } } @media only screen and (min-width:322px) and (max-width:768px) { .close1 { margin-left: 100px !important } } .vd { width: 100%; height: 312px } </style> </br> <!-- <div > <div id="boxes"> <div id="dialog" class="window" > <div id="san" style=""> <a href="#" class="close agree"><img src="images/cross-sign.png" width="35" class="close1" style="background-color:#ff0000"></a> <a href="https://www.RAMCHmed.org/nigeria-international-education" target="_blank"> <img src="images/NigeriaeventPop-up-01.svg" class="img-responsive hidden-xs" style="height:600px; width:600px"> <img src="images/NigeriaeventPop-up-01.svg" class="img-responsive img1 hidden-md hidden-sm hidden-lg" style="width:50%; margin-left: 127px;" > </a> </div> </div> <div style=" font-size: 32pt; color:white; display: none; opacity: 0.4; " id="mask"></div> </div></div>--> <div class="container-fluid hidden-xs"> <div class="row"> <div id="carousel-example-generic " class="carousel slide" data-ride="carousel" style="pointer-events: none;"> <div class="carousel-inner"> <div class="item img-banne active"> <img src="ramch/static/images/ramch/bannerhome2.jpg" alt="Rudrapur medical college building photo"> </div> <div class="item img-banne"> <img src="ramch/static/images/ramch/bannerhome3.jpg" alt="Rudrapur medical college"> </div> </div> </div> </div> </div> <style type="text/css"> .ln_wrapper { overflow: hidden; width: 100%; z-index: 20; right: 0; top: 0; position: relative; } .ln_right { width: 100%; overflow: hidden; background: #cc393b; /*position: absolute;*/ z-index: -1; color: white; right: 0px; padding-left: 22px; } </style> <section class="banner fix-background parallax hidden-lg hidden-md hidden-sm banner-imgss"> <br> <div class="container position-relative"> <br> <br> <br> <br> </div> <br> <br> <br> </section> <section> <div class="container"> <br /> <center> <h2 class="tex-co tx-p c" style="background-color: cadetblue;">Photo Gallery </h2> </center> <br /> <center> <p class="c-textdr">Catch on what’s going on in the world of Pt. Ram Sumer Shukla Government Medical College </p> </center> <br> <br> <br /> <?php include ('admin/conn.php');?> <ul class="row"> <?php $sql="select * from visaapproval order by id desc"; $query=mysqli_query($connection,$sql); $count=1; while($res = mysqli_fetch_array($query)){ ?> <li class="col-sm-3 equal-hight"> <figure class="bord-col"> <a href="photo-gallery.php?id=<?php echo $res['id'];?>"> <img src="admin/visastudent/<?php echo $res[2]?>" class="img-responsive" alt="<?php echo $res[1]?>" style="height:200px;width: 100%;"></a> <figcaption class="tex-padding" style="height:150px;width: 100%;" > <br> <p> <b class="h-lin"> <?php echo readMoreFunction($res[1],"photo-gallery.php","id",$res[0]);?></b> </p> <br> </figcaption> </figure> <figure class="news-out"> <figcaption class="news-bg"> <center> <h6> <a href="photo-gallery.php?id=<?php echo $res['id'];?>"> <span class="tx-p">See Photo </span> </a> </h6> </center> </figcaption> </figure> </li> <?php } ?> <?php /********************************************************************* Purpose : function to truncate text and show read more links. Parameters : @$story_desc : story description @$link : story link @$targetFile : target redirect file name @$id : story id Returns : string ***********************************************************************/ function readMoreFunction($story_desc,$link,$targetFile,$id) { //Number of characters to show $chars = 200; $story_desc = substr($story_desc,0,$chars); $story_desc = substr($story_desc,0,strrpos($story_desc,' ')); $story_desc = $story_desc." <a href='$link?$targetFile=$id'>Read More...</a>"; return $story_desc; } ?> </ul> </div> <br /> </section> <Center> <h4> <figcaption class="catch-text"> <center> <h6> <a href="Gallery.php"> <span class="tx-p">Catch More Gallery </span> </a> </h6> </center> </figcaption> </h4> </Center> <br /> <footer class="footer"> <?php include ('footer.php');?> </footer> <script type="text/javascript" src="ramch/static/js/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="ramch/static/js/jquery.min.js"></script> <script type="text/javascript" src="ramch/static/assets/bootstrap/js/bootstrap.min.js"></script> <script type="text/javascript" src="ramch/static/assets/select2/js/select2.min.js"></script> <script type="text/javascript" src="ramch/static/js/custom.js"></script> <script type="text/javascript" src="ramch/static/assets/bxslider/js/bxslider.min.js"></script> <script type="text/javascript" src="ramch/static/js/swc.js"></script> <script type="text/javascript" src="ramch/static/assets/magnific-popup/js/magnific-popup.min.js"></script> <script type="text/javascript" src="ramch/static/assets/owl-carousel/js/owl.carousel.min.js"></script> <script type="text/javascript" src="ramch/static/js/modernizr.custom.js"></script> <!--<script type="text/javascript" src="js/embed-player.js"></script>--> <script> $(document).ready(function () { $("#myModal9").modal('show'); }); </script> <script type="text/javascript"> jQuery(document).ready(function () { jQuery("#form1").submit(function () { var name = jQuery('#name').val(); if (jQuery.trim(name) == '') { jQuery('#name').css('border', '1px solid red'); jQuery('#name').attr("placeholder", "Enter Your Name"); return false; } else { return true; } }); jQuery('.tp-banner').show().revolution({ dottedOverlay: "none", delay: 5000, startwidth: 1170, startheight: 550, minHeight: 450, navigationType: "none", navigationArrows: "solo", navigationStyle: "preview4" }); }); //ready </script> <script type="text/javascript"> $("#country").change(function () { var con = $('#country').val(); var check = con.split(',') var country = check[0]; var pcode = check[1]; $('#pcode').val("+" + pcode); $.ajax({ type: "POST", url: "ajax_response.php", data: { Str: "country", country: country }, //Data sent to server success: function (data) { //On Successful service call console.log(data); if (country == "99") { $("#NotIndia").css('display', 'block'); $("#statesId").html(data); } else { $("#NotIndia").css('display', 'none'); } } }); }); $("#country2").change(function () { var con = $('#country2').val(); var check = con.split(',') var country = check[0]; var pcode = check[1]; $('#pcode2').val("+" + pcode); $.ajax({ type: "POST", url: "ajax_response.php", data: { Str: "country2", country: country }, //Data sent to server success: function (data) { //On Successful service call console.log(data); if (country == "99") { $("#NotIndia2").css('display', 'block'); $("#statesId2").html(data); } else { $("#NotIndia2").css('display', 'none'); } } }); }); </script> <script type="text/javascript"> function Cities() { statesIDS = $('#statesIDS').val(); $.ajax({ type: "POST", url: "ajax_response.php", data: { Str: "statesIDS", statesIDS: statesIDS }, //Data sent to server success: function (data) { //On Successful service call console.log(data); $("#cityId").html(data); } }); } function Cities2() { statesIDS = $('#statesIDS2').val(); $.ajax({ type: "POST", url: "ajax_response.php", data: { Str: "statesIDS2", statesIDS: statesIDS }, //Data sent to server success: function (data) { //On Successful service call console.log(data); $("#cityId2").html(data); } }); } </script> <script> $(".T5").blur(function () { name = $('#name').val(); email = $('#email').val(); phone = $('#phone').val(); $.ajax({ type: "POST", url: "ajax_response.php", data: { Str: "Auto", name: name, email: email, phone: phone }, //Data sent to server success: function (data) { //On Successful service call console.log(data); } }); }); </script> <script> $('#phone9').keyup(function () { var count = $(this).val(); //to allow decimals,use/[^0-9\.]/g var regex = new RegExp(/[^()0-9\s]/g); var containsNonNumeric = this.value.match(regex); if (containsNonNumeric) { this.value = this.value.replace(regex, ''); } }); </script> <script> $("[data-toggle=popover]").each(function (i, obj) { $(this).popover({ html: true, content: function () { var id = $(this).attr('id') return $('#popover-content-' + id).html(); } }); }); </script> <style> .fbmess { background-image: url(images/facebook-messenger_icon.html) } .dot { height: 5px; width: 5px; background-color: #4caf50; border-radius: 50%; display: inline-block } @media (min-width:360px) and (max-width:640px) { .c3 { left: 315px } .close { position: absolute; left: 315px; top: -68px; color: #000; font-size: 35px } } .no-padding { padding-right: 0 !important; padding-left: 0 !important } .popover { position: fixed } .video-play-button:before { content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); display: block; width: 45px; height: 45px; background: #8cc53f repeat scroll 0 0; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -webkit-animation: pulse-border 1500ms ease-out infinite; animation: pulse-border 1500ms ease-out infinite } .video-play-button:after { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); display: block; width: 45px; height: 45px; background: #8cc53f repeat scroll 0 0; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; transition: all 200ms; -webkit-transition: all 200ms; -moz-transition: all 200ms; -ms-transition: all 200ms; -o-transition: all 200ms } @-webkit-keyframes pulse-border { 0% { -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1 } 100% { -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0 } } @keyframes pulse-border { 0% { -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1 } 100% { -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0 } } .video-play-button i { display: block; position: relative; z-index: 3 } </style> <script type="text/javascript"> jQuery(document).ready(function () { jQuery("#form1").submit(function () { var name = jQuery('#name').val(); if (jQuery.trim(name) == '') { jQuery('#name').css('border', '1px solid red'); jQuery('#name').attr("placeholder", "Enter Your Name"); return false; } else { return true; } }); $('#phone9').keyup(function () { var count = $(this).val(); //to allow decimals,use/[^0-9\.]/g var regex = new RegExp(/[^()0-9\s]/g); var containsNonNumeric = this.value.match(regex); if (containsNonNumeric) { this.value = this.value.replace(regex, ''); } }); jQuery('.tp-banner').show().revolution({ dottedOverlay: "none", delay: 5000, startwidth: 1170, startheight: 550, minHeight: 450, navigationType: "none", navigationArrows: "solo", navigationStyle: "preview4" }); }); //ready </script> <script type="text/javascript"> $("#country").change(function () { var con = $('#country').val(); var check = con.split(',') var country = check[0]; var pcode = check[1]; $('#pcode2').val("+" + pcode); $.ajax({ type: "POST", url: "ajax_response2.php", data: { Str: "country", country: country }, //Data sent to server success: function (data) {//On Successful service call console.log(data); if (country == "99") { $("#NotIndia").css('display', 'block'); $("#statesId").html(data); } else { $("#NotIndia").css('display', 'none'); } } }); }); jQuery('#phone10').keyup(function () { var count = jQuery(this).val(); //to allow decimals,use/[^0-9\.]/g var regex = new RegExp(/[^()0-9\s]/g); var containsNonNumeric = this.value.match(regex); if (containsNonNumeric) { this.value = this.value.replace(regex, ''); } }); $("#country2").change(function () { var con = $('#country2').val(); var check = con.split(',') var country = check[0]; var pcode = check[1]; $('#pcode').val("+" + pcode); $.ajax({ type: "POST", url: "ajax_response2.php", data: { Str: "country2", country: country }, //Data sent to server success: function (data) {//On Successful service call console.log(data); if (country == "99") { $("#NotIndia2").css('display', 'block'); $("#statesId2").html(data); } else { $("#NotIndia2").css('display', 'none'); } } }); }); </script> <script type="text/javascript"> function Cities() { statesIDS = $('#statesIDS').val(); $.ajax({ type: "POST", url: "ajax_response2.php", data: { Str: "statesIDS", statesIDS: statesIDS }, //Data sent to server success: function (data) {//On Successful service call console.log(data); $("#cityId").html(data); } }); } function Cities2() { statesIDS = $('#statesIDS2').val(); $.ajax({ type: "POST", url: "ajax_response2.php", data: { Str: "statesIDS2", statesIDS: statesIDS }, //Data sent to server success: function (data) {//On Successful service call console.log(data); $("#cityId2").html(data); } }); } </script> <script> $(".T5").blur(function () { name = $('#name').val(); email = $('#email').val(); phone = $('#phone').val(); $.ajax({ type: "POST", url: "ajax_response2.php", data: { Str: "Auto", name: name, email: email, phone: phone }, //Data sent to server success: function (data) {//On Successful service call console.log(data); } }); }); </script> <script type="text/javascript"> $("#btn-click").click(function () { var captcha = $("#captcha2").val(); var captcha_total = $("#captcha_total").val(); var state = $("#statesIDS2").val(); var city = $("#cityIDS2").val(); if ($.trim(captcha) == '') { $("#RegisterFeedback").html('<p style="color:red">Please Enter captha.</p>'); $("#captcha").focus(); } if ($.trim(state) == '') { $("#RegisterFeedback").html('<p style="color:red">Please Select State.</p>'); $("#state").focus(); } if ($.trim(city) == '') { $("#RegisterFeedback").html('<p style="color:red">Please Select City</p>'); $("#city").focus(); } if ($.trim(captcha) != $.trim(captcha_total)) { $("#RegisterFeedback").html('<p style="color:red">Please Enter correct captha</p>'); $("#captcha2").css("border", "1px solid red"); return false; } else { $("#captcha2").css("border", "1px solid green"); return true; } return true; }); $("#btnsclick").click(function () { var captcha = $("#captcha3").val(); var captcha_total = $("#captcha_total").val(); var state = $("#statesIDS").val(); var city = $("#cityIDS").val(); if ($.trim(captcha) == '') { $("#RegisterFeedback").html('<p style="color:red">Please Enter captha.</p>'); $("#captcha").focus(); } if ($.trim(state) == '') { $("#RegisterFeedback").html('<p style="color:red">Please Select State.</p>'); $("#state").focus(); } if ($.trim(city) == '') { $("#RegisterFeedback").html('<p style="color:red">Please Select City</p>'); $("#city").focus(); } if ($.trim(captcha) != $.trim(captcha_total)) { $("#RegisterFeedback").html('<p style="color:red">Please Enter correct captha</p>'); $("#captcha3").css("border", "1px solid red"); return false; } else { $("#captcha3").css("border", "1px solid green"); return true; } return true; }); </script> </body> </html>
Ukuran: 39.8 KB