View file public_html/vipadz/unban_wall.php

File size: 688B
<?php

/************************************

Script : Adnetwork
Website : http://facebook.com/pranto007

Script is created and provided by Pranto (http://facebook.com/pranto007)
**************************************/
include '../db.php';
include '../functions.php';

headtag("$SiteName - UnBan User Wall");

if($adminlog==1){

$user=formget("id");

 $doit=mysql_query("UPDATE userdata SET wallban='no' WHERE username='$user'");
 if($doit){
  echo '<div class="success">User is UnBanned From Wall.</div>';
 }
 else {
  echo 'unk';
 }

 echo '<a href="user.php?id='.$user.'"><div class="ua">User Details</div></a>';
 include '../foot.php';
 }
 else {
 header('Location:login.php');
 }
 ?>