<a href="#" class="btn btn-large btn-inverse" style="width: 100%; max-width: 240px;">
				Start Mapler.me
			</a>
		</div>
	
		<div class="stream-block">
			<?php 
MakePlayerAvatar($__login_main_character['name'], $__login_main_character['locale']);
?>
			<p>@<?php 
echo $_loginaccount->GetUsername();
?>
<br/>
			<i class="icon-comments"></i> <span id="memberstatuses"></span></p>
			<p><i class="icon-star"></i> <?php 
echo GetRankTitle($rank);
?>
</p>
		</div>
		
		
<?php 
$notice = @file_get_contents('../inc/notice.txt');
if (!empty($notice)) {
    ?>
		<div class="stream-block" style="box-shadow: 0px 0px 30px #FFF;">
			<p class="notice" style="margin:0;">
				<?php 
    echo $notice;
    ?>
			</p>
示例#2
0
    public function PrintAsHTML($style_addition = '')
    {
        global $parser, $_loggedin, $domain, $_loginaccount, $__server_time;
        $parser->parse($this->content);
        $username = $this->account->GetUsername();
        $own_post = $_loggedin && ($this->account_id == $_loginaccount->GetID() || $_loginaccount->IsRankOrHigher(RANK_MODERATOR));
        $reply_info = $this->reply_to == NULL ? NULL : $this->GetReplyInfo($this->reply_to);
        $object_id = GetUniqueID();
        if (strpos($this->character, ':') === false) {
            $this->character = 'gms:' . $this->character;
        }
        $tmp = explode(':', $this->character);
        $main_char = $tmp[1];
        $locale = $tmp[0];
        $account_rank = $this->account->GetAccountRank();
        ?>
			<div class="status<?php 
        echo $this->override == 1 ? ' notification' : '';
        echo $style_addition;
        ?>
" status-id="<?php 
        echo $this->id;
        ?>
" unique-id="<?php 
        echo $object_id;
        ?>
">
				<div class="header">
					<?php 
        MakePlayerAvatar($main_char, $locale, array('face' => $this->using_face));
        ?>
<br />
					<p>
						<a href="//<?php 
        echo $username;
        ?>
.mapler.me/"><?php 
        echo $this->nickname;
        ?>
</a> <span class="faded">(@<?php 
        echo $username;
        ?>
)</span>
				
<?php 
        if ($account_rank >= RANK_MODERATOR) {
            ?>
						<span class="ct-label"><i class="icon-star"></i> <?php 
            echo GetRankTitle($account_rank);
            ?>
</span> 
<?php 
        }
        if ($this->blog !== 0) {
            ?>
						<span class="ct-label"><i class="icon-bullhorn"></i> Blog Post</span>
<?php 
        }
        ?>
				
					</p>
				</div>
				<br />
				<div class="status-contents">
<?php 
        echo $parser->getAsHtml();
        ?>
				</div>
				<div class="status-extra" style="clear:both;">
<?php 
        if ($reply_info != NULL) {
            ?>
					<a href="//mapler.me/stream/status/<?php 
            echo $reply_info['id'];
            ?>
" style="float: left;" class="reply-to">Replied to <?php 
            echo $reply_info['nickname'];
            ?>
 <i class="icon-chevron-right"></i></a>
<?php 
        }
        if ($_loggedin) {
            ?>
					<a href="#post" role="button" data-toggle="modal" class="mention" status-id="<?php 
            echo $this->id;
            ?>
" poster="<?php 
            echo $username;
            ?>
" mentions="<?php 
            echo implode(';', $this->mention_list);
            ?>
"><i class="icon-share-alt"></i> Reply (<span class="status-reply-count"><?php 
            echo $this->reply_count;
            ?>
</span>)</a>
<?php 
        }
        ?>
					<a href="//<?php 
        echo $domain;
        ?>
/stream/status/<?php 
        echo $this->id;
        ?>
" status-post-time="<?php 
        echo $__server_time - $this->seconds_since;
        ?>
" class="status-time"><?php 
        echo time_elapsed_string($this->seconds_since);
        ?>
 ago</a>
<?php 
        if ($_loggedin) {
            if ($own_post) {
                ?>
					<a href="#" class="deletestatus" onclick="return false;"><i class="icon-remove"></i></a>
<?php 
            }
            ?>
					<a href="//<?php 
            echo $domain;
            ?>
/report/status/<?php 
            echo $this->id;
            ?>
" class="reportstatus"><i class="icon-flag"></i></a>
<?php 
        }
        ?>
				</div>
				<div class="reply-list" status-id="<?php 
        echo $this->id;
        ?>
" unique-id="<?php 
        echo $object_id;
        ?>
"></div>
			</div>
<?php 
    }
    $currentrank = $__url_useraccount->GetAccountRank();
    ?>

	<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
			<h3 id="myModalLabel">Manage: @<?php 
    echo $__url_useraccount->GetUsername();
    ?>
 
				<span style="font-size:15px !important;">[<?php 
    echo $__url_useraccount->GetLastIP();
    ?>
]</span>
				<small>- <?php 
    echo GetRankTitle($__url_useraccount->GetAccountRank());
    ?>
</small>
			</h3>
        </div>
        <div class="modal-body" style="overflow-y:auto;height:400px;">
			<p class="alert alert-info"><?php 
    echo $__url_useraccount->GetNickname();
    ?>
 was last online <?php 
    echo time_elapsed_string($__url_useraccount->GetLastLoginSeconds());
    ?>
 ago!</p>

	
			<form class="form-horizontal" method="post">