- <?php
- $customCSS = array(
- '<link href="../assets/css/bootoast.min.css" rel="stylesheet">',
- '<link href="../assets/plugins/DataTables/datatables.min.css" rel="stylesheet">',
- '<link href="../assets/plugins/DataTables/style.css" rel="stylesheet">'
- );
- $customJAVA = array(
- '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.all.min.js"></script>',
- '<script src="../assets/js/bootoast.min.js"></script>',
- '<script src="../assets/plugins/jquery.toast/jquery.toast.js"></script>',
- '<script src="../assets/plugins/DataTables/datatables.min.js"></script>',
- '<script src="../assets/plugins/printer/main.js"></script>',
- '<script src="../assets/js/pages/datatables.js"></script>',
- );
- $page_title = 'Aile Sorgu';
- include('inc/header_main.php');
- include('inc/header_sidebar.php');
- include('inc/header_native.php');
- ?>
- <!--BAŞLANGIC-->
- <div class="row">
- <div class="col-xl-12 col-md-6">
- <div class="col-lg-12">
- <div class="card">
- <div class="card-body">
- <h4 class="card-title mb-4">Aile Sorgu & AjexNetwork</h4>
- <p class="mb-1">
- </p>
- <p>Sorgulanacak Kişinin T.C. Nosunu Giriniz.</p>
- <div class="block-content tab-content">
- <div class="tab-pane active" id="tc" role="tabpanel">
- <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>
- <input require="" maxlength="11" class="form-control" type="text" name="tcx" id="tcx" placeholder="TC"><br>
- <center class="nw">
- <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>
- <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>
- <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>
- </center>
- <div class="table-responsive">
- <table id="zero-conf" class="table table-hover" style="width:100%">
- <thead>
- <tr>
- <th style="color: white;"><b>YAKINLIK</b></th>
- <th style="color: white;"><b>T.C</b></th>
- <th style="color: white;"><b>ADI</b></th>
- <th style="color: white;"><b>SOYADI</b></th>
- <th style="color: white;"><b>DOĞUM TARİHİ</b></th>
- <th style="color: white;"><b>ANNE ADI</b></th>
- <th style="color: white;"><b>ANNE T.C</b></th>
- <th style="color: white;"><b>BABA ADI</b></th>
- <th style="color: white;"><b>BABA T.C</b></th>
- <th style="color: white;"><b>İL / İLÇE</b></th>
- <th style="color: white;"><b>AUTHOR</b></th>
- </tr>
- </thead>
- <tbody id="jojjoojj">
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- function clearResults() {
- $("#jojjoojj").html(
- '<tr class="odd"><td valign="top" colspan="21" class="dataTables_empty">No data available in table</td></tr>'
- );
- $("#tcx").val("");
- }
- </script>
- <script>
- function checkNumber() {/*
- return Swal.fire({
- icon: "warning",
- title: "Oooooopss...",
- text: "Kısa süreliğine bakımda!"
- });*/
- /* Cyber Api System */
- $.Toast.showToast({
- "title": "Sorgulanıyor...",
- "icon": "loading",
- "duration": 7000
- });
- $.ajax({
- url: "../api/sülale/api.php",
- type: "POST",
- data: {
- tc: $("#tcx").val(),
- },
- success: (res) => {
- if (res) {
- var json = JSON.parse(res);
- $('tbody').html("");
- $.each(json, function(key, value) {
- $('tbody').append('<tr>' +
- '<td style="color: #fff; font-weight: bold;">' + value.yakinlik + '</td>' +
- '<td style="color: #fff; font-weight: bold;">' + value.tc + '</td>' +
- '<td style="color: #fff; font-weight: bold;">' + value.adi + '</td>' +
- '<td style="color: #fff; font-weight: bold;">' + value.soyadi + '</td>' +
- '<td style="color: #fff; font-weight: bold;">' + value.dtarih + '</td>' +
- '<td style="color: #fff; font-weight: bold;">' + value.anneadi + '</td>' +
- '<td style="color: #fff; font-weight: bold;">' + value.annetc + '</td>' +
- '<td style="color: #fff; font-weight: bold;">' + value.babaadi + '</td>' +
- '<td style="color: #fff; font-weight: bold;">' + value.babatc + '</td>' +
- '<td style="color: #fff; font-weight: bold;">' + value.il + " / " + value.ilce + '</td>' +
- '<td style="color: #fff; font-weight: bold; font-family: Verdana;"> Monster API Service</td>' +
- '</tr>');
- });
- } else {
- alert("Hata oluştu!");
- return;
- }
- },
- error: () => {
- alert("Hata oluştu!");
- }
- });
- }
- </script>
- </div>
- <!--BİTİŞ-->
- <style>
- #fayujsiker {
- background-image: url(https://media.giphy.com/media/eYRGWfchREFUUlXT7P/giphy.gif);
- }
- </style>
- <?php
- include('inc/footer_native.php');
- include('inc/footer_main.php');
- ?>