include BASEDIR . 'modules/Forums/nukebb.php';
// Initialise tapatalk
include MOBIDIR . 'include/xmlrpc.inc';
include MOBIDIR . 'include/xmlrpcs.inc';
require MOBIDIR . 'error_code.php';
require MOBIDIR . 'config/config.php';
$mobiquo_config = get_mobiquo_config();
if (empty($mobiquo_config['is_open'])) {
    header("{$_SERVER['SERVER_PROTOCOL']} 503 Service Unavailable");
    exit;
}
require MOBIDIR . 'mobiquo_common.php';
require MOBIDIR . 'server_define.php';
$phpEx = $mobiquo_config['php_extension'];
$xmlrpc_internalencoding = 'UTF-8';
$xmlrpcName = 'DragonflyCMS/' . CPG_NUKE . ' (PHP ' . PHP_MAJOR_VERSION . '; ' . PHP_SAPI . '; ' . PHP_OS . ') XML-RPC Tapatalk/3';
$xmlrpcVersion = 'v' . $mobiquo_config['sys_version'];
header('Mobiquo_is_login:'******'true' : 'false'));
// Get requested function and load file
$request_method_name = get_method_name();
if ($request_method_name && isset($server_param[$request_method_name])) {
    require MOBIDIR . 'function/' . $request_method_name . '.php';
}
$rpcServer = new xmlrpc_server($server_param, false);
$rpcServer->setDebug(2);
$rpcServer->allow_system_funcs = false;
$rpcServer->compress_response = 'false';
$rpcServer->response_charset_encoding = 'UTF-8';
$response = $rpcServer->service();
ini_restore('log_errors');
exit;
"
                                   data-invoice-payment-method="<?php 
    echo $doc->payment_method;
    ?>
">
                                    <i class="fa fa-money fa-margin"></i> <?php 
    echo lang('enter_payment');
    ?>
                                </a>
                            </li>
                            <?php 
    if ($doc->invoice_status_id == 1 || $this->config->item('enable_invoice_deletion') === TRUE && $doc->is_read_only != 1) {
        ?>
                                <li>
                                    <a href="<?php 
        echo site_url('invoices/delete/' . $doc->{get_method_name('id')});
        ?>
" onclick="return confirm('<?php 
        echo lang('delete_invoice_warning');
        ?>
');">
                                        <i class="fa fa-trash-o fa-margin"></i> <?php 
        echo lang('delete');
        ?>
                                    </a>
                                </li>
                            <?php 
    }
    ?>
                        </ul>
                    </div>