View file public_html/vipadz/uadv.php

File size: 891B
<?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 - Advertises");

if($adminlog==1){

$uid=formget("id");
echo '<div class="title">Advertises of U#'.$uid.'</div>';

$page=formget("page");

$stat=mysql_query("SELECT * FROM advertise WHERE userid='$uid' ORDER BY id DESC");

while($show=mysql_fetch_array($stat)){
 echo '<a href="advd.php?id='.$show["id"].'"><div class="ua">Url: '.$show["url"].'<br/>Site ID: '.$show["id"].'</div></a>';
 }



echo '<a href="user.php?id='.$uid.'"><div class="ua" align="center"><b>User Details</b></div></a>';

include '../foot.php';
}
else {

header('Location:login.php?error=session&out=no&valid=no&session=no');
}

?>