Article Not Found"; return; } $pcur=$_GET['next']; $qry="Select * from news_publish where news_id=$id "; $SelectstoryRec = SelectQry($qry); //print "$qry

"; if (count($SelectstoryRec)==0) { print "
Story Not Found
"; exit; } $headline = $SelectstoryRec[0]['title']; //$misc_image = $SelectstoryRec[0]['misc_image']; if($Serachresultkeyword != "") $headline=preg_replace("/($Serachresultkeyword)/i","\${1}",$headline); $smurf = $SelectstoryRec[0]['summary']; //$smurf=eregi_replace("http:\/\/www.caribbeannetnews.com\/news\/_files\/Image","carribeannew/Image_net_news",$smurf); $smurf=preg_replace('//','',$smurf); $smurf=preg_replace('//','',$smurf); if($Serachresultkeyword != "") $smurf=preg_replace("/($Serachresultkeyword)/i","\${1}",$smurf); if ($t!='f') { $story = $SelectstoryRec[0]['content']; $story=eregi_replace("http:\/\/www.caribbeannetnews.com\/news\/_files\/Image","carribeannew/Image_net_news",$story); // $story = ereg_replace("height=[^<>[:space:]]+[[:alnum:]/]", "height=\"50", $story); $story = ereg_replace("cellspacing=[^<>[:space:]]+[[:alnum:]/]", "cellspacing=\"0", $story); $story=eregi_replace("\"carribeannew","\"http://www.islandjournal.net/carribeannew",$story); $story=str_replace("\\","",$story); $story=eregi_replace("http:\/\/www.caribbeannetnews.com\/cgi-script","http://www.islandjournal.net/carribeannew",$story); if (($SelectstoryRec[0]['status']=='new') || ($SelectstoryRec[0]['status']=='html')) { $story = ereg_replace("

","
", $story); } $lastupdate = $SelectstoryRec[0]['datepost']; }else { $story = $SelectstoryRec[0]['interview']; //$story=preg_replace("/($Serachresultkeyword)/i","\${1}",$story); $lastupdate = $SelectstoryRec[0]['updatedate']; } if ($print!="yes") { $par=20; if (!$pcur) {$pcur=1;} if ($pcur!=1) {$continuesmurf='(Continued)'; } $pprev=$pcur-$par; $pnext=$pcur+$par; $pars=split("\n\r",$story); $pcnt=count($pars); $totalpage = ceil($pcnt/20); $story=""; for ($i=$pcur-1;$i<$pnext-1;$i++) { $story.="$pars[$i]\n\r"; } #end for $story=trim($story); }#end if not print $story=ereg_replace("\(\(([A-Z]{1,5})\)\)","(\\1)",$story); $story=ereg_replace("\[\[","",$story); $story=ereg_replace("\]\]","",$story); $story=ereg_replace("\{\{","",$story); $story=ereg_replace("\}\}","",$story); $story=ereg_replace("\[\R\]","",$story); $story=ereg_replace("\[\/\R\]","",$story); $story=nl2br($story); $date = $SelectstoryRec[0]['datepost']; $datearr=split("-", $SelectstoryRec[0]['datepost']); if ($datearr[1]<10) { $datearr[1]=ereg_replace("0","",$datearr[1]); } if ($datearr[2]<10) { $datearr[2]=ereg_replace("0","",$datearr[2]); } $emonth=$MonthName[$datearr[1]]; $lastupdate=$emonth . " " . $datearr[2] . ", " . $datearr[0]; $y=substr($date,0,2);$m=substr($date,2,2);$d=substr($date,4,2);$date="$m/$d/$y"; $author = "Caribbeannewsnow.com"; ?>
$section_name"; } else { print "Caribbean $section_name"; } ?>

">

" class="date-link">


Caribbeannewsnow.com
Last Update:
"; } ?>




","
", $story); } ?>


".$Id."";} else { print "  $Id";} } ?>

  ($orig_link)"; if ($fid==2) { print "  ((remove article))"; } } ?>