include ("$rootpath/main.php"); ?>
|
// Login information for the database include ("/home/indemand/www/links/login.php"); //Path to main link files $rootpath = "/home/indemand/www/links/"; //Name of the domain the link scripts will be running on $domain = "Fullgardens.com"; //Full web path to the CSS file $css = 'http://www.indemandnet.com/links/links.css'; $query = "select * from domains where domainname = '$domain'"; $query2 = mysql_query($query) or die(mysql_error()); $query3 = mysql_fetch_array($query2); $contactemail = $query3['contact_email']; $displaydomain = $query3['displaydomain']; $keyword1 = $query3['keyword1']; $keyword2 = $query3['keyword2']; $keyword3 = $query3['keyword3']; $keyword4 = $query3['keyword4']; $websitetitle = $query3['domaintitle']; $websitedescription = $query3['domaindesc']; $recipdescription = $query3['domaindesc']; $array = explode("/", $querystring); $temp = $array[0]; $array2 = explode(".", $temp); $cat = $array2[0]; $display_cat = str_replace("_"," ",$cat); if ($cat) { $querya = "SELECT COUNT(*) FROM links where domainname = '$domain' and ((category = '$display_cat' and status = 'accepted') or (category = '$display_cat'and status = 'adminpending') or (category = '$display_cat'and status = 'permanent'))"; $querya2 = mysql_query($querya) or die(mysql_error()); $querya3 = mysql_fetch_array($querya2); $count = $querya3[0]; } if ($querystring == "") { $query = "SELECT count(*) FROM links where domainname = '$domain' and ((status = 'accepted' or status = 'adminpending' or status = 'permanent'))"; $query2 = mysql_query($query) or die(mysql_error()); $query3 = mysql_fetch_array($query2); $total_count = $query3[0]; $queryb = "SELECT COUNT(*) FROM links where domainname = '$domain' and status = 'pending'"; $queryb2 = mysql_query($queryb) or die(mysql_error()); $queryb3 = mysql_fetch_array($queryb2); $pending = $queryb3[0]; } ?> include ("$rootpath/header.php"); ?>
| |
include ("../inc/menu.inc"); ?>
$adtype = '728x90'; include ("../inc/ads.php"); ?>
include("$rootpath/toptext.php"); ?>
$adtype = '728x90'; include ("../inc/ads.php"); ?>
| |