<?php
$post_id = intval( @$_GET['post_id'] ) ;
$topic_id = intval( @$_GET['topic_id'] ) ;
header( "HTTP/1.0 301 Moved Permanently" ) ;
if( $post_id ) {
header( "Location: (XOOPS_URL)/modules/d3forum/index.php?post_id=".$post_id ) ;
} else {
header( "Location: (XOOPS_URL)/modules/d3forum/index.php?topic_id=".$topic_id ) ;
}
exit ;
?>