+ 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:
pioder
2009-05-03 21:00:21 +00:00
parent b1f37b6ea5
commit c2ba3eb804
70 changed files with 371 additions and 395 deletions

View File

@@ -54,7 +54,7 @@ include('./skins/'.$default_skin.'/index_body.tpl');
//
$isset_forum = array();
$sql = "SELECT * FROM `".CATS_TABLE."` ORDER BY `sort`";
$query = DataBase::sql_query($sql,'CRITICAL','Could not obtain categories information.');
$query = DataBase::sql_query($sql,CRITICAL,'Could not obtain categories information.');
while($result = DataBase::fetch($query))
{
$skin = array(
@@ -93,7 +93,7 @@ $skin =array(
'last_user' => $lng['last_user'] . ': <b>' . User::LastUser() . '</b>',
'stat' => $lng['statistics'],
'showlastposts'=>$lng['showlastposts'],
'total_posts'=> str_replace('%x%', $post_count ,$lng['total_posts']),
'total_posts'=> str_replace('%x%', $forum_config['posts'] ,$lng['total_posts']),
'lforum_counter'=> str_replace('%x%',$visit_count, $lng['forum_counter']),
'logged_users' => str_replace('%x%', $sess[1] , $lng['logged_users']),
'group_users' => $lng['users_groups'],