Dòng chử đậm á admin
QUOTE
if ( $ibforums->skin_global == "" and $name != 'skin_global')
{
//-----------------------------------------
// Skin global not loaded...
//-----------------------------------------
$ibforums->loaded_templates[] = $name;
$ibforums->loaded_templates[] = 'skin_global';
$DB->simple_construct( array( 'select' => '*',
) );
$DB->simple_exec();
while ( $r = $DB->fetch_row() )
{
if ( $r['template_group_name'] == 'skin_global' )
{
$skin_global = $r['template_group_content'];
}
else
{
$other_skin = $r['template_group_content'];
}
}
eval($skin_global);
$ibforums->skin_global = new skin_global();
}
else
{
//-----------------------------------------
// Skin global is loaded..
//-----------------------------------------
if ( $name == 'skin_global' and in_array( 'skin_global', $ibforums->loaded_templates ) )
{
return;
}
//-----------------------------------------
// Load the skin, man
//-----------------------------------------
$ibforums->loaded_templates[] = $name;
$DB->simple_construct( array( 'select' => '*',
) );