

<!DOCTYPE html>
<html lang="en">

<head>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">
  <title>OTT Panel</title>
  <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
  <link rel="icon" href="favicon.ico" type="image/x-icon">
  <!-- Custom styles for this template-->
  <link href="css/sb-admin.css" rel="stylesheet">
  <link rel="stylesheet" type="text/css" href="css/jquery.datetimepicker.min.css"/>

  <!-- Custom fonts for this template-->
  <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">

</head>
<body id="page-top">

  <!-- Page Wrapper -->
  <div id="wrapper">

    <!-- Sidebar -->
    <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">

      <!-- Sidebar - Brand -->
      <a class="sidebar-brand d-flex align-items-center justify-content-center" href="https://tr4.app/">
        <div class="sidebar-brand-icon">
          <img class="img-profile rounded-circle" src="img/logo.png" width="65px">
        </div>

      </a>

      <!-- Divider -->
      <hr class="sidebar-divider my-0">

      <!-- Nav Item -->
      <li class="nav-item">
        <a class="nav-link" href="dns.php">
          <i class="fas fa-fw fa-user"></i>
          <span>Portal</span></a>
      </li>

     
	  
	   <li class="nav-item">
        <a class="nav-link" href="encription.php">
          <i class="fas fa-fw fa-paint-brush"></i>
          <span>Encription</span></a>
      </li>
	  
	
      
      <li class="nav-item">
        <a class="nav-link" href="user.php">
          <i class="fas fa-fw fa-user"></i>
          <span>Update User / Pass</span></a>
      </li>

   <li class="nav-item">
        <a class="nav-link" href="https://tr4.app/">
          <i class="fas fa-fw fa-user"></i>
          <span>TR4 Apps</span></a>
      </li>

   <!-- Divider -->
      <hr class="sidebar-divider d-none d-md-block">

      <!-- Sidebar Toggler (Sidebar) -->
      <div class="text-center d-none d-md-inline">
      </div>

    </ul>
          <!-- End of Sidebar -->

    <!-- Content Wrapper -->
    <div id="content-wrapper" class="d-flex flex-column">

      <!-- Main Content -->
      <div id="content">

        <!-- Topbar -->
        <nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top">

          <!-- Sidebar Toggle (Topbar) -->
          <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
            <i class="fa fa-bars"></i>
          </button>
<div><h5 class="m-0 text-primary">OTT Panel<sup></sup></h5></div>

          <!-- Topbar Navbar -->
          <ul class="navbar-nav ml-auto">


            <div class="topbar-divider d-none d-sm-block"></div>

            <!-- Nav Item - Logout -->
            <li class="nav-item dropdown no-arrow mx-1">
              <a class="nav-link dropdown-toggle" href="logout.php"><span class="badge badge-danger">Logout</span>
                <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-red-400"></i>
              </a>
            </li>

          </ul>

        </nav>
        <!-- End of Topbar -->



	
<div class="modal fade" id="confirm-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h2>Confirm</h2>
            </div>
            <div class="modal-body">
                Do you really want to delete?
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
                <a class="btn btn-danger btn-ok">Delete</a>
            </div>
        </div>
    </div>
</div>
<main role="main" class="col-15 pt-4 px-5"><div class="row justify-text-center"><div class="chartjs-size-monitor" style="position:absolute ; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: hidden; pointer-events: none; visibility: hidden; z-index: -1;"><div class="chartjs-size-monitor-expand" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="chartjs-size-monitor-shrink" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div></div>
          <div id="main">
            

          <!-- Page Heading -->
          <h1 class=" h3 mb-1 text-gray-800"> User Dashboard</h1>
                        <a button class="btn btn-success btn-icon-split" id="button" href="./create_dns.php">
                        <span class="icon text-white-50"><i class="fas fa-check"></i></span><span class="text">Create</span>
                        </button></a>
          </div>
		<div class="table-responsive">
			<table class="table table-striped table-sm">
			<thead class= "text-primary">
				<tr>				  
                  <th>URL</th>
				  
				  
				  <th>Edit</th>
			
			
				  <th>Delete</th>
                </tr>
              </thead>
			              <tbody class=" text-primary">  		  
                  <td>http://conexaoonline.top:80/</td>
                  <td><a class="btn btn-warning btn-icon-split" href="./update_dns.php?update=0"><span class="icon text-white-50"><i class="fa fa-pen" ></i></span></a></td>
                  <td><a class="btn btn-danger btn-icon-split" href="#" data-href="./dns.php?delete=0" data-toggle="modal" data-target="#confirm-delete"><span class="icon text-white-50"><i class="fa fa-trash"></i></span></a></td>
			 </tbody>
                          <tbody class=" text-primary">  		  
                  <td>http://dns.acaidopara.net:8080/</td>	  
                  <td><a class="btn btn-warning btn-icon-split" href="./update_dns.php?update=1"><span class="icon text-white-50"><i class="fa fa-pen" ></i></span></a></td>
				  <td><a class="btn btn-danger btn-icon-split" href="#" data-href="./dns.php?delete=1" data-toggle="modal" data-target="#confirm-delete"><span class="icon text-white-50"><i class="fa fa-trash"></i></span></a></td>	
	         </tbody>
                          <tbody class=" text-primary">  		  
                  <td>http://gameplay.p2sweb.me:80/</td>	  
                  <td><a class="btn btn-warning btn-icon-split" href="./update_dns.php?update=2"><span class="icon text-white-50"><i class="fa fa-pen" ></i></span></a></td>
				  <td><a class="btn btn-danger btn-icon-split" href="#" data-href="./dns.php?delete=2" data-toggle="modal" data-target="#confirm-delete"><span class="icon text-white-50"><i class="fa fa-trash"></i></span></a></td>				
			 </tbody>
                          <tbody class=" text-primary">  		  
                  <td>http://5ce.me:80/</td>	  
                  <td><a class="btn btn-warning btn-icon-split" href="./update_dns.php?update=3"><span class="icon text-white-50"><i class="fa fa-pen" ></i></span></a></td>
				  <td><a class="btn btn-danger btn-icon-split" href="#" data-href="./dns.php?delete=3" data-toggle="modal" data-target="#confirm-delete"><span class="icon text-white-50"><i class="fa fa-trash"></i></span></a></td>				
			 </tbody>								
						</table>
		</div>
</main>

    <br><br><br>
</div>



      <!-- Footer -->
      <footer class="sticky-footer bg-white">
        <div class="container my-auto">
          <div class="copyright text-center my-auto">
            <span><a href="https://" target="_blank">&#169;</a> <a href="https://tr4.app/" target="_blank">TR4 APPs</span>
          </div>
        </div>
      </footer>
      <!-- End of Footer -->

    </div>
    <!-- End of Content Wrapper -->

  </div>
  <!-- End of Page Wrapper -->

  <!-- Scroll to Top Button-->
  <a class="scroll-to-top rounded" href="#page-top">
    <i class="fas fa-angle-up"></i>
  </a>


<!-- Bootstrap core JavaScript-->
  <script src="vendor/jquery/jquery.min.js"></script>
  <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

  <!-- Core plugin JavaScript-->
  <script src="vendor/jquery-easing/jquery.easing.min.js"></script>


  <!-- Custom scripts for all pages-->
  <script src="js/sb-admin.min.js"></script>
  <script src="js/jquery.datetimepicker.js"></script>
 
<script>

var today = new Date();
var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();
var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds();
var dateTime = date+' '+time;

$('#datetimepicker').datetimepicker({
	//value:dateTime, 
	step:30,
	format:'Y-m-d H:i:s',
	});
	

$(document).ready(function () {
    $("#flash-msg").delay(3000).fadeOut("slow");
});

</script>    <script>
$('#confirm-delete').on('show.bs.modal', function(e) {
    $(this).find('.btn-ok').attr('href', $(e.relatedTarget).data('href'));
});
    </script>
</body>

</html>