Exemplo n.º 1
0
        print '<tr>
			  <td>' . $v->txn_id . '</td>
			  <td>' . $v->title . '</td>
			  <td>' . $v->username . '</td>
			  <td>' . $v->rate_amount . '</td>
			  <td>' . Filter::dodate("long_date", $v->date) . '</td>
			  <td>' . $v->pp . '</td>
			  <td>' . $v->ip . '</td>
			</tr>';
    }
    print '</table>';
    exit;
}
/* == Page Builder == */
if (isset($_POST['processBuilder'])) {
    Membership::processBuilder();
}
/* == Restore SQL Backup == */
if (isset($_POST['restoreBackup'])) {
    require_once BASEPATH . "lib/class_dbtools.php";
    Registry::set('dbTools', new dbTools());
    $tools = Registry::get("dbTools");
    if ($tools->doRestore($_POST['restoreBackup'])) {
        $json['type'] = 'success';
        $json['title'] = Core::$word->SUCCESS;
        $json['message'] = str_replace("[NAME]", $_POST['restoreBackup'], Core::$word->BK_RESTORE_OK);
    } else {
        $json['type'] = 'warning';
        $json['title'] = Core::$word->ALERT;
        $json['message'] = Core::$word->SYSTEM_PROCCESS;
    }