Created
October 14, 2012 15:12
-
-
Save tony1223/3888869 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php include("_site_header.php"); ?> | |
<div class="container"> | |
<?php include("_content_nav.php") ?> <?php /* include content_nav */ ?> | |
<div class="content"> | |
<form action="<?=site_url("/user/registering")?>" method="post" > | |
<?php if (isset($errorMessage)){?> | |
<div class="alert alert-error"> | |
<?=$errorMessage?> | |
</div> | |
<?php }?> | |
<table class="table table-bordered"> | |
<tr> | |
<td> | |
Account | |
</td> | |
<td> | |
<?php if(isset($account)){ ?> | |
<input type="text" name="account" value="<?=htmlspecialchars($account)?>" /> | |
<?php }else{ ?> | |
<input type="text" name="account" /> | |
<?php } ?> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
Password | |
</td> | |
<td> | |
<input type="password" name="password" /> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
Re-type Password | |
</td> | |
<td> | |
<input type="password" name="passwordrt" /> | |
</td> | |
</tr> | |
<tr> | |
<td colspan="2"> | |
<input class="btn" type="submit" value="送出" /> | |
</td> | |
</tr> | |
</table> | |
</form> | |
</div> | |
</div> | |
<?php include("_site_footer.php"); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php include("_site_header.php"); ?> | |
<div class="container"> | |
<?php include("_content_nav.php") ?> <?php /* include content_nav */ ?> | |
<div class="content"> | |
<div class="alert alert-success"> | |
恭喜你 (<?=$account?>),你已經完成註冊, | |
接下來馬上到登入頁面去試試看吧! | |
<a href="<?=site_url("user/login")?>">登入</a> | |
</div> | |
</div> | |
</div> | |
<?php include("_site_footer.php"); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment