Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux nl-srv-web1396.main-hosting.eu 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User : u107206879 ( 107206879)
PHP Version : 7.2.34
Disable Function : NONE
Directory :  /home/u107206879/domains/escort46.de/public_html/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u107206879/domains/escort46.de/public_html/admin/seo_adservices_add.php
<?php
$error = "";
$message = "";
include "db_connection.php";
include "sessioncheck.php";
$error = "";
$message = "";
if (!empty($_POST["Process"]) && trim($_POST["Process"]) == "AddNow") {
    $query = "";
    foreach ($lang_admin as $key => $value) {
        $tmp = "";
        $tmp = $key . "_adservice";
        $query .= $tmp . "='" . addslashes($_POST[$tmp]) . "',";
    }
    $query = rtrim($query, ',');

    #insert into ad services	 
    $sql = mysqli_query($connection, "insert into adservices SET " . $query);
    if ($sql) {
        $sql1 = mysqli_query($connection, "insert into seo_adservices SET  language='" . addslashes($lang_site_main_lang) . "', adservice='" . addslashes($_POST[$lang_site_main_lang . "_adservice"]) . "'");
    }
    header("Location:seo_adservices");
}
?>
<!-- Header Start-->
<?php include("header.php"); ?>
<nav class=" navbar navbar-expand navbar-white navbar-light">
    <ul class="navbar-nav">
        <li class="nav-item">
            <a class="nav-link" data-widget="pushmenu" href="#">
                <i class="fa fa-bars" style="color:white;"></i>
            </a>
        </li>
    </ul>
    <div>
        <ol class="breadcrumb float-sm-right">
            <li class="breadcrumb-item ">Ad Services</li>
            <li class="breadcrumb-item">Add Ad Service</li>
        </ol>
    </div>
</nav>
<!-- Header Ends-->
<!-- Content Start-->

<section class="content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-body">
                        <?php include_once 'notification.php'; ?>
                        <form action="" method="post" id="add-user-form" enctype="multipart/form-data">
                            <input type="hidden" name="language" id="language" value="<?php echo $lang_site_main_lang; ?>" />
                            <?php foreach ($lang_admin as $key => $value) : ?>
                                <div class="form-group">
                                    <label for="usrname"><?php echo $value ?> AdService</label>
                                    <input type="text" class="form-control" id="<?php echo $key ?>_adservice" name="<?php echo $key ?>_adservice" placeholder="<?php echo $value ?> AdService" required value="<?php if (!empty($_POST["usrname"])) {
                                                                                                                                                                                                                    echo $_POST["usrname"];
                                                                                                                                                                                                                } ?>" required>
                                </div>
                            <?php endforeach; ?>
                            <button type="submit" class="btn btn-primary">Add</button>
                            <input type="hidden" name="Process" id="Process" value="AddNow" />
                        </form>
                    </div>
                    <!-- /.card-body -->
                </div>
                <!-- /.card -->
            </div>
        </div>
        <!-- /.row (main row) -->
    </div><!-- /.container-fluid -->
</section>
<!-- Content Ends-->
<!-- Footer Start-->
<?php include("footer.php"); ?>
<!-- Footer Ends-->

Al-HUWAITI Shell