dash fix
This commit is contained in:
@@ -47,7 +47,8 @@ spl_autoload_register(function($classname) {
|
|||||||
|
|
||||||
|
|
||||||
//$config['base_url'] = $wrenchboard->cfgReadChar("system.base_url"); //'http://oameye.works.wrenchboard.com/';
|
//$config['base_url'] = $wrenchboard->cfgReadChar("system.base_url"); //'http://oameye.works.wrenchboard.com/';
|
||||||
$config['base_url'] = 'https://'.$_SERVER['SERVER_NAME'].'/';
|
$config['base_url'] = "http://localhost:8082/"; // 'https://'.$_SERVER['SERVER_NAME'].'/';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Index File
|
| Index File
|
||||||
|
|||||||
@@ -32,9 +32,7 @@ class Login extends WRB_Controller {
|
|||||||
$res = $this->wrenchboard_api($data, $out);
|
$res = $this->wrenchboard_api($data, $out);
|
||||||
$is_live = $this->backend_model->cfgReadChar("system.live");
|
$is_live = $this->backend_model->cfgReadChar("system.live");
|
||||||
|
|
||||||
|
|
||||||
// var_dump($out);
|
// var_dump($out);
|
||||||
// exit;
|
|
||||||
// print_r($out);
|
// print_r($out);
|
||||||
if ($res == PHP_LOGIN_OK) {
|
if ($res == PHP_LOGIN_OK) {
|
||||||
$this->load->model('account_model');
|
$this->load->model('account_model');
|
||||||
|
|||||||
@@ -125,10 +125,10 @@
|
|||||||
|
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<!--li><a class="deutsch"><img src="/assets/images/flags/de.png" alt=""> Deutsch</a></li>
|
<!--li><a class="deutsch"><img src="/assets/images/flags/de.png" alt=""> Deutsch</a></li>
|
||||||
<li><a class="ukrainian"><img src="/assets/images/flags/ua.png" alt=""> УкраїнÑ?ька</a></li-->
|
<li><a class="ukrainian"><img src="/assets/images/flags/ua.png" alt=""> Україн�?ька</a></li-->
|
||||||
<li><a class="english"><img src="/assets/images/flags/gb.png" alt=""> English</a></li>
|
<li><a class="english"><img src="/assets/images/flags/gb.png" alt=""> English</a></li>
|
||||||
<!-- li><a class="espana"><img src="/assets/images/flags/es.png" alt=""> España</a></li>
|
<!-- li><a class="espana"><img src="/assets/images/flags/es.png" alt=""> España</a></li>
|
||||||
<li><a class="russian"><img src="/assets/images/flags/ru.png" alt=""> РуÑ?Ñ?кий</a></li -->
|
<li><a class="russian"><img src="/assets/images/flags/ru.png" alt=""> Ру�?�?кий</a></li -->
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@@ -159,7 +159,7 @@
|
|||||||
|
|
||||||
<li class="dropdown dropdown-user">
|
<li class="dropdown dropdown-user">
|
||||||
<a class="dropdown-toggle" data-toggle="dropdown">
|
<a class="dropdown-toggle" data-toggle="dropdown">
|
||||||
<img src="<? echo $_SESSION['profile_picture']; ?>" alt="">
|
<img src="<?php echo $_SESSION['profile_picture']; ?>" alt="">
|
||||||
<span><?php echo $firstname; ?></span>
|
<span><?php echo $firstname; ?></span>
|
||||||
<i class="caret"></i>
|
<i class="caret"></i>
|
||||||
</a>
|
</a>
|
||||||
@@ -184,7 +184,7 @@
|
|||||||
<div class="breadcrumb-boxed">
|
<div class="breadcrumb-boxed">
|
||||||
<ul class="breadcrumb">
|
<ul class="breadcrumb">
|
||||||
<li>Hello, <?php echo $firstname; ?> !</li>
|
<li>Hello, <?php echo $firstname; ?> !</li>
|
||||||
<li><? echo isset($page_title) ? $page_title : ''; ?> </li>
|
<li><?php echo isset($page_title) ? $page_title : ''; ?> </li>
|
||||||
<li class="active"><?php echo $current_date; ?></li>
|
<li class="active"><?php echo $current_date; ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
|
|
||||||
<div class="page-header-content">
|
<div class="page-header-content">
|
||||||
<div class="page-title">
|
<div class="page-title">
|
||||||
<h4><i class="icon-arrow-left52 position-left"></i> <a href="/member"><span class="text-semibold">Home</span></a> <? echo isset($page_title) ? "<i class=\"icon-arrow-left52 position-left\"></i>" . $page_title : ''; ?> </h4>
|
<h4><i class="icon-arrow-left52 position-left"></i> <a href="/member"><span class="text-semibold">Home</span></a> <?php echo isset($page_title) ? "<i class=\"icon-arrow-left52 position-left\"></i>" . $page_title : ''; ?> </h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="heading-elements">
|
<div class="heading-elements">
|
||||||
@@ -217,10 +217,10 @@
|
|||||||
if ($_SESSION["offers_interest_count"] > 0) {
|
if ($_SESSION["offers_interest_count"] > 0) {
|
||||||
?>
|
?>
|
||||||
<a href="/jobs/offerinterest" class="btn btn-link btn-float text-size-small has-text bg-indigo"><span>Task Interest[<?php echo $_SESSION["offers_interest_count"]; ?>]</span></a>
|
<a href="/jobs/offerinterest" class="btn btn-link btn-float text-size-small has-text bg-indigo"><span>Task Interest[<?php echo $_SESSION["offers_interest_count"]; ?>]</span></a>
|
||||||
<?
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a href="/proj/active" class="btn btn-link btn-float text-size-small has-text"><span>Active Task[<? echo $_SESSION['active_task']; ?>]</span></a>
|
<a href="/proj/active" class="btn btn-link btn-float text-size-small has-text"><span>Active Task[<?php echo $_SESSION['active_task']; ?>]</span></a>
|
||||||
<a href="/member/message" class="btn btn-link btn-float text-size-small has-text"><span>Messages</span></a>
|
<a href="/member/message" class="btn btn-link btn-float text-size-small has-text"><span>Messages</span></a>
|
||||||
<a href="/member/balance" class="btn btn-link btn-float text-size-small has-text"><span>Account</span></a>
|
<a href="/member/balance" class="btn btn-link btn-float text-size-small has-text"><span>Account</span></a>
|
||||||
</div>
|
</div>
|
||||||
@@ -246,7 +246,7 @@
|
|||||||
<div class="sidebar-user-material">
|
<div class="sidebar-user-material">
|
||||||
<div class="category-content">
|
<div class="category-content">
|
||||||
<!-- div class="sidebar-user-material-content">
|
<!-- div class="sidebar-user-material-content">
|
||||||
<a href="/member/profile"><img src="<? echo $_SESSION['profile_picture']; ?>" class="img-circle img-responsive" alt=""></a>
|
<a href="/member/profile"><img src="<?php echo $_SESSION['profile_picture']; ?>" class="img-circle img-responsive" alt=""></a>
|
||||||
<h6><?php echo $firstname; ?> <?php echo $lastname; ?></h6>
|
<h6><?php echo $firstname; ?> <?php echo $lastname; ?></h6>
|
||||||
<span class="text-size-small">Santa Ana, CA</span>
|
<span class="text-size-small">Santa Ana, CA</span>
|
||||||
</div -->
|
</div -->
|
||||||
@@ -309,7 +309,7 @@
|
|||||||
if ($_SESSION["active_offers_count"] > 0) {
|
if ($_SESSION["active_offers_count"] > 0) {
|
||||||
?>
|
?>
|
||||||
<li><a href="/jobs/pendingoffer">my Market Jobs[<?php echo $_SESSION["active_offers_count"]; ?>]</a></li>
|
<li><a href="/jobs/pendingoffer">my Market Jobs[<?php echo $_SESSION["active_offers_count"]; ?>]</a></li>
|
||||||
<?
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<li><a href="/jobs/offerinterest">Flagged Interest</a></li>
|
<li><a href="/jobs/offerinterest">Flagged Interest</a></li>
|
||||||
|
|||||||
Reference in New Issue
Block a user