DLE Forum"; echo echo_bottom (x); } } echo <<
HTML; } function echo_bottom($echofooter = false) { echo <<
HTML; if (!$echofooter) echofooter(); } function echo_title($title) { echo <<
HTML; } function echo_stats($forum_config, $forum_stats) { global $f_lg; echo "
{$f_lg['forum_status']}{$forum_stats['line']}
{$f_lg['forum_topic']}{$forum_stats['topics']}
{$f_lg['forum_posts']}{$forum_stats['posts']}
{$f_lg['forum_db_size']}{$forum_stats['db_size']}
{$f_lg['forum_files']}{$forum_stats['sum_size']}
{$f_lg['forum_cache']}{$forum_stats['cache']}

"; } if(!defined('DLE_FORUM')){ exit; } function forum_menu() { global $f_lg; echo << function MenuCategory( m_id ){ var menu=new Array() var lang_action = ""; menu[0]='{$f_lg['java_add_forum']}'; menu[1]='{$f_lg['java_sort_f']}'; menu[2]='{$f_lg['java_access']}'; menu[3]='{$f_lg['java_edit']}'; menu[4]='{$f_lg['java_del']}'; return menu; } function MenuForum( m_id, sub ){ var menu=new Array() menu[1]='{$f_lg['java_moderator']}'; menu[2]='{$f_lg['java_edit']}'; if (!sub){ menu[3]='{$f_lg['java_ssort']}'; } menu[4]='{$f_lg['java_del']}'; return menu; } function Moderators( m_id ){ var menu=new Array() menu[1]='{$f_lg['java_edit']}'; menu[2]='{$f_lg['java_del']}'; return menu; } HTML; } $options = array( array( 'name' => $f_lg['m_new_cat'], 'url' => "$PHP_SELF?mod=forum&action=category", 'descr' => $f_lg['m_new_cat2'], 'image' => "category.png", 'access' => "1", ), array( 'name' => $f_lg['m_new_forum'], 'url' => "$PHP_SELF?mod=forum&action=forum", 'descr' => $f_lg['m_new_forum2'], 'image' => "forum.png", 'access' => "1", ), array( 'name' => $f_lg['m_content'], 'url' => "$PHP_SELF?mod=forum&action=content", 'descr' => $f_lg['m_content2'], 'image' => "content.png", 'access' => "1", ), array( 'name' => $f_lg['m_usergroup'], 'url' => "$PHP_SELF?mod=forum&action=usergroup", 'descr' => $f_lg['m_usergroup2'], 'image' => "usersgroup.png", 'access' => "1", ), array( 'name' => $f_lg['m_rank'], 'url' => "$PHP_SELF?mod=forum&action=rank", 'descr' => $f_lg['m_rank2'], 'image' => "rank.png", 'access' => "1", ), array( 'name' => $f_lg['m_tools'], 'url' => "$PHP_SELF?mod=forum&action=tools", 'descr' => $f_lg['m_tools2'], 'image' => "tools.png", 'access' => "1", ), array( 'name' => $f_lg['m_service'], 'url' => "$PHP_SELF?mod=forum&action=service", 'descr' => $f_lg['m_service2'], 'image' => "service.png", 'access' => "1", ), array( 'name' => $f_lg['m_email'], 'url' => "$PHP_SELF?mod=forum&action=email", 'descr' => $f_lg['m_email2'], 'image' => "mset.png", 'access' => "1", ), ); ?>