fix
This commit is contained in:
@@ -115,5 +115,7 @@ class Auth extends Start_Controller {
|
|||||||
public function logout() {
|
public function logout() {
|
||||||
$this->index();
|
$this->index();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
class Home extends CI_Controller {
|
class Home extends Start_Controller {
|
||||||
|
|
||||||
public function index() {
|
public function index() {
|
||||||
$this->load->view('home/home');
|
$data=[];
|
||||||
// redirect("auth/index");
|
$this->viewHomePages("view_reset_password",$data);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function security() {
|
public function security() {
|
||||||
@@ -25,11 +25,21 @@ class Home extends CI_Controller {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function terms(){
|
public function terms() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function contatus() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function contatus(){
|
private function viewHomePages($page_name,$data) {
|
||||||
|
//$this->load->view('home/home');
|
||||||
|
//echo "START RESET 1";
|
||||||
|
$this->load->view('auth/view_head');
|
||||||
|
$this->load->view('auth/'.$page_name, $data);
|
||||||
|
$this->load->view('auth/view_foot');
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -109,13 +109,13 @@
|
|||||||
<div class="item"><img src="/assets/img/iphone-mockup-1.png" alt=""></div>
|
<div class="item"><img src="/assets/img/iphone-mockup-1.png" alt=""></div>
|
||||||
</div>
|
</div>
|
||||||
<div data-wow-delay="2.2s">
|
<div data-wow-delay="2.2s">
|
||||||
|
|
||||||
<a href="#"><img src="/assets/img/app-store.png" alt="Apple"></a>
|
<a href="#"><img src="/assets/img/app-store.png" alt="Apple"></a>
|
||||||
<a href="#"><img src="/assets/img/google-store.png" alt="Google Play"></a>
|
<a href="#"><img src="/assets/img/google-store.png" alt="Google Play"></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -262,7 +262,7 @@
|
|||||||
<button class="btn btn-default btn-fill">Join CoreGrade</button>
|
<button class="btn btn-default btn-fill">Join CoreGrade</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -404,21 +404,21 @@
|
|||||||
<script src="/assets/js/typed.min.js"></script>
|
<script src="/assets/js/typed.min.js"></script>
|
||||||
<script src="/assets/js/theme.js"></script>
|
<script src="/assets/js/theme.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
<!--
|
|
||||||
function viewLogin() {
|
|
||||||
|
|
||||||
$.ajax({
|
<script type="text/javascript">
|
||||||
url: "/welcome/viewLogin?proc=PROCESS&welcome=welcome"
|
<!--
|
||||||
}).done(function (data) {
|
function viewLogin() {
|
||||||
// alert(100);
|
|
||||||
});
|
$.ajax({
|
||||||
return true;
|
url: "/welcome/viewLogin?proc=PROCESS&welcome=welcome"
|
||||||
}
|
}).done(function (data) {
|
||||||
// -->
|
// alert(100);
|
||||||
</script>
|
});
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
// -->
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user