+ 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:
@@ -38,7 +38,7 @@ function SendEmail($email, $title, $content)
|
||||
#send email - do it!
|
||||
if ( !mail($email, $title, $email_content, $email_headers ))
|
||||
{
|
||||
message_die('GENERAL','Could not send email from: '.$email.'. sorry :(','');
|
||||
message_die(GENERAL,'Could not send email from: '.$email.'. sorry :(','');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ function SendForgotPassEmail($newpass)
|
||||
function SendMassEmail($title,$content)
|
||||
{
|
||||
$sql = "SELECT `email`,`u_id` FROM ".USERS_TABLE." WHERE `u_id`>0";
|
||||
$query = DataBase::sql_query($sql,'CRITICAL','Could not read users table');
|
||||
$query = DataBase::sql_query($sql,CRITICAL,'Could not read users table');
|
||||
while($item = DataBase::fetch($query))
|
||||
{
|
||||
SendEmail($item['email'], $title, $content);
|
||||
|
||||
Reference in New Issue
Block a user