1. Гость, мы просим Вас ознакомиться с Правилами Форума и Отказом от ответственности!

IPB 3

Тема в разделе 'PHP', создана пользователем Gasper, 30 мар 2011.

  1. TopicStarter Overlay

    Gasper Пользователи

    Сообщения:
    12
    Лайки:
    1
    Пол:
    Мужской
    Репутация:
    0
    В общем дело тут такое.
    Установил движок форума IPB v3 и хочу добавить пару ссылок в меня
    тоесть "Главная,Пользователи,Календарь) у меня стоит стандартом, а я око них хочу добавить ещё раздел "сайт" "чат"
    как можно всё данное реализовать?

    P.S. извините конечно за такие вопросы, ну гугл с яндексом нехера не помогли :D
  2. Wind Ё Пользователи

    Сообщения:
    59
    Лайки:
    19
    Пол:
    Мужской
    Репутация:
    0
    Правь шаблон.
  3. TopicStarter Overlay

    Gasper Пользователи

    Сообщения:
    12
    Лайки:
    1
    Пол:
    Мужской
    Репутация:
    0
    всмысе что куда? мне тока кнопки добавить
  4. Wind Ё Пользователи

    Сообщения:
    59
    Лайки:
    19
    Пол:
    Мужской
    Репутация:
    0
    Берёшь заходишь в админку, выбираешь свой шаблон и правишь html шаблона, андерстенд?
  5. TopicStarter Overlay

    Gasper Пользователи

    Сообщения:
    12
    Лайки:
    1
    Пол:
    Мужской
    Репутация:
    0
    я бы проверил но, когда беру код, то он там показывается вот так вот

  6. Botchal MMORPG-DEVS.RU Пользователи

    Сообщения:
    182
    Лайки:
    66
    Репутация:
    0
    Открой исходный код в броузере, скопируй ид или класс обьекта который находиться рядом, открой шаблон в редакторе на компе, найди по ид или классу то место куда надо вставить ссылки. если не уверен ставь комментарии в шаблоне и в итоге найдёшь, я сам бывает парюсь
  7. Botchal MMORPG-DEVS.RU Пользователи

    Сообщения:
    182
    Лайки:
    66
    Репутация:
    0
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"<if test="fbcenabled:|:IPSLib::fbc_enabled() === TRUE"> xmlns:fb="http://www.facebook.com/2008/fbml"</if>>
    <head>
    <meta http-equiv="content-type" content="text/html; charset={$this->settings['gb_char_set']}" />
    <title>Forum Stupid-PvP</title>
    <link rel="shortcut icon" href='<if test="$this->registry->output->isHTTPS">{$this->settings['board_url_https']}<else />{$this->settings['board_url']}</if>/favicon.ico' />
    <link rel="image_src" href='{$this->settings['meta_imagesrc']}' />
    <script type='text/javascript'>
    //<[!CDATA[
    jsDebug = {parse expression="intval($this->settings['_jsDebug'])"}; /* Must come before JS includes */
    USE_RTE = <if test="userte:|:$this->memberData['members_editor_choice'] == 'rte' && $this->memberData['_canUseRTE'] === TRUE">1<else />0</if>;
    DISABLE_AJAX = parseInt({$this->settings['disable_text_ajax']}); /* Disables ajax requests where text is sent to the DB; helpful for charset issues */
    inACP = false;
    //]]>
    </script>
    {parse template="includeCSS" group="global" params="$css"}
    {parse template="includeMeta" group="global" params="$metaTags"}
    <meta property="og:title" content="{IPSText::htmlspecialchars( str_replace( ' - ' . $this->settings['board_name'], '', $header_items['title'] ) )}"/>
    <meta property="og:site_name" content="{$this->settings['board_name']}"/>
    <meta property="og:image" content="{$this->settings['meta_imagesrc']}"/>
    {parse template="includeJS" group="global" params="$jsModules"}
    {parse template="includeFeeds" group="global" params="$documentHeadItems"}
    {parse template="includeRTL" group="global" params=""}
    {parse template="includeVars" group="global" params=""}
    <script type='text/javascript'>
    Loader.boot();
    </script>
    <script type="text/javascript" src="http://mmorpg-devs.ru/public/style_images/master/_js/skinbox.min.js"></script>
    <script type="text/javascript" src="http://mmorpg-devs.ru/public/style_images/master/_js/velvet.min.js"></script>
    </head>
    <body id='ipboard_body'>
    <div id='usernav' class='logged_in'>
    <div id="ipbwrapper_empty">

    <!-- User Navigation Starts -->
    <div id="usernav-container">
    <div id='usernav-wrapper'>
    <if test="memberbox:|:$this->memberData['member_id']">
    <div id='user_navigation' class='logged_in'>
    <a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'><img src='{$this->memberData['pp_thumb_photo']}' alt="{$this->memberData['members_display_name']}{$this->lang->words['users_photo']}" width='20px' height='20px' class='photo' /></a>

    <div class='left' id='user_info'>
    <p id='user_notifications' <if test="nonewnotifications:|:!$this->memberData['notification_cnt']">class='no-new'</if>>
    <a id='user_notifications_link' href='{parse url="app=core&amp;module=usercp&amp;area=notificationlog" base="public"}' title="{parse expression="sprintf( "{$this->lang->words['manage_notifications']}", "{$this->memberData['notification_cnt']}" )"}"><small>{$this->memberData['notification_cnt']}<span class='hide'>{$this->lang->words['unread_notification_suffix']}</span></small> <img src='{$this->settings['img_url']}/opts_arrow.png' alt='&gt;' id='notify-down-arrow' /></a>
    </p>
    <p>
    <span class='hide'>{$this->lang->words['logged_in_as']} </span>
    <a id='user_link' class='ipbmenu' href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'>{$this->memberData['members_display_name']} <img src='{$this->settings['img_url']}/opts_arrow.png' alt='&gt;' /></a>
    </p>
    <ul id='user_link_menucontent'>
    <li id='user_profile'><a href='{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['your_profile']}'><img src="{style_images_url}/_custom/icon_profile.png" /> {$this->lang->words['my_profile']}</a></li>
    <!-- <li id='user_ucp'><a href="{parse url="app=core&amp;module=usercp" base="public"}" title="{$this->lang->words['cp_tool_tip']}"><img src="{style_images_url}/_custom/icon_settings.png" /> {$this->lang->words['your_cp']}</a></li> -->
    <li id='user_content'><a href="{parse url="app=core&amp;module=search&amp;do=user_activity&amp;mid={$this->memberData['member_id']}" base="public"}" title="{$this->lang->words['my_content_link']}"><img src="{style_images_url}/_custom/icon_content.png" /> {$this->lang->words['my_content_link']}</a></li>
    <!-- <if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">
    <li id='user_msg'><a href='{parse url="app=members&amp;module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'><img src="{style_images_url}/_custom/icon_messenger.png" /> {$this->lang->words['your_messenger']} <span id='new_message'>({$this->memberData['msg_count_new']} {$this->lang->words['msg_new']})</span></a></li>
    </if> -->
    <if test="nobbyNoMates:|:$this->settings['friends_enabled']">
    <li id='user_friends'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=list" base="public"}' title="{$this->lang->words['manage_friends']}" class='manage_friends'><img src="{style_images_url}/_custom/icon_friends.png" /> {$this->lang->words['manage_friends']}</a></li>
    </if>
    <li id='user_enemies'><a href='{parse url="app=core&amp;module=usercp&amp;tab=members&amp;area=ignoredusers" base="public"}' title="{$this->lang->words['manage_ignored_users']}" class='manage_enemies'><img src="{style_images_url}/_custom/icon_ignored.png" /> {$this->lang->words['manage_ignored_users']}</a></li>
    <if test="bloglink:|:$this->memberData['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">
    <li id='user_blog'><a href='{parse url="app=blog&amp;module=display&amp;section=blog&amp;mid={$this->memberData['member_id']}" base="public"}' title="{$this->lang->words['go_to_my_blog']}"><img src="{style_images_url}/_custom/icon_blog.png" /> {$this->lang->words['my_blog']}</a></li>
    </if>
    <if test="gallerylink:|:$this->memberData['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )">
    <li id='user_gallery'><a href='{parse url="app=gallery&amp;module=user&amp;section=user&amp;user={$this->memberData['member_id']}" base="public"}' title="{$this->lang->words['go_to_my_gallery']}"><img src="{style_images_url}/_custom/icon_gallery.png" /> {$this->lang->words['my_gallery']}</a></li>
    </if>
    <if test="nexuslink:|:IPSLib::appIsInstalled( 'nexus' )">
    <li id='user_nexus'><a href='{parse url="app=nexus&amp;module=clients" base="public"}' title="{$this->lang->words['client_area']}"><img src="{style_images_url}/_custom/icon_clientarea.png" /> {$this->lang->words['client_area']}</a></li>
    </if>
    <if test="issupermod:|:$this->memberData['g_is_supmod'] == 1">
    <li><a href='{parse url="app=core&amp;module=usercp&amp;tab=members&amp;area=mod_ipaddress" base="public"}' title='{$this->lang->words['ip_lookup']}'><img src="{style_images_url}/_custom/icon_iplookup.png" /> {$this->lang->words['ip_lookup']}</a></li>
    <li><a href='{parse url="app=core&amp;module=usercp&amp;tab=forums&amp;area=mod_announcements" base="public"}' title='{$this->lang->words['post_announcement']}'><img src="{style_images_url}/_custom/icon_announcements.png" /> {$this->lang->words['post_announcement']}</a></li>
    </if>
    </ul>
    </div>
    <script type='text/javascript'>
    if( $('user_link_menucontent') ){
    $('user_link_menucontent').hide();
    }
    </script>
    {parse js_module="friends"}
    <ul class='right' id='user_other'>
    <if test="showacplink:|:$this->memberData['g_access_cp'] == 1 AND $this->settings['security_remove_acp_link'] == 0">
    <li><a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}' target='_blank'><img src="{style_images_url}/_custom/icon_admincp.png" /></a></li>
    </if>
    <if test="authenticating:|:$this->memberData['member_group_id'] == $this->settings['auth_group']">
    <li><strong><a href="{parse url="app=core&amp;module=global&amp;section=register&amp;do=reval" base="public"}" title='{$this->lang->words['resend_val']}'><img src="{style_images_url}/_custom/icon_resendval.png" /> {$this->lang->words['resend_val']}</a></strong></li>
    </if>
    <li><a href="{parse url="app=core&amp;module=global&amp;section=login&amp;do=logout&amp;k={$this->member->form_hash}" base="public"}"><img src="{style_images_url}/_custom/icon_logout.png" /> {$this->lang->words['log_out']}</a></li>
    <li><a href="{parse url="app=core&amp;module=help" base="public"}" title='{$this->lang->words['view_help']}' rel="help" accesskey='6'><img src="{style_images_url}/_custom/icon_help.png" /> {$this->lang->words['sj_help']}</a></li>
    <li><a href="{parse url="app=core&amp;module=usercp" base="public"}" title="{$this->lang->words['cp_tool_tip']}"><img src="{style_images_url}/_custom/icon_settings.png" /> {$this->lang->words['your_cp']}</a></li>
    <if test="accessreports:|$this->memberData['g_is_supmod'] == 1 OR ( isset( $this->memberData['access_report_center'] ) AND $this->memberData['access_report_center'] ) )">
    <if test="rclink:|:$this->memberData['access_report_center']">
    <if test="numreports:|:$this->memberData['_cache']['report_num'] > 0">
    <li><a href="{parse url="app=core&amp;module=reports&amp;do=index" base="public"}" title='{$this->lang->words['view_reports']}'><img src="{style_images_url}/_custom/icon_reports_new.png" /> (<strong>{$this->memberData['_cache']['report_num']}</strong>)</a></li>
    <else />
    <li><a href="{parse url="app=core&amp;module=reports&amp;do=index" base="public"}" title='{$this->lang->words['view_reports']}'><img src="{style_images_url}/_custom/icon_reports.png" /> ({$this->memberData['_cache']['report_num']})</a></li></if>
    </if>
    </if>
    <if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">
    <if test="newmessages:|:$this->memberData['msg_count_new'] != 0">
    <li><a href='{parse url="app=members&amp;module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'><img src="{style_images_url}/_custom/icon_messenger_new.png" /> (<strong>{$this->memberData['msg_count_new']}</strong>)</a></li>
    <else />
    <li><a href='{parse url="app=members&amp;module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'><img src="{style_images_url}/_custom/icon_messenger.png" /> ({$this->memberData['msg_count_new']})</a></li>
    </if>

    </if>
    </ul>
    </div>
    <else />
    <div id='user_navigation' class='not_logged_in'>
    <span title='{$this->lang->words['sign_in']}' id='sign_in'>
    <a href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' class='left trigger-login'>{$this->lang->words['sign_in']}&nbsp;&nbsp;</a>
    <span class='services'>
    <if test="limFacebook:|:IPSLib::loginMethod_enabled('facebook')">{parse replacement="lim_facebook"}</if>
    <if test="limTwitter:|:IPSLib::loginMethod_enabled('twitter')">{parse replacement="lim_twitter"}</if>
    <if test="limOpenid:|:IPSLib::loginMethod_enabled('openid')">{parse replacement="lim_openid"}</if>
    <if test="limWindows:|:IPSLib::loginMethod_enabled('live')">{parse replacement="lim_windows"}</if>
    </span>
    </span>
    <ul class='right' id='user_other'>
    <li><a href="{parse url="app=core&amp;module=help" base="public"}" title='{$this->lang->words['view_help']}' rel="help" accesskey='6'>{parse replacement="help_icon"} {$this->lang->words['sj_help']}</a></li>
    <li><a href="{parse url="app=core&amp;module=global&amp;section=register" base="public"}" title='{$this->lang->words['register']}'><img src="{style_images_url}/_custom/icon_register.png" /> {$this->lang->words['register']}</a></li>
    </ul>
    </div>
    </if>
    </div>
    <div class="clear"></div>
    </div>
    </if>
    <!-- User Navigation Ends -->

    </div>
    </div>


    <div id='ipbheader'>
    <h1>{$this->settings['board_name']}: {$header_items['title']}</h1>
    <p id='content_jump'><a id='top'></a><a href='#j_content' title='{$this->lang->words['jump_to_content']}' accesskey='m'>{$this->lang->words['jump_to_content']}</a></p>

    <div id='header'>
    <div id='branding'>
    <if test="brandingBar:|:method_exists( $this->registry->output->getTemplate( $this->registry->getCurrentApplication() . '_global' ), 'overwriteHeader' )">
    {parse template="overwriteHeader" group="{current_app}_global" params=""}
    <else />
    {parse template="defaultHeader" group="global" params=""}
    </if>

    <div id='primary_nav'>
    <ul>
    <if test="showhomeurl:|:$this->settings['home_url']">
    <li id='nav_home' class='left'><a href='{$this->settings['home_url']}' title='{$this->lang->words['homepage_title']}' rel="home">{$this->settings['home_name']}</a></li>
    </if>

    <li id='nav_home' class='left'>ТВОЯ ССЫЛКА</li>

    <li id='nav_home' class='left'>ТВОЯ ССЫЛКА</li>

    <li id='nav_home' class='left'>ТВОЯ ССЫЛКА</li>

    <li id='nav_home' class='left'>ТВОЯ ССЫЛКА</li>

    {parse variable="forumActive" default="" oncondition="IPS_APP_COMPONENT == 'forums'" value="active"}
    {parse variable="membersActive" default="" oncondition="IPS_APP_COMPONENT == 'members'" value="active"}
    {parse variable="helpActive" default="" oncondition="IPS_APP_COMPONENT == 'core' AND $this->request['module'] == 'help'" value="active"}
    <if test="!ipsRegistry::$applications['forums']['app_hide_tab']"><li id='nav_discussion' class='left {parse variable="forumActive"}'><a href='{parse url="act=idx" seotitle="false" base="public"}' title='{$this->lang->words['go_to_discussion']}'>{$this->lang->words['discussion']}</a></li></if>
    <if test="!ipsRegistry::$applications['members']['app_hide_tab']"><li id='nav_members' class='left {parse variable="membersActive"}'><a href='{parse url="app=members" base="public" template="members_list" seotitle="false"}' title='{$this->lang->words['go_to_memberlist']}'>{$this->lang->words['tb_mlist']}</a></li></if>
    <if test="applicationsloop:|:is_array($header_items['applications']) AND count($header_items['applications'])">
    <foreach loop="applications:$header_items['applications'] as $data">
    <if test="showingapp:|:$data['app_show']">
    {parse variable="appActive" default="" oncondition="$data['app_active']" value="active"}
    <li id='nav_app_{$data['app_dir']}' class="left {parse variable="appActive"}"><a href='{parse url="{$data['app_link']}" seotitle="false" base="public"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle($data['app_dir']) )"}'>{IPSLib::getAppTitle($data['app_dir'])}</a></li>
    </if>
    </foreach>
    </if>
    <!-- Dropdown Menu Starts -->
    <li id="dropdown_1" class="left"><span><a href="#">More <img src="{style_images_url}/_custom/tabs-submenu_arrow.png" class="sb-dropdown_arrow" /></a></span>
    <ul>
    <li><a href="http://www.twitter.com/username" title="Twitter"><img src="{style_images_url}/_custom/icon-social_twitter.png" alt="Twitter" /> Follow Us on Twitter</a></li>
    <li><a href="http://www.facebook.com/page" title="Facebook"><img src="{style_images_url}/_custom/icon-social_facebook.png" alt="Facebook" /> Like Us on Facebook</a></li>
    <li><a href="http://www.youtube.com/page" title="Youtube"><img src="{style_images_url}/_custom/icon-social_youtube.png" alt="Youtube" /> Subscribe on Youtube</a></li>
    </ul>
    </li>
    <!-- Dropdown Menu Ends -->
    </ul>
    </div>
    <div class="clear"></div>
    </div>

    <div id='ipbwrapper_empty'>
    <if test="pmbox:|:is_array( $items['notifications'] )">
    <div id='pm_notification' class='open' rel='{$items['notifications']['notify_id']}'>
    <div id='pm_wrap'>
    <h3><a href='#j_content' id='close_pm_notification'><img src="{$this->settings['img_url']}/close_popup.png" alt="x"></a> <span id='pm_notify_title'>{$items['notifications']['notify_title']}</span></h3>
    <p class='desc'><strong>{$this->lang->words['pc_sent']}</strong> <span id='pm_date'>{parse date="$items['notifications']['notify_sent']" format="short"}</span></p>
    <p id='pm_notify_excerpt' class='excerpt'>
    {$items['notifications']['notify_text']}
    </p>
    <p class='submit'>
    <if test="$items['notifications']['notify_url']">
    <a href='{$items['notifications']['notify_url']}' id='view_pm_notification' class='input_submit'>{$this->lang->words['global_pm_read_short']}<if test="unreadCheck:|:$this->memberData['notification_cnt'] > 1"> (<span id='pm-count'>1</span>/{$this->memberData['notification_cnt']})</if></a> &nbsp;
    <else />
    <a href='{parse url="app=core&amp;module=usercp&amp;area=viewNotification&amp;do=view&amp;view={$items['notifications']['notify_id']}" base="public"}' id='view_pm_notification' class='input_submit'>{$this->lang->words['global_pm_read']}<if test="unreadCheck:|:$this->memberData['notification_cnt'] > 1"> (<span id='pm-count'>1</span>/{$this->memberData['notification_cnt']})</if></a> &nbsp;
    </if>
    <a href='{parse url="app=core&amp;module=usercp&amp;area=markNotification&amp;do=mark&amp;mark={$items['notifications']['notify_id']}" base="public"}' id='ack_pm_notification' class='input_submit alt'>{$this->lang->words['mark_pc_read']}</a> &nbsp;

    <a href='#' id='notification_go_forward' class='configure input_submit<if test="morethanonenotification:|:$this->memberData['notification_cnt'] < 2"> hide</if>'>&gt;</a>
    <a href='#' id='notification_go_back' class='configure input_submit hide'>&lt;</a>

    <a href='{parse url="app=core&amp;module=usercp&amp;tab=core&amp;area=notifications" base="public"}' class='configure'>{$this->lang->words['configure_notifications']}</a>
    </p>
    </div>
    </div>
    <script type='text/javascript'>
    $('pm_notification').hide();
    </script>
    </if>

    <div id='secondary_nav'>
    <ul id='breadcrumb' class='bread'>
    <php>$this->did_first = 0;</php>
    <if test="switchnavigation:|:!$this->settings['remove_forums_nav'] OR ipsRegistry::$current_application == 'forums'">
    <li class='first'><a href='{parse url="act=idx" seotitle="false" base="public"}' title='{$this->lang->words['go_home']}'><img src="{style_images_url}/_custom/icon-secondarynav_home.png" border="0" /></a></li>
    <if test="didfirstnav:|:$this->did_first=1"></if>
    </if>
    <foreach loop="navigation:$items['navigation'] as $idx => $data">
    <li<if test="notdonefirstapp:|:!$this->did_first"> class='first'</if>><if test="didfirstappnow:|:$this->did_first"></if> <if test="navigationlink:|:$data[1]"><a href='{parse url="{$data[1]}" base="$data[4]" seotitle="$data[2]" template="$data[3]"}' title='{$this->lang->words['nav_return_to']}{$data[0]}'></if>{$data[0]}<if test="closenavigationlink:|:$data[1]"></a></if></li>
    <if test="forsuredidfirstnav:|:$this->did_first=1"></if>
    </foreach>
    </ul>
    <div id='toprightlinks'>
    <ul id='section_links' class='right'>
    <if test="siteruleslink:|:$this->settings['gl_show'] and $this->settings['gl_title']">
    <li><a href='<if test="ruleslink:|:$this->settings['gl_link']">{$this->settings['gl_link']}<else />{parse url="app=forums&amp;module=extras&amp;section=boardrules" base="public"}</if>'><if test="siterulestitle:|:$this->settings['gl_title']">{$this->settings['gl_title']}<else />{$this->lang->words['board_rules']}</if></a></li>
    </if>
    <li><a href='{parse url="app=core&amp;module=search&amp;do=<if test="ncmember:|:$this->memberData['member_id']">new_posts<else />active</if>&amp;search_app=<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appisSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a></li>
    <li><img src='{$this->settings['img_url']}/feed.png' alt='{$this->lang->words['rss_feed']}' id='rss_feed' class='clickable' /></li>
    </ul>
    <div class="clear"></div>
    </div>
    </div>

    <!-- Guest Message Starts -->
    {parse template="_guestMessage" group="global" params=""}
    <!-- Guest Message Ends -->

    <!-- Tabs Starts -->
    <div id="tabs"><div id="tabs_left"><div id="tabs_right">
    <ul>
    <li id="category-all" class="category-dropdown"><span><a href='{parse url="act=idx" seotitle="false" base="public"}' title="View All Categories">All Categories</a></span></li>
    <if test="isset($this->registry->getClass('class_forums')->forum_cache['root'])">
    <foreach loop="$this->registry->getClass('class_forums')->forum_cache['root'] as $category">
    <if test="isset($this->registry->getClass('class_forums')->forum_cache[$category['id']])">
    <li class="sb-dropdown category-dropdown" id="category-{$category['id']}"><span><a href="{parse url="showforum={$category['id']}" seotitle="{$category['name_seo']}" template="showforum" base="public"}" title="{$category['name']}">{$category['name']} <img src="{style_images_url}/_custom/tabs-submenu_arrow.png" /></a></span>
    <ul class="tabs_submenu">
    <foreach loop="$this->registry->getClass('class_forums')->forum_cache[$category['id']] as $forum">
    <li id="forum-{$forum['id']}"><a href="{parse url="showforum={$forum['id']}" seotitle="{$forum['name_seo']}" template="showforum" base="public"}" title="{$forum['name']}">&nbsp;{$forum['name']}</a></li>
    </foreach>
    </ul></li>
    </if>
    </foreach>
    </if>
    <if test="$this->request['f']">
    <script type="text/javascript">
    Velvet.markAsActive('{$this->request['f']}');
    Velvet.markAsActive('{$this->registry->getClass('class_forums')->forum_by_id[ $this->request['f'] ]['parent_id']}');
    </script>
    </if>
    </ul>
    <!-- Tabs Ends -->
    <!-- Search Starts -->
    <div id='search'>
    {parse template="quickSearch" group="global" params=""}
    </div>
    <!-- Search Ends -->
    <div class="clear"></div>
    </div></div></div>

    <div id='ipbwrapper_full'>
    <div id='content' class='clear'>
    <a id='j_content'></a>
    {$items['adHeaderCode']}
    <if test="mainpageContent:|:$html">{$html}</if>
    {$items['adFooterCode']}
    <div class="clear"></div>
    </div>
    </div>
    <div id="ipbfooter"></div>
    <div id="ipbwrapper_empty">
    <div id='footer_utilities' class='clearfix clear rounded'>
    <h2 class='hide'>{$this->lang->words['skin_and_lang']}</h2>
    <if test="skinchanger:|:$this->settings['allow_skins'] AND $footer_items['skin_chooser']">
    <if test="uagentlocked:|:$this->memberData['userAgentLocked'] AND ! $this->memberData['userAgentBypass']">
    <p id='useragent_msg'>
    {$this->lang->words['skin_browser_set']} <a href='{parse url="{$this->settings['query_string_formatted']}&amp;unlockUserAgent=1" base="public"}'>{$this->lang->words['override_browser_theme']}</a>
    </p>
    <else />
    <form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'>
    <fieldset>
    <input type='hidden' name='k' value='{$this->member->form_hash}' />
    <label for='newSkin' class='hide'>{$this->lang->words['theme_prefix']}</label>
    <select name="settingNewSkin" id='newSkin'>
    {$footer_items['skin_chooser']}
    </select>
    <input type='submit' value='{$this->lang->words['jmp_go']}' class='input_submit alt' id='newSkinSubmit' />
    </fieldset>
    </form>
    </if>
    </if>
    <form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'>
    <fieldset>
    <input type='hidden' name='k' value='{$this->member->form_hash}' />
    <input type='hidden' name='setlanguage' value='1' />
    <input type="hidden" name="langurlbits" value="{$this->settings['query_string_safe']}&amp;cal_id={$this->request['cal_id']}" />
    <label for='newLang' class='hide'>{$this->lang->words['language_prefix']}</label>
    <select name="langid" id='newLang'>
    {$footer_items['lang_chooser']}
    </select>
    <input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' id='newLangSubmit' />
    </fieldset>
    </form>
    <h2 class='hide'>{$this->lang->words['exec_stats']}</h2>
    <ul class='right'>
    <li>{$this->lang->words['time_now']} {$footer_items['time']}
    <if test="lastvisit:|:$this->memberData['member_id'] AND $this->memberData['last_visit']"><p>{$this->lang->words['you_last_visit']} {parse date="$this->memberData['last_visit']" format="short"}</p></if>
    </li>
    <if test="showdebuglevel:|:$this->memberData['member_id'] and $this->settings['debug_level']">
    <li><img src='{$this->settings['img_url']}/stats_time.png' alt='' /> {$stats['ex_time']} <if test="isfloat:|:is_float($stats['ex_time'])">{$this->lang->words['stats_sec']}</if></li>
    <li><img src='{$this->settings['img_url']}/stats_server.png' alt='' /> {$stats['server_load']}</li>
    <li><img src='{$this->settings['img_url']}/stats_database.png' alt='' /> {$stats['queries']} <if test="sqldebuglink:|:IPS_SQL_DEBUG_MODE"><a href='{parse url="{$this->settings['query_string_safe']}&amp;debug=1" base="public"}'></if>{$this->lang->words['stats_queries']}<if test="closesqldebuglink:|:IPS_SQL_DEBUG_MODE"></a></if></li>
    <li><img src='{$this->settings['img_url']}/stats_compression.png' alt='' /> {$stats['gzip_status']}</li>
    </if>
    </ul>
    <!-- __FOOTER__ -->
    <!-- /__FOOTER__ -->
    <!--DEBUG_STATS-->
    <div class="clear"></div>
    <div id='board_footer'>
    <ul id='utility_links' class='left'>
    <li><a href='#top' id='backtotop' title='{$this->lang->words['go_to_top']}'>{$this->lang->words['back_to_top']}</a></li>
    <li><a href='{$this->settings['board_url']}' title='{$this->lang->words['sj_home']}'>{$this->lang->words['sj_home']}</a></li>

    <li><a href='http://pw.j-games.org' title='сервер пв'>Сервер Perfect World</a></li>

    <li><a href="{parse url="app=core&amp;module=global&amp;section=login&amp;do=deleteCookies&amp;k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['delete_all_cookies_title']}'>{$this->lang->words['delete_my_cookies']}</a></li>


    <li><a href="{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=all&amp;k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['mark_all_as_read']}'>{$this->lang->words['mark_board_as_read']}</a></li>
    </ul>
    {$footer_items['copyright']}
    <div class="clear"></div>
    </div>
    <div class="clear"></div>
    {$stats['task']}
    <if test="includeLightbo:DoReal:|:$this->settings['do_include_lightbox_real']">
    {parse template="include_lightbox_real" group="global" params=""}
    </if>
    </div>
    </div>
    </div>
    </div>
    </div>
    <a href="#top" id="sb-toplink" title="Go to top"></a>
    <div id="sb-login-box">
    <form action="{parse url="app=core&amp;module=global&amp;section=login&amp;do=process" base="public"}" method="post" id='login'>
    <php>
    $current_location = my_getenv('REQUEST_URI');
    $current_location = htmlentities(urldecode($current_location));
    </php>
    <if test="$current_location">
    <input type="hidden" name="referer" value="{$current_location}" />
    </if>
    <div id='regular_signin'>
    <a id='_regularsignin'></a>
    <h3 class='bar'>Enter your sign in name and password</h3>
    <ul>
    <li class='field'>
    <label for='username'>Username:</label>
    <input id='username' type='text' class='input_text' name='username' size='40' />
    </li>
    <li class='field'>
    <label for='password'>Password:</label>
    <input id='password' type='password' class='input_text' name='password' size='40' /><br />
    <a href='{parse url="app=core&amp;module=global&amp;section=lostpass" base="public"}' class='desc' title='Retrieve password'>I've forgotten my password</a>
    </li>
    </ul>
    </div>
    <hr />
    <fieldset id='signin_options'>
    <legend>Sign in options</legend>
    <ul>
    <li class='field checkbox'>
    <input type='checkbox' id='remember' checked='checked' name='rememberMe' value='1' class='input_check' />
    <label for='remember'>
    Remember me<br />
    <span class='desc'>This is not recommended for shared computers</span>
    </label>
    </li>
    <if test="anonymous:|:!$this->settings['disable_anonymous']">
    <li class='field checkbox'>
    <input type='checkbox' id='invisible' name='anonymous' value='1' class='input_check' />
    <label for='invisible'>
    Sign in anonymously<br />
    <span class='desc'>Don't add me to the active users list</span>
    </label>
    </li>
    </if>
    </ul>
    </fieldset>
    <fieldset class='submit'>
    <input type='submit' class='input_submit' value='Sign In' />
    <a class="input_submit alt" style="padding:5px 10px;" href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}'>
    <span class='services'>
    <if test="limFacebook:|:IPSLib::loginMethod_enabled('facebook')">{parse replacement="lim_facebook"}</if>
    <if test="limTwitter:|:IPSLib::loginMethod_enabled('twitter')">{parse replacement="lim_twitter"}</if>
    <if test="limOpenid:|:IPSLib::loginMethod_enabled('openid')">{parse replacement="lim_openid"}</if>
    <if test="limWindows:|:IPSLib::loginMethod_enabled('live')">{parse replacement="lim_windows"}</if>
    </span>&nbsp;&nbsp;Or sign in with these services</a>
    </fieldset>
    </form>
    </div>
    </body>
    </html>
    1 человеку нравится это.
  8. TopicStarter Overlay

    Gasper Пользователи

    Сообщения:
    12
    Лайки:
    1
    Пол:
    Мужской
    Репутация:
    0
    Спасибо Botchal
Черновик сохранён Черновик удалён

Поделиться этой страницей