define("EMBED_VDO_WIDTH", $row['embed_player_width']); define("EMBED_VDO_HEIGHT", $row['embed_player_height']); include 'plugin.functions.php'; include 'plugins_functions.php'; //require BASEDIR.'/includes/templatelib/Template.class.php'; define('SMARTY_DIR', BASEDIR . '/includes/smarty/'); require BASEDIR . '/includes/smarty/SmartyBC.class.php'; require BASEDIR . '/includes/classes/template.class.php'; require BASEDIR . '/includes/classes/objects.class.php'; require BASEDIR . '/includes/active.php'; include 'menu.php'; $cbtpl = new CBTemplate(); $cbobjects = new CBObjects(); $swfobj = new SWFObject(); //Initializng Userquery class $cbcollection->setting_up_collections(); $userquery->init(); $cbvideo->init(); $cbgroup->init(); $cbphoto->init_photos(); $thisurl = curPageURL(); //Setting Up Group Class $cbgroup->gp_thumb_width = config('grp_thumb_width'); $cbgroup->gp_thumb_height = config('grp_thumb_height'); Assign('THIS_URL', $thisurl); define("ALLOWED_GROUP_CATEGORIES", $row['grp_categories']); define('ALLOWED_VDO_CATS', $row['video_categories']); define('ALLOWED_CATEGORIES', 3); if ($Cbucket->LatestAdminMenu()) { $Cbucket->AdminMenu = array_merge($Cbucket->LatestAdminMenu(), $Cbucket->AdminMenu); }