* Based on Joomlaboard Component
* @copyright (C) 2000 - 2004 TSMF / Jan de Graaff / All Rights Reserved
* @license www.gnu.org/copyleft/gpl.html GNU/GPL
* @author TSMF & Jan de Graaff
**/
defined ('_VALID_MOS') or die('Direct Access to this location is not allowed.');
// get fireboards configuration params in
include_once ($mainframe->getCfg("absolute_path") .'/administrator/components/com_fireboard/fireboard_config.php');
LINE 21 // Class structure should be used after this and all the common task should be moved to this class
LINE 22 require_once ($mainframe->getCfg("absolute_path") . "/components/com_fireboard/class.fireboard.php");
require_once ($mainframe->getPath('admin_html'));
//Get right Language file
if (file_exists($mainframe->getCfg('absolute_path') . '/administrator/components/com_fireboard/language/' . $mainframe->getCfg('lang') . '.php')) {
include ($mainframe->getCfg('absolute_path') . '/administrator/components/com_fireboard/language/' . $mainframe->getCfg('lang') . '.php');
}
else {
include ($mainframe->getCfg('absolute_path') . '/administrator/components/com_fireboard/language/english.php');
}
$cid = mosGetParam($_REQUEST, 'cid', array ( 0 ));
if (!is_array($cid)) {
$cid = array ( 0 );
}
$uid = mosGetParam($_REQUEST, 'uid', array ( 0 ));
if (!is_array($uid)) {
$uid = array ( $uid );
}
$order = mosGetParam($_REQUEST, 'order');
$no_html = mosGetParam($_REQUEST, 'no_html');
$pt_stop = "0";
/* header */
/* upgrading from SB */
$database->setQuery("#__fb_messages");
$table_nm = $database->_sql;
$jb_upgrade = false;
if (mysql_num_rows(mysql_query("SHOW TABLES LIKE '" . $table_nm . "'"))) {
$jb_upgrade = true;
//Clexus PM
if ($fbConfig == 'clexuspm' || $fbConfig == "clexuspm") {
$database->setQuery("SELECT id FROM #__menu WHERE link = 'index.php?option=com_mypms' AND published=1");
$CPM_Itemid = $database->loadResult();
define("FB_CPM_ITEMID", (int)$CPM_Itemid);
define("FB_CPM_ITEMID_SUFFIX", "&Itemid=" . FB_CPM_ITEMID);
}
// UddeIM
if ($fbConfig == 'uddeim') {
$database->setQuery('SELECT id FROM #__menu WHERE link=`index.php?option=com_uddeim`');
LINE 57 $UIM_itemid = $database->loadResult();
define("FB_UIM_ITEMID", (int)$UIM_itemid);
define("FB_UIM_ITEMID_SUFFIX", "&Itemid=" . FB_UIM_ITEMID);
}
// MISSUS
if ($fbConfig == 'missus') {
$database->setQuery('SELECT id FROM #__menu WHERE link=`index.php?option=com_missus`');
$MISSUS_itemid = $database->loadResult();
define("FB_MISSUS_ITEMID", (int)$MISSUS_itemid);
define("FB_MISSUS_ITEMID_SUFFIX", "&Itemid=" . FB_MISSUS_ITEMID);
}
// PROFILE LINK
if ($fbConfig == "cb") {
$profilelink = 'index.php?option=com_comprofiler&task=userProfile&user=';
// get fireboards configuration params in
include_once ($mainframe->getCfg("absolute_path") . '/administrator/components/com_fireboard/fireboard_config.php');
// Class structure should be used after this and all the common task should be moved to this class
LINE 66 require_once ($mainframe->getCfg("absolute_path") . "/components/com_fireboard/class.fireboard.php");
// get right Language file
if (file_exists(JB_ABSADMPATH . '/language/' . JB_LANG . '.php')) {
include_once (JB_ABSADMPATH . '/language/' . JB_LANG . '.php');
}
else {
include_once (JB_ABSADMPATH . '/language/english.php');
}
// Include Clexus PM class file
if ($fbConfig == "clexuspm")
{
require_once ($mosConfig_absolute_path . '/components/com_mypms/class.mypms.php');
$ClexusPMconfig = new ClexusPMConfig();
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.