コード例 #1
0
ファイル: login.php プロジェクト: simonhudson/boilerplate
                        data-val-regex="<?php 
echo '^(admin)$';
//$formConfig->password->validation->regex;
?>
"
                        data-val-type="text"
                        id="login__password"
                        name="login__password"
                        placeholder="<?php 
echo $formConfig->password->placeholder;
?>
"
                        type="password" />
                </fieldset>
                <input id="login__returnUrl" name="login__returnUrl" type="hidden" value="<?php 
echo getReturnUrl();
?>
" />
                <input id="login__submit" name="login__submit" type="submit" value="Log in" />
            </form>

            <p>Not got an account? <a href="<?php 
echo $pages->register->url;
?>
">Register here</a></p>

        </div>

    </div>

<?php 
コード例 #2
0
ファイル: login.php プロジェクト: sherlockhouse/aliyun
<?php

!defined('W_P') && exit('Forbidden');
include_once D_P . "data/bbscache/dbreg.php";
InitGP(array('lgt', 'pwuser', 'pwpwd', 'question', 'customquest', 'answer'), 'P');
if ($windid) {
    wap_msg('login_have');
} elseif ($pwuser && $pwpwd) {
    $safecv = $db_ifsafecv ? wap_quest($question, $customquest, $answer) : '';
    wap_login($pwuser, md5($pwpwd), $safecv, $lgt);
}
$returnUrl = getReturnUrl();
wap_header();
require_once PrintWAP('login');
wap_footer();