From baad48a87dc1deb97a1486613ba74e364aa7bb78 Mon Sep 17 00:00:00 2001 From: ZonD80 Date: Sat, 19 Jan 2013 23:57:58 +0400 Subject: [PATCH] Replaced CRLF by LF again --- web/login/index.php | 102 ++-- web/logout/index.php | 26 +- web/reset/index.php | 166 +++--- web/reset/mail/index.php | 290 +++++----- web/restart/service/index.php | 44 +- web/start/service/index.php | 44 +- web/stop/service/index.php | 44 +- web/suspend/cron/index.php | 64 +-- web/suspend/db/index.php | 68 +-- web/suspend/dns/index.php | 126 ++-- web/suspend/mail/index.php | 122 ++-- web/suspend/user/index.php | 60 +- web/suspend/web/index.php | 66 +-- web/templates/admin/add_cron.html | 230 ++++---- web/templates/admin/add_db.html | 368 ++++++------ web/templates/admin/add_dns.html | 330 +++++------ web/templates/admin/add_dns_rec.html | 236 ++++---- web/templates/admin/add_ip.html | 296 +++++----- web/templates/admin/add_mail.html | 190 +++--- web/templates/admin/add_mail_acc.html | 294 +++++----- web/templates/admin/add_package.html | 492 ++++++++-------- web/templates/admin/add_user.html | 298 +++++----- web/templates/admin/add_web.html | 764 ++++++++++++------------- web/templates/admin/edit_cron.html | 236 ++++---- web/templates/admin/edit_db.html | 274 ++++----- web/templates/admin/edit_dns.html | 254 ++++---- web/templates/admin/edit_dns_rec.html | 214 +++---- web/templates/admin/edit_ip.html | 272 ++++----- web/templates/admin/edit_mail.html | 212 +++---- web/templates/admin/edit_mail_acc.html | 310 +++++----- web/templates/admin/edit_package.html | 494 ++++++++-------- web/templates/admin/edit_user.html | 414 +++++++------- web/templates/admin/edit_web.html | 702 +++++++++++------------ web/templates/admin/list_backup.html | 386 ++++++------- web/templates/admin/list_cron.html | 362 ++++++------ web/templates/admin/list_db.html | 322 +++++------ web/templates/admin/list_dns.html | 292 +++++----- web/templates/admin/list_dns_rec.html | 230 ++++---- web/templates/admin/list_ip.html | 274 ++++----- web/templates/admin/list_log.html | 142 ++--- web/templates/admin/list_mail.html | 346 +++++------ web/templates/admin/list_mail_acc.html | 324 +++++------ web/templates/admin/list_packages.html | 434 +++++++------- web/templates/admin/list_search.html | 436 +++++++------- web/templates/admin/list_services.html | 304 +++++----- web/templates/admin/list_user.html | 500 ++++++++-------- web/templates/admin/list_web.html | 414 +++++++------- web/templates/admin/panel.html | 224 ++++---- web/templates/footer.html | 28 +- web/templates/login.html | 118 ++-- web/templates/reset_1.html | 104 ++-- web/templates/reset_2.html | 102 ++-- web/templates/reset_3.html | 126 ++-- web/templates/user/add_dns.html | 282 ++++----- web/templates/user/add_web.html | 744 ++++++++++++------------ web/templates/user/edit_dns.html | 212 +++---- web/templates/user/edit_user.html | 246 ++++---- web/templates/user/edit_web.html | 660 ++++++++++----------- web/templates/user/list_cron.html | 342 +++++------ web/templates/user/list_db.html | 302 +++++----- web/templates/user/list_dns.html | 272 ++++----- web/templates/user/list_dns_rec.html | 210 +++---- web/templates/user/list_mail.html | 326 +++++------ web/templates/user/list_mail_acc.html | 304 +++++----- web/templates/user/list_search.html | 342 +++++------ web/templates/user/list_stats.html | 406 ++++++------- web/templates/user/list_user.html | 392 ++++++------- web/templates/user/list_web.html | 388 ++++++------- web/templates/user/panel.html | 228 ++++---- web/unsuspend/cron/index.php | 64 +-- web/unsuspend/dns/index.php | 124 ++-- web/unsuspend/mail/index.php | 120 ++-- web/unsuspend/user/index.php | 56 +- web/unsuspend/web/index.php | 62 +- 74 files changed, 9826 insertions(+), 9826 deletions(-) diff --git a/web/login/index.php b/web/login/index.php index 941e757a..7d458919 100644 --- a/web/login/index.php +++ b/web/login/index.php @@ -1,51 +1,51 @@ - 0 ) { - $ERROR = ""._('ERROR: Invalid username or password').""; - } else { - $_SESSION['user'] = $_POST['user']; - if ($_POST['user'] == 'root') $_SESSION['user'] = 'admin'; - if (!empty($_SESSION['request_uri'])) { - header("Location: ".$_SESSION['request_uri']); - unset($_SESSION['request_uri']); - exit; - } else { - header("Location: /"); - exit; - } - } - } - require_once '../templates/header.html'; - require_once '../templates/login.html'; -} -?> + 0 ) { + $ERROR = ""._('ERROR: Invalid username or password').""; + } else { + $_SESSION['user'] = $_POST['user']; + if ($_POST['user'] == 'root') $_SESSION['user'] = 'admin'; + if (!empty($_SESSION['request_uri'])) { + header("Location: ".$_SESSION['request_uri']); + unset($_SESSION['request_uri']); + exit; + } else { + header("Location: /"); + exit; + } + } + } + require_once '../templates/header.html'; + require_once '../templates/login.html'; +} +?> diff --git a/web/logout/index.php b/web/logout/index.php index 13920652..51c89198 100644 --- a/web/logout/index.php +++ b/web/logout/index.php @@ -1,13 +1,13 @@ - + diff --git a/web/reset/index.php b/web/reset/index.php index 158b939c..4ba203f9 100644 --- a/web/reset/index.php +++ b/web/reset/index.php @@ -1,83 +1,83 @@ - 0 ) { - $ERROR = ""._('An internal error occurred').""; - } else { - $_SESSION['user'] = $_POST['user']; - header("Location: /"); - exit; - } - } else { - $ERROR = ""._('ERROR: Invalid username or code').""; - } - } else { - $ERROR = ""._('ERROR: Invalid username or code').""; - } - } else { - $ERROR = ""._('ERROR: Passwords not match').""; - } -} - -require_once '../templates/header.html'; -if (empty($_GET['action'])) { - require_once '../templates/reset_1.html'; -} else { - if ($_GET['action'] == 'code' ) { - require_once '../templates/reset_2.html'; - } - if (($_GET['action'] == 'confirm' ) && (!empty($_GET['code']))) { - require_once '../templates/reset_3.html'; - } -} - -?> + 0 ) { + $ERROR = ""._('An internal error occurred').""; + } else { + $_SESSION['user'] = $_POST['user']; + header("Location: /"); + exit; + } + } else { + $ERROR = ""._('ERROR: Invalid username or code').""; + } + } else { + $ERROR = ""._('ERROR: Invalid username or code').""; + } + } else { + $ERROR = ""._('ERROR: Passwords not match').""; + } +} + +require_once '../templates/header.html'; +if (empty($_GET['action'])) { + require_once '../templates/reset_1.html'; +} else { + if ($_GET['action'] == 'code' ) { + require_once '../templates/reset_2.html'; + } + if (($_GET['action'] == 'confirm' ) && (!empty($_GET['code']))) { + require_once '../templates/reset_3.html'; + } +} + +?> diff --git a/web/reset/mail/index.php b/web/reset/mail/index.php index 3e68435c..b49700c6 100644 --- a/web/reset/mail/index.php +++ b/web/reset/mail/index.php @@ -1,145 +1,145 @@ -0; $i-=16) - { - if ($i > 16) - { - $ctx .= substr ($final,0,16); - } - else - { - $ctx .= substr ($final,0,$i); - } - } - $i = strlen ($pw); - - while ($i > 0) - { - if ($i & 1) $ctx .= chr (0); - else $ctx .= $pw[0]; - $i = $i >> 1; - } - $final = hex2bin (md5 ($ctx)); - - for ($i=0;$i<1000;$i++) - { - $ctx1 = ""; - if ($i & 1) - { - $ctx1 .= $pw; - } - else - { - $ctx1 .= substr ($final,0,16); - } - if ($i % 3) $ctx1 .= $salt; - if ($i % 7) $ctx1 .= $pw; - if ($i & 1) - { - $ctx1 .= substr ($final,0,16); - } - else - { - $ctx1 .= $pw; - } - $final = hex2bin (md5 ($ctx1)); - } - $passwd = ""; - $passwd .= to64 (((ord ($final[0]) << 16) | (ord ($final[6]) << 8) | (ord ($final[12]))), 4); - $passwd .= to64 (((ord ($final[1]) << 16) | (ord ($final[7]) << 8) | (ord ($final[13]))), 4); - $passwd .= to64 (((ord ($final[2]) << 16) | (ord ($final[8]) << 8) | (ord ($final[14]))), 4); - $passwd .= to64 (((ord ($final[3]) << 16) | (ord ($final[9]) << 8) | (ord ($final[15]))), 4); - $passwd .= to64 (((ord ($final[4]) << 16) | (ord ($final[10]) << 8) | (ord ($final[5]))), 4); - $passwd .= to64 (ord ($final[11]), 2); - return "$magic$salt\$$passwd"; -} - - -// -// sourceforge.net/projects/postfixadmin/ -// to64 -// - -function to64 ($v, $n) -{ - $ITOA64 = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; - $ret = ""; - while (($n - 1) >= 0) - { - $n--; - $ret .= $ITOA64[$v & 0x3f]; - $v = $v >> 6; - } - return $ret; -} - - -// Check arguments -if ((!empty($_POST['email'])) && (!empty($_POST['password'])) && (!empty($_POST['new']))) { - list($v_account, $v_domain) = explode('@', $_POST['email']); - $v_domain = escapeshellarg($v_domain); - $v_account = escapeshellarg($v_account); - $password = $_POST['password']; - $new = escapeshellarg($_POST['new']); - - // Get domain owner - exec (VESTA_CMD."v-search-domain-owner ".$v_domain." 'mail'", $output, $return_var); - if ($return_var == 0) { - $v_user = $output[0]; - } - unset($output); - - // Get current md5 hash - if (!empty($v_user)) { - exec (VESTA_CMD."v-get-mail-account-value '".$v_user."' ".$v_domain." ".$v_account." 'md5'", $output, $return_var); - if ($return_var == 0) { - $v_hash = $output[0]; - } - } - unset($output); - - // Compare hashes - if (!empty($v_hash)) { - $salt = explode('$', $v_hash); - $n_hash = md5crypt($password, $salt[2]); - $n_hash = '{MD5}'.$n_hash; - - // Change password - if ( $v_hash == $n_hash ) { - exec (VESTA_CMD."v-change-mail-account-password '".$v_user."' ".$v_domain." ".$v_account." ".$new, $output, $return_var); - if ($return_var == 0) { - echo "ok"; - exit; - } - } - } -} - -echo 'error'; - -exit; +0; $i-=16) + { + if ($i > 16) + { + $ctx .= substr ($final,0,16); + } + else + { + $ctx .= substr ($final,0,$i); + } + } + $i = strlen ($pw); + + while ($i > 0) + { + if ($i & 1) $ctx .= chr (0); + else $ctx .= $pw[0]; + $i = $i >> 1; + } + $final = hex2bin (md5 ($ctx)); + + for ($i=0;$i<1000;$i++) + { + $ctx1 = ""; + if ($i & 1) + { + $ctx1 .= $pw; + } + else + { + $ctx1 .= substr ($final,0,16); + } + if ($i % 3) $ctx1 .= $salt; + if ($i % 7) $ctx1 .= $pw; + if ($i & 1) + { + $ctx1 .= substr ($final,0,16); + } + else + { + $ctx1 .= $pw; + } + $final = hex2bin (md5 ($ctx1)); + } + $passwd = ""; + $passwd .= to64 (((ord ($final[0]) << 16) | (ord ($final[6]) << 8) | (ord ($final[12]))), 4); + $passwd .= to64 (((ord ($final[1]) << 16) | (ord ($final[7]) << 8) | (ord ($final[13]))), 4); + $passwd .= to64 (((ord ($final[2]) << 16) | (ord ($final[8]) << 8) | (ord ($final[14]))), 4); + $passwd .= to64 (((ord ($final[3]) << 16) | (ord ($final[9]) << 8) | (ord ($final[15]))), 4); + $passwd .= to64 (((ord ($final[4]) << 16) | (ord ($final[10]) << 8) | (ord ($final[5]))), 4); + $passwd .= to64 (ord ($final[11]), 2); + return "$magic$salt\$$passwd"; +} + + +// +// sourceforge.net/projects/postfixadmin/ +// to64 +// + +function to64 ($v, $n) +{ + $ITOA64 = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; + $ret = ""; + while (($n - 1) >= 0) + { + $n--; + $ret .= $ITOA64[$v & 0x3f]; + $v = $v >> 6; + } + return $ret; +} + + +// Check arguments +if ((!empty($_POST['email'])) && (!empty($_POST['password'])) && (!empty($_POST['new']))) { + list($v_account, $v_domain) = explode('@', $_POST['email']); + $v_domain = escapeshellarg($v_domain); + $v_account = escapeshellarg($v_account); + $password = $_POST['password']; + $new = escapeshellarg($_POST['new']); + + // Get domain owner + exec (VESTA_CMD."v-search-domain-owner ".$v_domain." 'mail'", $output, $return_var); + if ($return_var == 0) { + $v_user = $output[0]; + } + unset($output); + + // Get current md5 hash + if (!empty($v_user)) { + exec (VESTA_CMD."v-get-mail-account-value '".$v_user."' ".$v_domain." ".$v_account." 'md5'", $output, $return_var); + if ($return_var == 0) { + $v_hash = $output[0]; + } + } + unset($output); + + // Compare hashes + if (!empty($v_hash)) { + $salt = explode('$', $v_hash); + $n_hash = md5crypt($password, $salt[2]); + $n_hash = '{MD5}'.$n_hash; + + // Change password + if ( $v_hash == $n_hash ) { + exec (VESTA_CMD."v-change-mail-account-password '".$v_user."' ".$v_domain." ".$v_account." ".$new, $output, $return_var); + if ($return_var == 0) { + echo "ok"; + exit; + } + } + } +} + +echo 'error'; + +exit; diff --git a/web/restart/service/index.php b/web/restart/service/index.php index b75264b9..3261e631 100644 --- a/web/restart/service/index.php +++ b/web/restart/service/index.php @@ -1,22 +1,22 @@ -', $output); - if (empty($error)) $error = _('SERVICE_ACTION_FAILED',_('restart'),$v_service); - $_SESSION['error_srv'] = $error; - } - unset($output); -} - -header("Location: /list/services/"); -exit; +', $output); + if (empty($error)) $error = _('SERVICE_ACTION_FAILED',_('restart'),$v_service); + $_SESSION['error_srv'] = $error; + } + unset($output); +} + +header("Location: /list/services/"); +exit; diff --git a/web/start/service/index.php b/web/start/service/index.php index 065713bd..4d68a2d8 100644 --- a/web/start/service/index.php +++ b/web/start/service/index.php @@ -1,22 +1,22 @@ -', $output); - if (empty($error)) $error = _('SERVICE_ACTION_FAILED',_('start'),$v_service);; - $_SESSION['error_srv'] = $error; - } - unset($output); -} - -header("Location: /list/services/"); -exit; +', $output); + if (empty($error)) $error = _('SERVICE_ACTION_FAILED',_('start'),$v_service);; + $_SESSION['error_srv'] = $error; + } + unset($output); +} + +header("Location: /list/services/"); +exit; diff --git a/web/stop/service/index.php b/web/stop/service/index.php index a9ef8512..70f3a90c 100644 --- a/web/stop/service/index.php +++ b/web/stop/service/index.php @@ -1,22 +1,22 @@ -', $output); - if (empty($error)) $error = _('SERVICE_ACTION_FAILED',_('stop'),$v_service); - $_SESSION['error_srv'] = $error; - } - unset($output); -} - -header("Location: /list/services/"); -exit; +', $output); + if (empty($error)) $error = _('SERVICE_ACTION_FAILED',_('stop'),$v_service); + $_SESSION['error_srv'] = $error; + } + unset($output); +} + +header("Location: /list/services/"); +exit; diff --git a/web/suspend/cron/index.php b/web/suspend/cron/index.php index 6c9c68a2..c8539bca 100644 --- a/web/suspend/cron/index.php +++ b/web/suspend/cron/index.php @@ -1,32 +1,32 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); -} - -$back = $_SESSION['back']; -if (!empty($back)) { - header("Location: ".$back); - exit; -} - -header("Location: /list/cron/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); +} + +$back = $_SESSION['back']; +if (!empty($back)) { + header("Location: ".$back); + exit; +} + +header("Location: /list/cron/"); +exit; diff --git a/web/suspend/db/index.php b/web/suspend/db/index.php index 320c89d3..c135829b 100644 --- a/web/suspend/db/index.php +++ b/web/suspend/db/index.php @@ -1,34 +1,34 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - -} - -$back = $_SESSION['back']; -if (!empty($back)) { - header("Location: ".$back); - exit; -} - -header("Location: /list/db/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + +} + +$back = $_SESSION['back']; +if (!empty($back)) { + header("Location: ".$back); + exit; +} + +header("Location: /list/db/"); +exit; diff --git a/web/suspend/dns/index.php b/web/suspend/dns/index.php index e907f609..726d6ff2 100644 --- a/web/suspend/dns/index.php +++ b/web/suspend/dns/index.php @@ -1,63 +1,63 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - $back = $_SESSION['back']; - if (!empty($back)) { - header("Location: ".$back); - exit; - } - header("Location: /list/dns/"); - exit; - } - - // DNS record - if ((!empty($_GET['domain'])) && (!empty($_GET['record_id']))) { - $v_username = escapeshellarg($user); - $v_domain = escapeshellarg($_GET['domain']); - $v_record_id = escapeshellarg($_GET['record_id']); - exec (VESTA_CMD."v-suspend-dns-domain-record ".$v_username." ".$v_domain." ".$v_record_id, $output, $return_var); - if ($return_var != 0) { - $error = implode('
', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - $back = $_SESSION['back']; - if (!empty($back)) { - header("Location: ".$back); - exit; - } - header("Location: /list/dns/?domain=".$_GET['domain']); - exit; - - } - -} -$back = $_SESSION['back']; -if (!empty($back)) { - header("Location: ".$back); - exit; -} - -header("Location: /list/dns/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + $back = $_SESSION['back']; + if (!empty($back)) { + header("Location: ".$back); + exit; + } + header("Location: /list/dns/"); + exit; + } + + // DNS record + if ((!empty($_GET['domain'])) && (!empty($_GET['record_id']))) { + $v_username = escapeshellarg($user); + $v_domain = escapeshellarg($_GET['domain']); + $v_record_id = escapeshellarg($_GET['record_id']); + exec (VESTA_CMD."v-suspend-dns-domain-record ".$v_username." ".$v_domain." ".$v_record_id, $output, $return_var); + if ($return_var != 0) { + $error = implode('
', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + $back = $_SESSION['back']; + if (!empty($back)) { + header("Location: ".$back); + exit; + } + header("Location: /list/dns/?domain=".$_GET['domain']); + exit; + + } + +} +$back = $_SESSION['back']; +if (!empty($back)) { + header("Location: ".$back); + exit; +} + +header("Location: /list/dns/"); +exit; diff --git a/web/suspend/mail/index.php b/web/suspend/mail/index.php index a9a99632..b80cf8d9 100644 --- a/web/suspend/mail/index.php +++ b/web/suspend/mail/index.php @@ -1,61 +1,61 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - $back=getenv("HTTP_REFERER"); - if (!empty($back)) { - header("Location: ".$back); - exit; - } - header("Location: /list/mail/"); - exit; - } - - // Mail account - if ((!empty($_GET['domain'])) && (!empty($_GET['account']))) { - $v_username = escapeshellarg($user); - $v_domain = escapeshellarg($_GET['domain']); - $v_account = escapeshellarg($_GET['account']); - exec (VESTA_CMD."v-suspend-mail-account ".$v_username." ".$v_domain." ".$v_account, $output, $return_var); - if ($return_var != 0) { - $error = implode('
', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - $back = $_SESSION['back']; - if (!empty($back)) { - header("Location: ".$back); - exit; - } - header("Location: /list/mail/?domain=".$_GET['domain']); - exit; - } -} - -$back = $_SESSION['back']; -if (!empty($back)) { - header("Location: ".$back); - exit; -} -header("Location: /list/mail/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + $back=getenv("HTTP_REFERER"); + if (!empty($back)) { + header("Location: ".$back); + exit; + } + header("Location: /list/mail/"); + exit; + } + + // Mail account + if ((!empty($_GET['domain'])) && (!empty($_GET['account']))) { + $v_username = escapeshellarg($user); + $v_domain = escapeshellarg($_GET['domain']); + $v_account = escapeshellarg($_GET['account']); + exec (VESTA_CMD."v-suspend-mail-account ".$v_username." ".$v_domain." ".$v_account, $output, $return_var); + if ($return_var != 0) { + $error = implode('
', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + $back = $_SESSION['back']; + if (!empty($back)) { + header("Location: ".$back); + exit; + } + header("Location: /list/mail/?domain=".$_GET['domain']); + exit; + } +} + +$back = $_SESSION['back']; +if (!empty($back)) { + header("Location: ".$back); + exit; +} +header("Location: /list/mail/"); +exit; diff --git a/web/suspend/user/index.php b/web/suspend/user/index.php index 9f4bd86a..5d552a05 100644 --- a/web/suspend/user/index.php +++ b/web/suspend/user/index.php @@ -1,30 +1,30 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - -} - -$back = $_SESSION['back']; -if (!empty($back)) { - header("Location: ".$back); - exit; -} - -header("Location: /list/user/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + +} + +$back = $_SESSION['back']; +if (!empty($back)) { + header("Location: ".$back); + exit; +} + +header("Location: /list/user/"); +exit; diff --git a/web/suspend/web/index.php b/web/suspend/web/index.php index 36ab7d0b..b6204890 100644 --- a/web/suspend/web/index.php +++ b/web/suspend/web/index.php @@ -1,33 +1,33 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); -} - -$back = $_SESSION['back']; -if (!empty($back)) { - header("Location: ".$back); - exit; -} - -header("Location: /list/web/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); +} + +$back = $_SESSION['back']; +if (!empty($back)) { + header("Location: ".$back); + exit; +} + +header("Location: /list/web/"); +exit; diff --git a/web/templates/admin/add_cron.html b/web/templates/admin/add_cron.html index 05287e27..69e04a72 100644 --- a/web/templates/admin/add_cron.html +++ b/web/templates/admin/add_cron.html @@ -1,115 +1,115 @@ - - - - - - - - - - - - -
- - - - - -
- - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - -
- - -
- - -
- - -
- > -
- - -
-
-
+ + + + + + + + + + + + +
+ + + + + +
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ > +
+ + +
+
+
diff --git a/web/templates/admin/add_db.html b/web/templates/admin/add_db.html index 9ffd7843..bba9bb60 100644 --- a/web/templates/admin/add_db.html +++ b/web/templates/admin/add_db.html @@ -1,184 +1,184 @@ - - - - - - - - - - - -
- - - - - - - -
- - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - -
- - -
- -
- -
- -
- -
- -
- -
- > -
- - -
-
-
+ + + + + + + + + + + +
+ + + + + + + +
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ > +
+ + +
+
+
diff --git a/web/templates/admin/add_dns.html b/web/templates/admin/add_dns.html index 9c436e85..c51afa6c 100644 --- a/web/templates/admin/add_dns.html +++ b/web/templates/admin/add_dns.html @@ -1,165 +1,165 @@ - - - - - - - - - - - - -
- - - - - - + +
- - -
-
- - - - -
- - - - - - - - - - - - - -
- -
- - -
- - -
- - - - - - - - - - - - - - - - - - - -
- -
- -
- () -
- - TTL -
- - -
- - - -
-
- + + + + + + + + +
+ +
+ + + + + + - -
+ + +
+
+ + + + +
+ + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ () +
+ + TTL +
+ + +
+ + + +
+
+ diff --git a/web/templates/admin/add_dns_rec.html b/web/templates/admin/add_dns_rec.html index df1414cc..5ff6b6b0 100644 --- a/web/templates/admin/add_dns_rec.html +++ b/web/templates/admin/add_dns_rec.html @@ -1,118 +1,118 @@ - - - - - - - - -
- -
- - - - - -
- - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - -
- -
- -
- - () -
- - - -
-
-
+ + + + + + + + + + + + +
+ + + + + +
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ +
+ +
+ + () +
+ + + +
+
+
diff --git a/web/templates/admin/add_ip.html b/web/templates/admin/add_ip.html index 95aefc5e..2aaa6fa7 100644 --- a/web/templates/admin/add_ip.html +++ b/web/templates/admin/add_ip.html @@ -1,148 +1,148 @@ - - - - - - - - - - - - -
- - - - - - - -
- - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- IP -
- - -
- - -
- -
- -
- onclick="javascript:elementHideShow('usrtable');"> -
- - - - - - - -
- -
- -
-
- () -
- - - -
-
- + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ IP +
+ + +
+ + +
+ +
+ +
+ onclick="javascript:elementHideShow('usrtable');"> +
+ + + + + + + +
+ +
+ +
+
+ () +
+ + + +
+
+ diff --git a/web/templates/admin/add_mail.html b/web/templates/admin/add_mail.html index 68583f68..0b9cc044 100644 --- a/web/templates/admin/add_mail.html +++ b/web/templates/admin/add_mail.html @@ -1,95 +1,95 @@ - - - - - - - - - - - - - - - - - - -
- - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- > -
- -
- > -
- -
- > -
- - -
-
-
+ + + + + + + + + + + + +
+ + + + + +
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ > +
+ +
+ > +
+ +
+ > +
+ + +
+
+
diff --git a/web/templates/admin/add_mail_acc.html b/web/templates/admin/add_mail_acc.html index e50dadba..c70bd027 100644 --- a/web/templates/admin/add_mail_acc.html +++ b/web/templates/admin/add_mail_acc.html @@ -1,147 +1,147 @@ - - - - - - - - - - - - -
- - - - - - - -
- - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - -
- -
- -
- - - - - - - - - - - - - - - - -
- () -
- - () -
- -
- () -
- -
-
- - -
-
-
+ + + + + + + + + + + + +
+ + + + + + + +
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ +
+ +
+ + + + + + + + + + + + + + + + +
+ () +
+ + () +
+ +
+ () +
+ +
+
+ + +
+
+
diff --git a/web/templates/admin/add_package.html b/web/templates/admin/add_package.html index 58fbea99..ca627c93 100644 --- a/web/templates/admin/add_package.html +++ b/web/templates/admin/add_package.html @@ -1,246 +1,246 @@ - - - - - - - - - - - - -
- - - - - -
- - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -
- -
- -
- -
- - () -
- - -
- - () -
- - -
- - () -
- - -
- - -
- - -
- - () -
- - () -
- - -
- - - -
-
-
+ + + + + + + + + + + + +
+ + + + + +
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+ +
+ +
+ +
+ + () +
+ + +
+ + () +
+ + +
+ + () +
+ + +
+ + +
+ + +
+ + () +
+ + () +
+ + +
+ + + +
+
+
diff --git a/web/templates/admin/add_user.html b/web/templates/admin/add_user.html index 358650a7..da339895 100644 --- a/web/templates/admin/add_user.html +++ b/web/templates/admin/add_user.html @@ -1,149 +1,149 @@ - - - - - - - - - - - - -
- - - - - - - -
- - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - -
- - -
- -
- -
- - -
- - -
- > -
- - -
-
-
+ + + + + + + + + + + + +
+ + + + + + + +
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ + +
+ +
+ +
+ + +
+ + +
+ > +
+ + +
+
+
diff --git a/web/templates/admin/add_web.html b/web/templates/admin/add_web.html index 37ee76eb..78d2fb36 100644 --- a/web/templates/admin/add_web.html +++ b/web/templates/admin/add_web.html @@ -1,382 +1,382 @@ - - - - - - - - - - - - -
- - - - - - + +
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -
- -
- > -
- -
- > -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- -
- -
- onclick="javascript:elementHideShow('nginxtable');"> -
- - - - - - - -
- -
- -
-
- -
- onclick="javascript:elementHideShow('ssltable');"> -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- -
- -
- -
- () -
- -
-
- -
- -
- -
- onclick="javascript:elementHideShow('statstable');"> -
- - - - - - - - - - -
- -
- - -
- -
-
- -
- onclick="javascript:elementHideShow('ftptable');"> -
- - - - - - - - - - - - - - -
-
- -
- - -
- - -
- -
- - -
-
- + + + + + + + + +
+ +
+ + + + + + - -
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+ +
+ > +
+ +
+ > +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ onclick="javascript:elementHideShow('nginxtable');"> +
+ + + + + + + +
+ +
+ +
+
+ +
+ onclick="javascript:elementHideShow('ssltable');"> +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ () +
+ +
+
+ +
+ +
+ +
+ onclick="javascript:elementHideShow('statstable');"> +
+ + + + + + + + + + +
+ +
+ + +
+ +
+
+ +
+ onclick="javascript:elementHideShow('ftptable');"> +
+ + + + + + + + + + + + + + +
+
+ +
+ + +
+ + +
+ +
+ + +
+
+ diff --git a/web/templates/admin/edit_cron.html b/web/templates/admin/edit_cron.html index 1abcb713..d01ee86f 100644 --- a/web/templates/admin/edit_cron.html +++ b/web/templates/admin/edit_cron.html @@ -1,118 +1,118 @@ - - - - - - - - -
- -
- - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - -
- - -
- - -
- - -
- > -
- - -
-
-
+ + + + + + + + + + + + +
+ + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ > +
+ + +
+
+
diff --git a/web/templates/admin/edit_db.html b/web/templates/admin/edit_db.html index 491c23d0..4b45ae52 100644 --- a/web/templates/admin/edit_db.html +++ b/web/templates/admin/edit_db.html @@ -1,137 +1,137 @@ - - - - - - - - - - - -
- - - - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - -
- - -
- - -
- - -
- - - -
-
-
+ + + + + + + + + + + +
+ + + + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + + +
+
+
diff --git a/web/templates/admin/edit_dns.html b/web/templates/admin/edit_dns.html index 191d3188..767ad47e 100644 --- a/web/templates/admin/edit_dns.html +++ b/web/templates/admin/edit_dns.html @@ -1,127 +1,127 @@ - - - - - - - - - - - -
- - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - -
- -
- () -
- - SOA -
- - TTL -
- - - -
-
-
+ + + + + + + + + + + +
+ + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ +
+ () +
+ + SOA +
+ + TTL +
+ + + +
+
+
diff --git a/web/templates/admin/edit_dns_rec.html b/web/templates/admin/edit_dns_rec.html index c65e54fc..ccf9302c 100644 --- a/web/templates/admin/edit_dns_rec.html +++ b/web/templates/admin/edit_dns_rec.html @@ -1,107 +1,107 @@ - - - - - - - - - - - -
- - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - -
- - -
- > -
- () -
- - - -
-
-
+ + + + + + + + + + + +
+ + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ + +
+ > +
+ () +
+ + + +
+
+
diff --git a/web/templates/admin/edit_ip.html b/web/templates/admin/edit_ip.html index 0dfb4b5f..905817b3 100644 --- a/web/templates/admin/edit_ip.html +++ b/web/templates/admin/edit_ip.html @@ -1,136 +1,136 @@ - - - - - - - - - - - -
- - - - - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- IP -
- - -
- - -
- - -
- -
- -
- -
- () -
- - - -
-
-
+ + + + + + + + + + + +
+ + + + + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ IP +
+ + +
+ + +
+ + +
+ +
+ +
+ +
+ () +
+ + + +
+
+
diff --git a/web/templates/admin/edit_mail.html b/web/templates/admin/edit_mail.html index 9a1c4048..f9995ffa 100644 --- a/web/templates/admin/edit_mail.html +++ b/web/templates/admin/edit_mail.html @@ -1,106 +1,106 @@ - - - - - - - - - - - -
- - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- > -
- -
- > -
- -
- > -
- -
- - - -
-
-
+ + + + + + + + + + + +
+ + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ > +
+ +
+ > +
+ +
+ > +
+ +
+ + + +
+
+
diff --git a/web/templates/admin/edit_mail_acc.html b/web/templates/admin/edit_mail_acc.html index 45018840..4c0cb18f 100644 --- a/web/templates/admin/edit_mail_acc.html +++ b/web/templates/admin/edit_mail_acc.html @@ -1,155 +1,155 @@ - - - - - - - - - - - -
- - - - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- disabled > - - -
- - () -
- > -
- () -
- -
- () -
- -
- -
- onclick="javascript:elementHideShow('autoreplytable');"> -
- - - - - - - -
- -
- -
-
- - -
-
-
+ + + + + + + + + + + +
+ + + + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ disabled > + + +
+ + () +
+ > +
+ () +
+ +
+ () +
+ +
+ +
+ onclick="javascript:elementHideShow('autoreplytable');"> +
+ + + + + + + +
+ +
+ +
+
+ + +
+
+
diff --git a/web/templates/admin/edit_package.html b/web/templates/admin/edit_package.html index 7421d733..a28a6ae5 100644 --- a/web/templates/admin/edit_package.html +++ b/web/templates/admin/edit_package.html @@ -1,247 +1,247 @@ - - - - - - - - - - - -
- - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -
- -
- -
- -
- - () -
- - -
- - () -
- - -
- - () -
- - -
- - -
- - -
- - () -
- - () -
- - -
- - - -
-
-
+ + + + + + + + + + + +
+ + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+ +
+ +
+ +
+ + () +
+ + +
+ + () +
+ + +
+ + () +
+ + +
+ + +
+ + +
+ + () +
+ + () +
+ + +
+ + + +
+
+
diff --git a/web/templates/admin/edit_user.html b/web/templates/admin/edit_user.html index cd6c342c..383026b1 100644 --- a/web/templates/admin/edit_user.html +++ b/web/templates/admin/edit_user.html @@ -1,207 +1,207 @@ - - - - - - - - - - - -
- - - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - -
- - -
- -
- -
- - -
- - -
- -
- -
- -
- -
- - - -
-
-
+ + + + + + + + + + + +
+ + + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ + +
+ +
+ +
+ + +
+ + +
+ +
+ +
+ +
+ +
+ + + +
+
+
diff --git a/web/templates/admin/edit_web.html b/web/templates/admin/edit_web.html index 4209f355..6e4bac22 100644 --- a/web/templates/admin/edit_web.html +++ b/web/templates/admin/edit_web.html @@ -1,352 +1,352 @@ - - - - - - - - - - - -
- - - - - + +
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -
- -
- -
- -
- -
- -
- onclick="javascript:elementHideShow('nginxtable');"> -
- - - - - - - -
- -
- -
-
- -
- onclick="javascript:elementHideShow('ssltable');"> -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- -
- -
- -
- () -
- -
-
- -
- -
- -
- onclick="javascript:elementHideShow('statstable');"> -
- - - - - - - - - - -
- -
- - -
- -
-
- -
- onclick="javascript:elementHideShow('ftptable');"> -
- - - - - - - - - - - - - -
- - Prefix '.$user.'_ will be automaticaly added to username' ?> -
- - -
- - -
- - - -
-
- + + + + + + + +
+ +
+ + + + + - -
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ onclick="javascript:elementHideShow('nginxtable');"> +
+ + + + + + + +
+ +
+ +
+
+ +
+ onclick="javascript:elementHideShow('ssltable');"> +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ () +
+ +
+
+ +
+ +
+ +
+ onclick="javascript:elementHideShow('statstable');"> +
+ + + + + + + + + + +
+ +
+ + +
+ +
+
+ +
+ onclick="javascript:elementHideShow('ftptable');"> +
+ + + + + + + + + + + + + +
+ + Prefix '.$user.'_ will be automaticaly added to username' ?> +
+ + +
+ + +
+ + + +
+
+ \ No newline at end of file diff --git a/web/templates/admin/list_backup.html b/web/templates/admin/list_backup.html index 0e15fb82..5c01c794 100644 --- a/web/templates/admin/list_backup.html +++ b/web/templates/admin/list_backup.html @@ -1,193 +1,193 @@ - - - - - - -
- -
- - - $value) { - ++$i; - $web = 'no'; - $dns = 'no'; - $mail = 'no'; - $db = 'no'; - - if (!empty($data[$key]['WEB'])) $web = 'yes ¨'; - if (!empty($data[$key]['DNS'])) $dns = 'yes ¨'; - if (!empty($data[$key]['MAIL'])) $mail = 'yes ¨'; - if (!empty($data[$key]['DB'])) $db = 'yes ¨'; - ?> - - - - - - - - -
- - - - -
">
-
- - - - - - - -
"> - - - " /> - -
- - - - - - - - - - -
- -
- - - - - - - - - - -
- -
- : -
- : -
-
- - - - - - - - - - - - - -
- : - - - - -
- : - - - - -
- : - - - - -
-
- - - - - - - - - - - - - -
- : - - - - -
- : - - - - -
- : - - - - -
-
-
- - - - - - - -
- -
-
- + + + + + + + + + + +
+ + + $value) { + ++$i; + $web = 'no'; + $dns = 'no'; + $mail = 'no'; + $db = 'no'; + + if (!empty($data[$key]['WEB'])) $web = 'yes ¨'; + if (!empty($data[$key]['DNS'])) $dns = 'yes ¨'; + if (!empty($data[$key]['MAIL'])) $mail = 'yes ¨'; + if (!empty($data[$key]['DB'])) $db = 'yes ¨'; + ?> + + + + + + + + +
+ + + + +
">
+
+ + + + + + + +
"> + + + " /> + +
+ + + + + + + + + + +
+ +
+ + + + + + + + + + +
+ +
+ : +
+ : +
+
+ + + + + + + + + + + + + +
+ : + + + + +
+ : + + + + +
+ : + + + + +
+
+ + + + + + + + + + + + + +
+ : + + + + +
+ : + + + + +
+ : + + + + +
+
+
+ + + + + + + +
+ +
+
+ diff --git a/web/templates/admin/list_cron.html b/web/templates/admin/list_cron.html index 07101724..99e36d2f 100644 --- a/web/templates/admin/list_cron.html +++ b/web/templates/admin/list_cron.html @@ -1,181 +1,181 @@ - - - - - - - - - -
- - - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend'; - } - ?> - - - - - - - -
- - - - -
">
-
- - - - - - - -
- - - - - - - - - -
- - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -
-
- - - - - - - -
- -
- -
-
- - - - - - - -
- -
- -
-
- - - - - - - -
- -
- -
-
- - - - - - - -
- -
- -
-
-
- - - - - - - -
- -
-
- + + + + + + + + + +
+ + + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend'; + } + ?> + + + + + + + +
+ + + + +
">
+
+ + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + +
+ +
+ + + + + + + +
+ +
+ +
+
+ + + + + + + +
+ +
+ +
+
+ + + + + + + +
+ +
+ +
+
+ + + + + + + +
+ +
+ +
+
+ + + + + + + +
+ +
+ +
+
+
+ + + + + + + +
+ +
+
+ diff --git a/web/templates/admin/list_db.html b/web/templates/admin/list_db.html index 08f29f5c..8a5b45ee 100644 --- a/web/templates/admin/list_db.html +++ b/web/templates/admin/list_db.html @@ -1,161 +1,161 @@ - - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin"; - if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/"; - if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin"; - if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/"; - ?> - - - - - -
- - - - -
">
-
- - - - - - - - -
- - - " /> - - - - delete - " /> - -
- - - - - - - - - -
- -
- - - - - - - -
- [] -
: -
-
-
-
-
- - - - - - - - - -
- : - - -
- : - - -
-
- - - - - -
- : - - -
-
-
- - - - - - - -
- -
-
+ + + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin"; + if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/"; + if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin"; + if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/"; + ?> + + + + + +
+ + + + +
">
+
+ + + + + + + + +
+ + + " /> + + + + delete + " /> + +
+ + + + + + + + + +
+ +
+ + + + + + + +
+ [] +
: +
+
+
+
+
+ + + + + + + + + +
+ : + + +
+ : + + +
+
+ + + + + +
+ : + + +
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/admin/list_dns.html b/web/templates/admin/list_dns.html index 9ce629e6..85af779e 100644 --- a/web/templates/admin/list_dns.html +++ b/web/templates/admin/list_dns.html @@ -1,146 +1,146 @@ - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - ?> - - - - - - -
- - - - -
" >
">
-
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- -
- - - - - - -
- -
- [] -
-
- - - - - - - - - -
SOA:
TTL:
-
- - - - - - - - - -
:
:
-
-
- - - - - - - -
- -
-
+ + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + ?> + + + + + + +
+ + + + +
" >
">
+
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ +
+ + + + + + +
+ +
+ [] +
+
+ + + + + + + + + +
SOA:
TTL:
+
+ + + + + + + + + +
:
:
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/admin/list_dns_rec.html b/web/templates/admin/list_dns_rec.html index a4ea4a55..c526a384 100644 --- a/web/templates/admin/list_dns_rec.html +++ b/web/templates/admin/list_dns_rec.html @@ -1,115 +1,115 @@ - - - - - - - - -
-
- - - - -
- -
-
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - ?> - - - - - - -
- - - - -
">
-
- - - - - - - -
- - - - - - - - - -
- - - - - - - -
-
- - - - - - -
- - -
-
+ + + + + + + + +
+
+ + + + +
+ +
+
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + ?> + + + + + + +
+ + + + +
">
+
+ + + + + + + +
+ + + + + + + + + +
+ + + + + + + +
+
+ + + + + + +
+ + +
+
diff --git a/web/templates/admin/list_ip.html b/web/templates/admin/list_ip.html index fb383baa..e3887c86 100644 --- a/web/templates/admin/list_ip.html +++ b/web/templates/admin/list_ip.html @@ -1,137 +1,137 @@ - - - - - - - - - - -
- - - $value) { - ++$i; - ?> - - - - - - - -
- - - - -
">
-
- - - - - - -
- - - " /> - -
- - - - - - - - - - -
- -
- - - - - - - -
- -
- -
-
- - - - - - - - - -
- : - - -
- : - - -
-
- - - - -
- : -
-
-
- - - - - - - -
- -
-
+ + + + + + + + + + +
+ + + $value) { + ++$i; + ?> + + + + + + + +
+ + + + +
">
+
+ + + + + + +
+ + + " /> + +
+ + + + + + + + + + +
+ +
+ + + + + + + +
+ +
+ +
+
+ + + + + + + + + +
+ : + + +
+ : + + +
+
+ + + + +
+ : +
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/admin/list_log.html b/web/templates/admin/list_log.html index f549871a..9c940eac 100644 --- a/web/templates/admin/list_log.html +++ b/web/templates/admin/list_log.html @@ -1,71 +1,71 @@ - - - - - - - - - - -
- - - $value) { - ++$i; - ?> - - - - - - - - -
- - - -
">
">
-
- - - - -
- - - - -
- -
-
- - - - - - -
- -
-
+ + + + + + + + + + +
+ + + $value) { + ++$i; + ?> + + + + + + + + +
+ + + +
">
">
+
+ + + + +
+ + + + +
+ +
+
+ + + + + + +
+ +
+
diff --git a/web/templates/admin/list_mail.html b/web/templates/admin/list_mail.html index 9b38dd9c..fd7e3e25 100644 --- a/web/templates/admin/list_mail.html +++ b/web/templates/admin/list_mail.html @@ -1,173 +1,173 @@ - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - if (empty($data[$key]['CATCHALL'])) { - $data[$key]['CATCHALL'] = '/dev/null'; - } - ?> - - - - - - - -
- - - - -
" >
">
-
- - - - - - - - - - -
" target="_blank"> - - - - - - - - - -
- - - - - - - - - - -
- -
- - - - - - - -
- > -
- : -
-
-
-
-
- - - - - - - - - -
- : - - -
- : - - -
-
- - - - - - - - - -
- : - - -
- : - - -
-
-
- - - - - - - -
- -
-
+ + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + if (empty($data[$key]['CATCHALL'])) { + $data[$key]['CATCHALL'] = '/dev/null'; + } + ?> + + + + + + + +
+ + + + +
" >
">
+
+ + + + + + + + + + +
" target="_blank"> + + + + + + + + + +
+ + + + + + + + + + +
+ +
+ + + + + + + +
+ > +
+ : +
+
+
+
+
+ + + + + + + + + +
+ : + + +
+ : + + +
+
+ + + + + + + + + +
+ : + + +
+ : + + +
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/admin/list_mail_acc.html b/web/templates/admin/list_mail_acc.html index 999b1c82..ad3c919f 100644 --- a/web/templates/admin/list_mail_acc.html +++ b/web/templates/admin/list_mail_acc.html @@ -1,162 +1,162 @@ - - - - - - - - - -
-
- - - - -
- -
-
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend'; - } - ?> - - - - - - - -
- - - - -
">
-
- - - - - - - -
- - - - - - - - - -
- - - - - - - - -
- - - - - - -
- -
- : -
-
-
-
-
- - - - - - - - - -
- : - - -
- : - - -
-
- - - - - -
- : - - -
-
-
- - - - - - - -
- -
-
+ + + + + + + + + +
+
+ + + + +
+ +
+
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend'; + } + ?> + + + + + + + +
+ + + + +
">
+
+ + + + + + + +
+ + + + + + + + + +
+ + + + + + + + +
+ + + + + + +
+ +
+ : +
+
+
+
+
+ + + + + + + + + +
+ : + + +
+ : + + +
+
+ + + + + +
+ : + + +
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/admin/list_packages.html b/web/templates/admin/list_packages.html index a89b2964..d0bb6fbe 100644 --- a/web/templates/admin/list_packages.html +++ b/web/templates/admin/list_packages.html @@ -1,217 +1,217 @@ - - - - - - - - - - -
- - - $value) { - ++$i; - ?> - - - - - - - -
- - - - -
">
-
- - - - - - -
- - - " /> - -
- - - - - - - - - -
- -
- - - - - - - - - - - - - - - -
- : - - -
- : - - -
- : -
-
-
-
- : -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - -
- : - - -
- : - - -
- : - - -
- : - - -
- : - - -
-
- - - - - - - - - - - - - - - - - - - - - -
- : - - -
- : - - -
- : - - -
- : - - -
- : - - -
-
-
- - - - - - - -
- -
-
+ + + + + + + + + + +
+ + + $value) { + ++$i; + ?> + + + + + + + +
+ + + + +
">
+
+ + + + + + +
+ + + " /> + +
+ + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + +
+ : + + +
+ : + + +
+ : +
+
+
+
+ : +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+
+ + + + + + + + + + + + + + + + + + + + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/admin/list_search.html b/web/templates/admin/list_search.html index b5800145..855d78b2 100644 --- a/web/templates/admin/list_search.html +++ b/web/templates/admin/list_search.html @@ -1,218 +1,218 @@ - - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend'; - } - if ($data[$key]['TYPE'] == 'db') { - $object = 'database'; - } else { - $object = strtolower($data[$key]['TYPE']." ".$data[$key]['KEY']); - } - ?> - - - - - - - -
- - - -
">
-
- - - - - - - - - - -
- - - - '; - } - - if ($data[$key]['KEY'] == 'ACCOUNT') { - echo ''; - } - - if ($data[$key]['KEY'] == 'JOB') { - echo ''; - } - - if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB')) { - echo ''; - } - ?> - edit - - - - '; - } - - if ($data[$key]['KEY'] == 'ACCOUNT') { - echo ''; - } - - if ($data[$key]['KEY'] == 'JOB') { - echo ''; - } - - if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB')) { - echo ''; - } - ?> - - - - - '; - } - - if ($data[$key]['KEY'] == 'ACCOUNT') { - echo ''; - } - - if ($data[$key]['KEY'] == 'JOB') { - echo ''; - } - - if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB')) { - echo ''; - } - ?> - -
- - - - - - - - -
- - - - - -
- : - - -
-
- - - - - -
- : - - -
-
- - - - - -
- : - - -
-
-
- - - - - - - -
- -
-
- + + + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend'; + } + if ($data[$key]['TYPE'] == 'db') { + $object = 'database'; + } else { + $object = strtolower($data[$key]['TYPE']." ".$data[$key]['KEY']); + } + ?> + + + + + + + +
+ + + +
">
+
+ + + + + + + + + + +
+ + + + '; + } + + if ($data[$key]['KEY'] == 'ACCOUNT') { + echo ''; + } + + if ($data[$key]['KEY'] == 'JOB') { + echo ''; + } + + if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB')) { + echo ''; + } + ?> + edit + + + + '; + } + + if ($data[$key]['KEY'] == 'ACCOUNT') { + echo ''; + } + + if ($data[$key]['KEY'] == 'JOB') { + echo ''; + } + + if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB')) { + echo ''; + } + ?> + + + + + '; + } + + if ($data[$key]['KEY'] == 'ACCOUNT') { + echo ''; + } + + if ($data[$key]['KEY'] == 'JOB') { + echo ''; + } + + if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB')) { + echo ''; + } + ?> + +
+ + + + + + + + +
+ + + + + +
+ : + + +
+
+ + + + + +
+ : + + +
+
+ + + + + +
+ : + + +
+
+
+ + + + + + + +
+ +
+
+ diff --git a/web/templates/admin/list_services.html b/web/templates/admin/list_services.html index 968cde18..f3238db9 100644 --- a/web/templates/admin/list_services.html +++ b/web/templates/admin/list_services.html @@ -1,152 +1,152 @@ - - - - - - - - - - -
- - - $value) { - ++$i; - if ($data[$key]['STATE'] == 'running') { - $status = 'active'; - $action = 'stop'; - } else { - $status = 'suspended'; - $action = 'start'; - } - - $cpu = $data[$key]['CPU'] / 10; - $cpu = number_format($cpu, 1); - if ($cpu == '0.0') $cpu = 0; - ?> - - - - - - - -
- - - -
-
- - - - - - -
- - - - - - - - - - - -
- -
- - - - -
- -
-
- - - - - -
- : - - % -
-
- - - - - -
- : - - -
-
- - - - - -
- : - - -
-
-
- - -
+ + + + + + + + + + +
+ + + $value) { + ++$i; + if ($data[$key]['STATE'] == 'running') { + $status = 'active'; + $action = 'stop'; + } else { + $status = 'suspended'; + $action = 'start'; + } + + $cpu = $data[$key]['CPU'] / 10; + $cpu = number_format($cpu, 1); + if ($cpu == '0.0') $cpu = 0; + ?> + + + + + + + +
+ + + +
+
+ + + + + + +
+ + + + + + + + + + + +
+ +
+ + + + +
+ +
+
+ + + + + +
+ : + + % +
+
+ + + + + +
+ : + + +
+
+ + + + + +
+ : + + +
+
+
+ + +
diff --git a/web/templates/admin/list_user.html b/web/templates/admin/list_user.html index df16bf65..e181c257 100644 --- a/web/templates/admin/list_user.html +++ b/web/templates/admin/list_user.html @@ -1,250 +1,250 @@ - - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - ?> - - - - - - -
- - - - -
">
-
- - - - - - - - -
- ". _('logout').""; - if (!empty($_SESSION['look_alert'])) { - ?> - -
-

-
- "; - } - ?> -
"> - - - - - - - delete - - -
- - - - - - - - - - -
- - - - - - - - - - - - -
[]
: % () -
-
-
-
: % () -
-
-
-
- - - - - -
- :
- :
-
- :
- :
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
:
: /
:
:
: /
:
:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
: /
:
: /
: /
:
:
: /
-
-
- - - - - - - -
- -
-
+ + + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + ?> + + + + + + +
+ + + + +
">
+
+ + + + + + + + +
+ ". _('logout').""; + if (!empty($_SESSION['look_alert'])) { + ?> + +
+

+
+ "; + } + ?> +
"> + + + + + + + delete + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + +
[]
: % () +
+
+
+
: % () +
+
+
+
+ + + + + +
+ :
+ :
+
+ :
+ :
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:
: /
:
:
: /
:
:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: /
:
: /
: /
:
:
: /
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/admin/list_web.html b/web/templates/admin/list_web.html index 3527bd8f..7f9de3ab 100644 --- a/web/templates/admin/list_web.html +++ b/web/templates/admin/list_web.html @@ -1,207 +1,207 @@ - - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - if (!empty($data[$key]['SSL_HOME'])) { - if ($data[$key]['SSL_HOME'] == 'same') { - $ssl_home = 'public_html'; - } else { - $ssl_home = 'public_shtml'; - } - } else { - $ssl_home = ''; - } - $web_stats='no'; - if (!empty($data[$key]['STATS'])) { - $web_stats=$data[$key]['STATS']; - } - $ftp_user='no'; - if (!empty($data[$key]['FTP_USER'])) { - $ftp_user=$data[$key]['FTP_USER']; - } - $nginx_support='no'; - if (!empty($data[$key]['NGINX'])) { - $nginx_support='yes'; - } - if (strlen($data[$key]['NGINX_EXT']) > 16 ) { - $nginx_ext_title = str_replace(',', ', ', $data[$key]['NGINX_EXT']); - $nginx_ext = substr($data[$key]['NGINX_EXT'], 0, 16); - $nginx_ext = trim($nginx_ext, ","); - $nginx_ext = str_replace(',', ', ', $nginx_ext); - $nginx_ext = $nginx_ext.", ..."; - } else { - $nginx_ext_title = ''; - $nginx_ext = str_replace(',', ', ', $data[$key]['NGINX_EXT']); - } - ?> - - - - - - -
- - - - -
" >
">
-
- - - - '; - echo ""; - echo ' '._('open webstats').' '; - } - ?> - - - - -
"> - - - - - - - - - -
- - - - - - - - - - -
- -
- - - - - - - - - - - - -
- -
- [] -
- : -
-
-
-
: -
-
-
-
-
- - - - - - - - - - - - - - - - - -
:
:
:
:>
-
- - - - - - - - - -
:
:
-
-
- - - - - - -
- - -
-
+ + + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + if (!empty($data[$key]['SSL_HOME'])) { + if ($data[$key]['SSL_HOME'] == 'same') { + $ssl_home = 'public_html'; + } else { + $ssl_home = 'public_shtml'; + } + } else { + $ssl_home = ''; + } + $web_stats='no'; + if (!empty($data[$key]['STATS'])) { + $web_stats=$data[$key]['STATS']; + } + $ftp_user='no'; + if (!empty($data[$key]['FTP_USER'])) { + $ftp_user=$data[$key]['FTP_USER']; + } + $nginx_support='no'; + if (!empty($data[$key]['NGINX'])) { + $nginx_support='yes'; + } + if (strlen($data[$key]['NGINX_EXT']) > 16 ) { + $nginx_ext_title = str_replace(',', ', ', $data[$key]['NGINX_EXT']); + $nginx_ext = substr($data[$key]['NGINX_EXT'], 0, 16); + $nginx_ext = trim($nginx_ext, ","); + $nginx_ext = str_replace(',', ', ', $nginx_ext); + $nginx_ext = $nginx_ext.", ..."; + } else { + $nginx_ext_title = ''; + $nginx_ext = str_replace(',', ', ', $data[$key]['NGINX_EXT']); + } + ?> + + + + + + +
+ + + + +
" >
">
+
+ + + + '; + echo ""; + echo ' '._('open webstats').' '; + } + ?> + + + + +
"> + + + + + + + + + +
+ + + + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ +
+ [] +
+ : +
+
+
+
: +
+
+
+
+
+ + + + + + + + + + + + + + + + + +
:
:
:
:>
+
+ + + + + + + + + +
:
:
+
+
+ + + + + + +
+ + +
+
diff --git a/web/templates/admin/panel.html b/web/templates/admin/panel.html index 49834468..7a1379bc 100644 --- a/web/templates/admin/panel.html +++ b/web/templates/admin/panel.html @@ -1,112 +1,112 @@ -
- - - + +
- - - - -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+ + + + +
+ + + - -
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/web/templates/footer.html b/web/templates/footer.html index 8fd521c9..1fa057cc 100644 --- a/web/templates/footer.html +++ b/web/templates/footer.html @@ -1,14 +1,14 @@ - -
- - - -
- - + +
+ + +
+
+ + diff --git a/web/templates/login.html b/web/templates/login.html index 895539f8..ae3d5c73 100644 --- a/web/templates/login.html +++ b/web/templates/login.html @@ -1,59 +1,59 @@ -
- - - - -
- - +
+ + + + +
+ + diff --git a/web/templates/reset_1.html b/web/templates/reset_1.html index d721e041..3029fa5e 100644 --- a/web/templates/reset_1.html +++ b/web/templates/reset_1.html @@ -1,52 +1,52 @@ -
- - - - - -
- - - +
+ + + + + +
+ + + diff --git a/web/templates/reset_2.html b/web/templates/reset_2.html index 579417f5..e38218ef 100644 --- a/web/templates/reset_2.html +++ b/web/templates/reset_2.html @@ -1,51 +1,51 @@ -
- - - - - -
- - +
+ + + + + +
+ + diff --git a/web/templates/reset_3.html b/web/templates/reset_3.html index 21ede8a6..00f5b7e9 100644 --- a/web/templates/reset_3.html +++ b/web/templates/reset_3.html @@ -1,63 +1,63 @@ -
- - - - - -
- - +
+ + + + + +
+ + diff --git a/web/templates/user/add_dns.html b/web/templates/user/add_dns.html index 1fe56529..33fd2f68 100644 --- a/web/templates/user/add_dns.html +++ b/web/templates/user/add_dns.html @@ -1,141 +1,141 @@ - - - - - - - -
- -
- - - - - - + +
- - -
-
- - - - -
- - - - - - - - - - - - - -
- -
- - -
- - -
- - - - - - - - - - - - - -
- () -
- - TTL -
- - -
- - - -
-
- + + + + + + + +
+ +
+ + + + + + - -
+ + +
+
+ + + + +
+ + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ + + + + + + + + + + + + +
+ () +
+ + TTL +
+ + +
+ + + +
+
+ diff --git a/web/templates/user/add_web.html b/web/templates/user/add_web.html index e246b36b..dfaaff05 100644 --- a/web/templates/user/add_web.html +++ b/web/templates/user/add_web.html @@ -1,372 +1,372 @@ - - - - - - - -
- -
- - - - - - - - + +
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -
- -
- > -
- -
- > -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- onclick="javascript:elementHideShow('nginxtable');"> -
- - - - - - - -
- -
- -
-
- -
- onclick="javascript:elementHideShow('ssltable');"> -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- -
- -
- -
- () -
- -
-
- -
- -
- -
- onclick="javascript:elementHideShow('statstable');"> -
- - - - - - - - - - -
- -
- - -
- -
-
- -
- onclick="javascript:elementHideShow('ftptable');"> -
- - - - - - - - - - - - - - -
-
- -
- - -
- - -
- -
- - -
-
- + + + + + + + +
+ +
+ + + + + + + + - -
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+ +
+ > +
+ +
+ > +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ onclick="javascript:elementHideShow('nginxtable');"> +
+ + + + + + + +
+ +
+ +
+
+ +
+ onclick="javascript:elementHideShow('ssltable');"> +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ () +
+ +
+
+ +
+ +
+ +
+ onclick="javascript:elementHideShow('statstable');"> +
+ + + + + + + + + + +
+ +
+ + +
+ +
+
+ +
+ onclick="javascript:elementHideShow('ftptable');"> +
+ + + + + + + + + + + + + + +
+
+ +
+ + +
+ + +
+ +
+ + +
+
+ diff --git a/web/templates/user/edit_dns.html b/web/templates/user/edit_dns.html index 2bc087c6..402a8f69 100644 --- a/web/templates/user/edit_dns.html +++ b/web/templates/user/edit_dns.html @@ -1,106 +1,106 @@ - - - - - - - -
- -
- - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - -
- - () -
- - SOA -
- - TTL -
- - - -
-
-
+ + + + + + + +
+ +
+ + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + () +
+ + SOA +
+ + TTL +
+ + + +
+
+
diff --git a/web/templates/user/edit_user.html b/web/templates/user/edit_user.html index b6728f75..f6a95fc5 100644 --- a/web/templates/user/edit_user.html +++ b/web/templates/user/edit_user.html @@ -1,123 +1,123 @@ - - - - - - - - - - - -
- - - - - - -
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - -
- -
- - -
- - -
- - -
- - - -
-
-
+ + + + + + + + + + + +
+ + + + + + +
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + +
+ +
+ + +
+ + +
+ + +
+ + + +
+
+
diff --git a/web/templates/user/edit_web.html b/web/templates/user/edit_web.html index 52895aa8..ea666900 100644 --- a/web/templates/user/edit_web.html +++ b/web/templates/user/edit_web.html @@ -1,331 +1,331 @@ - - - - - - - - - - - -
- - - - - + +
- - - - -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -
- -
- -
- -
- onclick="javascript:elementHideShow('nginxtable');"> -
- - - - - - - -
- -
- -
-
- -
- onclick="javascript:elementHideShow('ssltable');"> -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- -
- -
- -
- () -
- -
-
- -
- -
- -
- onclick="javascript:elementHideShow('statstable');"> -
- - - - - - - - - - -
- -
- - -
- -
-
- -
- onclick="javascript:elementHideShow('ftptable');"> -
- - - - - - - - - - - - - -
- - Prefix '.$user.'_ will be automaticaly added to username' ?> -
- - -
- - -
- - - -
-
- + + + + + + + +
+ +
+ + + + + - -
+ + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+ +
+ +
+ +
+ onclick="javascript:elementHideShow('nginxtable');"> +
+ + + + + + + +
+ +
+ +
+
+ +
+ onclick="javascript:elementHideShow('ssltable');"> +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ () +
+ +
+
+ +
+ +
+ +
+ onclick="javascript:elementHideShow('statstable');"> +
+ + + + + + + + + + +
+ +
+ + +
+ +
+
+ +
+ onclick="javascript:elementHideShow('ftptable');"> +
+ + + + + + + + + + + + + +
+ + Prefix '.$user.'_ will be automaticaly added to username' ?> +
+ + +
+ + +
+ + + +
+
+ \ No newline at end of file diff --git a/web/templates/user/list_cron.html b/web/templates/user/list_cron.html index 7e7f6ee6..2e38aba1 100644 --- a/web/templates/user/list_cron.html +++ b/web/templates/user/list_cron.html @@ -1,171 +1,171 @@ - - - - - -
- -
- - - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend'; - } - ?> - - - - - - - -
- - - - -
">
-
- - - - - - -
- - - - -
- - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -
-
- - - - - - - -
- -
- -
-
- - - - - - - -
- -
- -
-
- - - - - - - -
- -
- -
-
- - - - - - - -
- -
- -
-
-
- - - - - - - -
- -
-
- + + + + + + + + + +
+ + + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend'; + } + ?> + + + + + + + +
+ + + + +
">
+
+ + + + + + +
+ + + + +
+ + + + + + + + + + + + +
+ +
+ + + + + + + +
+ +
+ +
+
+ + + + + + + +
+ +
+ +
+
+ + + + + + + +
+ +
+ +
+
+ + + + + + + +
+ +
+ +
+
+ + + + + + + +
+ +
+ +
+
+
+ + + + + + + +
+ +
+
+ diff --git a/web/templates/user/list_db.html b/web/templates/user/list_db.html index 9b094a30..9ff5c76d 100644 --- a/web/templates/user/list_db.html +++ b/web/templates/user/list_db.html @@ -1,151 +1,151 @@ - - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin"; - if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/"; - if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin"; - if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/"; - ?> - - - - - -
- - - - -
">
-
- - - - - - - -
- - delete - " /> - -
- - - - - - - - - -
- -
- - - - - - - -
- [] -
: -
-
-
-
-
- - - - - - - - - -
- : - - -
- : - - -
-
- - - - - -
- : - - -
-
-
- - - - - - - -
- -
-
+ + + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin"; + if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/"; + if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin"; + if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/"; + ?> + + + + + +
+ + + + +
">
+
+ + + + + + + +
+ + delete + " /> + +
+ + + + + + + + + +
+ +
+ + + + + + + +
+ [] +
: +
+
+
+
+
+ + + + + + + + + +
+ : + + +
+ : + + +
+
+ + + + + +
+ : + + +
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/user/list_dns.html b/web/templates/user/list_dns.html index 5a076932..1593c2c7 100644 --- a/web/templates/user/list_dns.html +++ b/web/templates/user/list_dns.html @@ -1,136 +1,136 @@ - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - ?> - - - - - - -
- - - - -
" >
">
-
- - - - - - - - -
- - - - -
- - - - - - - - - -
- -
- - - - - - -
- -
- [] -
-
- - - - - - - - - -
SOA:
TTL:
-
- - - - - - - - - -
:
:
-
-
- - - - - - - -
- -
-
+ + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + ?> + + + + + + +
+ + + + +
" >
">
+
+ + + + + + + + +
+ + + + +
+ + + + + + + + + +
+ +
+ + + + + + +
+ +
+ [] +
+
+ + + + + + + + + +
SOA:
TTL:
+
+ + + + + + + + + +
:
:
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/user/list_dns_rec.html b/web/templates/user/list_dns_rec.html index 57d4960d..7d75c83f 100644 --- a/web/templates/user/list_dns_rec.html +++ b/web/templates/user/list_dns_rec.html @@ -1,105 +1,105 @@ - - - - - - - - - -
-
- - - - -
- -
-
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - ?> - - - - - - -
- - - - -
">
-
- - - - - - -
- - - - -
- - - - - - - -
-
- - - - - - -
- - -
-
+ + + + + + + + + +
+
+ + + + +
+ +
+
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + ?> + + + + + + +
+ + + + +
">
+
+ + + + + + +
+ + + + +
+ + + + + + + +
+
+ + + + + + +
+ + +
+
diff --git a/web/templates/user/list_mail.html b/web/templates/user/list_mail.html index 1cee10a4..430419d6 100644 --- a/web/templates/user/list_mail.html +++ b/web/templates/user/list_mail.html @@ -1,163 +1,163 @@ - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - if (empty($data[$key]['CATCHALL'])) { - $data[$key]['CATCHALL'] = '/dev/null'; - } - ?> - - - - - - - -
- - - - -
" >
">
-
- - - - - - - - - -
" target="_blank"> - - - - -
- - - - - - - - - - -
- -
- - - - - - - -
- > -
- : -
-
-
-
-
- - - - - - - - - -
- : - - -
- : - - -
-
- - - - - - - - - -
- : - - -
- : - - -
-
-
- - - - - - - -
- -
-
+ + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + if (empty($data[$key]['CATCHALL'])) { + $data[$key]['CATCHALL'] = '/dev/null'; + } + ?> + + + + + + + +
+ + + + +
" >
">
+
+ + + + + + + + + +
" target="_blank"> + + + + +
+ + + + + + + + + + +
+ +
+ + + + + + + +
+ > +
+ : +
+
+
+
+
+ + + + + + + + + +
+ : + + +
+ : + + +
+
+ + + + + + + + + +
+ : + + +
+ : + + +
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/user/list_mail_acc.html b/web/templates/user/list_mail_acc.html index 72b78a0b..ba308c1d 100644 --- a/web/templates/user/list_mail_acc.html +++ b/web/templates/user/list_mail_acc.html @@ -1,152 +1,152 @@ - - - - - - - - - -
-
- - - - -
- -
-
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend'; - } - ?> - - - - - - - -
- - - - -
">
-
- - - - - - -
- - - - -
- - - - - - - - -
- - - - - - -
- -
- : -
-
-
-
-
- - - - - - - - - -
- : - - -
- : - - -
-
- - - - - -
- : - - -
-
-
- - - - - - - -
- -
-
+ + + + + + + + + +
+
+ + + + +
+ +
+
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend'; + } + ?> + + + + + + + +
+ + + + +
">
+
+ + + + + + +
+ + + + +
+ + + + + + + + +
+ + + + + + +
+ +
+ : +
+
+
+
+
+ + + + + + + + + +
+ : + + +
+ : + + +
+
+ + + + + +
+ : + + +
+
+
+ + + + + + + +
+ +
+
diff --git a/web/templates/user/list_search.html b/web/templates/user/list_search.html index 3024ae41..259052e4 100644 --- a/web/templates/user/list_search.html +++ b/web/templates/user/list_search.html @@ -1,171 +1,171 @@ - - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend'; - } - if ($data[$key]['TYPE'] == 'db') { - $object = 'database'; - } else { - $object = strtolower($data[$key]['TYPE']." ".$data[$key]['KEY']); - } - ?> - - - - - - - -
- - - -
">
-
- - - - - - -
- '; - } - - if ($data[$key]['KEY'] == 'ACCOUNT') { - echo ''; - } - - if ($data[$key]['KEY'] == 'JOB') { - echo ''; - } - - if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB')) { - echo ''; - } - ?> - edit - - - - '; - } - - if ($data[$key]['KEY'] == 'ACCOUNT') { - echo ''; - } - - if ($data[$key]['KEY'] == 'JOB') { - echo ''; - } - - if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB')) { - echo ''; - } - ?> - -
- - - - - - - - -
- - - - - -
- : - - -
-
- - - - - -
- : - - -
-
- - - - - -
- : - - -
-
-
- - - - - - - -
- -
-
- + + + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend'; + } + if ($data[$key]['TYPE'] == 'db') { + $object = 'database'; + } else { + $object = strtolower($data[$key]['TYPE']." ".$data[$key]['KEY']); + } + ?> + + + + + + + +
+ + + +
">
+
+ + + + + + +
+ '; + } + + if ($data[$key]['KEY'] == 'ACCOUNT') { + echo ''; + } + + if ($data[$key]['KEY'] == 'JOB') { + echo ''; + } + + if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB')) { + echo ''; + } + ?> + edit + + + + '; + } + + if ($data[$key]['KEY'] == 'ACCOUNT') { + echo ''; + } + + if ($data[$key]['KEY'] == 'JOB') { + echo ''; + } + + if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB')) { + echo ''; + } + ?> + +
+ + + + + + + + +
+ + + + + +
+ : + + +
+
+ + + + + +
+ : + + +
+
+ + + + + +
+ : + + +
+
+
+ + + + + + + +
+ +
+
+ diff --git a/web/templates/user/list_stats.html b/web/templates/user/list_stats.html index d465dd4f..bbad6a84 100644 --- a/web/templates/user/list_stats.html +++ b/web/templates/user/list_stats.html @@ -1,203 +1,203 @@ - - - - - - - - - - -
- - - $value) { - ++$i; - ?> - - - - - - - - -
- - -
">
-
- - - - -
- - - - - - - - - - -
- -
- - - - - - - - - - - - - -
- [] -
- : % () -
-
-
-
- : % () -
-
-
-
- - - - - -
- :
- :
-
- :
- :
-
-
-
- - - - - - - - - - - - - - - - - - - - - -
- : - - -
- : - - -
- : - - -
- : - - -
- : - - -
-
- - - - - - - - - - - - - - - - - - - - - -
- : - - -
- : - - -
- : - - -
- : - - -
- : - - -
-
-
- - - - - - -
- -
-
- + + + + + + + + + + +
+ + + $value) { + ++$i; + ?> + + + + + + + + +
+ + +
">
+
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + + + + + + + + + + +
+ [] +
+ : % () +
+
+
+
+ : % () +
+
+
+
+ + + + + +
+ :
+ :
+
+ :
+ :
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+
+ + + + + + + + + + + + + + + + + + + + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+ : + + +
+
+
+ + + + + + +
+ +
+
+ diff --git a/web/templates/user/list_user.html b/web/templates/user/list_user.html index 7144d983..4e8522b6 100644 --- a/web/templates/user/list_user.html +++ b/web/templates/user/list_user.html @@ -1,196 +1,196 @@ - - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - ?> - - - - - - -
- - - - -
">
-
- - - - - -
"> edit
- - - - - - - - - - -
- - - - - - - - - - - - -
[]
: % () -
-
-
-
: % () -
-
-
-
- - - - - -
- :
- :
-
- :
- :
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
:
: /
:
:
: /
:
:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
: /
:
: /
: /
:
:
: /
-
-
- - - - - - - -
- -
-
- + + + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + ?> + + + + + + +
+ + + + +
">
+
+ + + + + +
"> edit
+ + + + + + + + + + +
+ + + + + + + + + + + + +
[]
: % () +
+
+
+
: % () +
+
+
+
+ + + + + +
+ :
+ :
+
+ :
+ :
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:
: /
:
:
: /
:
:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: /
:
: /
: /
:
:
: /
+
+
+ + + + + + + +
+ +
+
+ diff --git a/web/templates/user/list_web.html b/web/templates/user/list_web.html index f952bf5d..d0e670f7 100644 --- a/web/templates/user/list_web.html +++ b/web/templates/user/list_web.html @@ -1,194 +1,194 @@ - - - - - - - - - - -
- - $value) { - ++$i; - if ($data[$key]['SUSPENDED'] == 'yes') { - $status = 'suspended'; - $spnd_action = 'unsuspend' ; - } else { - $status = 'active'; - $spnd_action = 'suspend' ; - } - if (!empty($data[$key]['SSL_HOME'])) { - if ($data[$key]['SSL_HOME'] == 'same') { - $ssl_home = 'public_html'; - } else { - $ssl_home = 'public_shtml'; - } - } else { - $ssl_home = ''; - } - if (strlen($data[$key]['NGINX_EXT']) > 16 ) { - $nginx_ext_title = str_replace(',', ', ', $data[$key]['NGINX_EXT']); - $nginx_ext = substr($data[$key]['NGINX_EXT'], 0, 16); - $nginx_ext = trim($nginx_ext, ","); - $nginx_ext = str_replace(',', ', ', $nginx_ext); - $nginx_ext = $nginx_ext.", ..."; - } else { - $nginx_ext_title = ''; - $nginx_ext = str_replace(',', ', ', $data[$key]['NGINX_EXT']); - } - ?> - - - - - - -
- - - - -
" >
">
-
- - - - '; - echo ""; - echo ' '._('open webstats').' '; - } - ?> - - - -
"> - - - - -
- - - - - - - - - - -
- -
- - - - - - - - - - - - -
- -
- [] -
- : -
-
-
-
: -
-
-
-
-
- - - - - - - - - - - - - - - - - -
:
:
:
:
-
- - - - - - - - - - - - - - - - - -
:
:
:
:>
-
-
- - - - - - -
- - -
-
- + + + + + + + + + + +
+ + $value) { + ++$i; + if ($data[$key]['SUSPENDED'] == 'yes') { + $status = 'suspended'; + $spnd_action = 'unsuspend' ; + } else { + $status = 'active'; + $spnd_action = 'suspend' ; + } + if (!empty($data[$key]['SSL_HOME'])) { + if ($data[$key]['SSL_HOME'] == 'same') { + $ssl_home = 'public_html'; + } else { + $ssl_home = 'public_shtml'; + } + } else { + $ssl_home = ''; + } + if (strlen($data[$key]['NGINX_EXT']) > 16 ) { + $nginx_ext_title = str_replace(',', ', ', $data[$key]['NGINX_EXT']); + $nginx_ext = substr($data[$key]['NGINX_EXT'], 0, 16); + $nginx_ext = trim($nginx_ext, ","); + $nginx_ext = str_replace(',', ', ', $nginx_ext); + $nginx_ext = $nginx_ext.", ..."; + } else { + $nginx_ext_title = ''; + $nginx_ext = str_replace(',', ', ', $data[$key]['NGINX_EXT']); + } + ?> + + + + + + +
+ + + + +
" >
">
+
+ + + + '; + echo ""; + echo ' '._('open webstats').' '; + } + ?> + + + +
"> + + + + +
+ + + + + + + + + + +
+ +
+ + + + + + + + + + + + +
+ +
+ [] +
+ : +
+
+
+
: +
+
+
+
+
+ + + + + + + + + + + + + + + + + +
:
:
:
:
+
+ + + + + + + + + + + + + + + + + +
:
:
:
:>
+
+
+ + + + + + +
+ + +
+
+ diff --git a/web/templates/user/panel.html b/web/templates/user/panel.html index 4360d54d..d9651d29 100644 --- a/web/templates/user/panel.html +++ b/web/templates/user/panel.html @@ -1,114 +1,114 @@ -
- - -
- - -
- - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+ + +
+ + +
+ + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/web/unsuspend/cron/index.php b/web/unsuspend/cron/index.php index 0b5e4760..4181eca8 100644 --- a/web/unsuspend/cron/index.php +++ b/web/unsuspend/cron/index.php @@ -1,32 +1,32 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - -} - -$back=getenv("HTTP_REFERER"); -if (!empty($back)) { - header("Location: ".$back); - exit; -} -header("Location: /list/cron/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + +} + +$back=getenv("HTTP_REFERER"); +if (!empty($back)) { + header("Location: ".$back); + exit; +} +header("Location: /list/cron/"); +exit; diff --git a/web/unsuspend/dns/index.php b/web/unsuspend/dns/index.php index d2170948..85b34068 100644 --- a/web/unsuspend/dns/index.php +++ b/web/unsuspend/dns/index.php @@ -1,62 +1,62 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - $back=getenv("HTTP_REFERER"); - if (!empty($back)) { - header("Location: ".$back); - exit; - } - header("Location: /list/dns/"); - exit; - - } - - // DNS record - if ((!empty($_GET['domain'])) && (!empty($_GET['record_id']))) { - $v_username = escapeshellarg($user); - $v_domain = escapeshellarg($_GET['domain']); - $v_record_id = escapeshellarg($_GET['record_id']); - exec (VESTA_CMD."v-unsuspend-dns-domain-record ".$v_username." ".$v_domain." ".$v_record_id, $output, $return_var); - if ($return_var != 0) { - $error = implode('
', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - $back=getenv("HTTP_REFERER"); - if (!empty($back)) { - header("Location: ".$back); - exit; - } - header("Location: /list/dns/?domain=".$_GET['domain']); - exit; - } - -} - -$back=getenv("HTTP_REFERER"); -if (!empty($back)) { - header("Location: ".$back); - exit; -} -header("Location: /list/dns/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + $back=getenv("HTTP_REFERER"); + if (!empty($back)) { + header("Location: ".$back); + exit; + } + header("Location: /list/dns/"); + exit; + + } + + // DNS record + if ((!empty($_GET['domain'])) && (!empty($_GET['record_id']))) { + $v_username = escapeshellarg($user); + $v_domain = escapeshellarg($_GET['domain']); + $v_record_id = escapeshellarg($_GET['record_id']); + exec (VESTA_CMD."v-unsuspend-dns-domain-record ".$v_username." ".$v_domain." ".$v_record_id, $output, $return_var); + if ($return_var != 0) { + $error = implode('
', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + $back=getenv("HTTP_REFERER"); + if (!empty($back)) { + header("Location: ".$back); + exit; + } + header("Location: /list/dns/?domain=".$_GET['domain']); + exit; + } + +} + +$back=getenv("HTTP_REFERER"); +if (!empty($back)) { + header("Location: ".$back); + exit; +} +header("Location: /list/dns/"); +exit; diff --git a/web/unsuspend/mail/index.php b/web/unsuspend/mail/index.php index 7f2dd127..cb7d57d4 100644 --- a/web/unsuspend/mail/index.php +++ b/web/unsuspend/mail/index.php @@ -1,60 +1,60 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - $back=getenv("HTTP_REFERER"); - if (!empty($back)) { - header("Location: ".$back); - exit; - } - header("Location: /list/mail/"); - exit; - } - - // Mail account - if ((!empty($_GET['domain'])) && (!empty($_GET['account']))) { - $v_username = escapeshellarg($user); - $v_domain = escapeshellarg($_GET['domain']); - $v_account = escapeshellarg($_GET['account']); - exec (VESTA_CMD."v-unsuspend-mail-account ".$v_username." ".$v_domain." ".$v_account, $output, $return_var); - if ($return_var != 0) { - $error = implode('
', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); - $back=getenv("HTTP_REFERER"); - if (!empty($back)) { - header("Location: ".$back); - exit; - } - header("Location: /list/mail/?domain=".$_GET['domain']); - exit; - } -} - -$back=getenv("HTTP_REFERER"); -if (!empty($back)) { - header("Location: ".$back); - exit; -} -header("Location: /list/mail/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + $back=getenv("HTTP_REFERER"); + if (!empty($back)) { + header("Location: ".$back); + exit; + } + header("Location: /list/mail/"); + exit; + } + + // Mail account + if ((!empty($_GET['domain'])) && (!empty($_GET['account']))) { + $v_username = escapeshellarg($user); + $v_domain = escapeshellarg($_GET['domain']); + $v_account = escapeshellarg($_GET['account']); + exec (VESTA_CMD."v-unsuspend-mail-account ".$v_username." ".$v_domain." ".$v_account, $output, $return_var); + if ($return_var != 0) { + $error = implode('
', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); + $back=getenv("HTTP_REFERER"); + if (!empty($back)) { + header("Location: ".$back); + exit; + } + header("Location: /list/mail/?domain=".$_GET['domain']); + exit; + } +} + +$back=getenv("HTTP_REFERER"); +if (!empty($back)) { + header("Location: ".$back); + exit; +} +header("Location: /list/mail/"); +exit; diff --git a/web/unsuspend/user/index.php b/web/unsuspend/user/index.php index 0441eecf..5f9ed441 100644 --- a/web/unsuspend/user/index.php +++ b/web/unsuspend/user/index.php @@ -1,28 +1,28 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); -} - -$back=getenv("HTTP_REFERER"); -if (!empty($back)) { - header("Location: ".$back); - exit; -} -header("Location: /list/user/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); +} + +$back=getenv("HTTP_REFERER"); +if (!empty($back)) { + header("Location: ".$back); + exit; +} +header("Location: /list/user/"); +exit; diff --git a/web/unsuspend/web/index.php b/web/unsuspend/web/index.php index 786357a9..c212d746 100644 --- a/web/unsuspend/web/index.php +++ b/web/unsuspend/web/index.php @@ -1,31 +1,31 @@ -', $output); - if (empty($error)) $error = _('Error: vesta did not return any output.'); - $_SESSION['error_msg'] = $error; - } - unset($output); -} - -$back=getenv("HTTP_REFERER"); -if (!empty($back)) { - header("Location: ".$back); - exit; -} -header("Location: /list/web/"); -exit; +', $output); + if (empty($error)) $error = _('Error: vesta did not return any output.'); + $_SESSION['error_msg'] = $error; + } + unset($output); +} + +$back=getenv("HTTP_REFERER"); +if (!empty($back)) { + header("Location: ".$back); + exit; +} +header("Location: /list/web/"); +exit;