<?php
/**********************************************************************/
/* Powered By Fusion Board V 1.0.0
/**********************************************************************/
/* Author: Keven Brochu
/* Copyright: © 2004/2005 - KevBrok, The Dynamic Fusion Team
/* Web: http://www.dynamic-fusion.net
/* E-mail: hide@address.com
/* Begin: 14 Feb 2005 00:29 GMT
/* Last Update: ---
/* Fusion Board Version: 1.0.0
/* File Version: 1.0.0
/**********************************************************************/
/* Visit Dynamic-Fusion website for details, updates, support and more.
/**********************************************************************/
/* includes/functions_admin.inc.php
/* Admin Fusion Board functions.
/**********************************************************************/
if ( !defined('FILE_ACCESS') || !defined('IN_ADMIN') ) exit;
/*
* Exactly like sessurl(), but with the administration Session ID
*/
function admsessurl( $currpage = FALSE, $frames = FALSE, $link = TRUE, $keep_sid = TRUE )
{
global $ADM;
$global_url = INDEX_FILE . EXT . '?admin';
if ( $currpage !== FALSE )
{
$global_url .= '=' . $currpage;
}
if ( $frames !== FALSE )
{
$global_url .= '&' . $frames;
}
if ( $ADM['useurl'] && $keep_sid )
{
$global_url .= '&asid=' . $ADM['sessid'] ;
}
if ( !$link )
{
$global_url = str_replace( '&', '&', $returnurl );
}
return $global_url;
}
?>