Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: pm.php - Last Update: 10/07/2009 SVN 323 - Author: cooldude2k $
+ $FileInfo: pm.php - Last Update: 10/08/2009 SVN 326 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="pm.php"||$File3Name=="/pm.php") {
$rnquery = query("SELECT FOUND_ROWS();", array(null));
$result=mysql_query($query);
$rnresult=mysql_query($rnquery);
-$NumberTopics = mysql_result($rnresult,0);
+$NumberMessage = mysql_result($rnresult,0);
@mysql_free_result($rnresult);
-if($NumberTopics==null) {
- $NumberTopics = 0; }
-$num = $NumberTopics;
+if($NumberMessage==null) {
+ $NumberMessage = 0; }
+$num = $NumberMessage;
+$num=mysql_num_rows($result);
//Start MessengerList Page Code
if(!isset($Settings['max_pmlist'])) { $Settings['max_pmlist'] = 10; }
if($_GET['page']==null) { $_GET['page'] = 1; }
$pagenumi=count($Pagez);
if($num==0) {
$pagenumi = 0;
-$pstring = $pstring."<span class=\"pagelink\"><a href=\"".url_maker($exfile['messenger'],$Settings['file_ext'],"act=viewsentsent&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger'])."\">1</a></span> "; }
+$pstring = null; }
if($pagenum>1) {
while ($pagei < $pagenumi) {
if($_GET['page']!=1&&$pagei==1) {
$Pback = $_GET['page'] - 1;
-$pstring = $pstring."<span class=\"pagelink\"><a href=\"".url_maker($exfile['messenger'],$Settings['file_ext'],"act=viewsent&page=".$Pback,$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger'])."\"><</a></span> "; }
+$pstring = $pstring."<span class=\"pagelink\">a href=\"".url_maker($exfile['messenger'],$Settings['file_ext'],"act=viewsent&page=".$Pback,$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger'])."\"><</a></span> "; }
if($Pagez[$pagei]!=null&&
$Pagez[$pagei]!="First"&&
$Pagez[$pagei]!="Last") {
<a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=read&id=".$PMID,$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>"><?php echo $MessageName; ?></a></div>
<div class="messagedesc"><?php echo $MessageDesc; ?></div></td>
<td class="TableMenuColumn3" style="text-align: center;"><?php
-if($SentToID>0&&$SendToHidden=="no") {
+if($SentToID>0&&$SentToHidden=="no") {
echo "<a href=\"";
echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$SentToID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']);
echo "\">".$SentToName."</a>"; }
-if($SentToID<=0||$SendToHidden=="yes") {
+if($SentToID<=0||$SentToHidden=="yes") {
echo "<span>".$SentToName."</span>"; }
?></td>
<td class="TableMenuColumn3" style="text-align: center;"><?php echo $DateSend; ?></td>
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: versioninfo.php - Last Update: 10/08/2009 SVN 325 - Author: cooldude2k $
+ $FileInfo: versioninfo.php - Last Update: 10/08/2009 SVN 326 - 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] = 3; $VER1[2] = 0; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 325; $RName = "iDB"; $SFName = "IntDB";
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 326; $RName = "iDB"; $SFName = "IntDB";
$SVNDay[0] = 10; $SVNDay[1] = 08; $SVNDay[2] = 2009; $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);