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

[مشكلة] في ظهور صورة العضو في القسم الفرعي

موضوع مغلق


  • تمت الإجابة
18-08-2016 02:36 صباحاً
عبدالاله الهذلي
معلومات الكاتب
السلام عليكم ورحمة الله ووبركاته



عند مشكلة واجهتني ولي 3 ايام احل فيها لكن مانفع =(



المشكلة هيا ظهور الصورة في القسم الفرعي بجانب الموضوع ..

في ظهور صورة العضو في القسم الفرعي



حاولت ألغي ظهور الصور بـ القالب


forum_subject_table


المحتوي الموجود داخل القالب

CODE
<style>
.UserPhoto_tiny_RCS {
border:1px solid #3E1C06;
float:right;
padding:2px;
background-color:transparent;
border-radius: 2px;
display: block;
}
.UserPhoto_tiny_RCS img {
width:40px;
height:40px;
text-align:center;
}

.User-Picture-forum-Home{
width: 40px;
height: 40px;
background-position: center;
background-repeat: no-repeat;
background-size: 40px;
display: inline-block;
vertical-align: middle;
}
</style>
<script type="text/javascript" src="includes/js/jquery.save.js"></script>
<script type='text/javascript'>
//
function AjaxTitle()
{

    var data = {};
     var AjaxState = {ajaxSend : $("#status").html("<img border='0' src='{$image_path}/loading.gif'>")};

    data['title']    =    $("#title_id").val();
    data['m_subject']        =    $("#m_subject_id").val();
    data['ajax']    =    true;

    $.post("index.php?page=ajax&subjects=1&rename=1",data,function Success(xml) { $("#status").html(xml); $("#title_" + $("#m_subject_id").val()).html(xml); });
     $("#title_id").val().html(xml).fadeOut();
}

function AjaxEdit()
{
                                                                                                                                                                                
      title = $(this).text(); 
     // valu = $(".subjectajax_id").val(); 
      valu = $('input[name=' + title + ']').val();
      if (valu){  
      $.cookie("PbbSubject_id", valu, { expires: 1 });
      }
      valu = $.cookie("PbbSubject_id");
    $(this).html('<input type="text" name="title" id="title_id" value="' + title + '" size="40"/><input type="hidden" name="m_subject" id="m_subject_id" value="' + valu + '" /><input type="button" name="button" class="input_button" value="{$lang['Ok']}" /><input type="button" name="button" class="input_cancel" value="{$lang['Cancel']}" />');
    $(".input_button").click(AjaxTitle);
    $(".input_cancel").click(cancel);
    
}
function cancel()
{
    var data = {};
     var AjaxState = {ajaxSend : $("#status").html("<img border='0' src='{$image_path}/loading.gif'>")};

    data['title']    =    $("#title_id").val();
    data['m_subject']        =    $("#m_subject_id").val();
    data['ajax']    =    true;

    $.post("index.php?page=ajax&subjects=1&rename=0",data,function Success(xml) { $("#status").html(xml); $("#title_" + $("#m_subject_id").val()).html(xml); });
     $("#title_id").val().html(xml).fadeOut();
     
}

function Ready()
{
    $("label[id]").dblclick(AjaxEdit);
    
}

$(document).ready(Ready);
//
</script>

<script type='text/javascript'>
//
function checkAll(form){
  for (var i = 0; i < form.elements.length; i++){
    eval("form.elements[" + i + "].checked = form.elements[0].checked");
  }
}
//
</script>
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
    <tr>
            <td align="right">
            {template}add_subject_link{/template}
</td>
<td align="left">
{if {$pager}}
<?php echo $PowerBB->pager->show();?>
{/if}
            </td>
            </tr>
        </table>
  
 <table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
    <tr>
<td class="top_forum_bar" nowrap="nowrap">
 <span class="r-right">
        {$lang['forum_subjects']}
        {$section_info['title']}</span>
{if {$_CONF['group_info']['search_allow']} == 1}
<span class="l-left">
<span style="cursor: pointer;" class='popmenubutton'><a href="javascript:switchMenuNone('section_searchs_witch')">{$lang['search']}
 <img border="0" alt="" src="{$image_path}/menu_open.gif" /></a> </span>
</span>
      <!-- Code search forum Menu start -->
<div style="display:none; left:30px; margin:26px 0 0 0;" class="drop_menu" id="section_searchs_witch">
<form name="search" action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="start" value="1" />
<input type="hidden" name="sort_order" value="DESC" />
<input type="hidden" name="section" value="{$SECTION_ID}" />
        <table width="200" border="0" cellspacing="0">
        <tr align="center">
        <td class="row2" onclick="sBlock('section_searchs_witch')">
        <input type="text" name="keyword" value="{$lang['search_keyword']}" onfocus="if (this.value == '{$lang['search_keyword']}') this.value = '';" size="20"
         dir="{$_CONF['info_row']['content_dir']}" />
        <input type="submit" value="{$lang['start_search']}" name="search" />
        </td>
        </tr>
        <tr>
        <td class="thead1">
        <a href="index.php?page=search&amp;index=1">{$lang['advanced_search']}</a>
        </td>
        </tr>
        </table>
        </form>
</div>
{/if}
</td>
    </tr>
</table>

<form name="tools_thread" method="post" enctype="multipart/form-data" action="index.php?page=management&amp;subject=1&amp;section={$SECTION_ID}&amp;operator=tools_thread">
<table border="0" cellspacing="1" class="border" width="98%" align="center">
    <tr>
        <td width="75%" class="tcat" align="center" colspan="3">
            {$lang['subject_title']}
        </td>

        <td width="4%" class="tcat" align="center">
            {$lang['reply_num']}
        </td>
        <td width="4%" class="tcat" align="center">
            {$lang['subject_visitor']}
        </td>
        <td width="15%" class="tcat" align="center">
            {$lang['write_date']}
        </td>
        {if !{$mod_toolbar}}
            <td class="tcat" width="1%">
            <input type="checkbox" name="check_all" onclick="checkAll(this.form)" />
        </td>
        {/if}
    </tr>
{template}adsense_forum{/template}
{template}forum_announcement_table{/template}
    {if !{$NO_REVIEW_SUBJECTS}}
    <tr>
        <td width="98%" colspan="{$colspan}" class="thead" align="center">
            {$lang['subjects_review']}
        </td>
    </tr>
        {Des::while}{review_subject_list}
    <tr class="radiusContent">
        <td width="1%" class="row2" align="center">
             {if {$review_subject_list['review_subject']}  == 1}
             <img alt="" src="{$image_path}/dot_review.gif" border="0"
             title="{$lang['subject_review']}" />
            {/if}

        </td>
        <td width="1%" class="row1" align="center">
            <img src="{$review_subject_list['icon']}" alt="" />
        </td>
        <td width="65%" class="row2">
<?php $PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['title']); ?>

                      <a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$review_subject_list['id']}{$password}">
                           <img border="0" alt="{$lang['opin_subject']}"
                         src="{$image_path}/open.gif" /></a>
                      <font class="title_font">
                      <span dir="{$_CONF['info_row']['content_dir']}">
                     <b>{$review_subject_list['prefix_subject']}</b>
                     </span>
                      <a href="index.php?page=topic&amp;show=1&amp;id={$review_subject_list['id']}{$password}">
                       {$review_subject_list['title']}</a>
                     </font>

                {if {$review_subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
<img src="{$image_path}/multipage.gif"
alt="{$lang['subject_multipage']}"
title="{$lang['subject_multipage']}" align="left" />
              {/if}
          {if {$review_subject_list['attach_subject']} == 1}
<img src="{$image_path}/attach.gif"
alt="{$lang['subject_attach']}"
title="{$lang['subject_attach']}" align="left" />
              {/if}
                            {if {$review_subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
              <img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$review_subject_list['rating']} " align="left" />
              {/if}
            {if {$review_subject_list['close']}}
            {$lang['subject_close']}
            {/if}
            {if {$review_subject_list['delete_topic']}}
            {$lang['subject_delete']}
            {/if}
            {if {$review_subject_list['special']}}
            {$lang['subject_special']}
            <span class="l-left">
            <img border="0" src="{$image_path}/star.gif"
            alt="{$lang['s_special']}" /> </span>
            {/if}
            {if {$_CONF['info_row']['subject_describe_show']} and {$review_subject_list['subject_describe']} != ''}
            
            <font class="smallfont">{$review_subject_list['subject_describe']}</font>
            {/if}
            
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['writer']);?>
        </td>
        <td width="4%" class="row2" align="center">
       {if {$review_subject_list['reply_number']} == 0}
       {$review_subject_list['reply_number']}
       {else}
         <a onclick="window.open('index.php?page=misc&amp;whoposted=1&amp;subject_id={$review_subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$review_subject_list['reply_number']}</font></u></a>
       {/if}
        </td>
        <td width="4%" class="row1" align="center">
            {$review_subject_list['visitor']}
        </td>
        <td width="25%" class="row2" align="center">  
<!-- start get avater_path to last_replier from review_subject_list  -->
{if {$_CONF['info_row']['allow_avatar']}}
{if {$review_subject_list['reply_number']} > 0}
<?php
$username = $PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['last_replier'];
?>
{else}
<?php
$username = $PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['writer'];
?>
{/if}
<?php
// Get username style
$MemberArr             =     array();
$MemberArr['where']     =     array('username',$username);
$StyleMemberInfo = $PowerBB->core->GetInfo($MemberArr,'member');
if (empty($StyleMemberInfo['avater_path']))
{
$photo = $PowerBB->_CONF['template']['image_path'].'/'.$PowerBB->_CONF['info_row']['default_avatar'];
}
else
{
$photo = $StyleMemberInfo['avater_path'];
}
?>
<div class="UserPhoto_tiny_RCS" title="<?php echo $username;?>">
<span class="User-Picture-forum-Home" style="background-image: url(<?php echo $photo;?>);"></span>
</div>
{/if}
<!-- end get avater_path to last_replier from review_subject_list  -->        
            {if {$review_subject_list['reply_number']} <= 0}
            {$lang['no_replys']}
            {else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['last_replier']);?>

            
                       <span class="smallfont">
            {$review_subject_list['reply_date']}
                    </span >

            {/if}
        </td>
        {if !{$mod_toolbar}}
            <td width="1%" class="row1" align="center">
                <input type="checkbox" name="check[]" value="{$review_subject_list['id']}" />
            </td>
            {/if}
    </tr>
{/Des::while}
    {/if}
    {if !{$NO_STICK_SUBJECTS}}
    <tr>
        <td width="98%" colspan="{$colspan}" class="thead" align="center">
      {$lang['stick_subject_list']}
        </td>
    </tr>
    {/if}
    {Des::while}{stick_subject_list}
    <tr class="radiusContent">
        <td width="1%" class="row2" align="center">
             {if {$stick_subject_list['stick']}  == 1}
             <img alt="" src="{$image_path}/sticky.gif"
              title="{$lang['stick_subject']}" />
            {/if}

        </td>
        <td width="1%" class="row1" align="center">
            <img src="{$stick_subject_list['icon']}" alt="" />
        </td>
        <td width="65%" class="row2">
<?php
$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['title']);
$num ='99';
$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'] = $PowerBB->functions->words_count_replace_strip_tags_html2bb($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'],$num);

?>

                      <a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$stick_subject_list['id']}{$password}">
                           <img border="0" alt="{$lang['opin_subject']}"
                         src="{$image_path}/open.gif" /></a>
                 <font class="title_font">
                 <span dir="{$_CONF['info_row']['content_dir']}">
                 <b>{$stick_subject_list['prefix_subject']}</b>
                 </span>
            <a title="{$stick_subject_list['text']}" href="index.php?page=topic&amp;show=1&amp;id={$stick_subject_list['id']}{$password}">
             <b class="sticky">{$lang['sticky']}</b>
              {$stick_subject_list['title']}</a>
              </font>

                {if {$stick_subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
                 {template}forum_stick_perpage_reply{/template}
<img alt="" src="{$image_path}/multipage.gif"
 title="{$lang['subject_multipage']}" align="left" />
              {/if}
          {if {$stick_subject_list['attach_subject']} == 1}
<img alt="" src="{$image_path}/attach.gif"
title="{$lang['subject_attach']}" align="left" />
              {/if}
                            {if {$stick_subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
              <img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$stick_subject_list['rating']} " align="left" />
              {/if}
            {if {$stick_subject_list['close']}}
            {$lang['subject_close']}
            {/if}
            {if {$stick_subject_list['delete_topic']}}
            {$lang['subject_delete']}
            {/if}
            {if {$stick_subject_list['special']}}
            {$lang['subject_special']}
            <span class="l-left">
            <img border="0" src="{$image_path}/star.gif"
            alt="{$lang['s_special']}" /> </span>
            {/if}
            {if {$_CONF['info_row']['subject_describe_show']} and {$stick_subject_list['subject_describe']} != ''}
            
            <font class="smallfont">{$stick_subject_list['subject_describe']}</font>
            {/if}
            
            <?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['writer']);?>
        </td>

        <td width="4%" class="row2" align="center">
        {if {$stick_subject_list['reply_number']} == 0}
       {$stick_subject_list['reply_number']}
       {else}
        <a onclick="window.open('index.php?page=misc&amp;whoposted=1&amp;subject_id={$stick_subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$stick_subject_list['reply_number']}</font></u></a>
       {/if}
        </td>
        <td width="4%" class="row1" align="center">
            {$stick_subject_list['visitor']}
        </td>
        <td width="15%" class="row2" align="center">    
<!-- start get avater_path to last_replier from stick_subject_list  -->
{if {$_CONF['info_row']['allow_avatar']}}
{if {$stick_subject_list['reply_number']} > 0}
<?php
$username = $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['last_replier'];
?>
{else}
<?php
$username = $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['writer'];
?>
{/if}
<?php
// Get username style
$MemberArr             =     array();
$MemberArr['where']     =     array('username',$username);
$StyleMemberInfo = $PowerBB->core->GetInfo($MemberArr,'member');
if (empty($StyleMemberInfo['avater_path']))
{
$photo = $PowerBB->_CONF['template']['image_path'].'/'.$PowerBB->_CONF['info_row']['default_avatar'];
}
else
{
$photo = $StyleMemberInfo['avater_path'];
}
?>
<div class="UserPhoto_tiny_RCS" title="<?php echo $username;?>">
<span class="User-Picture-forum-Home" style="background-image: url(<?php echo $photo;?>);"></span>
</div>
{/if}
<!-- end get avater_path to last_replier from stick_subject_list  -->        
            {if {$stick_subject_list['reply_number']} <= 0}
            {$lang['no_replys']}
            {else}
            <?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['last_replier']);?>
            
            <span class="smallfont">
            {$stick_subject_list['reply_date']}
            </span >
            {/if}
        </td>
        {if !{$mod_toolbar}}
            <td width="1%" class="row1" align="center">
                <input type="checkbox" name="check[]" value="{$stick_subject_list['id']}" />
            </td>
            {/if}
    </tr>
{/Des::while}
        <tr>
        <td width="98%" colspan="{$colspan}" class="thead" align="center">
            {$lang['subject_list']}
        </td>
    </tr>

{Des::while}{subject_list}
    <tr class="radiusContent">
        <td width="1%" class="row2" align="center">
            {if {$subject_list['delete_topic']} == 1}
            <img alt="" src="{$image_path}/dot_trash.gif"
            title="{$lang['s_delete']}" />
             {elseif {$subject_list['poll_subject']} == 1}
            <img alt="" src="{$image_path}/dot_poll.gif"
             title="{$lang['dot_poll']}" />
             {elseif {$subject_list['close']}  == 1}
             <img alt="" src="{$image_path}/dot_lockfolder.gif" border="0"
             title="{$lang['s_close']}" />
            {elseif {$subject_list['writer']} == {$_CONF['member_row']['username']}}
            <img alt="" src="{$image_path}/dot_folder.gif"
             title="{$lang['subject_personal']}" />
             {elseif {$subject_list['reply_number']} > 15 and {$subject_list['visitor']} > 150}
            <img alt="" src="{$image_path}/dot_hotfolder.gif"
            title="{$lang['Hot_subject']}" />
            {elseif {$subject_list['stick']} == 1}
            <img alt="" src="{$image_path}/sticky.gif"
             title="{$lang['stick_subject']}" />
            {elseif {$_CONF['member_row']['lastvisit']} > {$subject_list['write_time']}}
            <img alt="" src="{$image_path}/dot_nonewfolder.gif"
            title="{$lang['no_newPosts']}" />
            {elseif {$subject_list['write_time']} > {$_CONF['member_row']['lastvisit']}}
            <img alt="" src="{$image_path}/dot_newfolder.gif"
            title="{$lang['there_are_new_posts']}" />
            {else}
            <img alt="" src="{$image_path}/dot_nonewfolder.gif"
            title="{$lang['no_newPosts']}" />        
            {/if}

        </td>
        <td width="1%" class="row1" align="center">
            <img src="{$subject_list['icon']}" alt="" />
        </td>
        <td width="65%" class="row2">
<?php
$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title']);
$num ='99';
$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'] = $PowerBB->functions->words_count_replace_strip_tags_html2bb($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'],$num);
?>
<a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$subject_list['id']}{$password}">
<img border="0" alt="{$lang['opin_subject']}"
src="{$image_path}/open.gif" /></a>
<?php $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'] = str_replace('&','&',$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title']); ?>
<font class="title_font">
<span dir="{$_CONF['info_row']['content_dir']}">
<b>{$subject_list['prefix_subject']}</b>
</span>
</font>
{if !{$mod_toolbar}} 
<label class="title_font" style="padding-left: 25px;" name="{$subject_list['id']}" id="title_{$subject_list['id']}">
<span id="status_rename"></span>
{elseif {$subject_list['writer']} == {$_CONF['member_row']['username']} and {$_CONF['group_info']['edit_own_subject']} and {$SectionGroup['edit_own_subject']}} 
<label class="title_font" style="padding-left: 25px;" name="{$subject_list['id']}" id="title_{$subject_list['id']}">
<span id="status_rename"></span>
{else}
<label>
{/if}
<a title="{$subject_list['text']}" href="t{$subject_list['id']}{$password}">
<input type="hidden" name="{$subject_list['title']}" class="subjectajax_id" value="{$subject_list['id']}" />{$subject_list['title']}</a></label>

                {if {$subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
 {template}forum_perpage_reply{/template}
<img src="{$image_path}/multipage.gif"
alt="{$lang['subject_multipage']}"
title="{$lang['subject_multipage']}" align="left" />
              {/if}
          {if {$subject_list['attach_subject']} == 1}
<img src="{$image_path}/attach.gif"
alt="{$lang['subject_attach']}"
title="{$lang['subject_attach']}" align="left" />
              {/if}
                        {if {$subject_list['review_reply']}  > 0}
<img src="{$image_path}/moderated_small.gif"
alt="{$subject_list['review_reply']}
{$lang['Posts_was_observed']}"
title="{$subject_list['review_reply']}
{$lang['Posts_was_observed']}" align="left" />
              {/if}
              {if {$subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
              <img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$subject_list['rating']} " align="left" />
              {/if}

            {if {$subject_list['close']}}
            {$lang['subject_close']}
            {/if}
            {if {$subject_list['delete_topic']}}
            {$lang['subject_delete']}
            {/if}
            {if {$subject_list['special']}}
            {$lang['subject_special']}
            <span class="l-left">
            <img border="0" src="{$image_path}/star.gif"
             alt="{$lang['s_special']}" /> </span>
            {/if}
            {if {$_CONF['info_row']['subject_describe_show']} and {$subject_list['subject_describe']} != ''}
            
            <font class="smallfont">{$subject_list['subject_describe']}</font>
            {/if}
            
            {if {$subject_list['writer']} == 'Guest'}
            {$lang['Guest_']}
            {else}
            <?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['writer']);?>
            {/if}

        </td>
        <td width="4%" class="row2" align="center">
       {if {$subject_list['reply_number']} == 0}
       {$subject_list['reply_number']}
       {else}
       <a onclick="window.open('index.php?page=misc&amp;whoposted=1&amp;subject_id={$subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$subject_list['reply_number']}</font></u></a>
       {/if}
       </td>
        <td width="4%" class="row1" align="center">
            {$subject_list['visitor']}
        </td>
        <td width="25%" class="row2" align="center">    
<!-- start get avater_path to last_replier from subject_list  -->
{if {$_CONF['info_row']['allow_avatar']}}
{if {$subject_list['reply_number']} > 0}
<?php
$username = $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['last_replier'];
?>
{else}
<?php
$username = $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['writer'];
?>
{/if}
<?php
// Get username style
$MemberArr             =     array();
$MemberArr['where']     =     array('username',$username);
$StyleMemberInfo = $PowerBB->core->GetInfo($MemberArr,'member');
if (empty($StyleMemberInfo['avater_path']))
{
$photo = $PowerBB->_CONF['template']['image_path'].'/'.$PowerBB->_CONF['info_row']['default_avatar'];
}
else
{
$photo = $StyleMemberInfo['avater_path'];
}
?>
<div class="UserPhoto_tiny_RCS" title="<?php echo $username;?>">
<span class="User-Picture-forum-Home" style="background-image: url(<?php echo $photo;?>);"></span>
</div>
{/if}
<!-- end get avater_path to last_replier from subject_list  -->        
            {if {$subject_list['reply_number']} <= 0}
            {$lang['no_replys']}
            {else}
            {if {$subject_list['last_replier']} == 'Guest'}
            {$lang['Guest_']}
            {else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['last_replier']);?>

            <span class="smallfont">
            {$subject_list['reply_date']}
            </span>
            {/if}
            {/if}
        </td>
        {if !{$mod_toolbar}}
            <td width="1%" class="row1" align="center">
                <input type="checkbox" name="check[]" value="{$subject_list['id']}" />
            </td>
            {/if}
    </tr>
{/Des::while}
 {if {$NO_SUBJECTS} == 0}
    <tr>
        <td width="98%" colspan="{$colspan}" class="row1" align="center">
        {$lang['No_thread_forum']}</td>
    </tr>
{/if}
</table>

{template}options_mod{/template}
</form>

<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
    <tr>
            <td align="right">
            {template}add_subject_link{/template}
</td>
<td align="left">
{if {$pager}}
<?php echo $PowerBB->pager->show();?>
{/if}
            </td>
            </tr>
        </table>

<table class="border" border="0" cellspacing="1" width="98%" align="center">
    <tr>
        <td  width="40%" class="thead">{$lang['Display_Options']}</td>
        <td width="30%" class="thead">{$lang['online_naw']}: {$online_number}
         ({$MemberNumber}
         {$lang['Member_and']}
          {$GuestNumber}
          {$lang['Guest_']})</td>
        <td  width="20%" class="thead">{$lang['moderators_forum']}</td>
    </tr>
    <tr>
    <td width="40%" class="row1">
<div align="right">
    <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
        <tr>
            <td>
<form action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="show" value="1" />
<input type="hidden" name="order" value="1" />
<input type="hidden" name="id" value="{$SECTION_ID}" />
                    <div>
                        <label>{$lang['sort_view']}</label></div>
                    <select name="sort">
                    <option value="desc" selected="selected">{$lang['sort_desc']}</option>
                    <option value="asc">{$lang['sort_asc']}</option>
                </select>
                <input type="submit" value="{$lang['Count']}" name="submit" />
                </form></td>
            <td>
<form action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="show" value="1" />
<input type="hidden" name="orderby" value="1" />
<input type="hidden" name="id" value="{$SECTION_ID}" />
                    <div>
                    <label>{$lang['Sort_by']}</label></div>
                    <select name="sort">
                    <option value="reply_number">{$lang['sort_reply_number']}</option>
                    <option value="visitor">{$lang['sort_visitor']}</option>
                    <option value="rating">{$lang['sort_rating']}</option>
                    <option value="writer">{$lang['sort_writer']}</option>
                    <option value="title">{$lang['sort_title']}</option>
                    <option value="write_time" selected="selected">{$lang['sort_Last_Post']}</option>
                </select>
                <input type="submit" value="{$lang['Count']}" name="submit" />
                </form></td>
        </tr>
    </table>
</div>
    </td>
        <td width="30%" class="row1">{template}forum_online_table{/template}</td>
        <td width="20%" class="row1">
{template}forum_moderator_table{/template}
</td>
    </tr>
</table>

<table class="border" align="center" border="0" cellspacing="1" width="98%">
        <tr>
            <td class="row2" align="right" width="70%">
<div align="center">
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse">
    <tr>
        <td>
        <img title="{$lang['newPosts']}"
          src="{$image_path}/dot_newfolder.gif"
         alt="{$lang['newPosts']}" border="0" /></td>
        <td class="smallfont">{$lang['newPosts']}</td>
        <td>
        <img title="{$lang['no_newPosts']}"
         src="{$image_path}/dot_nonewfolder.gif"
        alt="{$lang['no_newPosts']}" border="0" /></td>
        <td class="smallfont">{$lang['no_newPosts']}</td>
        <td class="smallfont" width="65%"> </td>
    </tr>
    <tr>
            <td>
        <img title="{$lang['s_delete']}"
         src="{$image_path}/dot_trash.gif"
         alt="{$lang['s_delete']}" border="0" /></td>
        <td class="smallfont">{$lang['s_delete']}</td>
        <td>
        <img title="{$lang['dot_hotfolder']}"
         src="{$image_path}/dot_hotfolder.gif"
        alt="{$lang['dot_hotfolder']}" border="0" /></td>
        <td class="smallfont">{$lang['Hot_subject']} </td>
        <td class="smallfont"> </td>
        </tr>
<tr>
            <td>
        <img title="{$lang['dot_poll']}"
         src="{$image_path}/dot_poll.gif"
         alt="{$lang['dot_poll']}" border="0" /></td>
        <td class="smallfont">{$lang['dot_poll']}</td>
        <td>
        <img title="{$lang['dot_newposts']}"
         src="{$image_path}/dot_newposts.gif"
        alt="{$lang['dot_newposts']}" border="0" /></td>
        <td class="smallfont">{$lang['dot_newposts']}</td>
        <td class="smallfont"> </td>
        </tr>
    <tr>
        <td>
        <img title="{$lang['su_close']}"
         src="{$image_path}/dot_lockfolder.gif"
         alt="{$lang['su_close']}" border="0" /></td>
        <td class="smallfont">{$lang['su_close']}</td>
        <td>
        <img title="{$lang['your_subject_personal']}"
         alt="" src="{$image_path}/dot_folder.gif" border="0" /></td>
        <td class="smallfont">{$lang['your_subject_personal']}</td>
    <td class="smallfont" align="left">
    {if {$_CONF['info_row']['active_rss']} == '1'}
{$lang['rss_section']} :<a href="index.php?page=rss&amp;section=1&amp;id={$SECTION_ID}">
                <img border="0" alt="" src="{$image_path}/rss.gif"
                title="{$lang['rss_section']}" /></a>{/if}</td>
    </tr>
</table>
            </div>
            </td>
        </tr>
    </table>





حاولت أخفيه لكن مانفع =(



أتمنى المساعدة
تم تحرير الموضوع بواسطة :Rash بتاريخ: 18-08-2016 03:43 صباحاً


look/images/icons/i1.gif [مشكلة] في ظهور صورة العضو في القسم الفرعي
  18-08-2016 03:34 صباحاً   [1]
Mr King
معلومات الكاتب
مرحبا بك،



المرجو توضيح طلبك بصورة أو لقطة شاشة





look/images/icons/i1.gif [مشكلة] في ظهور صورة العضو في القسم الفرعي
  18-08-2016 03:44 صباحاً   [2]
عبدالاله الهذلي
معلومات الكاتب
المشاركة الأصلية كتبت بواسطة: Mr King مرحبا بك،



المرجو توضيح طلبك بصورة أو لقطة شاشة





تم تجديد الموضوع أخي الكريم مستر كنق في ظهور صورة العضو في القسم الفرعي

look/images/icons/i1.gif [مشكلة] في ظهور صورة العضو في القسم الفرعي
  18-08-2016 03:57 صباحاً   [3]
Mr King
معلومات الكاتب
أحتاج لمزيد من التوضيح من فضلك،

هل تقصد في آخرمشاركة في االصفحة الرئيسية ؟؟ وما هي الصورة التي تريد حذفها بالتحديد، صورة كاتب المشاركة؟ أو أيقونة الموضوع؟

look/images/icons/i1.gif [مشكلة] في ظهور صورة العضو في القسم الفرعي
  18-08-2016 04:18 صباحاً   [4]
عبدالاله الهذلي
معلومات الكاتب
المشاركة الأصلية كتبت بواسطة: Mr King أحتاج لمزيد من التوضيح من فضلك،

هل تقصد في آخرمشاركة في االصفحة الرئيسية ؟؟ وما هي الصورة التي تريد حذفها بالتحديد، صورة كاتب المشاركة؟ أو أيقونة الموضوع؟





في ظهور صورة العضو في القسم الفرعي
<kbd> يلي محدده بـ السهم .. </kbd>

look/images/icons/i1.gif [مشكلة] في ظهور صورة العضو في القسم الفرعي
  18-08-2016 04:52 صباحاً   [5]
Soliman
معلومات الكاتب
وعليكم السلام

1- طلبك في البداية يشير انك تريد اظهار الصور الرمزية لكاتب آخر مشاركة بجانب اقسام المنتدى في ستايل ماتين2

2- لكن عندما قرأت ردودك اتضح انك تريد حذف الصورة الرمزية لآخر رد لكل المواضيع الموجودة في صفحات الأقسام لستايل ماتين2​





فإذا كان طلبك هو رقم 1 فالطريقة تجدها هنا

-------------------------



وإذا كان طلبك رقم 2

فالطريقة هي بفتح قالب : forum_subject_table

وابحث عن :

CODE
<!-- start get avater_path to last_replier from stick_subject_list -->



وابدأ بتحديده او تظليله واستمر حتى تصل للكود

CODE
<!-- end get avater_path to last_replier from stick_subject_list  -->



واحذفه كاملاً



ثم ابحث عن :

CODE
​<!-- start get avater_path to last_replier from subject_list  -->



وابدأ بتحديده او تظليله واستمر حتى تصل للكود

CODE
<!-- end get avater_path to last_replier from subject_list  -->


واحذفه كاملاً





look/images/icons/i1.gif [مشكلة] في ظهور صورة العضو في القسم الفرعي
  18-08-2016 05:37 صباحاً   [6]
عبدالاله الهذلي
معلومات الكاتب
للاسف ماضبط ياأستاذ سليمان =(

هاذي الاكواد يلي طبقتها على حسب شرحك لي

CODE
<style>
.UserPhoto_tiny_RCS {
border:1px solid #3E1C06;
float:right;
padding:2px;
background-color:transparent;
border-radius: 2px;
display: block;
}
.UserPhoto_tiny_RCS img {
width:40px;
height:40px;
text-align:center;
}

.User-Picture-forum-Home{
width: 40px;
height: 40px;
background-position: center;
background-repeat: no-repeat;
background-size: 40px;
display: inline-block;
vertical-align: middle;
}
</style>
<script type="text/javascript" src="includes/js/jquery.save.js"></script>
<script type='text/javascript'>
//
function AjaxTitle()
{

    var data = {};
     var AjaxState = {ajaxSend : $("#status").html("<img border='0' src='{$image_path}/loading.gif'>")};

    data['title']    =    $("#title_id").val();
    data['m_subject']        =    $("#m_subject_id").val();
    data['ajax']    =    true;

    $.post("index.php?page=ajax&subjects=1&rename=1",data,function Success(xml) { $("#status").html(xml); $("#title_" + $("#m_subject_id").val()).html(xml); });
     $("#title_id").val().html(xml).fadeOut();
}

function AjaxEdit()
{
                                                                                                                                                                                
      title = $(this).text(); 
     // valu = $(".subjectajax_id").val(); 
      valu = $('input[name=' + title + ']').val();
      if (valu){  
      $.cookie("PbbSubject_id", valu, { expires: 1 });
      }
      valu = $.cookie("PbbSubject_id");
    $(this).html('<input type="text" name="title" id="title_id" value="' + title + '" size="40"/><input type="hidden" name="m_subject" id="m_subject_id" value="' + valu + '" /><input type="button" name="button" class="input_button" value="{$lang['Ok']}" /><input type="button" name="button" class="input_cancel" value="{$lang['Cancel']}" />');
    $(".input_button").click(AjaxTitle);
    $(".input_cancel").click(cancel);
    
}
function cancel()
{
    var data = {};
     var AjaxState = {ajaxSend : $("#status").html("<img border='0' src='{$image_path}/loading.gif'>")};

    data['title']    =    $("#title_id").val();
    data['m_subject']        =    $("#m_subject_id").val();
    data['ajax']    =    true;

    $.post("index.php?page=ajax&subjects=1&rename=0",data,function Success(xml) { $("#status").html(xml); $("#title_" + $("#m_subject_id").val()).html(xml); });
     $("#title_id").val().html(xml).fadeOut();
     
}

function Ready()
{
    $("label[id]").dblclick(AjaxEdit);
    
}

$(document).ready(Ready);
//
</script>

<script type='text/javascript'>
//
function checkAll(form){
  for (var i = 0; i < form.elements.length; i++){
    eval("form.elements[" + i + "].checked = form.elements[0].checked");
  }
}
//
</script>
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
    <tr>
            <td align="right">
            {template}add_subject_link{/template}
</td>
<td align="left">
{if {$pager}}
<?php echo $PowerBB->pager->show();?>
{/if}
            </td>
            </tr>
        </table>
  
 <table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
    <tr>
<td class="top_forum_bar" nowrap="nowrap">
 <span class="r-right">
        {$lang['forum_subjects']}
        {$section_info['title']}</span>
{if {$_CONF['group_info']['search_allow']} == 1}
<span class="l-left">
<span style="cursor: pointer;" class='popmenubutton'><a href="javascript:switchMenuNone('section_searchs_witch')">{$lang['search']}
 <img border="0" alt="" src="{$image_path}/menu_open.gif" /></a> </span>
</span>
      <!-- Code search forum Menu start -->
<div style="display:none; left:30px; margin:26px 0 0 0;" class="drop_menu" id="section_searchs_witch">
<form name="search" action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="start" value="1" />
<input type="hidden" name="sort_order" value="DESC" />
<input type="hidden" name="section" value="{$SECTION_ID}" />
        <table width="200" border="0" cellspacing="0">
        <tr align="center">
        <td class="row2" onclick="sBlock('section_searchs_witch')">
        <input type="text" name="keyword" value="{$lang['search_keyword']}" onfocus="if (this.value == '{$lang['search_keyword']}') this.value = '';" size="20"
         dir="{$_CONF['info_row']['content_dir']}" />
        <input type="submit" value="{$lang['start_search']}" name="search" />
        </td>
        </tr>
        <tr>
        <td class="thead1">
        <a href="index.php?page=search&amp;index=1">{$lang['advanced_search']}</a>
        </td>
        </tr>
        </table>
        </form>
</div>
{/if}
</td>
    </tr>
</table>

<form name="tools_thread" method="post" enctype="multipart/form-data" action="index.php?page=management&amp;subject=1&amp;section={$SECTION_ID}&amp;operator=tools_thread">
<table border="0" cellspacing="1" class="border" width="98%" align="center">
    <tr>
        <td width="75%" class="tcat" align="center" colspan="3">
            {$lang['subject_title']}
        </td>

        <td width="4%" class="tcat" align="center">
            {$lang['reply_num']}
        </td>
        <td width="4%" class="tcat" align="center">
            {$lang['subject_visitor']}
        </td>
        <td width="15%" class="tcat" align="center">
            {$lang['write_date']}
        </td>
        {if !{$mod_toolbar}}
            <td class="tcat" width="1%">
            <input type="checkbox" name="check_all" onclick="checkAll(this.form)" />
        </td>
        {/if}
    </tr>
{template}adsense_forum{/template}
{template}forum_announcement_table{/template}
    {if !{$NO_REVIEW_SUBJECTS}}
    <tr>
        <td width="98%" colspan="{$colspan}" class="thead" align="center">
            {$lang['subjects_review']}
        </td>
    </tr>
        {Des::while}{review_subject_list}
    <tr class="radiusContent">
        <td width="1%" class="row2" align="center">
             {if {$review_subject_list['review_subject']}  == 1}
             <img alt="" src="{$image_path}/dot_review.gif" border="0"
             title="{$lang['subject_review']}" />
            {/if}

        </td>
        <td width="1%" class="row1" align="center">
            <img src="{$review_subject_list['icon']}" alt="" />
        </td>
        <td width="65%" class="row2">
<?php $PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['title']); ?>

                      <a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$review_subject_list['id']}{$password}">
                           <img border="0" alt="{$lang['opin_subject']}"
                         src="{$image_path}/open.gif" /></a>
                      <font class="title_font">
                      <span dir="{$_CONF['info_row']['content_dir']}">
                     <b>{$review_subject_list['prefix_subject']}</b>
                     </span>
                      <a href="index.php?page=topic&amp;show=1&amp;id={$review_subject_list['id']}{$password}">
                       {$review_subject_list['title']}</a>
                     </font>

                {if {$review_subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
<img src="{$image_path}/multipage.gif"
alt="{$lang['subject_multipage']}"
title="{$lang['subject_multipage']}" align="left" />
              {/if}
          {if {$review_subject_list['attach_subject']} == 1}
<img src="{$image_path}/attach.gif"
alt="{$lang['subject_attach']}"
title="{$lang['subject_attach']}" align="left" />
              {/if}
                            {if {$review_subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
              <img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$review_subject_list['rating']} " align="left" />
              {/if}
            {if {$review_subject_list['close']}}
            {$lang['subject_close']}
            {/if}
            {if {$review_subject_list['delete_topic']}}
            {$lang['subject_delete']}
            {/if}
            {if {$review_subject_list['special']}}
            {$lang['subject_special']}
            <span class="l-left">
            <img border="0" src="{$image_path}/star.gif"
            alt="{$lang['s_special']}" /> </span>
            {/if}
            {if {$_CONF['info_row']['subject_describe_show']} and {$review_subject_list['subject_describe']} != ''}
            
            <font class="smallfont">{$review_subject_list['subject_describe']}</font>
            {/if}
            
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['writer']);?>
        </td>
        <td width="4%" class="row2" align="center">
       {if {$review_subject_list['reply_number']} == 0}
       {$review_subject_list['reply_number']}
       {else}
         <a onclick="window.open('index.php?page=misc&amp;whoposted=1&amp;subject_id={$review_subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$review_subject_list['reply_number']}</font></u></a>
       {/if}
        </td>
        <td width="4%" class="row1" align="center">
            {$review_subject_list['visitor']}
        </td>
        <td width="25%" class="row2" align="center">  
        
            {if {$review_subject_list['reply_number']} <= 0}
            {$lang['no_replys']}
            {else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['last_replier']);?>

            
                       <span class="smallfont">
            {$review_subject_list['reply_date']}
                    </span >

            {/if}
        </td>
        {if !{$mod_toolbar}}
            <td width="1%" class="row1" align="center">
                <input type="checkbox" name="check[]" value="{$review_subject_list['id']}" />
            </td>
            {/if}
    </tr>
{/Des::while}
    {/if}
    {if !{$NO_STICK_SUBJECTS}}
    <tr>
        <td width="98%" colspan="{$colspan}" class="thead" align="center">
      {$lang['stick_subject_list']}
        </td>
    </tr>
    {/if}
    {Des::while}{stick_subject_list}
    <tr class="radiusContent">
        <td width="1%" class="row2" align="center">
             {if {$stick_subject_list['stick']}  == 1}
             <img alt="" src="{$image_path}/sticky.gif"
              title="{$lang['stick_subject']}" />
            {/if}

        </td>
        <td width="1%" class="row1" align="center">
            <img src="{$stick_subject_list['icon']}" alt="" />
        </td>
        <td width="65%" class="row2">
<?php
$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['title']);
$num ='99';
$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'] = $PowerBB->functions->words_count_replace_strip_tags_html2bb($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'],$num);

?>

                      <a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$stick_subject_list['id']}{$password}">
                           <img border="0" alt="{$lang['opin_subject']}"
                         src="{$image_path}/open.gif" /></a>
                 <font class="title_font">
                 <span dir="{$_CONF['info_row']['content_dir']}">
                 <b>{$stick_subject_list['prefix_subject']}</b>
                 </span>
            <a title="{$stick_subject_list['text']}" href="index.php?page=topic&amp;show=1&amp;id={$stick_subject_list['id']}{$password}">
             <b class="sticky">{$lang['sticky']}</b>
              {$stick_subject_list['title']}</a>
              </font>

                {if {$stick_subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
                 {template}forum_stick_perpage_reply{/template}
<img alt="" src="{$image_path}/multipage.gif"
 title="{$lang['subject_multipage']}" align="left" />
              {/if}
          {if {$stick_subject_list['attach_subject']} == 1}
<img alt="" src="{$image_path}/attach.gif"
title="{$lang['subject_attach']}" align="left" />
              {/if}
                            {if {$stick_subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
              <img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$stick_subject_list['rating']} " align="left" />
              {/if}
            {if {$stick_subject_list['close']}}
            {$lang['subject_close']}
            {/if}
            {if {$stick_subject_list['delete_topic']}}
            {$lang['subject_delete']}
            {/if}
            {if {$stick_subject_list['special']}}
            {$lang['subject_special']}
            <span class="l-left">
            <img border="0" src="{$image_path}/star.gif"
            alt="{$lang['s_special']}" /> </span>
            {/if}
            {if {$_CONF['info_row']['subject_describe_show']} and {$stick_subject_list['subject_describe']} != ''}
            
            <font class="smallfont">{$stick_subject_list['subject_describe']}</font>
            {/if}
            
            <?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['writer']);?>
        </td>

        <td width="4%" class="row2" align="center">
        {if {$stick_subject_list['reply_number']} == 0}
       {$stick_subject_list['reply_number']}
       {else}
        <a onclick="window.open('index.php?page=misc&amp;whoposted=1&amp;subject_id={$stick_subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$stick_subject_list['reply_number']}</font></u></a>
       {/if}
        </td>
        <td width="4%" class="row1" align="center">
            {$stick_subject_list['visitor']}
        </td>
        <td width="15%" class="row2" align="center">    
<!-- start get avater_path to last_replier from stick_subject_list  -->
{if {$_CONF['info_row']['allow_avatar']}}
{if {$stick_subject_list['reply_number']} > 0}
<?php
$username = $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['last_replier'];
?>
{else}
<?php
$username = $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['writer'];
?>
{/if}
<?php
// Get username style
$MemberArr             =     array();
$MemberArr['where']     =     array('username',$username);
$StyleMemberInfo = $PowerBB->core->GetInfo($MemberArr,'member');
if (empty($StyleMemberInfo['avater_path']))
{
$photo = $PowerBB->_CONF['template']['image_path'].'/'.$PowerBB->_CONF['info_row']['default_avatar'];
}
else
{
$photo = $StyleMemberInfo['avater_path'];
}
?>
<div class="UserPhoto_tiny_RCS" title="<?php echo $username;?>">
<span class="User-Picture-forum-Home" style="background-image: url(<?php echo $photo;?>);"></span>
</div>
{/if}
<!-- end get avater_path to last_replier from stick_subject_list  -->        
            {if {$stick_subject_list['reply_number']} <= 0}
            {$lang['no_replys']}
            {else}
            <?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['last_replier']);?>
            
            <span class="smallfont">
            {$stick_subject_list['reply_date']}
            </span >
            {/if}
        </td>
        {if !{$mod_toolbar}}
            <td width="1%" class="row1" align="center">
                <input type="checkbox" name="check[]" value="{$stick_subject_list['id']}" />
            </td>
            {/if}
    </tr>
{/Des::while}
        <tr>
        <td width="98%" colspan="{$colspan}" class="thead" align="center">
            {$lang['subject_list']}
        </td>
    </tr>

{Des::while}{subject_list}
    <tr class="radiusContent">
        <td width="1%" class="row2" align="center">
            {if {$subject_list['delete_topic']} == 1}
            <img alt="" src="{$image_path}/dot_trash.gif"
            title="{$lang['s_delete']}" />
             {elseif {$subject_list['poll_subject']} == 1}
            <img alt="" src="{$image_path}/dot_poll.gif"
             title="{$lang['dot_poll']}" />
             {elseif {$subject_list['close']}  == 1}
             <img alt="" src="{$image_path}/dot_lockfolder.gif" border="0"
             title="{$lang['s_close']}" />
            {elseif {$subject_list['writer']} == {$_CONF['member_row']['username']}}
            <img alt="" src="{$image_path}/dot_folder.gif"
             title="{$lang['subject_personal']}" />
             {elseif {$subject_list['reply_number']} > 15 and {$subject_list['visitor']} > 150}
            <img alt="" src="{$image_path}/dot_hotfolder.gif"
            title="{$lang['Hot_subject']}" />
            {elseif {$subject_list['stick']} == 1}
            <img alt="" src="{$image_path}/sticky.gif"
             title="{$lang['stick_subject']}" />
            {elseif {$_CONF['member_row']['lastvisit']} > {$subject_list['write_time']}}
            <img alt="" src="{$image_path}/dot_nonewfolder.gif"
            title="{$lang['no_newPosts']}" />
            {elseif {$subject_list['write_time']} > {$_CONF['member_row']['lastvisit']}}
            <img alt="" src="{$image_path}/dot_newfolder.gif"
            title="{$lang['there_are_new_posts']}" />
            {else}
            <img alt="" src="{$image_path}/dot_nonewfolder.gif"
            title="{$lang['no_newPosts']}" />        
            {/if}

        </td>
        <td width="1%" class="row1" align="center">
            <img src="{$subject_list['icon']}" alt="" />
        </td>
        <td width="65%" class="row2">
<?php
$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title']);
$num ='99';
$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'] = $PowerBB->functions->words_count_replace_strip_tags_html2bb($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'],$num);
?>
<a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$subject_list['id']}{$password}">
<img border="0" alt="{$lang['opin_subject']}"
src="{$image_path}/open.gif" /></a>
<?php $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'] = str_replace('&','&',$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title']); ?>
<font class="title_font">
<span dir="{$_CONF['info_row']['content_dir']}">
<b>{$subject_list['prefix_subject']}</b>
</span>
</font>
{if !{$mod_toolbar}} 
<label class="title_font" style="padding-left: 25px;" name="{$subject_list['id']}" id="title_{$subject_list['id']}">
<span id="status_rename"></span>
{elseif {$subject_list['writer']} == {$_CONF['member_row']['username']} and {$_CONF['group_info']['edit_own_subject']} and {$SectionGroup['edit_own_subject']}} 
<label class="title_font" style="padding-left: 25px;" name="{$subject_list['id']}" id="title_{$subject_list['id']}">
<span id="status_rename"></span>
{else}
<label>
{/if}
<a title="{$subject_list['text']}" href="t{$subject_list['id']}{$password}">
<input type="hidden" name="{$subject_list['title']}" class="subjectajax_id" value="{$subject_list['id']}" />{$subject_list['title']}</a></label>

                {if {$subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
 {template}forum_perpage_reply{/template}
<img src="{$image_path}/multipage.gif"
alt="{$lang['subject_multipage']}"
title="{$lang['subject_multipage']}" align="left" />
              {/if}
          {if {$subject_list['attach_subject']} == 1}
<img src="{$image_path}/attach.gif"
alt="{$lang['subject_attach']}"
title="{$lang['subject_attach']}" align="left" />
              {/if}
                        {if {$subject_list['review_reply']}  > 0}
<img src="{$image_path}/moderated_small.gif"
alt="{$subject_list['review_reply']}
{$lang['Posts_was_observed']}"
title="{$subject_list['review_reply']}
{$lang['Posts_was_observed']}" align="left" />
              {/if}
              {if {$subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
              <img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$subject_list['rating']} " align="left" />
              {/if}

            {if {$subject_list['close']}}
            {$lang['subject_close']}
            {/if}
            {if {$subject_list['delete_topic']}}
            {$lang['subject_delete']}
            {/if}
            {if {$subject_list['special']}}
            {$lang['subject_special']}
            <span class="l-left">
            <img border="0" src="{$image_path}/star.gif"
             alt="{$lang['s_special']}" /> </span>
            {/if}
            {if {$_CONF['info_row']['subject_describe_show']} and {$subject_list['subject_describe']} != ''}
            
            <font class="smallfont">{$subject_list['subject_describe']}</font>
            {/if}
            
            {if {$subject_list['writer']} == 'Guest'}
            {$lang['Guest_']}
            {else}
            <?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['writer']);?>
            {/if}

        </td>
        <td width="4%" class="row2" align="center">
       {if {$subject_list['reply_number']} == 0}
       {$subject_list['reply_number']}
       {else}
       <a onclick="window.open('index.php?page=misc&amp;whoposted=1&amp;subject_id={$subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$subject_list['reply_number']}</font></u></a>
       {/if}
       </td>
        <td width="4%" class="row1" align="center">
            {$subject_list['visitor']}
        </td>
        <td width="25%" class="row2" align="center">    

            {if {$subject_list['reply_number']} <= 0}
            {$lang['no_replys']}
            {else}
            {if {$subject_list['last_replier']} == 'Guest'}
            {$lang['Guest_']}
            {else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['last_replier']);?>

            <span class="smallfont">
            {$subject_list['reply_date']}
            </span>
            {/if}
            {/if}
        </td>
        {if !{$mod_toolbar}}
            <td width="1%" class="row1" align="center">
                <input type="checkbox" name="check[]" value="{$subject_list['id']}" />
            </td>
            {/if}
    </tr>
{/Des::while}
 {if {$NO_SUBJECTS} == 0}
    <tr>
        <td width="98%" colspan="{$colspan}" class="row1" align="center">
        {$lang['No_thread_forum']}</td>
    </tr>
{/if}
</table>

{template}options_mod{/template}
</form>

<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
    <tr>
            <td align="right">
            {template}add_subject_link{/template}
</td>
<td align="left">
{if {$pager}}
<?php echo $PowerBB->pager->show();?>
{/if}
            </td>
            </tr>
        </table>

<table class="border" border="0" cellspacing="1" width="98%" align="center">
    <tr>
        <td  width="40%" class="thead">{$lang['Display_Options']}</td>
        <td width="30%" class="thead">{$lang['online_naw']}: {$online_number}
         ({$MemberNumber}
         {$lang['Member_and']}
          {$GuestNumber}
          {$lang['Guest_']})</td>
        <td  width="20%" class="thead">{$lang['moderators_forum']}</td>
    </tr>
    <tr>
    <td width="40%" class="row1">
<div align="right">
    <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
        <tr>
            <td>
<form action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="show" value="1" />
<input type="hidden" name="order" value="1" />
<input type="hidden" name="id" value="{$SECTION_ID}" />
                    <div>
                        <label>{$lang['sort_view']}</label></div>
                    <select name="sort">
                    <option value="desc" selected="selected">{$lang['sort_desc']}</option>
                    <option value="asc">{$lang['sort_asc']}</option>
                </select>
                <input type="submit" value="{$lang['Count']}" name="submit" />
                </form></td>
            <td>
<form action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="show" value="1" />
<input type="hidden" name="orderby" value="1" />
<input type="hidden" name="id" value="{$SECTION_ID}" />
                    <div>
                    <label>{$lang['Sort_by']}</label></div>
                    <select name="sort">
                    <option value="reply_number">{$lang['sort_reply_number']}</option>
                    <option value="visitor">{$lang['sort_visitor']}</option>
                    <option value="rating">{$lang['sort_rating']}</option>
                    <option value="writer">{$lang['sort_writer']}</option>
                    <option value="title">{$lang['sort_title']}</option>
                    <option value="write_time" selected="selected">{$lang['sort_Last_Post']}</option>
                </select>
                <input type="submit" value="{$lang['Count']}" name="submit" />
                </form></td>
        </tr>
    </table>
</div>
    </td>
        <td width="30%" class="row1">{template}forum_online_table{/template}</td>
        <td width="20%" class="row1">
{template}forum_moderator_table{/template}
</td>
    </tr>
</table>

<table class="border" align="center" border="0" cellspacing="1" width="98%">
        <tr>
            <td class="row2" align="right" width="70%">
<div align="center">
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse">
    <tr>
        <td>
        <img title="{$lang['newPosts']}"
          src="{$image_path}/dot_newfolder.gif"
         alt="{$lang['newPosts']}" border="0" /></td>
        <td class="smallfont">{$lang['newPosts']}</td>
        <td>
        <img title="{$lang['no_newPosts']}"
         src="{$image_path}/dot_nonewfolder.gif"
        alt="{$lang['no_newPosts']}" border="0" /></td>
        <td class="smallfont">{$lang['no_newPosts']}</td>
        <td class="smallfont" width="65%"> </td>
    </tr>
    <tr>
            <td>
        <img title="{$lang['s_delete']}"
         src="{$image_path}/dot_trash.gif"
         alt="{$lang['s_delete']}" border="0" /></td>
        <td class="smallfont">{$lang['s_delete']}</td>
        <td>
        <img title="{$lang['dot_hotfolder']}"
         src="{$image_path}/dot_hotfolder.gif"
        alt="{$lang['dot_hotfolder']}" border="0" /></td>
        <td class="smallfont">{$lang['Hot_subject']} </td>
        <td class="smallfont"> </td>
        </tr>
<tr>
            <td>
        <img title="{$lang['dot_poll']}"
         src="{$image_path}/dot_poll.gif"
         alt="{$lang['dot_poll']}" border="0" /></td>
        <td class="smallfont">{$lang['dot_poll']}</td>
        <td>
        <img title="{$lang['dot_newposts']}"
         src="{$image_path}/dot_newposts.gif"
        alt="{$lang['dot_newposts']}" border="0" /></td>
        <td class="smallfont">{$lang['dot_newposts']}</td>
        <td class="smallfont"> </td>
        </tr>
    <tr>
        <td>
        <img title="{$lang['su_close']}"
         src="{$image_path}/dot_lockfolder.gif"
         alt="{$lang['su_close']}" border="0" /></td>
        <td class="smallfont">{$lang['su_close']}</td>
        <td>
        <img title="{$lang['your_subject_personal']}"
         alt="" src="{$image_path}/dot_folder.gif" border="0" /></td>
        <td class="smallfont">{$lang['your_subject_personal']}</td>
    <td class="smallfont" align="left">
    {if {$_CONF['info_row']['active_rss']} == '1'}
{$lang['rss_section']} :<a href="index.php?page=rss&amp;section=1&amp;id={$SECTION_ID}">
                <img border="0" alt="" src="{$image_path}/rss.gif"
                title="{$lang['rss_section']}" /></a>{/if}</td>
    </tr>
</table>
            </div>
            </td>
        </tr>
    </table>






تحرير : forum_subject_table
اسم القالب forum_subject_table
القالب للأستايل metin2gw
حُرر في 18-08-2016 05:34

look/images/icons/i1.gif [مشكلة] في ظهور صورة العضو في القسم الفرعي
  18-08-2016 06:04 صباحاً   [7]
Soliman
معلومات الكاتب
تفضل قالب forum_subject_table

بدون صور رمزية لآخر رد لكل المواضيع الموجودة في صفحات الأقسام لستايل ماتين2​ ​
 
  forum_subject_table.zip   تحميل zip مرات التحميل :(2)
الحجم :(4.495) KB

look/images/icons/i1.gif [مشكلة] في ظهور صورة العضو في القسم الفرعي
  18-08-2016 06:25 صباحاً   [8]
عبدالاله الهذلي
معلومات الكاتب
تم حل المشكلة ..



شكرا أستاذ سليمان



أغلق


المواضيع المتشابهه
عنوان الموضوع الكاتب الردود الزوار آخر رد
مشكلة عدم ظهور خيار "الملف الشخصي" في القائمة الجانبية (☰) لستايل Fast Blue – PBBoard شبعان
2 28 شبعان
مشكلة عدم ظهور المنتديات في الصفحة الرئيسية alhanaa
2 114 alhanaa
مشكلة ظهور رموز أعلى الموضوع newghanou
5 240 Soliman
عدم ظهور صور هاك التميز شبعان
5 174 شبعان
ظهور خطأ في صفحة لوحة تحكم العضو مكلاوي
3 337 شبعان

الكلمات الدلالية






الساعة الآن 02:27 PM