Skip to content

Commit

Permalink
sfandrianah | update about-application v.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sfandrianah committed May 1, 2017
1 parent 3c9443a commit 271a6c5
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/Controller/Base/General.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,5 +176,15 @@ public function getArea() {

echo json_encode($data);
}

public function aboutApplication() {
$Form = new Form();

setTitle('About Tripoin E-Pusbang');
setTitleBody('About Tripoin E-Pusbang');
setBreadCrumb(array('About Tripoin E-Pusbang' => FULLURL()));

include FILE_PATH('/view/page/general/about-application.html.php');
}

}
4 changes: 4 additions & 0 deletions app/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
//Routes::set('page/carrer', 'app\Controller\Master\Carrer@page');
//Routes::set('page/tala-membership', 'app\Controller\Master\MemberShip@page');



Routes::set('search/lov', 'app\Controller\Base\SelectLOV@index');
Routes::set('chat/send', 'app\Controller\Base\Chat@sendChat');
Routes::set('chat/load', 'app\Controller\Base\Chat@loadChat');
Expand Down Expand Up @@ -190,6 +192,8 @@
//ROUTES ADMIN
if (isset($_SESSION[SESSION_USERNAME]) && isset($_SESSION[SESSION_GROUP])) {
if ($_SESSION[SESSION_GROUP] != 1) {

Routes::set($sys_url_admin.'/about-application', 'app\Controller\Base\General@aboutApplication');

//ROUTES MENU POSTING - POST
$post_class = 'app\Controller\Posting\Posting';
Expand Down
32 changes: 32 additions & 0 deletions view/page/general/about-application.html.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
$logo_login = URL('/assets/img/logotripoin.png');
?>
<!doctype html>
<html lang="en">
<?= contentPage(); ?>
<?= pageBody(); ?>
<div class="row">
<div class="col-md-12">
<!--<h2 class="text-center">Tripoin Studio</h2>-->
<div class="logo text-center">
<a href="http://tripoin.co.id">
<img src="<?= $logo_login; ?>" height="150" alt="LOGO" />
</a>
</div>
<h2 class="text-center">Tripoin E-Pusbang</h2>
<h4 class="text-center">Version 1.0</h4>
<h5 class="text-center">Copyright © 2017 Tripoin, Inc. All Rights Reserved. </h5>
<br/>
<br/>
<br/>
<h5 class="text-center">
This Product is licensed by :
</h5>
<h6 class="text-center">
Syahrial Fandrianah, Nurul Hidayat, Ridla Fadillah, Achmad Fauzi, Fadhil Paramanindo, Ginanjar Sanjaya, Agung Rizkiono<br/>
</h6>
</div>
</div>
<?= endPageBody(); ?>
<?= endContentPage(); ?>
</html>
5 changes: 5 additions & 0 deletions view/template/metronic/page/head.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ class="logo-default text-logo"> <?= $logo_text; ?></div>
</a>
</li>-->
<li class="divider"> </li>
<li>
<a href="<?= URL($admin_url . '/about-application'); ?>">
<i class="icon-settings"></i> About Application
</a>
</li>
<li>
<a href="<?= URL(''); ?>" target="_blank">
<i class="icon-globe"></i> <?= lang('general.view_website'); ?> </a>
Expand Down

0 comments on commit 271a6c5

Please sign in to comment.