| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /tmp/ispconfig3_install/interface/web/mailuser/ |
Upload File : |
<?php
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mailuser');
$app->uses('tpl');
$app->tpl->newTemplate('form.tpl.htm');
$app->tpl->setInclude('content_tpl', 'templates/index.htm');
$msg = '';
$error = '';
//* load language file
$lng_file = 'lib/lang/'.$app->functions->check_language($_SESSION['s']['language']).'_index.lng';
include $lng_file;
$app->tpl->setVar($wb);
$sql = "SELECT * FROM mail_user WHERE mailuser_id = ?";
$rec = $app->db->queryOneRecord($sql, $_SESSION['s']['user']['mailuser_id']);
if($rec['quota'] == 0) {
$rec['quota'] = $wb['unlimited_txt'];
} else {
$rec['quota'] = ($rec['quota'] / 1024 / 1024).' '.$wb['mb_txt'];
}
if($rec['cc'] == '') $rec['cc'] = $wb['none_txt'];
$rec['email'] = $app->functions->idn_decode($rec['email']);
$rec['login'] = $app->functions->idn_decode($rec['login']);
$app->tpl->setVar($rec);
$sql2 = "SELECT * FROM server WHERE server_id = ?";
$rec2 = $app->db->queryOneRecord($sql2, $rec['server_id']);
$app->tpl->setVar($rec2);
$app->tpl->setVar('msg', $msg);
$app->tpl->setVar('error', $error);
if(isset($_SESSION['show_info_msg'])) {
$app->tpl->setVar('show_info_msg', $_SESSION['show_info_msg']);
unset($_SESSION['show_info_msg']);
}
if(isset($_SESSION['show_error_msg'])) {
$app->tpl->setVar('show_error_msg', $_SESSION['show_error_msg']);
unset($_SESSION['show_error_msg']);
}
$app->tpl_defaults();
$app->tpl->pparse();
?>