"; // check for empty image field if ($nr['image']=='' | $nr['image']==' ' | $nr['image']=='\n' | $nr['image']=='\r' | $nr['image']=='\r\n') { // nothing happens } else { echo "
"; //link order now link to image if code exists if ($nr['code']=='' | $nr['code']==' ' | $nr['code']=='\n' | $nr['code']=='\r' | $nr['code']=='\r\n') { // } else { printf("\n", $nr['code']); } //fetch image printf("\n
\n\n"; } else { echo ">\n
"; } } echo "

\n"; //link order now link to image if code exists if ($nr['code']=='' | $nr['code']==' ' | $nr['code']=='\n' | $nr['code']=='\r' | $nr['code']=='\r\n') { // } else { printf("\n", $nr['code']); echo "\n"; echo"\n"; } $dsql = $nr['date']; printf("

Contact: %s %s", $nr['contact'], $nr['phone']); echo "
Date Posted: $dsql

\n"; echo "

\n"; echo $nr['title']; echo "

\n"; echo $nr['body']; // use table if on if ($nr['table_status'] == "on") { $font = $nr['font']; $font_size = $nr['font_size']; echo "

\n"; // Get header for ($hd=1;$hd<=4;$hd++) { $head = "header" . $hd; $table_head = $nr[$head]; //Write table header echo "\n"; } // insert end tr echo ""; for ($tr=1;$tr<=6;$tr++) { // table row data echo "\n"; for ($td=1;$td<=4;$td++) { $tc = "f". $tr . $td; $table_data = $nr[$tc]; // table cell data echo "\n"; } echo ""; } echo "
\n"; echo ""; echo $table_head; echo "
\n"; echo ""; echo $table_data; echo "

"; } echo "

\n"; printf("%s\n", $nr['link'], $nr['linktitle']) ; echo "


\n

"; echo "View News List | "; echo "Crystaledge.com | "; echo "Close Window

\n"; } else { echo ""; } ?>