-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eaton Munoz
committed
May 14, 2017
0 parents
commit f0655d1
Showing
753 changed files
with
109,625 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.directory | ||
**/nbproject/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Prevent Direct Access to files | ||
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))"> | ||
Order deny,allow | ||
Deny from all | ||
</FilesMatch> | ||
|
||
# SEO URL Settings | ||
RewriteEngine On | ||
RewriteBase /ocbased/ | ||
|
||
# Redirect non-www to www - DISABLE THIS ON LOCALHOST | ||
#RewriteCond %{HTTP_HOST} !^www\. | ||
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/ocbased/$1 [R=301,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
class ControllerCommonColumnLeft extends Controller { | ||
public function index() { | ||
if (isset($this->request->get['token']) && isset($this->session->data['token']) && ($this->request->get['token'] == $this->session->data['token'])) { | ||
$data['profile'] = $this->load->controller('common/profile'); | ||
$data['menu'] = $this->load->controller('common/menu'); | ||
|
||
return $this->load->view('common/column_left', $data); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
class ControllerCommonDashboard extends Controller { | ||
public function index() { | ||
$this->load->language('common/dashboard'); | ||
|
||
$this->document->setTitle($this->language->get('heading_title')); | ||
|
||
$data['heading_title'] = $this->language->get('heading_title'); | ||
|
||
$data['text_sale'] = $this->language->get('text_sale'); | ||
$data['text_map'] = $this->language->get('text_map'); | ||
$data['text_activity'] = $this->language->get('text_activity'); | ||
$data['text_recent'] = $this->language->get('text_recent'); | ||
|
||
$data['breadcrumbs'] = array(); | ||
|
||
$data['breadcrumbs'][] = array( | ||
'text' => $this->language->get('text_home'), | ||
'href' => $this->url->link('common/dashboard', 'token=' . $this->session->data['token'], true) | ||
); | ||
|
||
$data['breadcrumbs'][] = array( | ||
'text' => $this->language->get('heading_title'), | ||
'href' => $this->url->link('common/dashboard', 'token=' . $this->session->data['token'], true) | ||
); | ||
|
||
$data['token'] = $this->session->data['token']; | ||
$data['header'] = $this->load->controller('common/header'); | ||
$data['column_left'] = $this->load->controller('common/column_left'); | ||
$data['footer'] = $this->load->controller('common/footer'); | ||
|
||
$this->response->setOutput($this->load->view('common/dashboard', $data)); | ||
} | ||
} |
Oops, something went wrong.