|
@@ -26,6 +26,7 @@ require("../../init.php");
|
|
|
|
|
|
|
|
$whmcs = App::self();
|
|
$whmcs = App::self();
|
|
|
$pid = (int) $whmcs->get_req_var('pid');
|
|
$pid = (int) $whmcs->get_req_var('pid');
|
|
|
|
|
+$id = (int) $whmcs->get_req_var('id');
|
|
|
$get = $whmcs->get_req_var('get');
|
|
$get = $whmcs->get_req_var('get');
|
|
|
$language = $whmcs->get_req_var('language') ?: null;
|
|
$language = $whmcs->get_req_var('language') ?: null;
|
|
|
$data = array();
|
|
$data = array();
|
|
@@ -63,7 +64,7 @@ $configOptions = Capsule::table('tblproductconfigoptions')
|
|
|
$ressource = new ResourceManager();
|
|
$ressource = new ResourceManager();
|
|
|
|
|
|
|
|
print_r($_GET);
|
|
print_r($_GET);
|
|
|
-widgetOutput($pid);
|
|
|
|
|
|
|
+widgetOutput($ressource->vcpus()->getUsed());
|
|
|
|
|
|
|
|
function widgetOutput($value) {
|
|
function widgetOutput($value) {
|
|
|
echo "document.write('".addslashes($value)."');";
|
|
echo "document.write('".addslashes($value)."');";
|