Facebook
From Mature Motmot, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 73
  1. <?php
  2. $customCSS = array(
  3.     '<link href="../assets/css/bootoast.min.css" rel="stylesheet">',
  4.     '<link href="../assets/plugins/DataTables/datatables.min.css" rel="stylesheet">',
  5.     '<link href="../assets/plugins/DataTables/style.css" rel="stylesheet">'
  6.  
  7.  
  8. );
  9. $customJAVA = array(
  10.     '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.all.min.js"></script>',
  11.     '<script src="../assets/js/bootoast.min.js"></script>',
  12.     '<script src="../assets/plugins/jquery.toast/jquery.toast.js"></script>',
  13.     '<script src="../assets/plugins/DataTables/datatables.min.js"></script>',
  14.     '<script src="../assets/plugins/printer/main.js"></script>',
  15.     '<script src="../assets/js/pages/datatables.js"></script>',
  16. );
  17. $page_title = 'Aile Sorgu';
  18. include('inc/header_main.php');
  19. include('inc/header_sidebar.php');
  20. include('inc/header_native.php');
  21. ?>
  22. <!--BAŞLANGIC-->
  23. <div class="row">
  24.     <div class="col-xl-12 col-md-6">
  25.         <div class="col-lg-12">
  26.             <div class="card">
  27.                 <div class="card-body">
  28.                     <h4 class="card-title mb-4">Aile Sorgu & AjexNetwork</h4>
  29.                     <p class="mb-1">
  30.                     </p>
  31.                     <p>Sorgulanacak Kişinin T.C. Nosunu Giriniz.</p>
  32.                     <div class="block-content tab-content">
  33.                         <div class="tab-pane active" id="tc" role="tabpanel">
  34.                             <center><span style="font-family: impact; color: #fff; font-size:66px;">UYARI: </span><h1 style="font-family: sans-serif; color: #fff; font-size:25px;"><b>Bu Proje - AjexNetwork.Com.Tr Tarafından yapılmıştır</b></h1></center><br>
  35.                             <input require="" maxlength="11" class="form-control" type="text" name="tcx" id="tcx" placeholder="TC"><br>
  36.                             <center class="nw">
  37.                                 <button onclick="checkNumber()" name="tcx" id="sorgula" name="yolla" class="btn waves-effect waves-light btn-rounded btn-primary" style="width: 180px; height: 45px; outline: none; margin-left: 5px;"><i class="fas fa-search"></i> Sorgula </button>
  38.                                 <button onclick="clearResults()" id="durdurButon" type="button" class="btn waves-effect waves-light btn-rounded btn-danger" style="width: 180px; height: 45px; outline: none; margin-left: 5px;"><i class="fas fa-trash-alt"></i> Sıfırla </button>
  39.                                 <button onclick="printTable()" id="yazdirTable" type="button" class="btn waves-effect waves-light btn-rounded btn-warning" style="width: 180px; height: 45px; outline: none; margin-left: 5px;"><i class="fas fa-print"></i> Yazdır Detay </button><br><br>
  40.                             </center>
  41.                            
  42.                             <div class="table-responsive">
  43.                                 <table id="zero-conf" class="table table-hover" style="width:100%">
  44.                                     <thead>
  45.                                         <tr>
  46.                                         <th style="color: white;"><b>YAKINLIK</b></th>
  47.                                         <th style="color: white;"><b>T.C</b></th>
  48.                                         <th style="color: white;"><b>ADI</b></th>
  49.                                         <th style="color: white;"><b>SOYADI</b></th>
  50.                                         <th style="color: white;"><b>DOĞUM TARİHİ</b></th>
  51.                                         <th style="color: white;"><b>ANNE ADI</b></th>
  52.                                         <th style="color: white;"><b>ANNE T.C</b></th>
  53.                                         <th style="color: white;"><b>BABA ADI</b></th>
  54.                                         <th style="color: white;"><b>BABA T.C</b></th>
  55.                                         <th style="color: white;"><b>İL / İLÇE</b></th>
  56.                                         <th style="color: white;"><b>AUTHOR</b></th>
  57.                                         </tr>
  58.                                     </thead>
  59.                                     <tbody id="jojjoojj">
  60.                                     </tbody>
  61.                                 </table>
  62.                             </div>
  63.                         </div>
  64.                     </div>
  65.                 </div>
  66.             </div>
  67.         </div>
  68.     </div>
  69.     <script type="text/javascript">
  70.     function clearResults() {
  71.  
  72.  
  73.         $("#jojjoojj").html(
  74.             '<tr class="odd"><td valign="top" colspan="21" class="dataTables_empty">No data available in table</td></tr>'
  75.         );
  76.  
  77.  
  78.         $("#tcx").val("");
  79.     }
  80. </script>
  81. <script>
  82.                                             function checkNumber() {/*
  83.                 return Swal.fire({
  84.                     icon: "warning",
  85.                     title: "Oooooopss...",
  86.                     text: "Kısa süreliğine bakımda!"
  87.                 });*/
  88.  
  89.  
  90.  
  91.                 /* Cyber Api System */
  92.                                        
  93.                                                     $.Toast.showToast({
  94.                                                         "title": "Sorgulanıyor...",
  95.                                                         "icon": "loading",
  96.                                                         "duration": 7000
  97.                                                     });
  98.                                                     $.ajax({
  99.                                                     url: "../api/sülale/api.php",
  100.                                                     type: "POST",
  101.                                                     data: {
  102.                                                         tc: $("#tcx").val(),
  103.                                                        
  104.                                                     },
  105.                                                     success: (res) => {
  106.                                                         if (res) {
  107.                                                             var json = JSON.parse(res);
  108.                                                            
  109.                                                             $('tbody').html("");
  110.                                                     $.each(json, function(key, value) {
  111.                                                        
  112.                                                         $('tbody').append('<tr>' +
  113.                                                                 '<td style="color: #fff; font-weight: bold;">' + value.yakinlik + '</td>' +
  114.                                                                 '<td style="color: #fff; font-weight: bold;">' + value.tc + '</td>' +
  115.                                                                 '<td style="color: #fff; font-weight: bold;">' + value.adi + '</td>' +
  116.                                                                 '<td style="color: #fff; font-weight: bold;">' + value.soyadi + '</td>' +
  117.                                                                 '<td style="color: #fff; font-weight: bold;">' + value.dtarih + '</td>' +
  118.                                                                 '<td style="color: #fff; font-weight: bold;">' + value.anneadi + '</td>' +
  119.                                                                 '<td style="color: #fff; font-weight: bold;">' + value.annetc + '</td>' +
  120.                                                                 '<td style="color: #fff; font-weight: bold;">' + value.babaadi + '</td>' +
  121.                                                                 '<td style="color: #fff; font-weight: bold;">' + value.babatc + '</td>' +
  122.                                                                 '<td style="color: #fff; font-weight: bold;">' + value.il + " / " + value.ilce + '</td>' +
  123.                                                                 '<td style="color: #fff; font-weight: bold; font-family: Verdana;"> Monster API Service</td>' +
  124.                                                                
  125.                                                                 '</tr>');
  126.                                                     });
  127.                                                         } else {
  128.                                                             alert("Hata oluştu!");
  129.                                                             return;
  130.                                                         }
  131.                                                     },
  132.                                                     error: () => {
  133.                                                         alert("Hata oluştu!");
  134.                                                     }
  135.                                                    
  136.                                                 });
  137.                                             }
  138.                                        
  139.                                         </script>
  140. </div>
  141. <!--BİTİŞ-->
  142.  
  143.  
  144. <style>
  145. #fayujsiker {
  146.     background-image: url(https://media.giphy.com/media/eYRGWfchREFUUlXT7P/giphy.gif);
  147. }
  148.  
  149.  
  150. </style>
  151. <?php
  152. include('inc/footer_native.php');
  153. include('inc/footer_main.php');
  154. ?>