update
This commit is contained in:
parent
2d170ee0f9
commit
52d0937a2f
3 changed files with 19 additions and 14 deletions
2
core.php
2
core.php
|
@ -11,7 +11,7 @@ $author = 'Crogram Inc.';
|
|||
$description = "uiisc, freewebhost, webhost, Crogram";
|
||||
$rooturl = $_SERVER['HTTP_HOST'];
|
||||
$domain = preg_replace('/^www\./', '', $rooturl);
|
||||
$static_release = 'build_20181124';
|
||||
$static_release = 'build_20181211';
|
||||
function curlrequest($url, $data, $method = "post")
|
||||
{
|
||||
$ch = curl_init(); // 初始化CURL句柄
|
||||
|
|
|
@ -154,7 +154,6 @@ body.fixed-header-on {
|
|||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
|
30
login.php
30
login.php
|
@ -14,19 +14,25 @@
|
|||
<?php include ("nav.php"); ?>
|
||||
|
||||
<div class="container">
|
||||
<form class="form-group form-horizontal form-account" role="form" action="//cpanel.<?=$domain?>/login.php" method="post" name="login">
|
||||
<h2><?php echo $LANG['please_login']; ?></h2>
|
||||
<input type="text" name="uname" class="form-control" placeholder="<?php echo $LANG['input_username']; ?>" required autofocus autocomplete="off">
|
||||
<input type="password" name="passwd" class="form-control" placeholder="<?php echo $LANG['input_password']; ?>" required autocomplete="off">
|
||||
<input type="hidden" name="language" class="hide" value="<?php echo $LANG['language']; ?>">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" value="remember-me"><span><?php echo $LANG['remember_me']; ?></span>
|
||||
<a href="//cpanel.<?=$domain?>/lostpassword.php"><?php echo $LANG['lost_password']; ?></a>
|
||||
</label>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><?php echo $LANG['please_login']; ?></h3>
|
||||
</div>
|
||||
<button type="submit" name="submit" class="btn btn-primary btn-block"><?php echo $LANG['login']; ?></button>
|
||||
</form>
|
||||
<div class="panel-body">
|
||||
<form class="form-group form-horizontal form-account" role="form" action="//cpanel.<?=$domain?>/login.php" method="post" name="login">
|
||||
<input type="text" name="uname" class="form-control" placeholder="<?php echo $LANG['input_username']; ?>" required autofocus autocomplete="off">
|
||||
<input type="password" name="passwd" class="form-control" placeholder="<?php echo $LANG['input_password']; ?>" required autocomplete="off">
|
||||
<input type="hidden" name="language" class="hide" value="<?php echo $LANG['language']; ?>">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" value="remember-me"><span><?php echo $LANG['remember_me']; ?></span>
|
||||
<a href="//cpanel.<?=$domain?>/lostpassword.php"><?php echo $LANG['lost_password']; ?></a>
|
||||
</label>
|
||||
</div>
|
||||
<button type="submit" name="submit" class="btn btn-primary btn-block"><?php echo $LANG['login']; ?></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include ("footer.php"); ?>
|
||||
|
|
Loading…
Reference in a new issue