$header[page_title] "; echo " "; echo " "; ?> $header[page_header]"; //Selecting all the Advertise entries from the DB, sorted by display order... $sql = "SELECT * FROM terms_69491 ORDER BY display_order"; $result = mysql_query($sql); echo "
| ";
//If the image exists and the image variable isn't blank, display it...
if (file_exists("../images/$row[img]") && $row[img] != "")
{
if($row[http] != ""){
if($row[link_type] == "external")
$img_src = " "; //If the paragraph isn't blank, display it... if ($row[paragraph] != "") echo "$row[paragraph] "; //If the bulleted list isn't blank, display it... if ($row['list'] != "") echo "$row[list]"; //If the PDF title isn't blank, & the file exists & the file variable isn't blank, display it... if ($row[pdf_title] != "" && file_exists("../files/$row[pdf]") && $row[pdf] != "") echo "$row[pdf_title] "; //If the Link title isn't blank, & the http isn't blank, display it as an external link... if ($row[link_title] != "" && $row[http] != "") { if($row[link_type] == "external") echo "$row[link_title] "; else echo "$row[link_title] "; } if ($row[email] != "") echo "$row[email] "; echo " |