offers list
This commit is contained in:
@@ -79,6 +79,24 @@ class Bkoreport extends Bko_Controller {
|
||||
$this->renderbkoreportpage($data);
|
||||
}
|
||||
|
||||
public function offers() {
|
||||
$data["title"] = "Recent Signup Report";
|
||||
//$mysql = "SElECT added::date,username,firstname||' '||lastname AS Name,loc,last_login::date FROM members ORDER BY id DESC LIMIT 7000";
|
||||
$mysql = "SELECT o.id,
|
||||
o.expire||'<br>'||o.offer_code AS expire_offer,
|
||||
o.job_description,
|
||||
mo.firstname AS client,
|
||||
mw.firstname AS owner,
|
||||
o.reminder_date,
|
||||
o.uid
|
||||
FROM members_jobs_offer o
|
||||
LEFT JOIN members mo ON mo.id = o.client_id
|
||||
LEFT JOIN members mw ON mw.id = o.member_id
|
||||
WHERE o.public_view = 0 ORDER BY o.id DESC limit 40";
|
||||
$data['mysql'] = $mysql;
|
||||
$this->renderbkoreportpage($data);
|
||||
}
|
||||
|
||||
public function recent() {
|
||||
$data["title"] = "Recent Signup Report";
|
||||
//$mysql = "SElECT added::date,username,firstname||' '||lastname AS Name,loc,last_login::date FROM members ORDER BY id DESC LIMIT 7000";
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
|
||||
<div class="heading-elements">
|
||||
<div class="heading-btn-group">
|
||||
<a href="/bkoreport/offers" class="btn btn-link btn-float text-size-small has-text"><i class="icon-bars-alt text-indigo-400"></i><span>Offers</span></a>
|
||||
<a href="/bkoreport/recent" class="btn btn-link btn-float text-size-small has-text"><i class="icon-bars-alt text-indigo-400"></i><span>Recent Signup</span></a>
|
||||
<a href="/marketing/" class="btn btn-link btn-float text-size-small has-text"><i class="icon-bars-alt text-indigo-400"></i><span>Marketing</span></a>
|
||||
<a href="/blog/" class="btn btn-link btn-float text-size-small has-text"><i class="icon-bars-alt text-indigo-400"></i><span>Blog</span></a>
|
||||
|
||||
Reference in New Issue
Block a user