+ 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:
@@ -120,7 +120,7 @@ switch(trim($_GET['mode']))
|
||||
{
|
||||
$uid = $_GET['id'];
|
||||
$sql = "SELECT `u_id`, `nick` FROM `".USERS_TABLE."` WHERE `u_id`='$uid'";
|
||||
$query = DataBase::sql_query($sql,'GENERAL','Could not obtain user information');
|
||||
$query = DataBase::sql_query($sql,GENERAL,'Could not obtain user information');
|
||||
$user = DataBase::fetch($query);
|
||||
if ($user['u_id']=='')
|
||||
{
|
||||
@@ -135,7 +135,7 @@ switch(trim($_GET['mode']))
|
||||
include('./skins/'.$default_skin.'/overall_header.tpl');
|
||||
include('./skins/'.$default_skin.'/warns_view_body.tpl');
|
||||
$sql = "SELECT * FROM `".WARNINGS_TABLE."` WHERE `u_id`='$uid'";
|
||||
$query = DataBase::sql_query($sql,'GENERAL','Could not obtain user warns information');
|
||||
$query = DataBase::sql_query($sql,GENERAL,'Could not obtain user warns information');
|
||||
$result = DataBase::num_rows($query);
|
||||
$warns_count = 0;
|
||||
while($item = DataBase::fetch($query))
|
||||
|
||||
Reference in New Issue
Block a user