* @link http://www.pioder.pl/
* @license see LICENSE.txt
**/
if ( !defined('IN_uF') )
{
die('Hacking attempt');
}
function message_die($type, $msm, $sql)
{
$msg ='';
$msg = '
µForum v'.VERSION.' - ';
$msg .= $type;
$msg .= '
|
';
$msg = $msg.$msm.'
|
';
if ($sql !='')
{
$msg = $msg.''.$sql.'';
}
$msg = $msg.' |
Problems? Questions? Visit:
http://www.pioder.pl/forum |
';
die($msg);
}
function message_forum($text, $url, $interval = 1.8)
{
global $lng;
global $forum_config;
global $userdata;
$skin = array(
'url' => $url,
'msg' => $text,
'queries' => '',
'pa_link' => '',
);
$skin = array_push_assoc($skin,GenerateHeader($lng['message_forum'], ''.$lng['message_forum'].''));
die(
require('./skins/'.ViewSkinName().'/message_body.tpl')
);
}
function admin_message_forum($text, $url)
{
$skin = array(
'url'=>$url,
'msg'=>$text,
);
$skin['queries'] = '';
$skin['pa_link'] = '';
die(
require('./template/message_body.tpl')
);
}
?>