Title1

Title2

Title3

6-4-2 20171025上課範例

  1. theme.tpl
    
      <!-- login MODAL -->
      <div class="modal fade" id="login" tabindex="-1" role="dialog">
        <div class="modal-dialog">
          <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
              <h3 class="modal-title">登入</h3>
            </div>
            <div class="modal-body">  
              <form action="index.php" method="POST" role="form" id="loginForm">   
                <div class="form-group">
                  <label for="email">Email</label>
                  <input type="email" class="form-control" id="email" name="email">
                </div>   
                <div class="form-group">
                  <label for="pass">密碼</label>
                  <input type="password" class="form-control" id="pass" name="pass">
                </div>   
                   
                <button type="submit" class="btn btn-primary btn-block">登入</button>
                <input type="hidden" value="login" name="op">
              </form>          
            </div>
          </div>
        </div>
      </div>

     

  2. 20171025