} //if banners=y ?>
echo stripslashes(mysql_result($sField,0,"title")); ?> Last Updated echo DisplayDate(mysql_result($sField,0,"lastupdate")); ?>
$article = mysql_result($sField,0,"article");
if (mysql_result($sField,0,"therm")=="Y") { // <<<--- IF THERMOMETER IS SELECTED THEN BELOW CODE WILL BE INSERTERD
$thermometer="";
$article = str_replace("<! -- Thermometer Here -->",$thermometer,$article);
}
echo $article ?>
$suppquery = "SELECT * FROM aidsupporters WHERE aid='".mysql_result($sField,0,"aid")."' ORDER BY ID DESC";
$suppField = mysql_query($suppquery);
if (@mysql_num_rows($suppField)>0) {
?>
for ($i=0;$i<@mysql_num_rows($suppField);$i++) { ?>
echo mysql_result($suppField,$i,"name"); ?>
echo mysql_result($suppField,$i,"citystate"); ?>
if (mysql_result($suppField,$i,"displayamt")=="Y") { ?>
echo mysql_result($suppField,$i,"dollamt"); ?>
} else { //displayamt ?>
} //displayamt?>
echo mysql_result($suppField,$i,"message"); ?>
} //for ?>
} //mysql_num_rows ?>
if (mysql_result($sField,0,"banners")=="Y") { ?>