Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.161 Web Server : LiteSpeed System : Linux in-mum-web1259.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u490972518 ( 490972518) PHP Version : 5.6.40 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u490972518/domains/ppschool.org.in/public_html/admin/../cgi-bin/../sale_new/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include('php-includes/connect.php'); include('php-includes/check-login.php'); $userid = $_SESSION['userid']; $sel="select * from user where email='$userid' "; $res=mysqli_query($con,$sel); $row=mysqli_fetch_array($res,MYSQLI_BOTH); //echo $userid; ?> <?PHP include("link/header.php")?> <link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <link href="jq/jquery.dataTables.min.css" type="text/css" rel="stylesheet"/> <link href="jq/buttons.dataTables.min.css" type="text/css" rel="stylesheet"/> <link href="/your-path-to-fontawesome/css/fontawesome.css" rel="stylesheet"> <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js"></script> <script src="jq/jquery.dataTables.min.js"></script> <script src="jq/dataTables.buttons.min.js"></script> <script src="jq/buttons.flash.min.js"></script> <script src="jq/jszip.min.js"></script> <script src="jq/pdfmake.min.js"></script> <script src="jq/vfs_fonts.js"></script> <script src="jq/buttons.html5.min.js"></script> <script src="jq/buttons.print.min.js"></script> <script> $(document).ready(function(){ $("#myform").submit(function(e){ e.preventDefault(); $("#btn").prop("disabled",true); $.ajax({ url:"code/classcode.php?flag=1", type:"POST", data:new FormData(this), contentType:false, processData:false, success:function(res){ alert(res); window.location.href='center_add.php'; $("#modal").load("code/classcode.php?flag=2"); }, error:function(){ alert("error"); } }); }); }); $(document).ready(function(){ $("#modal").load("code/classcode.php?flag=2"); }); function deleterow(id) { //alert(id); var a=confirm("Are you Sure"); if(a==true) { $.ajax({ url:"code/classcode.php?flag=200", type:"POST", data:{rowid:id}, success:function(res){ alert(res); $("#modal").load("code/classcode.php?flag=2"); }, error:function(){ alert("error"); } }); } } $(document).ready(function(){ $("#parrent").keyup(function(){ var dis2 =$(this).val(); $.ajax({ url:"code/classcode.php?flag=44", type:"POST", data: {dis1:dis2}, success:function(res){ //alert(res); $("#parrent1").val(res); }, error:function(){ alert("error"); } }); }); }); $(document).ready(function(){ $("#side").change(function(){ var side =$(this).val(); var check=$('#parrent').val(); // alert(side); // alert(check); $.ajax({ url:"code/student_detailscode.php?flag=69", type:"POST", data: {side:side,check:check}, success:function(res){ alert(res); //$("#rate").val(res); }, error:function(){ alert("error"); } }); }); }); </script> <section id="main-content"style='background-color:gray'> <section class="wrapper" style="background-color: white;"> <div id="page-wrapper" style="background-color: white;"> <div class="container-fluid"> <h1 class="page-header">PIN ACCOUNT</h1> <form id='myform' autocomplete="on"> <div class="col-lg-12"> <div class="form-group"> <label>Owner Name</label> <input type="text" name="owner_name" data-validation="custom" data-validation-regexp="^([a-zA-Z\s]+)$" data-validation-error-msg="Use Only Alphabet" class="form-control" required> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label>Gender</label> <select name="gender" class="form-control" required > <option>Male</option> <option>Female</option> </select> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label>Mobile</label> <input type="text" name="mobile" id='mob' data-validation="number"required="required" maxlength="10" name="mobile" data-validation-error-msg="Only Use Number" class="form-control" required> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label>Center Name</label> <input type="text" name="center_name" data-validation="custom" data-validation-regexp="^([a-zA-Z\s]+)$" data-validation-error-msg="Use Only Alphabet" class="form-control" required> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label>Center Address</label> <textarea class="form-control" name='address' required ></textarea> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label>Username </label> <input type="text" name="user_name" class="form-control" required /> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label>Password</label> <input type="text" name="password" class="form-control" required> </div> </div> <div class="col-lg-6"> <br/> <div class="form-group"> <button id='btn' class='btn btn-primary'>Sign up</button> </div> </div> </form> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">CENTER LIST</h1> <?php ?> <script> $(document).ready(function(){ $('#example').DataTable({ dom: 'Bfrtip', buttons: ['print','pdf'] }); }); </script> <div class="table-responsive"> <table id="example" class="display nowrap" cellspacing="0" width="100%" border="1px"> <thead> <tr> <th style="text-align:center">Sr.</th><th style="text-align:center">Dist Id</th><th style="text-align:center">Name</th><th style="text-align:center">Plan</th><th style="text-align:center">Pin Use</th><th style="text-align:center">Available Pin</th> </tr> </thead> <tfoot> <tr> <th style="text-align:center">Sr.</th><th style="text-align:center">Dist Id</th><th style="text-align:center">Name</th><th style="text-align:center">Plan</th><th style="text-align:center">Pin Use</th><th style="text-align:center">Available Pin</th> </tr> </tfoot> <tbody> <?php $sel="select * from user where email='$userid' "; $res=mysqli_query($con,$sel); $s=1; $row=mysqli_fetch_array($res,MYSQLI_BOTH); $man=$userid; //$plan=$row['plan']; $sel1="select * from user where man='$man' and amount>0 "; $res1=mysqli_query($con,$sel1); $row14=mysqli_num_rows($res1); //echo $row1; $sel1111="select * from pin where userid='$man' "; $res1111=mysqli_query($con,$sel1111); $pin11=0; while($row1111=mysqli_fetch_array($res1111,MYSQLI_BOTH)) { $pin121=$row1111['pin']; $pin11=$pin11+$pin121; //// receive pin } //////// ///show $remain_pin3=$pin11-$row14; ////////show ////for 35000 pin $sel1="select * from user where email='$man'"; $res1=mysqli_query($con,$sel1); $row1=mysqli_fetch_array($res1,MYSQLI_BOTH); ////for 35000 pin ////for 35000 ?> <tr class="text-center"> <td><?php echo $s;?></td><td><?php echo $row['email'];?></td><td><?php echo $row1['name'];?></td><td>600</td><td><?php echo $row14 ;?></td><td><?php echo $remain_pin3;?></td> </tr> </tbody> </table> </div> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> <div class="row"> </div><!--/.row--> </div> <!-- /.container-fluid --> </div> <!-- /#page-wrapper --> </section> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-form-validator/2.3.26/jquery.form-validator.min.js"></script> <script> $.validate({ modules : 'html5', modules : 'file' }); </script> <!-- footer --> <!-- / footer --> </section> <!--main content end--> </section> <script src="js/bootstrap.js"></script> <script src="js/jquery.dcjqaccordion.2.7.js"></script> <script src="js/scripts.js"></script> <script src="js/jquery.slimscroll.js"></script> <script src="js/jquery.nicescroll.js"></script> <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="js/flot-chart/excanvas.min.js"></script><![endif]--> <script src="js/jquery.scrollTo.js"></script> <!-- morris JavaScript --> <script> $(document).ready(function() { //BOX BUTTON SHOW AND CLOSE jQuery('.small-graph-box').hover(function() { jQuery(this).find('.box-button').fadeIn('fast'); }, function() { jQuery(this).find('.box-button').fadeOut('fast'); }); jQuery('.small-graph-box .box-close').click(function() { jQuery(this).closest('.small-graph-box').fadeOut(200); return false; }); //CHARTS function gd(year, day, month) { return new Date(year, month - 1, day).getTime(); } graphArea2 = Morris.Area({ element: 'hero-area', padding: 10, behaveLikeLine: true, gridEnabled: false, gridLineColor: '#dddddd', axes: true, resize: true, smooth:true, pointSize: 0, lineWidth: 0, fillOpacity:0.85, data: [ {period: '2015 Q1', iphone: 2668, ipad: null, itouch: 2649}, {period: '2015 Q2', iphone: 15780, ipad: 13799, itouch: 12051}, {period: '2015 Q3', iphone: 12920, ipad: 10975, itouch: 9910}, {period: '2015 Q4', iphone: 8770, ipad: 6600, itouch: 6695}, {period: '2016 Q1', iphone: 10820, ipad: 10924, itouch: 12300}, {period: '2016 Q2', iphone: 9680, ipad: 9010, itouch: 7891}, {period: '2016 Q3', iphone: 4830, ipad: 3805, itouch: 1598}, {period: '2016 Q4', iphone: 15083, ipad: 8977, itouch: 5185}, {period: '2017 Q1', iphone: 10697, ipad: 4470, itouch: 2038}, ], lineColors:['#eb6f6f','#926383','#eb6f6f'], xkey: 'period', redraw: true, ykeys: ['iphone', 'ipad', 'itouch'], labels: ['All Visitors', 'Returning Visitors', 'Unique Visitors'], pointSize: 2, hideHover: 'auto', resize: true }); }); </script> <!-- calendar --> <script type="text/javascript" src="js/monthly.js"></script> <script type="text/javascript"> $(window).load( function() { $('#mycalendar').monthly({ mode: 'event', }); $('#mycalendar2').monthly({ mode: 'picker', target: '#mytarget', setWidth: '250px', startHidden: true, showTrigger: '#mytarget', stylePast: true, disablePast: true }); switch(window.location.protocol) { case 'http:': case 'https:': // running on a server, should be good. break; case 'file:': alert('Just a heads-up, events will not work when run locally.'); } }); </script> <!-- //calendar --> </body> </html>