} $sidurls = $Settings['sessionid_in_urls']; if (!isset($Settings['board_offline'])) { $Settings['board_offline'] = "off"; } if ($Settings['board_offline'] != "on" && $Settings['board_offline'] != "off") { $Settings['board_offline'] = "off"; } $oldusername = null; $oldtopicname = null; $ext = null; if ($Settings['DefaultTheme'] == null) { $Settings['DefaultTheme'] = "iDB"; } if ($Settings['DefaultTimeZone'] == null) { $Settings['DefaultTimeZone'] = SeverOffSet(null); } if ($Settings['DefaultDST'] != "on" && $Settings['DefaultDST'] != "off") { $Settings['DefaultDST'] = "off"; } if (!isset($Settings['use_captcha'])) { $Settings['use_captcha'] = "off"; } if ($Settings['use_captcha'] != "on" && $Settings['use_captcha'] != "off") { $Settings['use_captcha'] = "off"; } if (!isset($Settings['captcha_clean'])) { $Settings['captcha_clean'] = "off"; } if ($Settings['captcha_clean'] != "on" && $Settings['captcha_clean'] != "off") { $Settings['captcha_clean'] = "off";
?> <option value="md5">MD5</option> <option value="sha1" selected="selected">SHA1</option> <?php } ?> </select></td> </tr><tr> <td style="width: 50%;"><label class="TextBoxLabel" for="YourOffSet">Your TimeZone:</label></td> <td style="width: 50%;"><select id="YourOffSet" name="YourOffSet" class="TextBox"><?php if (date("I") != 1) { $myofftime = SeverOffSet(); $mydstime = "off"; } if (date("I") == 1) { $myofftime = SeverOffSet() - 1; $mydstime = "on"; } $plusi = 1; $minusi = 12; $plusnum = 15; $minusnum = 0; while ($minusi > $minusnum) { if ($myofftime == -$minusi) { echo "<option selected=\"selected\" value=\"-" . $minusi . "\">UTC - " . $minusi . ":00 hours</option>\n"; } if ($myofftime != -$minusi) { echo "<option value=\"-" . $minusi . "\">UTC - " . $minusi . ":00 hours</option>\n"; } --$minusi; }
} } if (!isset($_SESSION['iDBTimeFormat'])) { if (isset($Settings['idb_time_format'])) { $_SESSION['iDBTimeFormat'] = $Settings['idb_time_format']; if (!isset($Settings['idb_time_format'])) { $_SESSION['iDBTimeFormat'] = "F j Y"; } } } //Time Zone Set if (!isset($_SESSION['UserTimeZone'])) { if (isset($Settings['DefaultTimeZone'])) { $_SESSION['UserTimeZone'] = $Settings['DefaultTimeZone']; if (!isset($Settings['DefaultTimeZone'])) { $_SESSION['UserTimeZone'] = SeverOffSet() . ":00"; } } } $checktime = explode(":", $_SESSION['UserTimeZone']); if (count($checktime) != 2) { if (!isset($checktime[0])) { $checktime[0] = "0"; } if (!isset($checktime[1])) { $checktime[1] = "00"; } $_SESSION['UserTimeZone'] = $checktime[0] . ":" . $checktime[1]; } if (!is_numeric($checktime[0])) { $checktime[0] = "0";