You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
3.2 KiB
124 lines
3.2 KiB
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<!-- 主頁header -->
|
|
<?php
|
|
|
|
|
|
include "include-header.php";
|
|
|
|
?>
|
|
<!-- * 主頁header -->
|
|
|
|
<body>
|
|
|
|
<!-- loader -->
|
|
<div id="loader">
|
|
<div class="spinner-border text-primary" role="status"></div>
|
|
</div>
|
|
<!-- * loader -->
|
|
|
|
<!-- App Header -->
|
|
<div class="appHeader bg-primary text-light">
|
|
<!--
|
|
<div class="left">
|
|
<a href="javascript:;" class="headerButton goBack">
|
|
<ion-icon name="chevron-back-outline"></ion-icon>
|
|
</a>
|
|
</div>
|
|
-->
|
|
<div class="pageTitle">登入系統</div>
|
|
<!--
|
|
<div class="right">
|
|
<a href="tel:+886 12345678901" class="headerButton">
|
|
<ion-icon name="call-outline"></ion-icon>
|
|
</a>
|
|
</div>
|
|
-->
|
|
</div>
|
|
<!-- * App Header -->
|
|
|
|
<!-- App Capsule -->
|
|
<div id="appCapsule">
|
|
|
|
<div class="section full mt-2">
|
|
<!-- <div class="section-title">請輸入帳號、密碼!</div> -->
|
|
|
|
<div class="wide-block pt-2 pb-2">
|
|
<form action="api-account-reply.php" method="post" enctype="multipart/form-data">
|
|
|
|
<!-- 以下是要傳遞的資料 -->
|
|
<input type="hidden" name="key" value="032580295e2d320b3a258bef473e8d32a0c24431" />
|
|
<input type="hidden" name="pid" value="pid12345" />
|
|
<!-- <input type="hidden" name="source_flag" value="app" /> -->
|
|
<!-- 以上是要傳遞的資料 -->
|
|
|
|
<div class="form-group boxed">
|
|
<div class="input-wrapper">
|
|
<input type="text" class="form-control" name="account" placeholder="帳號">
|
|
<i class="clear-input">
|
|
<ion-icon name="close-circle"></ion-icon>
|
|
</i>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group boxed">
|
|
<div class="input-wrapper">
|
|
<input type="password" class="form-control" name="password" placeholder="密碼">
|
|
<i class="clear-input">
|
|
<ion-icon name="close-circle"></ion-icon>
|
|
</i>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mt-1">
|
|
<button type="submit" class="btn btn-primary btn-lg btn-block">
|
|
確定
|
|
</button>
|
|
</div>
|
|
|
|
</form>
|
|
<?php
|
|
if(!empty($_GET['errno'])){
|
|
if($_GET['errno']==1){
|
|
echo "帳號或密碼錯誤";
|
|
}else if($_GET['errno']==2){
|
|
echo "請輸入帳號密碼";
|
|
}else if($_GET['errno']==3){
|
|
echo "非法訪問,請輸入帳號和密碼";
|
|
}else if($_GET['errno']==4){
|
|
echo "無使用權限";
|
|
}
|
|
}
|
|
?>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<!-- * App Capsule -->
|
|
|
|
<!-- 主頁頁尾 -->
|
|
<?php
|
|
include "include-footer.php";
|
|
mysqli_close($link); #代表結束連線
|
|
?>
|
|
<!-- * 主頁頁尾 -->
|
|
|
|
<!-- 主頁頁尾按鈕 -->
|
|
<?php
|
|
# include "include-bottom-menu.php";
|
|
?>
|
|
<!-- * 主頁頁尾按鈕 -->
|
|
|
|
<!-- ///////////// Js Files //////////////////// -->
|
|
<!-- Jquery -->
|
|
<?php
|
|
include "include-jsfiles.php";
|
|
?>
|
|
|
|
</body>
|
|
|
|
</html>
|