Esempio n. 1
0
    function LoginForm($message = NULL)
    {
        ?>
<div style="width:730px;">
<!-- ログイン -->
<div style="width:350px;float:right">
<h4 style="width:350px">登录</h4>
<?php 
        print $message;
        ?>
<form action="<?php 
        print INDEX;
        ?>
" method="post" style="padding-left:20px">
<table><tbody>
<tr>
<td><div style="text-align:right">ID:</div></td>
<td><input type="text" maxlength="16" class="text" name="id" style="width:160px"<?php 
        print $_SESSION["id"] ? " value=\"{$_SESSION['id']}\"" : NULL;
        ?>
></td>
</tr>
<tr>
<td><div style="text-align:right">PASS:</div></td>
<td><input type="password" maxlength="16" class="text" name="pass" style="width:160px"></td>
</tr>
<tr><td></td><td>
<input type="submit" class="btn" name="Login" value="登录" style="width:80px"> 
<a href="?newgame">新玩家?</a>
</td></tr>
</tbody></table>
</form>

<h4 style="width:350px">排行榜</h4>
<?php 
        include_once CLASS_RANKING;
        $Rank = new Ranking();
        $Rank->ShowRanking(0, 4);
        ?>
</div>
<!-- 飾 -->
<div style="width:350px;padding:5px;float:left;">
<div style="width:350px;text-align:center">
<img src="./image/top01.gif" style="margin-bottom:20px" />
</div>
<div style="margin-left:20px">
<DIV class=u>这到底是什么游戏?</DIV>
<UL>
<LI>游戏的目的是得到第一、<BR>并且保持住第一的位置。 
<LI>虽然没有冒险的要素、<BR>但有点深奥的战斗系统。 </LI></UL>
<DIV class=u>战斗的感觉是什么?</DIV>
<UL>
<LI>5人的人物构成队伍 。 
<LI>各人物各持不同模式、<BR>根据战斗的状况来使用技能。 
<LI><A class=a0 href="?log">这边</A>可以回览战斗记录。 </LI></UL></DIV></DIV>

<div class="c-both"></div>
</div>

<!-- -------------------------------------------------------- -->

<div style="margin:15px">
<h4>提示</h4>
用户数: <?php 
        print UserAmount();
        ?>
 / <?php 
        print MAX_USERS;
        ?>
<br />
<?php 
        $Abandon = ABANDONED;
        print floor($Abandon / (60 * 60 * 24)) . "日中数据没变化的话数据将消失。";
        print "</div>\n";
    }
Esempio n. 2
0
function RankAllShow()
{
    print '<div style="margin:15px">' . "\n";
    print '<h4>Ranking - ' . date("Y年n月j日 G時i分s秒") . '</h4>' . "\n";
    include CLASS_RANKING;
    $Rank = new Ranking();
    $Rank->ShowRanking();
    print '</div>' . "\n";
}
Esempio n. 3
0
    function LoginForm($message = NULL)
    {
        ?>
<div style="width:730px;">
<!-- ログイン -->
<div style="width:350px;float:right">
<h4 style="width:350px">Login</h4>
<?php 
        echo $message;
        ?>
<form action="<?php 
        echo INDEX;
        ?>
" method="post" style="padding-left:20px">
<table><tbody>
<tr>
<td><div style="text-align:right">ID:</div></td>
<td><input type="text" maxlength="16" class="text" name="id" style="width:160px"<?php 
        echo $_SESSION["id"] ? " value=\"{$_SESSION['id']}\"" : NULL;
        ?>
></td>
</tr>
<tr>
<td><div style="text-align:right">PASS:</div></td>
<td><input type="password" maxlength="16" class="text" name="pass" style="width:160px"></td>
</tr>
<tr><td></td><td>
<input type="submit" class="btn" name="Login" value="login" style="width:80px">&nbsp;
<a href="?newgame">NewGame?</a>
</td></tr>
</tbody></table>
</form>

<h4 style="width:350px">Ranking</h4><?php 
        include_once CLASS_RANKING;
        $Rank = new Ranking();
        $Rank->ShowRanking(0, 4);
        ?>
</div>
<!-- 飾 -->
<div style="width:350px;padding:15px;float:left;">
<div style="width:350px;text-align:center">
<img src="./image/top01.gif" style="margin-bottom:20px" />
</div>
<div style="margin-left:20px">
<div class="u">これってどんなゲーム?</div>
<ul>
<li>ゲームの目的はランキング1位になり、<br />1位を守る事です。</li>
<li>冒険要素はないですが、<br />ちょっと深い戦闘システムが売りです。</li>
</ul>
<div class="u">戦闘はどんな感じ?</div>
<ul>
<li>5人のキャラクターでパーティーを編成。</li>
<li>各キャラが行動パターンを持ち、<br />戦闘の状況に応じて技を使い分けます。</li>
<li><a href="?log" class="a0">こちら</a>で戦闘ログが回覧できます。</li>
</ul>
</div>
</div>
<div class="c-both"></div>
</div>

<!-- -------------------------------------------------------- -->

<div style="margin:15px">
<h4>info.</h4>
Users : <?php 
        echo UserAmount();
        ?>
 / <?php 
        echo MAX_USERS;
        ?>
<br />
<?php 
        $Abandon = ABANDONED;
        print floor($Abandon / (60 * 60 * 24)) . "日データに変化無しでデータ消える。";
        print "</div>\n";
    }