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