This commit is contained in:
Jackson Dou 2022-12-11 16:17:28 +08:00
parent 12ea496427
commit 0d02973801
4 changed files with 10 additions and 13 deletions

View file

@ -12,7 +12,7 @@ if (!defined('IN_CRONLITE')) {
<h3 class="panel-title"><?php echo $lang->I18N('please_login'); ?></h3>
</div>
<div class="panel-body">
<form class="form-group form-horizontal form-account" role="form" action="//cpanel.<?= $domain ?>/login.php" method="post" name="login">
<form class="form-group form-horizontal form-account" role="form" action="//cpanel.<?php echo $site_domain; ?>/login.php" method="post" name="login">
<div class="form-group">
<input type="text" name="uname" class="form-control" placeholder="<?php echo $lang->I18N('input_username'); ?>" required autofocus autocomplete="off">
</div>
@ -29,7 +29,7 @@ if (!defined('IN_CRONLITE')) {
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me"><span><?php echo $lang->I18N('Remember me'); ?></span>
<a href="//cpanel.<?= $domain ?>/lostpassword.php"><?php echo $lang->I18N('password_lost'); ?></a>
<a href="//cpanel.<?php echo $site_domain; ?>/lostpassword.php"><?php echo $lang->I18N('password_lost'); ?></a>
</label>
</div>
</div>

View file

@ -12,7 +12,7 @@ if (!defined('IN_CRONLITE')) {
<h3 class="panel-title"><?php echo $lang->I18N('signup_free_hosting'); ?></h3>
</div>
<div class="panel-body">
<form class="form-horizontal" role="form" method=post action="//order.<?php echo $domain; ?>/register.php">
<form class="form-horizontal" role="form" method=post action="//order.<?php echo $site_domain; ?>/register.php">
<!--remote_reg.php-->
<input type="hidden" name="plan_name" value="free webhosting">
<div class="form-group">

View file

@ -1,10 +1,8 @@
<?php
define('IN_CRONLITE', true);
require_once "core.php";
require __DIR__ . '/core/application.php';
require __DIR__ . '/core/controllers/register.php';
include("core/controllers/register.php");
include("core/views/header.php");
include("core/views/navbar.php");
include("core/views/register.php");
include("core/views/footer.php");
require __DIR__ . '/core/views/common/header.php';
require __DIR__ . '/core/views/common/navbar.php';
require __DIR__ . '/core/views/register.php';
require __DIR__ . '/core/views/common/footer.php';

View file

@ -1,6 +1,5 @@
<?php
define('IN_CRONLITE', true);
require_once ("core.php");
require __DIR__ . '/core/application.php';
// $security_id = md5(rand(6000,getrandmax())); // $security_id = md5(rand(6000,99999999999999991000));
$security_id = $_GET["id"];