diff --git a/application/controllers/Tokens.php b/application/controllers/Tokens.php
new file mode 100644
index 0000000..fb71e0f
--- /dev/null
+++ b/application/controllers/Tokens.php
@@ -0,0 +1,10 @@
+load->library('table');
$this->table->set_template($this->template);
- $mysql = "SELECT 'ADDED:'||added::date||'
EXPIRE:'||expire::date||'
'||username||'
Name:'||firstname||' '||lastname AS signup,"
+ $mysql = "SELECT 'ADDED:'||added::date||'
EXPIRE:'||expire::date||'
'||username||'
Name:'||firstname||' '||lastname AS signup, country,"
. " (CASE WHEN status=1 THEN '
' ELSE ' ' END) AS action ,"
. " (CASE WHEN status=1 THEN '' ELSE ' ' END) AS Del "
. " FROM members_pending WHERE expire> now() AND status = 1"
. " ORDER BY id desc limit 5";
$query = $this->db->query($mysql);
// $this->table->set_heading('Dates', 'Username', 'Name', 'Action');
- $this->table->set_heading(array('data' => 'Date/Email/Name', 'style' => 'width:180px'), array('data' => 'RES', 'style' => 'width:20px; cellpadding:0px;'), array('data' => 'Del', 'style' => 'width:20px; cellpadding:0px;'));
+ $this->table->set_heading(array('data' => 'Date/Email/Name', 'style' => 'width:180px'),array('data' => 'Country', 'style' => 'width:20px; cellpadding:0px;'),
+ array('data' => 'RES', 'style' => 'width:20px; cellpadding:0px;'), array('data' => 'Del', 'style' => 'width:20px; cellpadding:0px;'));
$data['pending_dash_table'] = $this->table->generate($query);