+ 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:
@@ -33,7 +33,7 @@ function AddSkins()
|
||||
{
|
||||
global $forum_config;
|
||||
$all='';
|
||||
$query = DataBase::sql_query("SELECT `name`, `s_id` FROM `".SKINS_TABLE."`",'GENERAL','Could not obtain skins information');
|
||||
$query = DataBase::sql_query("SELECT `name`, `s_id` FROM `".SKINS_TABLE."`",GENERAL,'Could not obtain skins information');
|
||||
while($t = DataBase::fetch($query))
|
||||
{
|
||||
|
||||
@@ -294,7 +294,7 @@ if (isset($_POST['forum_path']))
|
||||
for($i=0;$i<$count_o;$i++)
|
||||
{
|
||||
$sql = "UPDATE `".CONFIG_TABLE."` SET `value`='".$value[$i]."' WHERE `name`='".$name[$i]."'";
|
||||
DataBase::sql_query($sql, 'GENERAL', 'Could not update script config');
|
||||
DataBase::sql_query($sql, GENERAL, 'Could not update script config');
|
||||
}
|
||||
//end...
|
||||
unset($name, $value, $count_o, $sql);
|
||||
|
||||
Reference in New Issue
Block a user