예제 #1
0
    <?php 
if (!$guild->invites()) {
    ?>
        <tr>
            <td colspan="3">No invited characters found.</td>
        </tr>
    <?php 
} else {
    ?>
        <?php 
    foreach ($guild->invites() as $invite) {
        ?>
            <tr>
                <td>
                    <?php 
        echo char_link($invite['name']);
        ?>
 
                    <?php 
        if ($invite['owner']) {
            ?>
                        <form action="" method="POST" style="float:right;">
                            <?php 
            echo app('formtoken')->getField();
            ?>
                            <input type="hidden" name="guild_join_id" value=<?php 
            echo $guild->id;
            ?>
>
                            <input type="hidden" name="guild_join_pid" value=<?php 
            echo $invite['pid'];
예제 #2
0
파일: show.php 프로젝트: Codex-NG/cornexaac
</td>

                <td>
                    <small>
                        by
                        <?php 
        $latest = $thread->last();
        ?>

                        <a href="#"><img src="<?php 
        echo assets('assets/img/forum-latest.png');
        ?>
" class="forum-post-latest" width="8" height="8"></a>

                        <?php 
        echo char_link(playerIdToName($latest->posted_by));
        ?>
,
                        <abbr title="<?php 
        echo Carbon\Carbon::createFromTimestamp($latest->created);
        ?>
"><?php 
        echo ago($latest->created);
        ?>
</abbr>
                    </small>
                </td>
            </tr>
        <?php 
    }
    ?>
예제 #3
0
	<?php 
if ($characters = $account->characters()) {
    ?>
		<?php 
    foreach ($characters as $i => $player) {
        ?>
			<tr>

				<td>
					<?php 
        echo ++$i;
        ?>
.
					<?php 
        echo char_link($player->getName());
        ?>
					<em class="desc">(Level <?php 
        echo $player->getLevel() . ' ' . vocIdToName($player->getVocation());
        ?>
)</em>
				</td>

				<td><?php 
        echo sexIdToName($player->getSex());
        ?>
</td>

				<td>
					<?php 
        if ($player->isHided()) {
예제 #4
0
				<th>Name</th>
				<th>Level</th>

				<?php 
if (!$highscores) {
    ?>
					<tr>
						<td colspan="2">No records to show..</td>
					</tr>
				<?php 
} else {
    foreach ($highscores['result'] as $highscore) {
        ?>
					<tr>
						<td><?php 
        echo char_link($highscore['name']);
        ?>
</td>
						<td><?php 
        echo $highscore['value'];
        ?>
</td>
					</tr>
				<?php 
    }
}
?>

			</table>
		</div>
예제 #5
0
					<?php 
}
?>
					<div class="panel panel-default">
						<div class="panel-heading">
							<h3 class="panel-title">Top 5 players</h3>
						</div>
						<div class="panel-body">
							<table class="table table-striped table-hover">
								<?php 
$topfive = app('highscore')->topfive();
if (!$topfive) {
    echo '<tr><td>No players exists..</td></tr>';
} else {
    foreach ($topfive as $player) {
        echo sprintf('<tr><td>%s</td><td>%s</td></tr>', char_link($player['name']), $player['level']);
    }
}
?>
							</table>
						</div>
					</div>
					<div class="panel panel-default">
						<div class="panel-heading">
							<h3 class="panel-title">Server Information</h3>
						</div>
						<div class="panel-body">
							<table class="table table-striped table-hover">
								<tr>
									<td>Status:</td>
									<?php 
예제 #6
0
</span>
				<h2><?php 
        echo $news->title;
        ?>
</h2>
			</header>

			<div class="news-content">
				<?php 
        echo strip_tags($news->content, '<p><h1><h2><strong><em><b><i><ul><ol><li><u><strike><hr><br><a><img>');
        ?>
			</div>

			<footer class="news-footer">
				Published by <?php 
        echo char_link(playerIdToName($news->posted_by));
        ?>
 
				in 
				<a href="<?php 
        echo url('?subtopic=forum&board=' . $news->board_id);
        ?>
">Latest News</a> 
				(<a href="<?php 
        echo url('?subtopic=forum&board=' . $news->board_id . '&thread=' . $news->id);
        ?>
"><?php 
        echo $news->countReplies();
        ?>
 comments</a>).
			</footer>
예제 #7
0
<div class="panel panel-default">
    <div class="panel-heading">
        <h3 class="panel-title">Staff Members
    </div>
    <div class="panel-body">
        <table class="table table-striped">
            <th width="40%">Name</th>
            <th>Position</th>
            <th>Status</th>
            <?php 
foreach ($staffs as $staff) {
    ?>
                <tr>
                    <td><?php 
    echo char_link($staff['name']);
    ?>
</td>
                    <td><?php 
    echo $staff['position'];
    ?>
</td>
                    <td>
                        <?php 
    if ($staff['status']) {
        ?>
                            <label class="label label-success">ONLINE</label>
                        <?php 
    } else {
        ?>
                            <label class="label label-danger">OFFLINE</label>
예제 #8
0
}
?>
	</tr>

	<?php 
foreach ($highscores['result'] as $row) {
    ?>

		<tr>
			<td><?php 
    echo ++$row['rank'] + (isset($_GET['page']) ? $_GET['page'] - 1 : 0) * config('highscore', 'per_page');
    ?>
</td>

			<td><?php 
    echo char_link($row['name']);
    ?>
</td>

			<td><?php 
    echo $row['value'];
    ?>
</td>

			<?php 
    if (isset($_GET['skill']) && $_GET['skill'] == 'experience' or !isset($_GET['skill'])) {
        ?>
				<td><?php 
        echo $row['experience'];
        ?>
</td>
예제 #9
0
							<?php 
                echo ++$i;
                ?>
.
							<?php 
                if ($char->id === $character->id) {
                    ?>
								<?php 
                    echo $character->getName();
                    ?>
								<em style="font-size: 90%; opacity: .5;">(currently viewing)</em>
							<?php 
                } else {
                    ?>
								<?php 
                    echo char_link($character->getName());
                    ?>
							<?php 
                }
                ?>
						</td>

						<td><?php 
                echo $character->getLevel();
                ?>
</td>

						<td><?php 
                echo vocIdToName($character->getVocation());
                ?>
</td>