if ($_SESSION['UserGroup'] != $Settings['GuestGroup'] || $GroupInfo['CanEditProfile'] == "yes") { if ($_GET['act'] == null || $_GET['act'] == "notepad") { $_GET['act'] = "view"; } if (!in_array($_GET['act'], $idbactcheck)) { $_GET['act'] = "view"; } if ($_GET['act'] == "view" || $_GET['act'] == "signature" || $_GET['act'] == "avatar" || $_GET['act'] == "settings" || $_GET['act'] == "profile" || $_GET['act'] == "userinfo") { require $SettDir['inc'] . 'profilemain.php'; } } $iWrappers['CONTENT'] = ob_get_clean(); ob_start("idb_suboutput_handler"); require $SettDir['inc'] . 'endpage.php'; $iWrappers['COPYRIGHT'] = ob_get_clean(); ob_start("idb_suboutput_handler"); if (!isset($profiletitle)) { $profiletitle = null; } ?> </body> </html> <?php $iWrappers['HTMLEND'] = ob_get_clean(); require $SettDir['inc'] . 'iwrapper.php'; if ($profiletitle == null) { fix_amp($Settings['use_gzip'], $GZipEncode['Type']); } if ($profiletitle != null) { change_title($Settings['board_name'] . $profiletitle, $Settings['use_gzip'], $GZipEncode['Type']); }
if ($_POST['SetupType'] == "install") { if ($_GET['act'] != "Part2" && $_POST['act'] != "Part2") { if ($_GET['act'] != "Part3" && $_POST['act'] != "Part3") { if ($_GET['act'] == "Part4" && $_POST['act'] == "Part4") { require $SetupDir['setup'] . 'mkconfig.php'; } } } } if ($Error == "Yes") { ?> <br />Install Failed with errors. <a href="install.php?act=view">Click here</a> to restart install. <_< <br /><br /> </td> </tr> <?php } ?> <tr class="TableRow4"> <td class="TableColumn4"> <a href="install.php?act=ReadMe">Readme.txt</a> </td> </tr> </table></div> <div> </div> <?php require $SettDir['inc'] . 'endpage.php'; ?> </body> </html> <?php fix_amp(null);