Topic: [HACK] Next/Previous Links
$matches[1] Next/Previous Links
$matches[1] StealthEye
$matches[1] 1.3.6 - * (no incompatibility reported yet)
$matches[1] Go to the next or previous story when looking at your full story.
$matches[1]
// Prev Next For Full Story
$index = array_search($active_news, $all_active_news);
$prev = explode("|", $all_active_news[$index - 1], 2);
$next = explode("|", $all_active_news[$index + 1], 2);
$next_link =
"$PHP_SELF?subaction=showfull&id=$next[0]&archive=$archive&start_from=$start_from&ucat=$ucat&$us
er_query";
$prev_link =
"$PHP_SELF?subaction=showfull&id=$prev[0]&archive=$archive&start_from=$start_from&ucat=$ucat&$us
er_query";
$output = str_replace("[next]", $next[0] ? "[url=]" : "", $output);
$output = str_replace("[prev]", $prev[0] ? "<a href=\"$prev_link\">" : "", $output);
$output = str_replace("[/next]", $next[0] ? "[/url]" : "", $output);
$output = str_replace("[/prev]", $prev[0] ? "</a>" : "", $output);
// End Prev Next For Full Story
$matches[1]
$output = str_replace("{cute-http-path}", $config_http_script_dir, $output);
That's around line 250 in $matches[1] in your $matches[1] folder.
$matches[1]
[next]<< Next[/next] - [prev]Previous >>[/prev]