The MTPaginate tag only works within PHP documents!
Make sure that the document extension is .php and that your server supports PHP documents.
1)
$paginate_current_page = 1;
$paginate_sections = array( 0
, 1);
$paginate_top_section = $paginate_sections[$paginate_current_page-1]+1;
$paginate_bottom_section = $paginate_sections[$paginate_current_page];
} else {
$paginate_top_section = 1;
$paginate_bottom_section = 1;
}
if(isset($_SERVER['QUERY_STRING'])) {
$paginate_self = '&' . $_SERVER['QUERY_STRING'] . '&';
$paginate_self = preg_replace("/&page=[^&]*&/", "&", $paginate_self);
$paginate_self = preg_replace("/&page_section=[^&]*&/", "&", $paginate_self);
$paginate_self = substr($paginate_self, 1, strlen($paginate_self) - 1);
if($paginate_self == '&')
$paginate_self = '';
else
$paginate_self = htmlentities($paginate_self);
} else {
$paginate_self = '';
}
$paginate_self = basename($_SERVER['PHP_SELF']) . "?${paginate_self}page";
?>
Posted October 1, 2011 8:43 PM
It's been a fun week here, and we've snapped some pictures of various things around 30 Rock this week. Hope you guys enjoy!
Click on the photo to see the gallery:
virtual("/assets/includes/sites/saturday-night-live/backstage/300x250.shtml");?>
virtual("/saturday-night-live/backstage/includes/recent-entries.html");?>
virtual("/saturday-night-live/backstage/includes/monthly-archive.html");?>
virtual("/assets/core/includes/modules/?module=social&query=siteId/61/facebookId/10714086302/forumRssId/36/twitterId/nbcsnl/hasTwitterScet/0/");?>