diff --git a/web/login/index.php b/web/login/index.php
index 941e757aa..7d458919e 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 139206524..51c89198a 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 158b939c4..4ba203f95 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 3e68435cc..b49700c68 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 b75264b92..3261e631d 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 065713bd6..4d68a2d83 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 a9ef85124..70f3a90cc 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 6c9c68a21..c8539bca2 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 320c89d36..c135829b5 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 e907f6097..726d6ff28 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 a9a996320..b80cf8d9b 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 9f4bd86a6..5d552a052 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 36ab7d0b2..b62048907 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 05287e27e..69e04a723 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 9ffd78438..bba9bb600 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 9c436e85b..c51afa6c4 100644
--- a/web/templates/admin/add_dns.html
+++ b/web/templates/admin/add_dns.html
@@ -1,165 +1,165 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/add_dns_rec.html b/web/templates/admin/add_dns_rec.html
index df1414ccc..5ff6b6b0b 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 95aefc5ea..2aaa6fa7f 100644
--- a/web/templates/admin/add_ip.html
+++ b/web/templates/admin/add_ip.html
@@ -1,148 +1,148 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/add_mail_acc.html b/web/templates/admin/add_mail_acc.html
index e50dadba6..c70bd027a 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 58fbea99b..ca627c930 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 358650a71..da3398956 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 37ee76eb5..78d2fb363 100644
--- a/web/templates/admin/add_web.html
+++ b/web/templates/admin/add_web.html
@@ -1,382 +1,382 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/edit_cron.html b/web/templates/admin/edit_cron.html
index 1abcb713e..d01ee86f1 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 491c23d02..4b45ae520 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 191d31886..767ad47e9 100644
--- a/web/templates/admin/edit_dns.html
+++ b/web/templates/admin/edit_dns.html
@@ -1,127 +1,127 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/edit_dns_rec.html b/web/templates/admin/edit_dns_rec.html
index c65e54fcd..ccf9302c2 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 0dfb4b5fb..905817b35 100644
--- a/web/templates/admin/edit_ip.html
+++ b/web/templates/admin/edit_ip.html
@@ -1,136 +1,136 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/edit_mail.html b/web/templates/admin/edit_mail.html
index 9a1c40484..f9995ffab 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 450188400..4c0cb18f5 100644
--- a/web/templates/admin/edit_mail_acc.html
+++ b/web/templates/admin/edit_mail_acc.html
@@ -1,155 +1,155 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/edit_package.html b/web/templates/admin/edit_package.html
index 7421d7335..a28a6ae5e 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 cd6c342c7..383026b1a 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 4209f3558..6e4bac225 100644
--- a/web/templates/admin/edit_web.html
+++ b/web/templates/admin/edit_web.html
@@ -1,352 +1,352 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/templates/admin/list_backup.html b/web/templates/admin/list_backup.html
index 0e15fb821..5c01c7941 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 07101724d..99e36d2fe 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 08f29f5c7..8a5b45ee8 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 9ce629e65..85af779ea 100644
--- a/web/templates/admin/list_dns.html
+++ b/web/templates/admin/list_dns.html
@@ -1,146 +1,146 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/web/templates/admin/list_dns_rec.html b/web/templates/admin/list_dns_rec.html
index a4ea4a553..c526a3842 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 fb383baa6..e3887c869 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 f549871a5..9c940eac1 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 9b38dd9c5..fd7e3e25b 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';
- }
- ?>
-
-
-
-
- |
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
- >
- |
-
-
-
- :
-
- |
-
-
- |
-
-
-
-
- :
- |
-
-
- |
-
-
-
- :
- |
-
-
- |
-
-
- |
-
-
-
-
- :
- |
-
-
- |
-
-
-
- :
- |
-
-
- |
-
-
- |
-
-
- |
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ $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';
+ }
+ ?>
+
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+ >
+ |
+
+
+
+ :
+
+ |
+
+
+ |
+
+
+
+
+ :
+ |
+
+
+ |
+
+
+
+ :
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+ :
+ |
+
+
+ |
+
+
+
+ :
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_mail_acc.html b/web/templates/admin/list_mail_acc.html
index 999b1c821..ad3c919f0 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 a89b29644..d0bb6fbe1 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 b58001453..855d78b2e 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']);
- }
- ?>
-
-
-
-
- |
-
-
-
-
- |
-
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ $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']);
+ }
+ ?>
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_services.html b/web/templates/admin/list_services.html
index 968cde189..f3238db90 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 df16bf65a..e181c257b 100644
--- a/web/templates/admin/list_user.html
+++ b/web/templates/admin/list_user.html
@@ -1,250 +1,250 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_web.html b/web/templates/admin/list_web.html
index 3527bd8f7..7f9de3ab3 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']);
- }
- ?>
-
-
-
-
- |
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
- |
-
-
- []
- |
-
-
-
- :
-
- |
-
-
- :
-
- |
-
-
- |
-
-
-
- : |
- |
-
-
- : |
- |
-
-
- : |
- |
-
-
- : |
- > |
-
-
- |
-
-
- |
-
-
- |
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ $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']);
+ }
+ ?>
+
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+
+ []
+ |
+
+
+
+ :
+
+ |
+
+
+ :
+
+ |
+
+
+ |
+
+
+
+ : |
+ |
+
+
+ : |
+ |
+
+
+ : |
+ |
+
+
+ : |
+ > |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
diff --git a/web/templates/admin/panel.html b/web/templates/admin/panel.html
index 498344688..7a1379bca 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 8fd521c91..1fa057cc0 100644
--- a/web/templates/footer.html
+++ b/web/templates/footer.html
@@ -1,14 +1,14 @@
-
- |
-
-
-
-
-
-
- | | |