It is for when you are searching for users, you can check it to only find users who have opted to recieve mail from the site administrator.
The strange thing that if opened from a editor like phpDesign, the ad is shown, but in website no. I think it may be related to xoops system, maybe there is an option which blocks javascript?
<link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" />
function loadCss($css_file = 'style.css')
{
static $css_url, $css_path;
if (!isset($css_url)) {
$css_url = dirname( xoops_getcss($GLOBALS['xoopsConfig']['theme_set']) );
$css_path = str_replace(XOOPS_THEME_URL, XOOPS_THEME_PATH, $css_url);
}
$css = array();
$css[] = $css_url . '/' . $css_file;
$css_content = file_get_contents( $css_path . '/' . $css_file );
// get all import css files
if ( preg_match_all("~@import url((.*.css));~sUi", $css_content, $matches, PREG_PATTERN_ORDER) ) {
foreach( $matches[1] as $key => $css_import ) {
$css = array_merge( $css, $this->loadCss( $css_import) );
}
}
return $css;
}