예제 #1
0
파일: home.php 프로젝트: steem/qwp
<?php

if (!defined('QWP_ROOT')) {
    exit('Invalid Request');
}
?>
<div class="container">
    <form class="form-signin" method="post" action="<?php 
echo qwp_uri_current_ops('login');
?>
">
        <input type="hidden" name="dsturl" value="<?php 
echo P('dsturl');
?>
">
        <h2>Please sign in ...</h2>
        <label for="inputEmail" class="sr-only">Email address</label>
        <input type="text" name="f[user]" id="inputEmail" class="form-control" placeholder="Email address" value="*****@*****.**">
        <label for="inputPassword" class="sr-only">Password</label>
        <input type="password" name="f[pwd]" id="inputPassword" class="form-control" placeholder="Password" value="123Qwe">
        <div class="checkbox">
            <label>
                <input type="checkbox" value="remember-me"> Remember me
            </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
    </form>

</div> <!-- /container -->
예제 #2
0
파일: form.php 프로젝트: steem/qwp
<?php

if (!defined('QWP_ROOT')) {
    exit('Invalid Request');
}
qwp_ui_init_dialog();
?>
<h1 class="page-header"><?php 
EL('Save user info of ({0})', $USER->name);
?>
</h1>
<form id="user_info" class="form-horizontal col-lg-6" action="<?php 
echo qwp_uri_current_ops('edit');
?>
" method="post">
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-3 control-label">Email</label>
        <div class="col-sm-9">
            <input type="text" name="f[user]" class="form-control" id="inputEmail3" placeholder="Email">
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-3 control-label">Password</label>
        <div class="col-sm-9">
            <input type="password" name="f[pwd]" class="form-control" id="inputPassword1" placeholder="Password">
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-3 control-label">Password Confirmation</label>
        <div class="col-sm-9">
            <input type="password" name="f[pwd1]" class="form-control" id="inputPassword2" placeholder="Password">