diff --git a/www/application/controllers/Plb.php b/www/application/controllers/Plb.php index aaea08eb..ac01da7c 100644 --- a/www/application/controllers/Plb.php +++ b/www/application/controllers/Plb.php @@ -14,17 +14,7 @@ class Plb extends WRB_Controller { } private function jobViewPage($offerCode) { - /* $data['sitename'] = 'home'; - $this->load->view('templates/header_boxed', $data); - $this->load->view('users/view_index'); - $this->load->view('users/view_external_footer'); - * */ - // $this->load->view('users/view_index'); - // $this->load->view('users/view_external_footer'); - $data = array(); - - $mysql = "SELECT jo.expire,jo.id AS offer_id, jo.offer_code,mj.title,mj.description,mj.timeline_days,mj.price,jo.job_description FROM members_jobs_offer jo " . " LEFT JOIN members_jobs mj ON mj.id=jo.job_id " . " WHERE mj.status=1 AND jo.status=1 " @@ -55,25 +45,9 @@ class Plb extends WRB_Controller { . " WHERE o.public_view =1 AND o.offer_code<>'" . $offerCode . "' AND o.expire> now() AND o.status=1 ORDER BY o.id DESC LIMIT 50"; $query = $this->db->query($mysql2); $data["numof_other_jobs"] = $query->num_rows(); - $data["job_data"] = $query->result(); + $data["job_data"] = $query->result()[0]; - - - /* - $mysql2 = " SELECT o.*,j.title,j.description,j.timeline_days,j.price,j FROM members_jobs_offer o " - . " LEFT JOIN members_jobs j ON j.id =o.job_id " - . " WHERE o.public_view =1 AND o.offer_code<>'" . $offerCode . "' AND o.expire> now() ORDER BY o.id DESC LIMIT 50"; - - - $query = $this->db->query($mysql2); - $data["numof_other_jobs"] = $query->num_rows(); - $data["job_data"] = $query->result(); - */ - - - $this->load->view('templates/view_header_market', $data); - $this->load->view('site/view_market', $data); - $this->load->view('templates/view_footer_market', $data); + $this->load->view('site3/external/view_market',$data); } private function makeMarketTableRow($row) { diff --git a/www/application/views/site3/external/view_market.php b/www/application/views/site3/external/view_market.php new file mode 100644 index 00000000..17bc92f1 --- /dev/null +++ b/www/application/views/site3/external/view_market.php @@ -0,0 +1,138 @@ +
+ + +
+ + + + + + + + + + + + + + + +
+
+
+ + WrenchBoard + + +
+ + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+

+ . +

+ +
+ + +
+ Home +
+
+ +
+ + +
+ +
+ +
+

+ title?> +

+ +
+ + +
+ +
+ + + + + + +
+ +
+ +
+ +
+ +
+ + +
+ +
+ +
+ + + + +
+
+ + + + + + + diff --git a/www/application/views/site3/internal/template/view_securehead.php b/www/application/views/site3/internal/template/view_securehead.php index c280214e..d889cd4c 100644 --- a/www/application/views/site3/internal/template/view_securehead.php +++ b/www/application/views/site3/internal/template/view_securehead.php @@ -151,7 +151,7 @@ $server_name = 'https://'. $_SERVER['HTTP_HOST'];