12.10.2017, 03:32
Thanks but now when i login my ucp give me the next error:
Quote:
Notice: Undefined index: domain in C:\Documents and Settings\Bill\Escritorio\USBSERVER\root\ucp\includ es\functions.php on line 10 6) { $query_s1 = $pdo->prepare("UPDATE articles SET title=:1, text=:2 WHERE id=:3"); $query_s1->execute(array(':1' => $_POST["title"], ':2' => $_POST["text"], ':3' => $_GET["id"])); } $query = $pdo->prepare("SELECT * FROM articles WHERE active = 1 ORDER BY id DESC"); $query->execute(); $count = 0; $count2 = 0; while($row = $query->fetch(PDO::FETCH_ASSOC)) { $count++; if($count >= $min AND $count <= $max) { $id = $row["id"]; $count2++; if(isset($_POST["save"]) AND $_SESSION["session_admin"] > 6 AND $_GET["id"] == $id) { echo " |