$dateTime

"; //anchor tag set for easier linking echo "

{$row[2]}

\n"; $ima = split(", ", $row[1]); //build array out of images list for($i=0; $i\n"; }else{ //handle PDFs echo "\"PDF\" $ima[$i]"; } } } } //**************************************************************************************** //****DISPLAY COMMENT********************************************************************* $com = nl2br($row[0]); for($i=0; $i\n", $com); }else{ //handle PDFs $com = str_replace("[$j]", "\"PDF\" $ima[$i]\n", $com); } } } echo "

$com

"; //**************************************************************************************** //****DISPLAY POSTED BY****************************************************************** //if multiUsers is turned on in settings.php, display the username that wrote the entry if($MULTIUSERS){ echo "

Posted By: $row[6]

"; } //*************************************************************************************** //****DISPLAY COMMENTS******************************************************************* //you must have comments turned on (in settings.php) for this to display if($COMMENTS){ if($row[5] != 0){ echo "

$row[5] comments | Commentpermalink

"; }else{ echo "

$row[5] comments | Commentpermalink

"; } } //*************************************************************************************** echo "

"; //this is the break line. set it's appearance in the CSS file. } echo "
"; if(!$_entryview){ //if not the entry view, show pagination $pages = ceil($totally/$perPage); //divides the total posts by the posts per page then rounds up. This sets the total pages. //if on page 1, dont give a page back link if($page != 1){ echo "

<<   "; } echo $pages." total pages"; //if on the last page, dont link ahead if($page != $pages && $totally != 0){ echo "   >>

 

"; } }else{ //this is an entry page echo "

View all entries>>

"; } echo "
\"super"; echo " \"super"; echo "
"; ?>