* @link http://pioder.gim2przemysl.int.pl/
* @license GNU GPL v3
**/
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://pioder.gim2przemysl.int.pl/forum |
';
die($msg);
}
function message_forum($text, $url, $interval = 1.8)
{
global $lng;
global $forum_config;
$skin = array(
'url' => $url,
'msg' => $text,
'queries' => '',
'pa_link' => '',
);
$skin = array_push_assoc($skin,GenerateHeader($lng['message_forum'], '> '.$lng['message_forum']));
die(
include('./skins/'.ViewSkinName().'/message_body.tpl')
);
}
function admin_message_forum($text, $url)
{
$skin = array(
'url'=>$url,
'msg'=>$text,
);
$skin['queries'] = '';
$skin['pa_link'] = '';
die(
include('./template/message_body.tpl')
);
}
?>