ادخل الى

ACP > Look & Feel > Manage Templates & CSS > boardIndexTemplate

وابحث عن


كود PHP:
[/b]<dl
 
                          <
dt>{$this->lang->words[&#39;total_posts']}</dt>
 
                          
<dd>{$stats[&#39;info']['total_posts']}</dd>
 
                          
<dt>{$this->lang->words[&#39;total_members']}</dt>
 
                          
<dd>{$stats[&#39;info']['mem_count']}</dd>
 
                          
<dt>{$this->lang->words[&#39;newest_member']}</dt>
 
                          
<dd><a href=&#39;{parse url="{$stats['info']['last_mem_link']}" template="showuser" seotitle="%%{$stats['info']['last_mem_name']}%%"}' title='{$this->lang->words['view_profile']}'>{$stats['info']['last_mem_name']}</a>{parse template="user_popup" group="global" params="$stats['info']['last_mem_id']"}</dd>
 
                          
<dt>{$this->lang->words[&#39;online_at_once']}</dt>
 
                          
<dd>{$stats[&#39;info']['most_online']}
 
  
<span class=&#39;extra'>On {$stats['info']['most_time']}</span></dd>
 
                  
</dl>[b
استبدله بهذا الكود

كود PHP:
[/b] <dl
 
                                  <
dt>{$this->lang->words[&#39;active_users_text']}</dt> 
 
                                  
<dd>{$stats[&#39;TOTAL']}</dd>
 
                                  
<dt>{$this->lang->words[&#39;anon_users']}</dt>
 
                                  
<dd>{$stats[&#39;ANON']}</dd>
 
                                  
<dt>{$this->lang->words[&#39;guests']}</dt>
 
                                  
<dd>{$stats[&#39;ANON']}</dd>
 
                          
<dt>{$this->lang->words[&#39;total_posts']}</dt>
 
                          
<dd>{$stats[&#39;info']['total_posts']}</dd>
 
                          
<dt>{$this->lang->words[&#39;total_members']}</dt>
 
                          
<dd>{$stats[&#39;info']['mem_count']}</dd>
 
                          
<dt>{$this->lang->words[&#39;newest_member']}</dt>
 
                          
<dd><a href=&#39;{parse url="{$stats['info']['last_mem_link']}" template="showuser" seotitle="%%{$stats['info']['last_mem_name']}%%"}' title='{$this->lang->words['view_profile']}'>{$stats['info']['last_mem_name']}</a>{parse template="user_popup" group="global" params="$stats['info']['last_mem_id']"}</dd>
 
                          
<dt>{$this->lang->words[&#39;online_at_once']}</dt>
 
                          
<dd>{$stats[&#39;info']['most_online']}  <span class='extra'>On {$stats['info']['most_time']}</span></dd>
 
                          
<dt>{$this->lang->words[&#39;birthdays_today']}</dt>
 
                          
<dd>{$birthdays[&#39;count']}</dd>
 
                  
</dl>[b
ثم ابحث عن

كود PHP:
[/b]<h2>{$birthdays[&#39;count']} {$this->lang->words['birthdays_today']}</h2>[b] 

وقوم بالغاء ما بة

ثم احفظ التمبلايت


نقره لتكبير أو تصغير الصورة ونقرتين لعرض الصورة في صفحة مستقلة بحجمها الطبيعي


لمزيد من التغير

ابحث عن

كود PHP:
[/b]<ul id=&#39;stat_links'>
         
<li><a href=&#34;{parse url="app=core&amp;module=search&amp;do=active" base="public"}" title="{$this->lang->words['today_active_cont']}">{$this->lang->words['new_active_cont']}</a></li>
         
<li><a href=&#34;{parse url="app=forums&amp;module=extras&amp;section=stats&amp;do=leaders" base="public"}" title="{$this->lang->words['sm_forum_leaders_title']}">{$this->lang->words['sm_forum_leaders']}</a></li>
         
<li><a href=&#34;{parse url="app=forums&amp;module=extras&amp;section=stats" base="public"}" title="{$this->lang->words['sm_forum_leaders_title']}">{$this->lang->words['sm_forum_leaders']}</a></li>
         
<li><a href=&#34;{parse url="app=members&section=view&module=list&max_results=20&sort_key=posts&sort_order=desc&filter=ALL" base="public"}" title="{$this->lang->words['sm_overall_posters_title']}">{$this->lang->words['sm_overall_posters']}</a></li>
 
</ul>
 <
div id=&#39;board_statistics' class='statistics general_box'>
         
<div id=&#39;stats'>
                 
<h2>{$this->lang->words[&#39;board_stats']}</h2>
                 
<dl
                         <
dt>{$this->lang->words[&#39;total_posts']}</dt>
                         
<dd>{$stats[&#39;info']['total_posts']}</dd>
                         
<dt>{$this->lang->words[&#39;total_members']}</dt>
                         
<dd>{$stats[&#39;info']['mem_count']}</dd>
                         
<dt>{$this->lang->words[&#39;newest_member']}</dt>
                         
<dd><a href=&#39;{parse url="{$stats['info']['last_mem_link']}" template="showuser" seotitle="%%{$stats['info']['last_mem_name']}%%"}' title='{$this->lang->words['view_profile']}'>{$stats['info']['last_mem_name']}</a>{parse template="user_popup" group="global" params="$stats['info']['last_mem_id']"}</dd>
                         
<dt>{$this->lang->words[&#39;online_at_once']}</dt>
                         
<dd>{$stats[&#39;info']['most_online']}
 
<span class=&#39;extra'>On {$stats['info']['most_time']}</span></dd>
                 
</dl>
         </
div>
         <
div id=&#39;active_users'>
                 
<h2>
                         {
$stats[&#39;TOTAL']} {$this->lang->words['active_users_text']} <span>{$this->lang->words['active_users']}</span>
 
                         
<span class=&#39;desc'>{$stats['GUESTS']} {$this->lang->words['guests']}, {$stats['ANON']} {$this->lang->words['anon_users']} | {$this->lang->words['show_by']}: <a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}'>{$this->lang->words['oul_click']}</a> or <a href='{parse url="app=members&amp;module=online&amp;sort_key=name&amp;sort_order=asc&amp;show_mem=reg" base="public"}'>{$this->lang->words['oul_name']}</a></span>
                 
</h2>
                 <if 
test=&#34;count($stats['NAMES'])">
                         
<ul>
                                 <
li>{parse expression=&#34;implode( ",</li><li>", $stats['NAMES'] )"}</li>
                         
</ul>
                 </if>
         </
div>
         <
div id=&#39;cal_events'>
                 
<h2>{$this->lang->words[&#39;upcoming_events']}</h2>
                 
<if test=&#34;is_array( $calendar_events )">
                         
<ul>
                                 <
li>{parse expression=&#34;implode( ",</li><li>", $calendar_events )"}</li>
                         
</ul>
                 <else />
                         
$calendar_events
                 
</if>
         </
div>
         <if 
test=&#34;$birthdays !== FALSE AND is_array( $birthdays['users'] ) AND count( $birthdays['users'] )">
                 
<div id=&#39;cal_bdays'>
                         
<h2>{$birthdays[&#39;count']} {$this->lang->words['birthdays_today']}</h2>
                         
<ul>
                                 <
li>{parse expression=&#34;implode( ",</li><li>", $birthdays['users'] )"}</li>
                         
</ul>
                 </
div>
         </if>
         
 </
div>[b

استبدلها ب

كود PHP:
[/b]<ul id=&#39;stat_links'>
         
<li><a href=&#34;{parse url="app=core&amp;module=search&amp;do=active" base="public"}" title="{$this->lang->words['today_active_cont']}">{$this->lang->words['new_active_cont']}</a></li>
         
<li><a href=&#34;{parse url="app=forums&amp;module=extras&amp;section=stats&amp;do=leaders" base="public"}" title="{$this->lang->words['sm_forum_leaders_title']}">{$this->lang->words['sm_forum_leaders']}</a></li>
         
<li><a href=&#34;{parse url="app=forums&amp;module=extras&amp;section=stats" base="public"}" title="{$this->lang->words['sm_today_posters']}">{$this->lang->words['sm_today_posters']}</a></li>
         
<li><a href=&#34;{parse url="app=members&section=view&module=list&max_results=20&sort_key=posts&sort_order=desc&filter=ALL" base="public"}" title="{$this->lang->words['sm_all_posters_title']}">{$this->lang->words['sm_all_posters_title']}</a></li>
         
<li><a href=&#34;{parse url="app=core&amp;module=global&amp;section=login&amp;&amp;do=deleteCookies&amp;k={$this->member->form_hash}" base="public"}" title='Delete cookies set by this board'>Delete My Cookies</a></li>
         
<li><a href=&#34;{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=all" base="public"}" title='Mark all as read'>Mark Board As Read</a></li>
 
</ul>
 <
div id=&#39;board_statistics' class='statistics general_box'>
         
<div id=&#39;stats'>
                 
<h2>{$this->lang->words[&#39;board_stats']}</h2>
                 
<dl
                                 <
dt>{$this->lang->words[&#39;active_users_text']}</dt> 
                                 
<dd>{$stats[&#39;TOTAL']}</dd>
                                 
<dt>{$this->lang->words[&#39;anon_users']}</dt>
                                 
<dd>{$stats[&#39;ANON']}</dd>
                                 
<dt>{$this->lang->words[&#39;guests']}</dt>
                                 
<dd>{$stats[&#39;ANON']}</dd>
                         
<dt>{$this->lang->words[&#39;total_posts']}</dt>
                         
<dd>{$stats[&#39;info']['total_posts']}</dd>
                         
<dt>{$this->lang->words[&#39;total_members']}</dt>
                         
<dd>{$stats[&#39;info']['mem_count']}</dd>
                         
<dt>{$this->lang->words[&#39;newest_member']}</dt>
                         
<dd><a href=&#39;{parse url="{$stats['info']['last_mem_link']}" template="showuser" seotitle="%%{$stats['info']['last_mem_name']}%%"}' title='{$this->lang->words['view_profile']}'>{$stats['info']['last_mem_name']}</a>{parse template="user_popup" group="global" params="$stats['info']['last_mem_id']"}</dd>
                         
<dt>{$this->lang->words[&#39;online_at_once']}</dt>
                         
<dd>{$stats[&#39;info']['most_online']}  <span class='extra'>On {$stats['info']['most_time']}</span></dd>
                         
<dt>{$this->lang->words[&#39;birthdays_today']}</dt>
                         
<dd>{$birthdays[&#39;count']}</dd>
                 
</dl>
         </
div>
         <
div id=&#39;active_users'>
         
<span>{$this->lang->words[&#39;active_users']}</span>
 
 
<if test=&#34;count($stats['NAMES'])">
                         
<ul>
                                 <
li>{parse expression=&#34;implode( ",</li><li>", $stats['NAMES'] )"}</li>
                         
</ul>
                 </if>
         
 
 {
$this->lang->words[&#39;show_by']}: <a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}'>{$this->lang->words['oul_click']}</a> or <a href='{parse url="app=members&amp;module=online&amp;sort_key=name&amp;sort_order=asc&amp;show_mem=reg" base="public"}'>{$this->lang->words['oul_name']}</a></div>
         
<div id=&#39;cal_events'>
                 
<h2>{$this->lang->words[&#39;upcoming_events']}</h2>
                 
<if test=&#34;is_array( $calendar_events )">
                         
<ul>
                                 <
li>{parse expression=&#34;implode( ",</li><li>", $calendar_events )"}</li>
                         
</ul>
                 <else />
                         
$calendar_events
                 
</if>
         </
div>
         <if 
test=&#34;$birthdays !== FALSE AND is_array( $birthdays['users'] ) AND count( $birthdays['users'] )">
                 
<div id=&#39;cal_bdays'>
                         
<h2>{$birthdays[&#39;count']} {$this->lang->words['birthdays_today']}</h2>
                         
<ul>
                                 <
li>{parse expression=&#34;implode( ",</li><li>", $birthdays['users'] )"}</li>
                         
</ul>
                 </
div>
         </if>
         
 </
div>[b
ثم اذهب الى
ACP > Look & Feel > Manage Templates & CSS > Global Templates > forum_show_rules_link > globalTemplate
ثم ابحث عن

كود PHP:
[/b]<li><a href=&#34;{parse url="app=core&amp;module=global&amp;section=login&amp;&amp;do=deleteCookies&amp;k={$this->member->form_hash}" base="public"}" title='Delete cookies set by this board'>Delete My Cookies</a></li>
                 
<li><a href=&#34;{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=all" base="public"}" title='Mark all as read'>Mark Board As Read</a></li>[b] 
قوم بالغائة واحفظ التمبلايت


نقره لتكبير أو تصغير الصورة ونقرتين لعرض الصورة في صفحة مستقلة بحجمها الطبيعي


وشكرا انتهى الدرس