<div class="panel panel-primary"> <div class="panel-heading">登入</div> <div class="panel-body"> <form class="form-horizontal" action="index.php" method="post" role="form"> <div class="form-group"> <label class="col-sm-3 control-label" for="email">帳號</label> <div class="col-sm-9"> <input type="text" name="email" id="email" class="form-control" placeholder="請輸入Email"> </div> </div> <div class="form-group"> <label class="col-sm-3 control-label" for="pass">密碼</label> <div class="col-sm-9"> <input type="password" name="pass" id="pass" class="form-control" placeholder="請輸入密碼"> </div> </div> <div class="text-center"> <a href="index.php?op=regist" class="btn btn-success">註冊</a> <button type="submit" name="op" value="login" class="btn btn-primary">登入</button> </div> </form> </div> </div>