أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

كيف بجعل الاعضاء داخل قالب الاحصائيات


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif كيف بجعل الاعضاء داخل قالب الاحصائيات
  18-11-2012 10:28 مساءً  
عبد العزيز
معلومات الكاتب
تفضل أخي:

CODE

<div>
	{if {$_CONF['info_row']['activate_last_static_list']} == 1}</div>
<div>
	                </div>
<div>
	               <table border="0" cellspacing="0" width="98%" align="center"></div>
<div>
	                        <tr align="center"></div>
<div>
	                    <td class="tcat"></div>
<div>
	<span class="l-left"></div>
<div>
	                 <a onclick="switchMenuNone('statistics_list');"><img border="0" alt="" src="{$image_path}/collapse_b.gif" /></a></div>
<div>
	                   </span></div>
<div>
	                           <a title="{$lang['mor_static']}" href="index.php?page=static&amp;index=1"></div>
<div>
	                        {$lang['last_static_num']}</div>
<div>
	                        </a></div>
<div>
	                        </td></div>
<div>
	                    </tr></div>
<div>
	        </table></div>
<div>
	               <table border="0" cellspacing="1" width="98%" class="border" id="statistics_list" align="center"></div>
<div>
	<tr align="right"></div>
<div>
	                        <td class="thead1" width="145" valign="top">{$lang['New_members']}</td></div>
<div>
	                        <td class="thead1" width="180">{$lang['TopSubjectVisitor']}</td></div>
<div>
	                        <td class="thead1" width="250" valign="top">&nbsp;{$lang['LastSubject']}</td></div>
<div>
	                    </tr></div>
<div>
	<tr align="right"></div>
<div>
	                        <td class="row3" width="145"></div>
<div>
	                            <table width="100%" border="0" cellpadding="0" style="border-collapse: collapse"></div>
<div>
	                             {Des::while}{latest_registered}</div>
<div>
	                                <tr style="vertical-align: top;"></div>
<div>
	<td class="row3" width="100%" align="right" nowrap="nowrap"></div>
<div>
	<span class="smallfont"></div>
<div>
	                               {if {$_CONF['info_row']['rewriterule']} == '1'}</div>
<div>
	                                       <a href="u{$latest_registered['id']}.html"></div>
<div>
	                                    {else}</div>
<div>
	                                       <a href="index.php?page=profile&amp;show=1&amp;id={$latest_registered['id']}"></div>
<div>
	                                  {/if}</div>
<div>
	                                      <?php</div>
<div>
	                                    echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['latest_registered'][$this->x_loop]['username']);</div>
<div>
	                                    ?></div>
<div>
	                                    </a></div>
<div>
	                                    </span></div>
<div>
	                                   </td></div>
<div>
	                                    <td class="row3" title="{$lang['date_register']}" width="1%" align="left" nowrap="nowrap"></div>
<div>
	                                    &nbsp;<span class="smallfont">{$latest_registered['register_date']}</span></td></div>
<div>
	                                </tr></div>
<div>
	                                {/Des::while}</div>
<div>
	                            </table></div>
<div>
	                        </td></div>
<div>
	                        <td class="row3" width="180"></div>
<div>
	                            <table width="100%" border="0" cellpadding="0" style="border-collapse: collapse"></div>
<div>
	                           {if {$TopSubjectVisitorNum} > 0}</div>
<div>
	                            {Des::while}{TopSubjectVisitor}</div>
<div>
	                                <tr style="vertical-align: top;"></div>
<div>
	<td class="row3" align="right" nowrap="nowrap"></div>
<div>
	                                    <img src="{$image_path}/post.gif" alt="" border="0" />&nbsp;</div>
<div>
	                                    {if {$_CONF['info_row']['rewriterule']} == '1'}</div>
<div>
	                                    <a href="t{$TopSubjectVisitor['id']}.html"></div>
<div>
	                                    {else}</div>
<div>
	                                    <a href="index.php?page=topic&amp;show=1&amp;id={$TopSubjectVisitor['id']}"></div>
<div>
	                                    {/if}</div>
<div>
	                                    <span class="smallfont"></div>
<div>
	                                    <?php $PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title']); ?></div>
<div>
	                                    <?php</div>
<div>
	                                     $num ='25';</div>
<div>
	                                    $start ='0';</div>
<div>
	                                    $text = $PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title'];</div>
<div>
	                                     echo $text = @preg_replace('#^(?:[\\x00-\\x7F]|[\\xC0-\\xFF][\\x80-\\xBF]+){0,'. $start .'}'.'((?:[\\x00-\\x7F]|[\\xC0-\\xFF][\\x80-\\xBF]+){0,'. $num .'}).*#s','$1', $text);</div>
<div>
	                                      if (strlen($PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title']) > $num) {</div>
<div>
	                                    echo " ..";</div>
<div>
	                                    }</div>
<div>
	                                    ?></div>
<div>
	                                    </span></div>
<div>
	                                    </a></div>
<div>
	                                    </td></div>
<div>
	                                    <td class="row3" title="{$lang['SubjectVisitor']}" width="1%" align="left" nowrap="nowrap"></div>
<div>
	                                    {$TopSubjectVisitor['visitor']}</td></div>
<div>
	                                </tr></div>
<div>
	                                {/Des::while}</div>
<div>
	                                {else}</div>
<div>
	                                {$lang['No_Visits']}</div>
<div>
	                                {/if}</div>
<div>
	                            </table></div>
<div>
	                        </td></div>
<div>
	                        <td class="row3" width="250" rowspan="3" valign="top"></div>
<div>
	                            <table style="height: 100%; border-collapse:collapse" width="100%" border="0" cellpadding="0"></div>
<div>
	                                <tr style="vertical-align: top;"></div>
<div>
	<td class="row3" align="right" nowrap="nowrap"></div>
<div>
	                                    {$lang['Subject']}</td></div>
<div>
	                                    <td></div>
<div>
	                                    &nbsp;</td></div>
<div>
	<td class="row3" align="right" nowrap="nowrap"></div>
<div>
	                                    &nbsp;{$lang['send_by']}</td></div>
<div>
	<td class="row3" align="right" nowrap="nowrap"></div>
<div>
	                                    &nbsp;&nbsp;{$lang['date']}</td></div>
<div>
	                                </tr></div>
<div>
	                                {Des::while}{LastSubject}</div>
<div>
	                             <?php $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title']); ?></div>
<div>
	                                <tr valign="top"></div>
<div>
	    <td class="row3" title="{$LastSubject['title']}" align="right" nowrap="nowrap"></div>
<div>
	                                    <img src="{$image_path}/post.gif" alt="" border="0" />&nbsp;</div>
<div>
	                                    {if {$_CONF['info_row']['rewriterule']} == '1'}</div>
<div>
	                                 <a href="t{$LastSubject['id']}.html"></div>
<div>
	                                     {else}</div>
<div>
	                                    <a href="index.php?page=topic&amp;show=1&amp;id={$LastSubject['id']}"></div>
<div>
	                                    {/if}</div>
<div>
	                                <span class="smallfont"></div>
<div>
	                                 <?php</div>
<div>
	                                 $num ='30';</div>
<div>
	                                $start ='0';</div>
<div>
	                                $text = $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'];</div>
<div>
	                                 echo $text = @preg_replace('#^(?:[\\x00-\\x7F]|[\\xC0-\\xFF][\\x80-\\xBF]+){0,'. $start .'}'.'((?:[\\x00-\\x7F]|[\\xC0-\\xFF][\\x80-\\xBF]+){0,'. $num .'}).*#s','$1', $text);</div>
<div>
	                                  if (strlen($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title']) > $num) {</div>
<div>
	                                echo " ...";</div>
<div>
	                                } ?></div>
<div>
	                                </span></div>
<div>
	                                 </a></div>
<div>
	                                    </td></div>
<div>
	    <td class="row3" title="{$LastSubject['title']}" align="right" nowrap="nowrap"></div>
<div>
	                                {if {$_CONF['info_row']['rewriterule']} == '1'}</div>
<div>
	                                    <a target="_blank" href="t{$LastSubject['id']}.html"></div>
<div>
	                                    {else}</div>
<div>
	                                    <a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$LastSubject['id']}"></div>
<div>
	                                    {/if}</div>
<div>
	                                    <img src="{$image_path}/open.gif" alt="" border="0" /></a></div>
<div>
	                                    </td></div>
<div>
	    <td class="row3" title="{$LastSubject['last_replier']}" align="right" nowrap="nowrap"></div>
<div>
	                                    <span class="smallfont"></div>
<div>
	                                    &nbsp;</div>
<div>
	                                    {if {$LastSubject['last_replier']} !=''}</div>
<div>
	                                     <?php echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['last_replier']);?></div>
<div>
	 </div>
<div>
	                                              {else}</div>
<div>
	                                     <?php echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['writer']);?></div>
<div>
	 </div>
<div>
	                                              {/if}</div>
<div>
	                                              </span></div>
<div>
	                                    </td></div>
<div>
	        <td class="row3" title="{$LastSubject['reply_date']}" width="1%" align="right" nowrap="nowrap"></div>
<div>
	                                    &nbsp;<span class="smallfont"> {$LastSubject['reply_date']}</span></div>
<div>
	                                    </td></div>
<div>
	                                </tr></div>
<div>
	                                {/Des::while}</div>
<div>
	                            </table></div>
<div>
	                        </td></div>
<div>
	                    </tr></div>
<div>
	<tr align="right"></div>
<div>
	                        <td class="thead1" width="145"></div>
<div>
	                            {$lang['TopMemberInvite']}</td></div>
<div>
	                        <td class="thead1" width="180">{$lang['Top_participants']}</td></div>
<div>
	                    </tr></div>
<div>
	<tr align="right"></div>
<div>
	                        <td class="row3" width="140"></div>
<div>
	                            <table width="100%" border="0" cellpadding="0" style="border-collapse: collapse"></div>
<div>
	                            {if {$TopMemberInviteNum} > 0}</div>
<div>
	                            {Des::while}{TopMemberInvite}</div>
<div>
	                                <tr style="vertical-align: top;"></div>
<div>
	<td class="row3" align="right" nowrap="nowrap"></div>
<div>
	                                    {if {$_CONF['info_row']['rewriterule']} == '1'}</div>
<div>
	                                    <a href="u{$TopMemberInvite['id']}.html"></div>
<div>
	                                    {else}</div>
<div>
	                                    <a href="index.php?page=profile&amp;show=1&amp;id={$TopMemberInvite['id']}"></div>
<div>
	                                    {/if}</div>
<div>
	                                    <span class="smallfont"></div>
<div>
	                                    <?php</div>
<div>
	                                    echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['TopMemberInvite'][$this->x_loop]['username']);</div>
<div>
	                                    ?></div>
<div>
	                                    </span></div>
<div>
	                                    </a></div>
<div>
	                                    </td></div>
<div>
	                                    <td class="row3" title="{$lang['Invites']}" width="1%" align="left" nowrap="nowrap"></div>
<div>
	                                    {$TopMemberInvite['invite_num']}</td></div>
<div>
	                                </tr></div>
<div>
	                                {/Des::while}</div>
<div>
	                                {else}</div>
<div>
	                                {$lang['No_Invits']}</div>
<div>
	                                {/if}</div>
<div>
	                            </table></div>
<div>
	                        </td></div>
<div>
	                        <td class="row3" width="180"></div>
<div>
	                            <table width="100%" border="0" cellpadding="0" style="border-collapse: collapse"></div>
<div>
	                            {if {$TopMemberListNum} > 0}</div>
<div>
	                                {Des::while}{TopMemberList}</div>
<div>
	                                <tr style="vertical-align: top;"></div>
<div>
	<td class="row3" align="right" nowrap="nowrap"></div>
<div>
	                                    <span class="smallfont"></div>
<div>
	                                    {if {$_CONF['info_row']['rewriterule']} == '1'}</div>
<div>
	                                <a href="u{$TopMemberList['id']}.html"></div>
<div>
	                                      <?php</div>
<div>
	                                        echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['TopMemberList'][$this->x_loop]['username']);</div>
<div>
	                                        ?></div>
<div>
	</a></div>
<div>
	                                {else}</div>
<div>
	                                <a href="index.php?page=profile&amp;show=1&amp;id={$TopMemberList['id']}"></div>
<div>
	                                      <?php</div>
<div>
	                                        echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['TopMemberList'][$this->x_loop]['username']);</div>
<div>
	                                        ?>                                </div>
<div>
	                                </a></div>
<div>
	                                {/if}</div>
<div>
	                                </span></div>
<div>
	                                  </td></div>
<div>
	                                    <td class="row3" title="{$lang['posts']}" width="1%" align="left" nowrap="nowrap"></div>
<div>
	                                    {$TopMemberList['posts']}</td></div>
<div>
	                                </tr></div>
<div>
	                                {/Des::while}</div>
<div>
	                                {else}</div>
<div>
	                                {$lang['No_Posts']}</div>
<div>
	                                {/if}</div>
<div>
	                            </table></div>
<div>
	                        </td></div>
<div>
	                    </tr></div>
<div>
	                </table></div>
<div>
	         {/if}</div>
<div>
	                </div>


تم تحرير المشاركة بواسطة :عبد العزيز بتاريخ:21-11-2012 01:56 صباحاً



الساعة الآن 05:42 PM