Jump to content
Twister

Problema tema

Recommended Posts

Salutare am tema.deflection edited by Alex M.si imi apare asta , scrisu ala cu pip din prima poza ,si cum scot bata aia , din a doua poza?

Screenshot_2015-09-06-21-54-07.png

Nu pot pune poza,dar puteti intra pe gamerullz.com/forim bara aia cu forum ,stats , last post.info

Share this post


Link to post
Share on other sites

Stiu ca de acolo , dar nu stiu ce , il public?

<if test="$this->settings['horizontalTopicView']='no'"></if>
<!-- -->
<div itemscope itemtype="http://schema.org/Person" class='user_details messageUserBlock <if test="$this->settings['horizontalTopicView']=='yes'">clearfix</if>'>

<if test="($this->settings['horizontalTopicView']=='yes') AND $this->request['section'] == 'topics'">

<div class='horizontalAvatar left'>
    <if test="avatar:|:$author['member_id']">
            <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
            <a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'>
            </if>
            <if test="hasVariable:|:$this->settings['member_topic_avatar_max']">    
                <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' />
            <else />
                <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
            </if>
            <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
            </a>
            </if>
    <else />
            <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
    </if>
    
    </div>
    
    <div class='horizontalUserInfo'>

    <div class='horizontalUsername'>
       
        <if test="$author['member_id']">
            <span itemprop="creator name" class="author vcard">{parse template="userHoverCard" group="global" params="$author"}</span>
        <else />
            {$author['members_display_name']}
        </if>
    
    </div>

    <ul class='horizontalInfoList' style='width: 140px;'>
        <li class='group_title'>
            {$author['_group_formatted']}
        </li>

        <if test="postCount:|:$author['member_id']">
        <li class='post_count desc lighter'>
            {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
        </li>
        </if>
    </ul>
    
    <ul class='horizontalInfoList' style='width: 140px;'>
        <if test="rankimage:|:$author['member_rank_img']">
            <li class='group_icon'>
            <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
                <img src='{$author['member_rank_img']}' alt='' />
            <else />
                {$author['member_rank_img']}
            </if>
            </li>
        </if>
        <if test="membertitle:|:$author['member_title']">
            <li>{$author['member_title']}</li>
        </if>
        <if test="authorwarn:|:$author['show_warn']">
            <li>
                <if test="hasWarningId:|:$options['wl_id']">
                    <img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
                </if>
                <a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
            </li>
        </if>
    </ul>
    
    <if test="authorcfields:|:$author['custom_fields'] != """>
        <ul class='horizontalInfoList custom_fields'>
            <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
                <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
                    <if test="$field != ''">
                        <li>
                            {$field}
                        </li>
                    </if>
                </foreach>
            </foreach>
        </ul>
    </if>
    
    <ul class='horizontalInfoList' style='float: right; width: 190px;'>
        <li><if test="$author['_online']"><img src="{style_images_url}/post_online.png" alt="" class='post_online' data-tooltip="Online" /><else /><img src="{style_images_url}/post_offline.png" alt="" class='post_online' data-tooltip="Offline" /></if> Last active: {$author['_last_active']}</li>
        <!--<li style='padding-left: 15px;'>Joined: {parse date="$author['joined']" format="DATE"}</li>-->
    </ul>
    
    </div>

<else />


<!--------------------------------------------- USERINFO BUN ---------------------------------------------------->


<span class='hide' itemprop="name">{$author['members_display_name']}</span>

    <ul class='basic_info'>
        <if test="avatar:|:$author['member_id']">
            <li class='avatar'>
                <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
                <a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'>
                </if>
                <if test="hasVariable:|:$this->settings['member_topic_avatar_max']">    
                    <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' />
                <else />
                    <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
                </if>
                <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
                </a>
                </if>
            </li>
        <else />
            <li class='avatar'>
                <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
            </li>
        </if>


            <ul class="ribbon">
            <if test="memberData:|:$author['member_group_id'] == '8'">
                <li class="ribbon3" style="background: #4c4c4c; z-index: 1;">
                                <div class="Rleft" style="background: #990099;"></div>
                                <div class="Rright" style="background: #990099;"></div>
                        {$author['_group_formatted']}
                        </li>
            </if>

            <if test="memberData:|:$author['member_group_id'] == '6'">
                <li class="ribbon3" style="background: #BAFF00; z-index: 1;">
                                <div class="Rleft" style="background: #990000;"></div>
                                <div class="Rright" style="background: #990000;"></div>
                        {$author['_group_formatted']}
                        </li>
            </if>        

            <if test="memberData:|:$author['member_group_id'] == '7'">
                <li class="ribbon3" style="background: #4c4c4c; z-index: 1;">
                                <div class="Rleft" style="background: #66FF00;"></div>
                                <div class="Rright" style="background: #66FF00;"></div>
                        {$author['_group_formatted']}
                        </li>
            </if>

            <if test="memberData:|:$author['member_group_id'] == '4'">
                <li class="ribbon3" style="background: #FF0000; z-index: 1;">
                                <div class="Rleft" style="background: #b10000;"></div>
                                <div class="Rright" style="background: #b10000;"></div>
                        {$author['_group_formatted']}
                        </li>
            </if>
            
            <if test="memberData:|:$author['member_group_id'] == '9'">
                <li class="ribbon3" style="background: #707070; z-index: 1;">
                                <div class="Rleft" style="background: #993366;"></div>
                                <div class="Rright" style="background: #993366;"></div>
                        {$author['_group_formatted']}
                        </li>
            </if>
            
            <if test="memberData:|:$author['member_group_id'] == '10'">
                <li class="ribbon3" style="background: #FF8000; z-index: 1;">
                                <div class="Rleft" style="background: #CC99CC;"></div>
                                <div class="Rright" style="background: #CC99CC;"></div>
                        {$author['_group_formatted']}
                        </li>
            </if>
        <if test="memberData:|:$author['member_group_id'] == '12'">
                <li class="ribbon3" style="background: #707070; z-index: 1;">
                                <div class="Rleft" style="background: #FF00CC;"></div>
                                <div class="Rright" style="background: #FF00CC;"></div>
                        {$author['_group_formatted']}
                        </li>
            </if>
                            <if test="memberData:|:$author['member_group_id'] == '11'">
                <li class="ribbon3" style="background: #707070; z-index: 1;">
                                <div class="Rleft" style="background: #FFFF00;"></div>
                                <div class="Rright" style="background: #FFFF00;"></div>
                        {$author['_group_formatted']}
                        </li>
            </if>
                 <if test="memberData:|:$author['member_group_id'] == '3'">
                <li class="ribbon3" style="background: #707070; z-index: 1;">
                                <div class="Rleft" style="background: #FFFF99;"></div>
                                <div class="Rright" style="background: #FFFF99;"></div>
                        {$author['_group_formatted']}
                        </li>
            </if>
</ul>

            <ul class="ribbon">
            <li class="ribbon3">
                            <div class="Rleft"></div>
                              <div class="Rright"></div>
                                {$author['member_title']}
                    </li>
        </ul>

                <if test="rankimage:|:$author['member_rank_img']">
            <li class='group_icon'>

            <if test="memberData:|:$author['member_group_id'] == 4">
                <img src="./public/style_extra/team_icons/24.png" alt="" style="background-image: url('{style_images_url}/sparkles.gif');"/>
                        <else />
                                <img src='{$author['member_rank_img']}' alt='' />
            </if>

            <!--<if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
                <img src='{$author['member_rank_img']}' alt='' />
            <else />
                {$author['member_rank_img']}
            </if>-->
            </li>
        </if>

<!--<if test="memberData:|:$author['member_group_id'] == 4">
<img src='http://forum.agamers.ro/public/style_extra/team_icons/24.png' alt='' />
</if>-->

<div class="extraUserInfo">
        <if test="postCount:|:$author['member_id']">
                <dl class="pairsJustified">
        <li class='post_count desc lighter'>
                        <dt><!-- IF YOU WANT TO USE YOUR OWN LANGUAGE PACK, YOU CAN USE SOMETHING LIKE THIS, THIS IS COMMENTED OUT ALSO IN ANOTHER SECTIONS OF THE CODE {$this->lang->words['m_posts']} --> Posts:</dt>
            <dd>{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</dd>
        </li>
                </dl>
        </if>

<php>$topics=ipsRegistry::DB()->buildAndFetch(array('select'=>'count(*) as topics','from'=>'topics','where'=>"starter_id=".$author['member_id']));</php>
                <dl class="pairsJustified">
                         <dt><!-- {$this->lang->words['t_topics']} -->Topics:</dt>
                         <dd>{$topics['topics']}</dd>
                </dl>

<!--<dl class="pairsJustified">
        <if test="authorwarn:|:$author['show_warn']">
            <li>
                <if test="$options['wl_id']">
                    <img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
                </if>
                <dd><a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a></dd>
            </li>
        </if>
</dl>-->

    <if test="authorcfields:|:$author['custom_fields'] != """>
        <ul class='custom_fields'>
            <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
                <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
                    <if test="$field != ''">
                        <li>
                            {$field}
                        </li>
                    </if>
                </foreach>
            </foreach>
        </ul>
    </if>

            <if test="authorwarn:|:$author['show_warn']">
                <dl class="pairsJustified">
                    <dt><!-- {$this->lang->words['warning_points']} -->Warning Points</dt>
                    <dd><a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( '%d', $author['warn_level'] )"}</a></dd>
                </dl>
            
            </if>


</ul>

</if>
    
</div>

Edited by gadeas
Adaugat spoiler.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...