View file public_html/vipadz/rejectappeal.php

File size: 663B
<?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 - Reject Appeal");

if($adminlog==1){

$user=formget("id");

 $doit=mysql_query("UPDATE appeals SET status='Rejected' WHERE user='$user'");
 if($doit){
  echo '<div class="success">Appeal Is Rejected.</div>';
 }
 else {
  echo 'unk';
 }

 echo '<a href="appeals.php"><div class="ua">Appeals</div></a>';
 include '../foot.php';
 }
 else {
 header('Location:login.php');
 }
 ?>