0)) { $self = $_SERVER['PHP_SELF']."?entrycatID=".$entrycatID."&"; } elseif ((strlen($userID) > 0)) { $self = $_SERVER['PHP_SELF']."?authorID=".$userID."&"; } else { $self = $_SERVER['PHP_SELF']."?"; } $nav = ''; if ($maxPage > 1) { for($page = 1; $page <= $maxPage; $page++) { if ($page == $pageNum) { $nav .= "".$page.""; // no need to create a link to current page } else { $nav .= " ".$page." "; } } // creating previous and next link plus the link to go straight to the first and last page if ($pageNum > 1) { $page = $pageNum - 1; $prev = "« Prev "; $first = " « First Page "; } else { $prev = ''; // we're on page one, don't print previous link $first = ''; // nor the first page link } if ($pageNum < $maxPage) { $page = $pageNum + 1; $next = " Next »"; $last = " Last Page »"; } else { $next = ''; // we're on the last page, don't print next link $last = ''; // nor the last page link } } // end if pageNum > 1 meaning, display navigation if there are more than 1 page worth of results /* keep this query SELECT DISTINCT e.entryID, e.entryTitle, e.entryContent, e.entryMedia, e.entryDate, date_format(e.entryDate, '%b %e, %Y') as entryDateShow, u.userID, u.firstName, u.lastName, ec.entrycatID, ec.entrycatName FROM Entries e, EntryCategories ec, EntriesCatLinker ecl LEFT JOIN Users u ON u.userID = e.userID WHERE ec.entrycatID = ecl.entrycatID AND ec.entrycatID = (SELECT ec.entrycatID FROM EntriesCatLinker ecl, EntryCategories ec, Entries e WHERE e.entryID = ecl.entryID AND ecl.entrycatID = ec.entrycatID) ORDER BY e.entryDate DESC */ ?> <? echo $siteName; ?> _ <? echo $thisSection; ?><? if (strlen($thisPage) > 0): ?> _ <? echo $thisPage; ?><? endif; ?>

No Entries Under This Category



0): ?> 0): ?> 0): ?>

Posted by on in '.$rows_entryCats['entrycatName'].','; endwhile; $printCats = substr_replace($getCats, "", -1); unset($getCats); ?> [entry link]