function _xSystemTradesEditShow($message = null) { require_once 'dirdb.php'; $db = new SystemDB(); $data = $db->Retrieve($_REQUEST['domain']); JSON::Success(array(JSON_KEY_MESSAGE => $message, JSON_KEY_DIALOG => _xIncludeCapture('system-trades-edit.php', $data))); }