"; $XHTML5 = false; header("Content-Type: text/html; charset=".$Settings['charset']); } if($Settings['output_type']=="xhtml") { if(stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")) { $ccstart = "//"; $XHTML5 = true; header("Content-Type: application/xhtml+xml; charset=".$Settings['charset']); } else { if (stristr($_SERVER["HTTP_USER_AGENT"],"W3C_Validator")) { $ccstart = "//"; $XHTML5 = true; header("Content-Type: application/xhtml+xml; charset=".$Settings['charset']); } else { $ccstart = "//"; $XHTML5 = false; header("Content-Type: text/html; charset=".$Settings['charset']); } } } if($Settings['output_type']!="xhtml") { if($Settings['output_type']!="html") { $ccstart = "//"; $XHTML5 = false; header("Content-Type: text/html; charset=".$Settings['charset']); } } if($checklowview===true&&$_GET['act']=="lowview") { $ThemeSet['CSSType'] = "lowview"; $ThemeSet['ThemeName'] = $OrgName." Low Theme"; $ThemeSet['ThemeMaker'] =$iDB_Author; $ThemeSet['ThemeVersion'] = $VER1[0].".".$VER1[1].".".$VER1[2]; $ThemeSet['ThemeVersionType'] = $VER2[0]; $ThemeSet['ThemeSubVersion'] = $VER2[2]." ".$SubVerN; $ThemeSet['MakerURL'] = $iDBHome."support/?act=lowview"; $ThemeSet['CopyRight'] = $ThemeSet['ThemeName']." was made by ".$ThemeSet['ThemeMaker'].""; $ThemeInfo['ThemeName'] = $ThemeSet['ThemeName']; $ThemeInfo['ThemeMaker'] = $ThemeSet['ThemeMaker']; $ThemeInfo['ThemeVersion'] = $ThemeSet['ThemeVersion']; $ThemeInfo['ThemeVersionType'] = $ThemeSet['ThemeVersionType']; $ThemeInfo['ThemeSubVersion'] = $ThemeSet['ThemeSubVersion']; $ThemeInfo['MakerURL'] = $ThemeSet['MakerURL']; $ThemeInfo['CopyRight'] = $ThemeSet['CopyRight']; } if($ThemeSet['CSSType']!="import"&& $ThemeSet['CSSType']!="link"&& $ThemeSet['CSSType']!="lowview"&& $ThemeSet['CSSType']!="xml"&& $ThemeSet['CSSType']!="sql") { $ThemeSet['CSSType'] = "import"; } header("Content-Style-Type: text/css"); header("Content-Script-Type: text/javascript"); if($Settings['showverinfo']!="on") { $iDBURL1 = ""; } if($Settings['showverinfo']=="on") { $iDBURL1 = ""; } $GM2kURL = "".$GM2k.""; $csryear = "2004"; $cryear = date("Y"); if($cryear<=2004) { $cryear = "2005"; } $BSDL = "BSDL"; $GPL = "GPL"; $DualLicense = $BSDL." & ".$GPL; $extext = null; if($checklowview!==true) { $extext = "Low-Version"; } if($checklowview===true&&$_GET['act']!="lowview") { $extext = "Low-Version"; } if($checklowview===true&&$_GET['act']=="lowview") { $extext = "High-Version"; } $endpagevar = "
Powered by ".$iDBURL1.$RName." © ".$GM2kURL." @ ".$csryear." - ".$cryear."
\n".$ThemeSet['CopyRight']." | ".$extext; header("Content-Language: en"); header("Vary: Accept-Encoding"); // Check if we are on a secure HTTP connection if($_SERVER['HTTPS']=="on") { $prehost = "https://"; } if($_SERVER['HTTPS']!="on") { $prehost = "http://"; } // Get the board's url if($Settings['idburl']=="localhost"||$Settings['idburl']==null) { $BoardURL = $prehost.$_SERVER["HTTP_HOST"].$basedir; } if($Settings['idburl']!="localhost"&&$Settings['idburl']!=null) { $BoardURL = $Settings['idburl']; if($Settings['qstr']!="/") { $AltBoardURL = $BoardURL; } if($Settings['qstr']=="/") { $AltBoardURL = preg_replace("/\/$/","",$BoardURL); } } // Get the html level if($Settings['html_level']!="Strict") { if($Settings['html_level']!="Transitional") { $Settings['html_level'] = "Transitional"; } } // HTML Document Starts if($XHTML5===false) { ?> ]>