OSDN Git Service

fixed some php runtime errors. (PHP Notice errors)
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Tue, 25 Sep 2007 09:08:23 +0000 (09:08 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Tue, 25 Sep 2007 09:08:23 +0000 (09:08 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@110 2b68903e-0b30-0410-9a39-a2e4f3c5be39

inc/events.php
inc/searchs.php
inc/versioninfo.php

index 8118bed..fe9f25f 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: events.php - Last Update: 09/02/2007 SVN 97 - Author: cooldude2k $
+    $FileInfo: events.php - Last Update: 09/25/2007 SVN 110 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="events.php"||$File3Name=="/events.php") {
@@ -147,10 +147,10 @@ gzip_page($Settings['use_gzip'],$GZipEncode['Type']); @mysql_close(); die(); }
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['calendar'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['calendar'],$exqstr['calendar']); ?>">Making a Event</a></span>
 <?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
 </tr>
-<tr id="MakeTopicRow<?php echo $ForumID; ?>" class="TableRow2">
+<tr id="MakeEventRow" class="TableRow2">
 <td class="TableRow2" colspan="2" style="width: 100%;">Making a Event</td>
 </tr>
-<tr class="TableRow3" id="MkTopic<?php echo $ForumID; ?>">
+<tr class="TableRow3" id="MkEvent">
 <td class="TableRow3" style="width: 15%; vertical-align: middle; text-align: center;">
 <div style="width: 100%; height: 160px; overflow: auto;"><?php
 $renee_query=query("SELECT * FROM `".$Settings['sqltable']."smileys`", array(null));
@@ -173,7 +173,7 @@ if($SmileRow<5) { ?>
 @mysql_free_result($renee_result);
 ?></div></td>
 <td class="TableRow3" style="width: 85%;">
-<form method="post" id="MkTopicForm" action="<?php echo url_maker($exfile['event'],$Settings['file_ext'],"act=makeevent",$Settings['qstr'],$Settings['qsep'],$prexqstr['event'],$exqstr['event']); ?>">
+<form method="post" id="MkEventForm" action="<?php echo url_maker($exfile['event'],$Settings['file_ext'],"act=makeevent",$Settings['qstr'],$Settings['qsep'],$prexqstr['event'],$exqstr['event']); ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
        <td style="width: 50%;"><label class="TextBoxLabel" for="EventName">Insert Event Name:</label></td>
@@ -202,7 +202,7 @@ if($SmileRow<5) { ?>
 <input type="reset" value="Reset Form" class="Button" name="Reset_Form" />
 </td></tr></table>
 </form></td></tr>
-<tr id="MkTopicEnd<?php echo $ForumID; ?>" class="TableRow4">
+<tr id="MkEventEnd" class="TableRow4">
 <td class="TableRow4" colspan="5">&nbsp;</td>
 </tr>
 </table></div>
@@ -406,7 +406,7 @@ if ($_POST['EventName']==null) { $Error="Yes"; ?>
 <?php } if($GroupInfo['CanAddEvents']=="no") { $Error="Yes"; ?>
 <tr style="text-align: center;">
        <td style="text-align: center;"><span class="TableMessage">
-       <br />You do not have permission to make a topic here.<br />
+       <br />You do not have permission to make a event here.<br />
        </span></td>
 </tr>
 <?php } if ($Error=="Yes") {
@@ -429,7 +429,7 @@ mysql_query($query);
 @redirect("refresh",$basedir.url_maker($exfile['event'],$Settings['file_ext'],"act=event&id=".$eventid,$Settings['qstr'],$Settings['qsep'],$prexqstr['event'],$exqstr['event'],FALSE),"3");
 ?><tr style="text-align: center;">
        <td style="text-align: center;"><span class="TableMessage"><br />
-       Event <?php echo $_POST['TopicName']; ?> was started.<br />
+       Event <?php echo $_POST['EventName']; ?> was started.<br />
        Click <a href="<?php echo url_maker($exfile['event'],$Settings['file_ext'],"act=event&id=".$eventid,$Settings['qstr'],$Settings['qsep'],$prexqstr['event'],$exqstr['event']); ?>">here</a> to continue to event.<br />&nbsp;
        </span><br /></td>
 </tr>
index 5d2095d..afc6098 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: searchs.php - Last Update: 09/02/2007 SVN 97 - Author: cooldude2k $
+    $FileInfo: searchs.php - Last Update: 09/25/2007 SVN 110 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="searchs.php"||$File3Name=="/searchs.php") {
@@ -243,7 +243,6 @@ echo "<span>".$UsersName."</span>"; }
 </tr>
 </table></div>
 <?php
-@mysql_free_result($result);
+@mysql_free_result($result); } } } 
 ?>
-<div>&nbsp;</div>
-<?php } } } ?>
\ No newline at end of file
+<div>&nbsp;</div>
\ No newline at end of file
index 0d86d83..0f77282 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: versioninfo.php - Last Update: 09/24/2007 SVN 109 - Author: cooldude2k $
+    $FileInfo: versioninfo.php - Last Update: 09/25/2007 SVN 110 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
@@ -27,8 +27,8 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {
        return $return_var; }
 // Version number and date stuff. :P
 $VER1[0] = 0; $VER1[1] = 2; $VER1[2] = 0; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 109; $RName = "iDB"; $SFName = "IntDB";
-$SVNDay[0] = 09; $SVNDay[1] = 24; $SVNDay[2] = 2007; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 110; $RName = "iDB"; $SFName = "IntDB";
+$SVNDay[0] = 09; $SVNDay[1] = 25; $SVNDay[2] = 2007; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
 $VerInfo['iDB_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,false);
 $VerInfo['iDB_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,true);
 $VerInfo['iDB_Full_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[0],$SubVerN,false);