sibtracker/system/inc/forum/ico/dle_forum.png

39 lines
1.4 KiB
Plaintext
Raw Normal View History

2019-05-18 13:46:03 +08:00
<?php
if(!defined('DATALIFEENGINE'))
{
die('Hacking attempt!');
}
$forum_link_array['textversion']=$forum_link_array['textversion'].$t_act;
$forum_content=array(
'{BOARD HEADER}'=>$forum_bar,
'{last_visit}'=>$dle_forum_last_visit,
'{now_time}'=>langdate($forum_config['timestamp'],$_TIME),
'{STATS}'=>$tpl->result['forum_stats'],
'[search-link]'=>"<a href=\"{$forum_link_array['search']}\">",
'[/search-link]'=> '</a>',
'[getnew-link]'=>"<a href=\"{$forum_link_array['getnew']}\">",
'[/getnew-link]'=> '</a>',
'[subscription-link]'=>"<a href=\"{$forum_link_array['subscription']}\">",
'[/subscription-link]'=>'</a>',
'[textversion]'=>"<a href=\"{$forum_link_array['textversion']}\">",
'[/textversion]'=>'</a>',);
$f_set="set";
$compile="compile";
$f_get="get";
if(!defined('FORUM_SUB_DOMAIN'))
{
$forum_ajax="\r\n<script language=\"javascript\" type=\"text/javascript\">\r\nvar forum_ajax = '/system/forum/ajax/';\r\nvar forum_wysiwyg = '{$forum_config['wysiwyg']}';\r\n</script>\r\n";
$tpl->load_template($tpl_dir.'main.tpl');
$tpl->copy_template = "{$forum_ajax}<script type='text/javascript' src='{$config['http_home_url']}system/forum/ajax/dle_forum.js'></script>".$tpl->copy_template;
}
$tpl->$f_set('{BOARD}',$tpl->result['dle_forum']);
$tpl->$f_set('', $forum_content);
$copyrigt=true;
$f_file_get_contents="file_get_contents";
$f_clear="clear";
$tpl->$compile("content");
$tpl->$f_clear();
?>