UnknownSec Bypass
403
:
/
home
/
growthpharma
/
public_html
/
Master@Growth
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
menustatus.php
<?php include_once("config.php"); //include_once("session_check.php"); // Menu Status Chnage if(isset($_GET['id']) and ($_GET['id']!='')) { $id=$_GET['id']; $status=$_GET['status']; $newsstatus1=mysql_query("update menu set status='$status' where menuid='$id'"); if($newsstatus1 ) { echo "<script>window.location='managemenu.php'</script>"; $_SESSION['mode']="Record Status Updated"; exit(); } else { echo "<script>window.location='managemenu.php'</script>"; $_SESSION['mode1']="Unable To Update Record Status"; exit(); } } if(isset($_GET['delid']) and ($_GET['delid']!='')) { $id=$_GET['delid']; $check = mysql_num_rows(mysql_query("select * from submenu where menuid='$id'")); if($check >'0') { echo "<script>window.location='managemenu.php'</script>"; $_SESSION['mode1']="There is dependency you can not delete this Menu!"; exit(); } else{ $sqldelrole = mysql_query("delete from menu where menuid='$id'"); echo "<script>window.location='managemenu.php'</script>"; $_SESSION['mode']="Record Deleted Successfully"; exit(); } } ?>
Copyright © 2024 - UnknownSec