HomeHelpTrac

source: tags/6.1/get_rss_feed.php @ 10242

Revision 10242, 591 bytes checked in by Alexander Trofimov, 3 years ago (diff)

dolphin 6.1.5, initial commit

Line 
1<?
2
3require_once( './inc/header.inc.php' );
4require_once( './inc/db.inc.php' );
5require_once( './inc/profiles.inc.php' );
6
7$sQuery = "SELECT `Content` FROM `PageCompose` WHERE `ID` = " . (int)$_GET['ID'];
8$sCont = db_value( $sQuery );
9
10if( !$sCont )
11    exit;
12
13list( $sUrl ) = explode( '#', $sCont );
14$sUrl = str_replace( '{SiteUrl}', $site['url'], $sUrl );
15
16$iMemID = (int)$_GET['member'];
17if( $iMemID ) {
18    $aMember = getProfileInfo( $iMemID );
19    $sUrl = str_replace( '{NickName}', $aMember['NickName'], $sUrl );
20}
21
22header( 'Content-Type: text/xml' );
23readfile( $sUrl );
Note: See TracBrowser for help on using the repository browser.