$css_ie = ereg('MSIE 7.0', $user_agent) ? 'ie7' : (ereg('MSIE ([0-6].[0-9]{1,2})', $user_agent) ? 'ie6' : ((isset($_SESSION['SECURITY']['UA']) && $_SESSION['SECURITY']['UA'] == 'Safari') ? 'safari' : ((isset($_SESSION['SECURITY']['UA']) && $_SESSION['SECURITY']['UA'] == 'Opera') ? 'opera' : '')));
// left blocks ?
if (blocks_visible('l')) {
$img = hideblock('600') ? 'plus.gif' : 'minus.gif';
$imgl = '<img align="left" alt="Toggle Content" title="Toggle Content" id="pic600" src="themes/'.$CPG_SESS['theme'].'/images/'.$img.'" onclick="blockswitch(\'600\');" style="cursor:pointer" />';
}
// right blocks ?
if (blocks_visible('r')) {
$img = hideblock('601') ? 'plus.gif' : 'minus.gif';
$imgr = '<img align="right" alt="Toggle Content" title="Toggle Content" id="pic601" src="themes/'.$CPG_SESS['theme'].'/images/'.$img.'" onclick="blockswitch(\'601\');" style="cursor:pointer" />';
}
// left blocks ?
if ($Blocks->l && ($Blocks->showblocks & 1)) {
$img = $Blocks->hideblock('600') ? 'plus.gif' : 'minus.gif';
$imgl = '<img alt="'._TOGGLE.'" title="'._TOGGLE.'" id="pic600" src="themes/'.$CPG_SESS['theme'].'/images/'.$img.'" onclick="blockswitch(\'600\');" style="cursor:pointer; float:left; padding:2px 0 2px 0;" />';
}
// right blocks ?
if ($Blocks->r && ($Blocks->showblocks & 2)) {
$img = $Blocks->hideblock('601') ? 'plus.gif' : 'minus.gif';
$imgr = '<img alt="'._TOGGLE.'" title="'._TOGGLE.'" id="pic601" src="themes/'.$CPG_SESS['theme'].'/images/'.$img.'" onclick="blockswitch(\'601\');" style="cursor:pointer; float:right; padding:2px 0 2px 0;" />';
}
'CSS_IE' => ($css_ie) ? '<link rel="stylesheet" type="text/css" href="themes/'.$CPG_SESS['theme'].'/style/'.$css_ie.'.css" />' : '',
'S_TOGGLE' => _TOGGLE,
{newstopic.S_MORELINK}{newstopic.S_COMMLINK}{newstopic.S_PRNTLINK}{newstopic.S_FRNDLINK}{newstopic.S_CATLINK}{newstopic.S_SCORLINK}
All times are GMT