", trim($myrow[text])); $tpbuff = ereg_replace ("#TEXT#", $text, $tpbuff); $tpbuff = ereg_replace ("#EMAIL#", trim($myrow[email]), $tpbuff); if ( trim($myrow[frame]) != "" ) { // if this is a frame $tpbuff = ereg_replace ("#FRAME#", trim($myrow[frame]), $tpbuff); $clx = mysql_close($db); DB_Connect(); $counter = $counter+1; $lastpop = time(); $sql = "UPDATE users SET "; $sql = $sql . "lastpop=$lastpop, "; //Date time last Popped $sql = $sql . "counter='$counter'"; $sql = $sql . " WHERE id=$recid;"; //echo $sql; $result = mysql_query($sql); // AND END IT ALL echo $tpbuff; // Send out the Frame - and exit exit; } } else { $tpbuff = "Can't find template $template!!"; // can't find template } // End if template exists } // end if using template // SEND OUT THE HTML HEADER ?> <? echo $myrow[title];?>

PREVIEW OF YOUR I-ANNOUNCE POPUP PAGE
This is a preview of your I-Announce Popup Page with your current settings !
If the page does not look acceptable,

Otherwise
Click here if everything looks fine!
(This message will NOT appear in your popup window!)


4) && (substr($file,-4)==".txt") ) { $bans[$nbans] = $file; $nbans++; } } closedir($handle); /* Ok - now pick one */ srand ((double) microtime() * 1000000); $randval = rand(0,$nbans-1); $banfile = "./adbanners/" . $bans[$randval]; $fd = fopen( $banfile, "r" ); $banimg = trim(fgets( $fd,200 )); /* URL to Picture */ $banlnk = trim(fgets( $fd,200 )); /* Full Link Url */ fclose( $fd ); } if ( $banimg != "" ) { ?>
$text = str_replace("\n", "
", $text); $text = urls_clickable($text); } // SEND OUT THE TITLE AND THE TEXT (TEXT MAY BE HTML) ?>






Popup:  Hits:
">