• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Hỏi giúp mình cái giao diện xf với ạ

vinaforumscom

New Member
mình muốn sửa cái thông báo của wap mình screenshot-1389703962537.jpgdanh sách thành viên trực tuyến screenshot-1389849950142.jpg
screenshot-1389850737484.jpgvà danh sách mem thành ntn
 
thông báo
Code:
<xen:require css="account.css" />
<xen:edithint template="navigation_sidebar.css" />
<style>
.account_td {
    background-image: url("http://cdn.gocmobile.net/styles/mobile/vs_css/tab.gif");
    margin: 0px;
    padding: 1px;
    background-color: rgb(31, 31, 31);
    font-size: 12px;
    color: rgb(166, 166, 126);
    border: 0px solid rgb(47, 47, 47);
}

.info {
    color: rgb(255, 204, 153);
    margin: 0px;
    padding: 5px;
    border: 1px solid rgb(47, 47, 47);
    background-color: rgb(0, 0, 0);
    overflow: auto;
}
</style>

     <xen:if is="{$alerts}">
    <xen:foreach loop="$alerts" key="$date" value="$alertsDay">
        
            <div class="account_td">
        
                <class="account_td">{$date}
                <xen:foreach loop="$alertsDay" value="$alert">
                    <div ="alert{$alert.alert_id}" class="account_td {xen:if $alert.new, 'new'}" data-author="{$alert.user.username}">

                            {xen:raw $alert.template}
                            <class="timeRow"><span class="time muted">{xen:time $alert.event_date}</span><xen:if is="{$alert.new}"><span class="newIcon"></span></xen:if>
                              </div>
                    </div>
                </xen:foreach>
        </xen:foreach>
        <xen:pagenav link="account/alerts" page="{$page}" perpage="{$perPage}" total="{$totalAlerts}" />
            
    <xen:else />
    
        <p>{xen:phrase you_do_not_have_any_recent_alerts}</p>
        
    </xen:if>
    </div>
</div>

- - - - - - - - - -

members list

Code:
<xen:require css="account.css" />
<xen:edithint template="navigation_sidebar.css" />
<style>
.account_td {
    background-image: url("http://cdn.gocmobile.net/styles/mobile/vs_css/tab.gif");
    margin: 0px;
    padding: 1px;
    background-color: rgb(31, 31, 31);
    font-size: 12px;
    color: rgb(166, 166, 126);
    border: 1px solid rgb(47, 47, 47);
}

.info {
    color: rgb(255, 204, 153);
    margin: 0px;
    padding: 0px;
    border: 1px solid rgb(47, 47, 47);
    background-color: rgb(0, 0, 0);
    overflow: auto;
}
</style>
<div>
<xen:title>{xen:phrase registered_members}{xen:helper pagenumber, $page}</xen:title>
<xen:h1>{xen:phrase registered_members}</xen:h1>

<xen:description>{xen:phrase this_is_list_of_all_members_registered_at_x, 'board_title={$xenOptions.boardTitle}'}</xen:description>

<xen:container var="$head.canonical">
    <link rel="canonical" href="{xen:link 'canonical:members/list', '', 'page={$page}'}" /></xen:container>

<xen:require css="member_list.css" />
<xen:require css="xenforo_member_list_item.css" />
    
<xen:if is="{$userNotFound}">
    <div class="importantMessage">{xen:phrase specified_member_cannot_be_found_enter_entire_name}</div>
</xen:if>
    
<div class="pageNavLinkGroup">
    <xen:pagenav link="members/list" page="{$page}" perpage="{$usersPerPage}" total="{$totalUsers}" />
</div>    

<ol class="section memberList">
    <xen:foreach loop="$users" value="$user">
        <xen:include template="member_list_item">
            <xen:set var="$noOverlay">1</xen:set>
        </xen:include>
    </xen:foreach>
</ol>

<div class="pageNavLinkGroup">
    <xen:pagenav link="members/list" page="{$page}" perpage="{$usersPerPage}" total="{$totalUsers}" />
</div>

<xen:sidebar>
    <div class="section">
        <form action="{xen:link members}" method="post" class="secondaryContent findMember">
            <h3><a href="{xen:link online}" title="{xen:phrase see_all_online_users}">{xen:phrase find_member}</a></h3>
                
            <input type="search" name="username" placeholder="{xen:phrase name}..." results="0" class="textCtrl AutoComplete" data-autoSubmit="true" />
            <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
        </form>
    </div>
                                                                  <div class="account_td">            »-----------------------------------------------------------›</div>
    <div class="section activeMembers">
        <div class="secondaryContent avatarHeap">
            <h3>{xen:phrase highest_posting_members}</h3>
            
            <ol>
                <xen:foreach loop="$activeUsers" value="$user">
                    <li><xen:avatar user="$user" size="s" text="{$user.username} ({xen:number $user.message_count})" class="Tooltip" title="{$user.username}, {xen:phrase messages}: {xen:number $user.message_count}" /></li>
                </xen:foreach>
            </ol>
        </div>
    </div>
    
    <div class="section newestMembers">
        <div class="secondaryContent avatarHeap">
            <h3>{xen:phrase newest_members}</h3>
            
            <ol>
                <xen:foreach loop="$latestUsers" value="$user">
                    <li><xen:avatar user="$user" size="s" text="{$user.username} ({xen:datetime $user.register_date})" class="Tooltip" title="{$user.username}, {xen:phrase joined}: {xen:datetime $user.register_date}" /></li>
                </xen:foreach>
            </ol>
        </div>
    </div>
    
    <xen:if is="{$xenOptions.facebookAppId} AND {$xenOptions.facebookFacepile}">
        <xen:container var="$facebookSdk">1</xen:container>
        <fb:facepile width="@sidebar.width" size="small" colorscheme="@fbColorScheme"></fb:facepile>
    </xen:if>
</xen:sidebar>
<div class="account_td">hjkjhgfdfghjk</div>
</div>

- - - - - - - - - -

Code:
<xen:title>{xen:phrase current_visitors}</xen:title>
<xen:description>{xen:phrase this_is_list_of_all_visitors_currently_browsing_x, 'board_title={$xenOptions.boardTitle}'}</xen:description> 

<xen:require css="member_list.css" />
<xen:require css="xenforo_member_list_item.css" />

<ul class="tabs">
    <li class="{xen:if '{$userLimit} == ""', active}"><a href="{xen:link online}">{xen:phrase everyone}</a></li>
    <li class="{xen:if '{$userLimit} == "registered"', active}"><a href="{xen:link online, '', 'type=registered'}">{xen:phrase members}</a></li>
    <li class="{xen:if '{$userLimit} == "guest"', active}"><a href="{xen:link online, '', 'type=guest'}">{xen:phrase guests}</a></li>
    <li class="{xen:if '{$userLimit} == "robot"', active}"><a href="{xen:link online, '', 'type=robot'}">{xen:phrase robots}</a></li>
</ul>

<xen:if is="{$onlineUsers}">
    <ol class="section memberList">
        <xen:foreach loop="$onlineUsers" value="$user">
            <xen:include template="member_list_item">
                <xen:set var="$guestHtml"><xen:if is="{$user.robotInfo}">
                    {xen:phrase robot}: <xen:if is="{$user.robotInfo.link}"><a href="{$user.robotInfo.link}" target="_blank">{$user.robotInfo.title}</a><xen:else />{$user.robotInfo.title}</xen:if>
                </xen:if></xen:set>        
                <xen:set var="$extraTemplate">
                    <xen:if is="{$canViewIps}">
                        <a href="{xen:if '{$user.user_id}', {xen:link online/user-ip, $user}, {xen:link online/guest-ip, '', 'ip={$user.ip}'}}" class="OverlayTrigger ip"><span>{xen:helper ip, $user.ip}</span></a>
                    </xen:if>
                </xen:set>
            
                <xen:set var="$contentTemplate">
                    <xen:if is="{$user.activityDescription}">
                        {$user.activityDescription}
                        <xen:if is="{$user.activityItemTitle}">
                            <em><a href="{$user.activityItemUrl}"{xen:if '{$user.activityItemPreviewUrl}', ' class="PreviewTooltip" data-previewUrl="{$user.activityItemPreviewUrl}"'}>{$user.activityItemTitle}</a></em>
                        </xen:if>
                    <xen:else />
                        {xen:phrase viewing_unknown_page}
                    </xen:if>
                    <xen:datetime time="$user.view_date" class="muted" />
                </xen:set>
            </xen:include>    
        </xen:foreach>
    </ol>

    <div class="pageNavLinkGroup">
        <xen:pagenav link="online" linkparams="{xen:array 'type={$userLimit}'}" page="{$page}" perpage="{$usersPerPage}" total="{$totalOnlineUsers}" />
    </div>
<xen:else />
    <div class="section">{xen:phrase no_results_found}</div>
</xen:if>

<xen:sidebar>
    
    <div class="section">
        <div class="secondaryContent statsList" id="boardStats">
            <h3>{xen:phrase online_statistics}</h3>
            <div class="pairsJustified">
                <dl class="memberCount"><dt>{xen:phrase members_online}:</dt>
                    <dd>{xen:number $onlineTotals.members}</dd></dl>
                <dl class="guestCount"><dt>{xen:phrase guests_online}:</dt>
                    <dd>{xen:number $onlineTotals.guests}</dd></dl>
                <dl class="guestCount"><dt>{xen:phrase robots_online}:</dt>
                    <dd>{xen:number $onlineTotals.robots}</dd></dl>
                <dl class="visitorCount"><dt>{xen:phrase total_visitors}:</dt>
                    <dd>{xen:number $onlineTotals.total}</dd></dl>
            </div>
            <div class="footnote">{xen:phrase totals_may_include_hidden_visitors}</div>
        </div>
    </div>
    
</xen:sidebar>



online list
 

Facebook Comments

New posts New threads New resources

Back
Top