Beispiel #1
0
    $option = aecGetParam('option', '0');
}
switch (strtolower($task)) {
    case 'heartbeat':
    case 'beat':
        // Manual Heartbeat
        $heartbeat = new aecHeartbeat();
        $heartbeat->beat();
        echo "wolves teeth";
        break;
    case 'copycoupon':
        $db = JFactory::getDBO();
        foreach ($id as $pid) {
            $c = explode('.', $pid);
            $row = new Coupon($c[0]);
            $row->load($c[1]);
            $row->copy();
        }
        aecRedirect('index.php?option=' . $option . '&task=showCoupons');
        break;
    case 'hacks':
        $undohack = aecGetParam('undohack', 0);
        $filename = aecGetParam('filename', 0);
        $check_hack = $filename ? 0 : 1;
        hackcorefile($filename, $check_hack, $undohack);
        HTML_AcctExp::hacks(hackcorefile(0, 1, 0));
        break;
    case 'quicklookup':
        $return = quicklookup($option);
        if (is_array($return)) {
            aecCentral($return['return'], $return['search']);