+ Changed generating last post and post count in forum and topic.php
+ Deleted not used template file: post_add_body.tpl + Replaced MCP images git-svn-id: https://svn.pioder.pl/uf-svn/uF@21 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
//private messsages cache - v1.0 Alpha 2
|
||||
//
|
||||
$sql = "SELECT `u_id`,`nick`,`rank` FROM `".USERS_TABLE."`";
|
||||
$query = DataBase::sql_query($sql,'GENERAL','Could not obtain forums information');
|
||||
$query = DataBase::sql_query($sql,GENERAL,'Could not obtain forums information');
|
||||
$user['count']= DataBase::num_rows($query);
|
||||
|
||||
while($result = DataBase::fetch($query))
|
||||
@@ -52,7 +52,7 @@ switch($_GET['submode'])
|
||||
}
|
||||
}
|
||||
|
||||
$query = DataBase::sql_query($sql,'CRITICAL','Could not obtain messages information');
|
||||
$query = DataBase::sql_query($sql,CRITICAL,'Could not obtain messages information');
|
||||
$count = DataBase::num_rows($query);
|
||||
|
||||
if ($count==0)
|
||||
|
||||
Reference in New Issue
Block a user