usedSpace / 1000000, 2);
$total_space = $quotas->space / 1000000;
echo "
".get_lang('compilatioDescription')."
";
echo ""
.get_lang('compilatioQuota')
.":"
."
"
.get_lang('compilatioCredit')
.": "
.$quotas->usedCredits
.get_lang('compilatioOn')
.$quotas->credits;
?>
";
echo "1) ".get_lang('compilatioServerConnection')."
";
$compilatio = new Compilatio();
if ($compilatio) {
echo get_lang('compilatioConnectionAccomplished')."
";
echo "2) ".get_lang('compilatioSendTextToServer')."
";
$text = get_lang('compilatioTestSendText').$compilatio->getKey();
$id_compi = $compilatio->SendDoc(
'Doc de test',
'test',
'test',
'text/plain',
$text
);
if (Compilatio::isMd5($id_compi)) {
echo get_lang('compilatioSuccessfulTransfer')."
";
} else {
echo get_lang('compilatioFailedTransfer')."
";
}
} else {
echo get_lang('compilatioNotConnection')."
";
echo get_lang('compilatioParamVerification')."
";
}
}
?>