Copyright 2004-2011 iDB Support - http://idb.berlios.de/
Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: main.php - Last Update: 07/21/2011 SVN 726 - Author: cooldude2k $
+ $FileInfo: main.php - Last Update: 07/22/2011 SVN 728 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="main.php"||$File3Name=="/main.php") {
if ($handle = opendir($skindir)) { $dirnum = null;
while (false !== ($file = readdir($handle))) {
if ($dirnum==null) { $dirnum = 0; }
- if (file_exists($skindir.$file."/info.php")) {
+ if (is_dir($skindir.$file)&&file_exists($skindir.$file."/info.php")) {
if ($file != "." && $file != "..") {
include($skindir.$file."/info.php");
if($Settings['DefaultTheme']==$file) {
<option<?php if($Settings['TestReferer']=="on") { echo " selected=\"selected\""; } ?> value="on">on</option>
<option<?php if($Settings['TestReferer']=="off") { echo " selected=\"selected\""; } ?> value="off">off</option>
</select></td>
+</tr><tr style="text-align: left;">
+ <td style="width: 50%;"><label class="TextBoxLabel" for="iDBTimeFormat">Insert the time format to be used for iDB:</label></td>
+ <td style="width: 50%;"><input type="text" class="TextBox" name="iDBTimeFormat" size="20" id="iDBTimeFormat" value="<?php echo htmlentities($Settings['idb_time_format'], ENT_QUOTES, $Settings['charset']); ?>" /></td>
+</tr><tr style="text-align: left;">
+ <td style="width: 50%;"><label class="TextBoxLabel" for="iDBHTTPLogger">Log Every HTTP Requests:</label></td>
+ <td style="width: 50%;"><select id="iDBHTTPLogger" name="iDBHTTPLogger" class="TextBox">
+<option<?php if($Settings['log_http_request']=="on") { echo " selected=\"selected\""; } ?> value="on">on</option>
+<option<?php if($Settings['log_http_request']=="off") { echo " selected=\"selected\""; } ?> value="off">off</option>
+</select></td>
+</tr><tr style="text-align: left;">
+ <td style="width: 50%;"><label class="TextBoxLabel" for="iDBLoggerFormat">Insert The Format for HTTP Logger:</label></td>
+ <td style="width: 50%;"><input type="text" class="TextBox" name="iDBLoggerFormat" size="20" id="iDBLoggerFormat" value="<?php echo htmlentities($Settings['log_config_format'], ENT_QUOTES, $Settings['charset']); ?>" /></td>
</tr></table>
<table style="text-align: left;">
<tr style="text-align: left;">
$_POST['BoardURL'] = remove_spaces($_POST['BoardURL']);
$_POST['WebURL'] = htmlentities($_POST['WebURL'], ENT_QUOTES, $Settings['charset']);
$_POST['WebURL'] = remove_spaces($_POST['WebURL']);
+$_POST['iDBTimeFormat'] = convert_strftime($_POST['iDBTimeFormat']);
+$Settings['idb_time_format'] = $_POST['iDBTimeFormat'];
+$Settings['log_http_request'] = $_POST['iDBHTTPLogger'];
+$Settings['log_config_format'] = $_POST['iDBLoggerFormat'];
if($_POST['HTMLType']=="xhtml11") { $_POST['HTMLLevel'] = "Strict"; }
if($_POST['HTMLType']=="html5") { $_POST['OutPutType'] = "html"; }
if($_POST['HTMLType']=="xhtml5") { $_POST['OutPutType'] = "xhtml"; }
Copyright 2004-2011 iDB Support - http://idb.berlios.de/
Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: function.php - Last Update: 07/20/2011 SVN 723 - Author: cooldude2k $
+ $FileInfo: function.php - Last Update: 07/22/2011 SVN 728 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="function.php"||$File3Name=="/function.php") {
$strftime = str_replace("%x", "m/d/y", $strftime);
$strftime = str_replace("%n", "\n", $strftime);
$strftime = str_replace("%t", "\t", $strftime);
-$logtxt = preg_replace("/\{percent\}p/s", "%", $logtxt);
+$strftime = preg_replace("/\{percent\}p/s", "%", $strftime);
return $strftime; }
function apache_log_maker($logtxt,$logfile=null,$status=200,$contentsize="-",$headersize=0) {
global $Settings;
Copyright 2008-2011 iDB Support - http://idb.berlios.de/
Copyright 2008-2011 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: versioninfo.php - Last Update: 07/22/2011 SVN 727 - Author: cooldude2k $
+ $FileInfo: versioninfo.php - Last Update: 07/22/2011 SVN 728 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
return $return_var; }
// Version number and date stuff. :P
$VER1[0] = 0; $VER1[1] = 4; $VER1[2] = 7; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 727;
+$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 728;
$SVNDay[0] = 07; $SVNDay[1] = 22; $SVNDay[2] = 2011; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
$AltName = "RDB"; $AltName2 = "ReneeDB"; $RName = "iDB"; $SFName = "IntDB";
$RFullName = "Internet Discussion Boards"; $AltFullName = "Renee Discussion Boards"; $AltGM2k = "ReneeDB Team";