mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
new html layout using border-collapse
This commit is contained in:
parent
f8178b16d7
commit
4b24b4e1b2
54 changed files with 831 additions and 953 deletions
|
@ -6,19 +6,18 @@
|
|||
$back = "location.href='".$back."'";
|
||||
}
|
||||
?>
|
||||
|
||||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing DNS Domain');?></b></a>
|
||||
<td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing DNS Domain');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<a class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
} else {
|
||||
if (!empty($_SESSION['ok_msg'])) {
|
||||
echo "<a class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
|
||||
echo "<span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -27,26 +26,21 @@
|
|||
<form id="vstobjects" name="v_edit_dns" method="post">
|
||||
<table class='data'>
|
||||
<tr class="data-add">
|
||||
<td class="data-dotted" width="150">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr>
|
||||
<td>
|
||||
<a class="data-date" ?><?php echo strftime("%d %b %Y", strtotime($v_date))?></a><br>
|
||||
<a class="data-date" ?><?php echo $v_time?></a>
|
||||
<a class="data-date"><?php echo strftime("%d %b %Y", strtotime($v_date))?></a><br>
|
||||
<a class="data-date"><?php echo $v_time?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo $v_status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<table width="830px">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 20px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 24px 0 0 0;">
|
||||
<?php print __('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -56,7 +50,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('IP Address');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -66,7 +60,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Expiration Date');?><span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('YYYY-MM-DD');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -76,7 +70,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
SOA
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -86,7 +80,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
TTL
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -95,9 +89,13 @@
|
|||
<input type="text" size="20" class="vst-input" name="v_ttl" <?php if (!empty($v_ttl)) echo "value=".$v_ttl; ?>>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<td style="padding: 24px 0 0 0;" width="116px">
|
||||
<input type="submit" class="button" name="save" value="<?php print __('Save');?>">
|
||||
</td>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="button" class="button" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -6,16 +6,15 @@
|
|||
$back = "location.href='".$back."'";
|
||||
}
|
||||
?>
|
||||
|
||||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing User');?></b></a>
|
||||
<td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing User');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<a class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
} else {
|
||||
if (!empty($_SESSION['ok_msg'])) {
|
||||
echo "<a class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
|
||||
echo "<span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -39,26 +38,21 @@
|
|||
</script>
|
||||
<table class='data'>
|
||||
<tr class="data-add">
|
||||
<td class="data-dotted" width="150">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr>
|
||||
<td>
|
||||
<a class="data-date" ?><?php echo strftime("%d %b %Y", strtotime($v_date))?></a><br>
|
||||
<a class="data-date" ?><?php echo $v_time?></a>
|
||||
<a class="data-date"><?php echo strftime("%d %b %Y", strtotime($v_date))?></a><br>
|
||||
<a class="data-date"><?php echo $v_time?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<table width="830px">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 20px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 28px 0 0 0;">
|
||||
<?php print __('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -68,7 +62,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -78,8 +72,8 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<?php print __('Email');?>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Email');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -88,7 +82,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;" >
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;" >
|
||||
<?php print __('Language');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -107,13 +101,13 @@
|
|||
}
|
||||
echo ">".$value."</option>\n";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<?php print __('Default Name Servers');?>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Default Name Servers');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -6,10 +6,9 @@
|
|||
$back = "location.href='".$back."'";
|
||||
}
|
||||
?>
|
||||
|
||||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing Domain');?></b></a>
|
||||
<td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing Domain');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -59,26 +58,21 @@
|
|||
</script>
|
||||
<table class='data'>
|
||||
<tr class="data-add">
|
||||
<td class="data-dotted" width="150">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr>
|
||||
<td>
|
||||
<a class="data-date" ?><?php echo strftime("%d %b %Y", strtotime($v_date))?></a><br>
|
||||
<a class="data-date" ?><?php echo $v_time?></a>
|
||||
<a class="data-date"><?php echo strftime("%d %b %Y", strtotime($v_date))?></a><br>
|
||||
<a class="data-date"><?php echo $v_time?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<table width="830px">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 20px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 24px 0 0 0;">
|
||||
<?php print __('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -88,7 +82,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('IP Address');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -111,7 +105,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Aliases');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -121,7 +115,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Proxy Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -134,7 +128,7 @@
|
|||
<td>
|
||||
<table style="display:<?php if (empty($v_proxy)) { echo 'none';} else {echo 'block';}?> ;" id="proxytable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Proxy Extensions');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -147,7 +141,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('SSL Support');?> /
|
||||
<a class="generate" target="_blank" href="/generate/ssl/?domain=<?php echo $v_domain ?>"><?php print __('Generate CSR') ?></a>
|
||||
</td>
|
||||
|
@ -161,13 +155,14 @@
|
|||
<td>
|
||||
<table style="display:<?php if ($v_ssl == 'no' ) { echo 'none';} else {echo 'block';}?> ;" id="ssltable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('SSL Home Directory');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<select class="vst-list" name="v_ssl_home">
|
||||
|
||||
<option value='same' <?php if ($v_ssl_home == 'same') echo "selected";?>>
|
||||
public_html
|
||||
</option>
|
||||
|
@ -178,8 +173,8 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<?php print __('SSL Certificate');?>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('SSL Certificate');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -188,7 +183,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('SSL Key');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -198,7 +193,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('SSL Certificate Authority / Intermediate');?> <span class="optional">(<?php print __('optional');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -211,7 +206,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Web Statistics');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -233,7 +228,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Statistics Authorization');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -246,7 +241,7 @@
|
|||
<td>
|
||||
<table style="display:<?php if (empty($v_stats_user)) { echo 'none';} else {echo 'block';}?> ;" id="statstable" name="v-add-web-domain-stats-user">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -256,7 +251,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Password');?> / <a href="javascript:WEBrandom();" class="generate"><?php print __('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -269,7 +264,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Additional FTP Account');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -282,25 +277,25 @@
|
|||
<td>
|
||||
<table style="display:<?php if (empty($v_ftp_user)) { echo 'none';} else {echo 'block';}?> ;" id="ftptable" name="v_add_domain_ftp">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Username');?>
|
||||
<?php if (empty($v_ftp_user)) echo '<br><span style="font-size: 10pt; color:#777;">' . __('Prefix will be automaticaly added to username',$user."_") . '</span>' ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" size="20" class="vst-input" name="v_ftp_user" <?php if (!empty($v_ftp_user)) echo "value=".$v_ftp_user; ?>>
|
||||
<input type="text" size="20" class="vst-input" name="v_ftp_user" <?php if (!empty($v_ftp_user)) echo "value=".$v_ftp_user;?>>
|
||||
<small class="hint"></small>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
<?php print __('Password');?> / <a href="javascript:FTPrandom();" class="generate" ><?php print __('generate');?></a>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Password');?> / <a href="javascript:FTPrandom();" class="generate"><?php print __('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" class="vst-input" name="v_ftp_password" <?php if (!empty($v_ftp_password)) echo "value=".$v_ftp_password; ?>>
|
||||
<input type="text" class="vst-input" name="v_ftp_password" <?php if (!empty($v_ftp_password)) echo "value=".$v_ftp_password;?>>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
@ -308,7 +303,7 @@
|
|||
echo '';
|
||||
?>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<?php print __('Send FTP credentials to email');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 12px 8px">
|
||||
<td style="padding: 14px 10px">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/cron/'"> <?php print __('Add Cron Job');?> </button>
|
||||
</div>
|
||||
|
@ -33,8 +33,12 @@
|
|||
++$i;
|
||||
if ($data[$key]['SUSPENDED'] == 'yes') {
|
||||
$status = 'suspended';
|
||||
$spnd_action = 'unsuspend';
|
||||
$spnd_confirmation = 'UNSUSPEND_CRON_CONFIRMATION' ;
|
||||
} else {
|
||||
$status = 'active';
|
||||
$spnd_action = 'suspend';
|
||||
$spnd_confirmation = 'SUSPEND_CRON_CONFIRMATION' ;
|
||||
}
|
||||
?>
|
||||
|
||||
|
@ -63,14 +67,14 @@
|
|||
<?php print __('edit');?>
|
||||
</span>
|
||||
</a>
|
||||
<table class="data-col2" width="800px">
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td colspan=6 class="cron">
|
||||
<b><?php echo htmlspecialchars($data[$key]['CMD'], ENT_NOQUOTES) ?></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top; width:80px">
|
||||
<td style="vertical-align:top; padding: 4px 0 0 1px" width="118px">
|
||||
<div class="cron-counter-name">
|
||||
<?php print __('Min');?>
|
||||
</div>
|
||||
|
@ -78,7 +82,7 @@
|
|||
<?php echo $data[$key]['MIN'] ?>
|
||||
</div>
|
||||
</td>
|
||||
<td style="vertical-align:top; width:80px">
|
||||
<td style="vertical-align:top; padding: 4px 0 0 0" width="120px">
|
||||
<div class="cron-counter-name">
|
||||
<?php print __('Hour');?>
|
||||
</div>
|
||||
|
@ -86,7 +90,7 @@
|
|||
<?php echo $data[$key]['HOUR'] ?>
|
||||
</div>
|
||||
</td>
|
||||
<td style="vertical-align:top; width:80px">
|
||||
<td style="vertical-align:top; padding: 4px 0 0 0" width="120px">
|
||||
<div class="cron-counter-name">
|
||||
<?php print __('Day');?>
|
||||
</div>
|
||||
|
@ -94,7 +98,7 @@
|
|||
<?php echo $data[$key]['DAY'] ?>
|
||||
</div>
|
||||
</td>
|
||||
<td style="vertical-align:top; width:80px">
|
||||
<td style="vertical-align:top; padding: 4px 0 0 0" width="119px">
|
||||
<div class="cron-counter-name">
|
||||
<?php print __('Month');?>
|
||||
</div>
|
||||
|
@ -102,7 +106,7 @@
|
|||
<?php echo $data[$key]['MONTH'] ?>
|
||||
</div>
|
||||
</td>
|
||||
<td style="vertical-align:top; width:180px">
|
||||
<td style="vertical-align:top; padding: 4px 0 0 0" width="120px">
|
||||
<div class="cron-counter-name">
|
||||
<?php print __('Day of week');?>
|
||||
</div>
|
||||
|
@ -124,7 +128,7 @@
|
|||
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
<td width="168px"></td>
|
||||
<td width="174px"></td>
|
||||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 12px 8px">
|
||||
<td style="padding: 14px 10px">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/db/'"> <?php print __('Add Database');?> </button>
|
||||
</div>
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<div class="submenu-select-block">
|
||||
|
@ -28,15 +28,17 @@
|
|||
<div id="vstobjects">
|
||||
<table class='data'>
|
||||
<?php
|
||||
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"] . ":");
|
||||
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
|
||||
foreach ($data as $key => $value) {
|
||||
++$i;
|
||||
if ($data[$key]['SUSPENDED'] == 'yes') {
|
||||
$status = 'suspended';
|
||||
$spnd_action = 'unsuspend' ;
|
||||
$spnd_confirmation = 'UNSUSPEND_DATABASE_CONFIRMATION' ;
|
||||
} else {
|
||||
$status = 'active';
|
||||
$spnd_action = 'suspend' ;
|
||||
$spnd_confirmation = 'SUSPEND_DATABASE_CONFIRMATION' ;
|
||||
}
|
||||
if ($data[$key]['HOST'] != 'localhost' ) $http_host = $data[$key]['HOST'];
|
||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin";
|
||||
|
@ -54,7 +56,7 @@
|
|||
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<td class="data-dotted">
|
||||
<a id="delete_link_<?php echo $i ?>" class="data-controls do_delete">
|
||||
<span class="do_delete">
|
||||
<img src="/images/delete.png" width="7px" height="7px">
|
||||
|
@ -77,25 +79,25 @@
|
|||
<?php print __('open %s',$db_admin);?>
|
||||
</span>
|
||||
</a>
|
||||
<table class="data-col2" width="830px">
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td colspan=3 class="domain" style="padding: 0 0 0 4px;">
|
||||
<td colspan=3 class="domain">
|
||||
<b><?php echo $key ?></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;" >
|
||||
<td style="vertical-align:top;" width="239px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 10px 0 0px 2px"><?php print __('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:5px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:5px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
<td class="chart1" style="padding: 4px 0 0 0"><?php print __('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;" width="260">
|
||||
<td style="vertical-align:top;" width="297px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
|
@ -115,7 +117,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td rowspan=4 style="vertical-align:top;" width="300">
|
||||
<td style="vertical-align:top;">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
|
@ -147,7 +149,7 @@
|
|||
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
<td width="160px"></td>
|
||||
<td width="174px"></td>
|
||||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 12px 8px">
|
||||
<td style="padding: 14px 10px">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/dns/'"> <?php print __('Add DNS Domain');?> </button>
|
||||
</div>
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<div class="submenu-select-block">
|
||||
|
@ -24,6 +24,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="vstobjects">
|
||||
<table class="data">
|
||||
<?php
|
||||
|
@ -32,20 +33,22 @@
|
|||
if ($data[$key]['SUSPENDED'] == 'yes') {
|
||||
$status = 'suspended';
|
||||
$spnd_action = 'unsuspend' ;
|
||||
$spnd_confirmation = 'UNSUSPEND_DOMAIN_CONFIRMATION' ;
|
||||
} else {
|
||||
$status = 'active';
|
||||
$spnd_action = 'suspend' ;
|
||||
$spnd_confirmation = 'SUSPEND_DOMAIN_CONFIRMATION' ;
|
||||
}
|
||||
?>
|
||||
<tr class="data-row">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr><td><input type="checkbox" class="ch-toggle" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
|
||||
<tr><td><input type="checkbox" class="ch-toggle" name="domain[]" value="<?php echo $key ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE'])) ?></a></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status) ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<td class="data-dotted">
|
||||
<a id="delete_link_<?php echo $i ?>" class="data-controls do_delete">
|
||||
<span class="do_delete">
|
||||
<img src="/images/delete.png" width="7px" height="7px">
|
||||
|
@ -74,31 +77,31 @@
|
|||
<?php print __('list records',$data[$key]['RECORDS']); ?>
|
||||
</span>
|
||||
</a>
|
||||
<table class="data-col2" width="830px">
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td colspan=3 class="domain" style="padding: 0 0 0 4px;">
|
||||
<td colspan=3 class="domain">
|
||||
<b><?php echo $key ?></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;" >
|
||||
<td style="vertical-align:top;" width="239px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 0 0 0 2px;">
|
||||
<td class="counter-name">
|
||||
<?php echo $data[$key]['IP'] ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 0 0 0 2px;">
|
||||
<td class="counter-name">
|
||||
<?php print $data[$key]['SRC'] ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;" width="270">
|
||||
<td style="vertical-align:top;" width="297px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name"><?php print __('Template');?>:</td>
|
||||
<td class="counter-name"><?php print __('Template') ?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['TPL'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -107,7 +110,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td rowspan=4 style="vertical-align:top;" width="300">
|
||||
<td style="vertical-align:top;">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name"><?php print __('TTL') ?>:</td>
|
||||
|
@ -131,7 +134,7 @@
|
|||
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
<td width="160px"></td>
|
||||
<td width="174px"></td>
|
||||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 12px 8px">
|
||||
<td style="padding: 14px 10px">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/dns/?domain=<?php echo $_GET['domain'] ?>'"> <?php print __('Add DNS Record') ?> </button>
|
||||
<button class="submenu-button-main" onclick="location.href='/add/dns/?domain=<?php echo $_GET['domain'] ?>'"> <?php print __('Add DNS Record');?> </button>
|
||||
</div>
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<div class="submenu-select-block">
|
||||
|
@ -26,15 +26,13 @@
|
|||
</div>
|
||||
|
||||
<div id="vstobjects">
|
||||
<div style="height:10px; font-size:0;"></div>
|
||||
<table class="data" style="background: #ebe9dc;">
|
||||
<tr>
|
||||
<td style="padding: 8px 2px 8px 0;">
|
||||
<td style="padding: 10px 4px">
|
||||
<a class="name" style="color: #555; font-size: 10pt;"><b><?php print __('Listing');?> <?php echo $_GET['domain'] ?></b></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="height:10px; font-size:0;"></div>
|
||||
<table class="data">
|
||||
<?php
|
||||
foreach ($data as $key => $value) {
|
||||
|
@ -42,9 +40,11 @@
|
|||
if ($data[$key]['SUSPENDED'] == 'yes') {
|
||||
$status = 'suspended';
|
||||
$spnd_action = 'unsuspend' ;
|
||||
$spnd_confirmation = 'UNSUSPEND_RECORD_CONFIRMATION' ;
|
||||
} else {
|
||||
$status = 'active';
|
||||
$spnd_action = 'suspend' ;
|
||||
$spnd_confirmation = 'UNSUSPEND_RECORD_CONFIRMATION' ;
|
||||
}
|
||||
?>
|
||||
<tr class="data-row">
|
||||
|
@ -54,7 +54,7 @@
|
|||
<tr><td></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<td class="data-dotted">
|
||||
<a id="delete_link_<?php echo $i ?>" class="data-controls do_delete">
|
||||
<span class="do_delete">
|
||||
<img src="/images/delete.png" width="7px" height="7px">
|
||||
|
@ -71,11 +71,11 @@
|
|||
<?php print __('edit');?>
|
||||
</span>
|
||||
</a>
|
||||
<table class="data-col5" width="806px">
|
||||
<table class="data-col5">
|
||||
<tr>
|
||||
<td class="log" style="padding: 0 0 0 4px;" width="200"><b><?php echo $data[$key]['RECORD'] ?></b></td>
|
||||
<td class="log-counter-value" width="80"><?php echo $data[$key]['TYPE'] ?></td>
|
||||
<td class="log-counter-value" width="80"><?php echo $data[$key]['PRIORITY'] ?></td>
|
||||
<td class="log" width="239px"><b><?php echo $data[$key]['RECORD'] ?></b></td>
|
||||
<td class="log-counter-value" width="57px"><?php echo $data[$key]['TYPE'] ?></td>
|
||||
<td class="log-counter-value" width="62px"><?php echo $data[$key]['PRIORITY'] ?></td>
|
||||
<td class="log-counter-value" ><?php echo $data[$key]['VALUE'] ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -83,12 +83,12 @@
|
|||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</table>
|
||||
</form>
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
<td width="160px">
|
||||
<td width="174px">
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 12px 8px">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/mail/'"> <?php print __('Add Mail Domain');?> </button>
|
||||
</div>
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/mail/'"> <?php print __('Add Mail Domain');?> </button>
|
||||
</div>
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<div class="submenu-select-block">
|
||||
<form action="/bulk/mail/" method="post" id="objects">
|
||||
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print __('toggle all');?> </a>
|
||||
<select class="submenu-select-dropdown" name="action">
|
||||
<option value=""><?php print __('apply to selected');?></option>
|
||||
<option value="delete"><?php print __('delete');?></option>
|
||||
</select>
|
||||
<select class="submenu-select-dropdown" name="action">
|
||||
<option value=""><?php print __('apply to selected');?></option>
|
||||
<option value="delete"><?php print __('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<div id="vstobjects">
|
||||
<table class="data">
|
||||
<?php
|
||||
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"] . ":");
|
||||
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
|
||||
$webmail = "http://".$http_host."/webmail/";
|
||||
if (!empty($sys['config']['MAIL_URL'])) $webmail = $sys['config']['MAIL_URL'];
|
||||
|
||||
|
@ -37,9 +37,11 @@
|
|||
if ($data[$key]['SUSPENDED'] == 'yes') {
|
||||
$status = 'suspended';
|
||||
$spnd_action = 'unsuspend' ;
|
||||
$spnd_confirmation = 'UNSUSPEND_DOMAIN_CONFIRMATION' ;
|
||||
} else {
|
||||
$status = 'active';
|
||||
$spnd_action = 'suspend' ;
|
||||
$spnd_confirmation = 'UNSUSPEND_DOMAIN_CONFIRMATION' ;
|
||||
}
|
||||
if (empty($data[$key]['CATCHALL'])) {
|
||||
$data[$key]['CATCHALL'] = '/dev/null';
|
||||
|
@ -53,7 +55,7 @@
|
|||
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<td class="data-dotted">
|
||||
<a id="delete_link_<?php echo $i ?>" class="data-controls do_delete">
|
||||
<span class="do_delete">
|
||||
<img src="/images/delete.png" width="7px" height="7px">
|
||||
|
@ -88,26 +90,26 @@
|
|||
<?php print __('list accounts',$data[$key]['ACCOUNTS']); ?>
|
||||
</span>
|
||||
</a>
|
||||
<table class="data-col2" width="830px">
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td colspan=3 class="domain" style="padding: 0 0 0 4px;">
|
||||
<td colspan=3 class="domain">
|
||||
<b><?php echo $key ?></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;" >
|
||||
<td style="vertical-align:top;" width="239px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 10px 0 2px 0">
|
||||
<td class="chart1" style="padding: 4px 0 0 0">
|
||||
<?php print __('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:5px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:5px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;" width="260">
|
||||
<td style="vertical-align:top;" width="297px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
|
@ -127,7 +129,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td rowspan=4 style="vertical-align:top;" width="300">
|
||||
<td style="vertical-align:top;" widht="200px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
|
@ -158,7 +160,7 @@
|
|||
</form>
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
<td width="160px"></td>
|
||||
<td width="174px"></td>
|
||||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 12px 8px">
|
||||
<td style="padding: 14px 10px">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/mail/?domain=<?php echo $_GET['domain'] ?>'"> <?php print __('Add Mail Account');?> </button>
|
||||
</div>
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<div class="submenu-select-block">
|
||||
<form action="/bulk/mail/" method="post" id="objects">
|
||||
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print __('toggle all');?> </a>
|
||||
<select class="submenu-select-dropdown" name="action">
|
||||
<option value="apply to selected"><?php print __('apply to selected');?></option>
|
||||
<option value=""><?php print __('apply to selected');?></option>
|
||||
<option value="delete"><?php print __('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="submenu-button" style="width: 36px;">
|
||||
|
@ -26,15 +26,13 @@
|
|||
</div>
|
||||
|
||||
<div id="vstobjects">
|
||||
<div style="height:10px; font-size:0;"></div>
|
||||
<table class="data" style="background: #ebe9dc;">
|
||||
<tr>
|
||||
<td style="padding: 8px 2px 8px 0;">
|
||||
<td style="padding: 10px 4px;">
|
||||
<a class="name" style="color: #555; font-size: 10pt;"><b><?php print __('Listing');?> <?php echo $_GET['domain'] ?></b></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="height:10px; font-size:0;"></div>
|
||||
<table class="data">
|
||||
<?php
|
||||
foreach ($data as $key => $value) {
|
||||
|
@ -42,9 +40,11 @@
|
|||
if ($data[$key]['SUSPENDED'] == 'yes') {
|
||||
$status = 'suspended';
|
||||
$spnd_action = 'unsuspend' ;
|
||||
$spnd_confirmation = 'UNSUSPEND_MAIL_ACCOUNT_CONFIRMATION' ;
|
||||
} else {
|
||||
$status = 'active';
|
||||
$spnd_action = 'suspend';
|
||||
$spnd_confirmation = 'SUSPEND_MAIL_ACCOUNT_CONFIRMATION' ;
|
||||
}
|
||||
?>
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
|||
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<td class="data-dotted">
|
||||
<a id="delete_link_<?php echo $i ?>" class="data-controls do_delete">
|
||||
<span class="do_delete">
|
||||
<img src="/images/delete.png" width="7px" height="7px">
|
||||
|
@ -73,26 +73,22 @@
|
|||
<?php print __('edit');?>
|
||||
</span>
|
||||
</a>
|
||||
<table class="data-col2" width="830px">
|
||||
<tr><td colspan=3 class="domain" style="padding: 0 0 0 4px;"><b><?php echo $key."@".$_GET['domain'] ?></b> <a class="aliases" style="padding: 0 20px 0 4px"><?php echo str_replace(',', ', ', $data[$key]['ALIAS']) ?></a></td></tr>
|
||||
<table class="data-col2">
|
||||
<tr><td colspan=3 class="domain"><b><?php echo $key."@".$_GET['domain'] ?></b> <a class="aliases"><?php echo str_replace(',', ', ', $data[$key]['ALIAS']) ?></a></td></tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;" >
|
||||
<td style="vertical-align:top;" width="239px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 4px 0 0 0;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 2px 0 2px 0">
|
||||
<td class="chart1" style="padding: 4px 0 0 0">
|
||||
<?php print __('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:5px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['QUOTA']) ?>%; height:5px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;" width="200">
|
||||
<td style="vertical-align:top;" width="297px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
|
@ -112,7 +108,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td rowspan=4 style="vertical-align:top;" width="350">
|
||||
<td style="vertical-align:top;">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
|
@ -136,7 +132,7 @@
|
|||
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
<td width="160px"></td>
|
||||
<td width="174px"></td>
|
||||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 12px 8px">
|
||||
<td style="padding: 14px 10px">
|
||||
<div style="submenu-button-block">
|
||||
<a style="float:left; font-size: 16pt; color: #555;"><b><?php print __('Search Results');?></b></a>
|
||||
</div>
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
|
@ -37,32 +37,32 @@
|
|||
|
||||
<tr class="data-row">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1" width="150">
|
||||
<table class="data-col1">
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE']))?></a></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<td class="data-dotted">
|
||||
<?php
|
||||
if ($data[$key]['KEY'] == 'RECORD') {
|
||||
$delete_lnk = '/delete/'.$data[$key]['TYPE'].'/?domain='.$data[$key]['PARENT'].'&record_id='.$data[$key]['LINK'].'&user='.$data[$key]['USER'];
|
||||
$cnfrm = 'DELETE_RECORD_CONFIRMATION';
|
||||
$cnfrm = 'RECORD_ACTION_CONFIRMATION';
|
||||
}
|
||||
if ($data[$key]['KEY'] == 'ACCOUNT') {
|
||||
$delete_lnk = '/delete/'.$data[$key]['TYPE'].'/?domain='.$data[$key]['PARENT'].'&account='.$data[$key]['LINK'].'&user='.$data[$key]['USER'];
|
||||
$cnfrm = 'DELETE_USER_CONFIRMATION';
|
||||
$cnfrm = 'USER_ACTION_CONFIRMATION';
|
||||
}
|
||||
if ($data[$key]['KEY'] == 'JOB') {
|
||||
$delete_lnk = '/delete/'.$data[$key]['TYPE'].'/?job='.$data[$key]['LINK'].'&user='.$data[$key]['USER'];
|
||||
$cnfrm = 'DELETE_CRON_CONFIRMATION';
|
||||
$cnfrm = 'CRON_ACTION_CONFIRMATION';
|
||||
}
|
||||
if ($data[$key]['KEY'] == 'DATABASE') {
|
||||
$delete_lnk = '/delete/'.$data[$key]['TYPE'].'/?database='.$data[$key]['RESULT'].'&user='.$data[$key]['USER'];
|
||||
$cnfrm = 'DELETE_DATABASE_CONFIRMATION';
|
||||
$cnfrm = 'DATABASE_ACTION_CONFIRMATION';
|
||||
}
|
||||
if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB') && ($data[$key]['KEY'] != 'DATABASE') ) {
|
||||
$delete_lnk = '/delete/'.$data[$key]['TYPE'].'/?'.strtolower($data[$key]['KEY']).'='.$data[$key]['RESULT'].'&user='.$data[$key]['USER'];
|
||||
$cnfrm = 'DELETE_DOMAIN_CONFIRMATION';
|
||||
$cnfrm = 'DOMAIN_ACTION_CONFIRMATION';
|
||||
}
|
||||
?>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete">
|
||||
|
@ -71,11 +71,35 @@
|
|||
<?php print __('delete');?>
|
||||
<input type="hidden" name="delete_url" value="<?php echo $delete_lnk; ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value"><?php print __($cnfrm,$data[$key]['RESULT']);?></p>
|
||||
<p class="counter-value"><?php print __($cnfrm,__('delete'),$data[$key]['RESULT']);?></p>
|
||||
</div>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<?php
|
||||
|
||||
if ($data[$key]['KEY'] == 'RECORD') {
|
||||
$spnd_lnk = '/'.$spnd_action.'/'.$data[$key]['TYPE'].'/?domain='.$data[$key]['PARENT'].'&record_id='.$data[$key]['LINK'].'&user='.$data[$key]['USER'];
|
||||
$cnfrm = 'RECORD_ACTION_CONFIRMATION';
|
||||
}
|
||||
if ($data[$key]['KEY'] == 'ACCOUNT') {
|
||||
$spnd_lnk = '/'.$spnd_action.'/'.$data[$key]['TYPE'].'/?domain='.$data[$key]['PARENT'].'&account='.$data[$key]['LINK'].'&user='.$data[$key]['USER'];
|
||||
$cnfrm = 'USER_ACTION_CONFIRMATION';
|
||||
}
|
||||
if ($data[$key]['KEY'] == 'JOB') {
|
||||
$spnd_lnk = '/'.$spnd_action.'/'.$data[$key]['TYPE'].'/?job='.$data[$key]['LINK'].'&user='.$data[$key]['USER'];
|
||||
$cnfrm = 'CRON_ACTION_CONFIRMATION';
|
||||
}
|
||||
if ($data[$key]['KEY'] == 'DATABASE') {
|
||||
$spnd_lnk = '/'.$spnd_action.'/'.$data[$key]['TYPE'].'/?database='.$data[$key]['RESULT'].'&user='.$data[$key]['USER'];
|
||||
$cnfrm = 'DATABASE_ACTION_CONFIRMATION';
|
||||
}
|
||||
if (($data[$key]['KEY'] != 'RECORD') && ($data[$key]['KEY'] != 'ACCOUNT') && ($data[$key]['KEY'] != 'JOB') && ($data[$key]['KEY'] != 'DATABASE') ) {
|
||||
$spnd_lnk = '/'.$spnd_action.'/'.$data[$key]['TYPE'].'/?'.strtolower($data[$key]['KEY']).'='.$data[$key]['RESULT'].'&user='.$data[$key]['USER'];
|
||||
$cnfrm = 'DOMAIN_ACTION_CONFIRMATION';
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if ($data[$key]['KEY'] == 'RECORD') {
|
||||
$edit_lnk = '/edit/'.$data[$key]['TYPE'].'/?domain='.$data[$key]['PARENT'].'&record_id='.$data[$key]['LINK'].'&user='.$data[$key]['USER'];
|
||||
|
@ -100,22 +124,19 @@
|
|||
</span>
|
||||
</a>
|
||||
|
||||
<table class="data-col2" width="830px">
|
||||
<tr><td colspan=3 class="domain" style="padding: 0 0 0 4px;"><b><?php echo $data[$key]['RESULT'] ?></b> <a class="aliases" style="padding: 0 20px 0 4px"><?php echo str_replace(',', ', ', $data[$key]['ALIAS']) ?></a></td></tr>
|
||||
<table class="data-col2">
|
||||
<tr><td colspan=3 class="domain"><b><?php echo $data[$key]['RESULT'] ?></b> <a class="aliases"><?php echo str_replace(',', ', ', $data[$key]['ALIAS']) ?></a></td></tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;" >
|
||||
<td style="vertical-align:top;" width="239px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
<?php print __('Object');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $object ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;" width="200">
|
||||
<td style="vertical-align:top;" width="297px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
|
@ -127,13 +148,13 @@
|
|||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;" width="350">
|
||||
<td style="vertical-align:top;">
|
||||
<table >
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
<?php print __('Status');?>:
|
||||
</td>
|
||||
<td class="counter-value" style="padding: 0 0 0 8px;">
|
||||
<td class="counter-value">
|
||||
<?php echo __($status); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -151,7 +172,7 @@
|
|||
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
<td width="160px"></td>
|
||||
<td width="174px"></td>
|
||||
<td>
|
||||
<?php
|
||||
if ( $i == 1){
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 12px 8px">
|
||||
<td style="padding: 14px 10px">
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
<input type="submit" value="<?php print __('Search');?>" class="submenu-button" style="width: 96px;">
|
||||
</form>
|
||||
</div>
|
||||
<div class="submenu-select-block" style="padding-left:8px;">
|
||||
</div>
|
||||
<?php display_error_block(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -23,39 +25,39 @@
|
|||
|
||||
<tr class="data-row">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1" width="150">
|
||||
<table class="data-col1">
|
||||
<tr><td><a class="data-date" ><?php echo strftime("%d %b %Y", strtotime($key))?></a></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<div style="height:20px; width:20px;"></div>
|
||||
<table class="data-col2" width="830px">
|
||||
<td class="data-dotted">
|
||||
<div style="height:19px"></div>
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td colspan=3 class="username" style="padding: 0 0 0 4px">
|
||||
<td colspan=3 class="username">
|
||||
<b><?php echo strftime("%b %Y", strtotime($key))?></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;" >
|
||||
<td style="vertical-align:top;" width="239px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 4px 0 0 2px;">
|
||||
<td class="chart1" colspan=2 style="padding: 14px 0 0 0px;">
|
||||
<?php print __('Bandwidth');?>: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<div style="width:160px; height:7px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>%; height:7px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>%; height:8px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 2px;">
|
||||
<td class="chart1" colspan=2>
|
||||
<?php print __('Disk');?>: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<div style="width:160px; height:7px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>%; height:7px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
<div style="width:160px; height:8px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>%; height:8px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2>
|
||||
<td class="chart1" colspan=2 style="padding: 4px 0 0 1px;">
|
||||
<table class="chart2">
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -78,10 +80,10 @@
|
|||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;" width="280">
|
||||
<table width="280">
|
||||
<td style="vertical-align:top;" width="297px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" width="37%">
|
||||
<td class="counter-name">
|
||||
<?php print __('Web Domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
|
@ -122,10 +124,10 @@
|
|||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;" width="250">
|
||||
<table class="data-col4" width="250">
|
||||
<td style="vertical-align:top;">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" width="50%">
|
||||
<td class="counter-name">
|
||||
<?php print __('Mail Domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
|
@ -179,7 +181,7 @@
|
|||
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
<td width="160px"></td>
|
||||
<td width="174px"></td>
|
||||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 12px 8px">
|
||||
<td style="padding: 14px 10px">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/web/'"> <?php print __('Add Web Domain') ?> </button>
|
||||
<button class="submenu-button-main" onclick="location.href='/add/web/'"> <?php print __('Add Web Domain');?> </button>
|
||||
</div>
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
|
@ -24,6 +24,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="vstobjects">
|
||||
<table class="data">
|
||||
<?php
|
||||
|
@ -32,68 +33,70 @@
|
|||
if ($data[$key]['SUSPENDED'] == 'yes') {
|
||||
$status = 'suspended';
|
||||
$spnd_action = 'unsuspend' ;
|
||||
$spnd_confirmation = 'UNSUSPEND_USER_CONFIRMATION' ;
|
||||
} else {
|
||||
$status = 'active';
|
||||
$spnd_action = 'suspend' ;
|
||||
$spnd_confirmation = 'SUSPEND_USER_CONFIRMATION' ;
|
||||
}
|
||||
?>
|
||||
|
||||
?>
|
||||
<tr class="data-row">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr><td><input type="checkbox" class="ch-toggle" name="user[]" value="<?php echo $key ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE']))?></a></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status); ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status) ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<a href="/edit/user/?user=<?php echo "$key" ?>" class="data-controls">
|
||||
<td class="data-dotted">
|
||||
<a href="/edit/user/?user=<?php echo $key; ?>" class="data-controls">
|
||||
<span>
|
||||
<img src="/images/edit.png" width="8px" height="8px">
|
||||
<?php print __('edit');?>
|
||||
<?php print __('edit'); ?>
|
||||
</span>
|
||||
</a>
|
||||
<table class="data-col2" width="830px">
|
||||
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td colspan=3 class="username" style="padding: 0 0 0 4px;"><b><?php echo $key ?></b><a class="fullname"><?php echo $data[$key]['FNAME']?> <?php echo $data[$key]['LNAME']?></a></td>
|
||||
<td colspan=3 class="username"><b><?php echo $key ?></b><a class="fullname"><?php echo $data[$key]['FNAME']?> <?php echo $data[$key]['LNAME']?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;" width="260">
|
||||
<td style="vertical-align:top;" width="239px">
|
||||
<table>
|
||||
<tr><td colspan=2 class="counter-name" style="padding: 0 0 0 2px;"><?php echo $data[$key]['CONTACT']?></td></tr>
|
||||
<tr><td colspan=2 class="counter-name" style="padding: 0 0 8px 2px;">[<?php echo $data[$key]['PACKAGE']?>] <?php print __('package');?></td></tr>
|
||||
<tr><td colspan=2 class="counter-name"><?php echo $data[$key]['CONTACT']?></td></tr>
|
||||
<tr><td colspan=2 class="counter-name" style="padding: 2px 0 14px 0;">[<?php echo $data[$key]['PACKAGE']?>] <?php print __('package');?></td></tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 3px;"><?php print __('Bandwidth');?>: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<td class="chart1" colspan=2><?php print __('Bandwidth');?>: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<div style="width:160px; height:7px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>%; height:7px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 3px;"><?php print __('Disk');?>: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<td class="chart1" colspan=2 style="padding: 0px 0 0 0;"><?php print __('Disk');?>: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<div style="width:160px; height:7px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>%; height:7px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2 style="padding: 2px 0 0 0;">
|
||||
<td colspan=2 style="padding: 4px 0 0 1px;">
|
||||
<table class="chart2">
|
||||
<tr>
|
||||
<td>
|
||||
<?php print __('Web');?>: <?php echo humanize_usage($data[$key]['U_DISK_WEB'])?>
|
||||
<?php print __('Web');?>: <?php echo humanize_usage($data[$key]['U_DISK_WEB'])?>
|
||||
</td>
|
||||
<td style="padding: 0px 0px 0px 4px">
|
||||
<?php print __('Databases');?>: <?php echo humanize_usage($data[$key]['U_DISK_DB'])?>
|
||||
<td style="padding: 2px 0px 2px 4px">
|
||||
<?php print __('Databases');?>: <?php echo humanize_usage($data[$key]['U_DISK_DB'])?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php print __('Mail');?>: <?php echo humanize_usage($data[$key]['U_DISK_MAIL'])?>
|
||||
<?php print __('Mail');?>: <?php echo humanize_usage($data[$key]['U_DISK_MAIL'])?>
|
||||
|
||||
</td>
|
||||
<td style="padding: 0px 0px 0px 4px">
|
||||
<?php print __('User Directories');?>: <?php echo humanize_usage($data[$key]['U_DISK_DIRS'])?>
|
||||
<?php print __('User Directories');?>: <?php echo humanize_usage($data[$key]['U_DISK_DIRS'])?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -101,8 +104,8 @@
|
|||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;" width="300">
|
||||
<table width="290">
|
||||
<td style="vertical-align:top;" width="297px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name"><?php print __('Web Domains');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_WEB_DOMAINS'] ?> / <?php echo $data[$key]['WEB_DOMAINS'] ?></td>
|
||||
|
@ -125,12 +128,12 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name"><?php print __('Name Servers');?>:<br></td>
|
||||
<td class="counter-value"><?php echo str_replace(',', ', ',$data[$key]['NS']) ?></td>
|
||||
<td class="counter-value"><?php echo str_replace(',', '<br>',$data[$key]['NS']) ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;">
|
||||
<table class="data-col4">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name"><?php print __('Mail Domains');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_MAIL_DOMAINS'] ?> / <?php echo $data[$key]['MAIL_DOMAINS'] ?></td>
|
||||
|
@ -173,7 +176,7 @@
|
|||
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
<td width="160px"></td>
|
||||
<td width="174px">
|
||||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 12px 8px">
|
||||
<td style="padding: 14px 10px">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/web/'"> <?php print __('Add Web Domain');?> </button>
|
||||
</div>
|
||||
|
@ -76,10 +76,10 @@
|
|||
<table class="data-col1">
|
||||
<tr><td><input type="checkbox" class="ch-toggle" name="domain[]" value="<?php echo $key ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE'])) ?></a></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status); ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status) ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px">
|
||||
<td class="data-dotted">
|
||||
<a id="delete_link_<?php echo $i ?>" class="data-controls do_delete">
|
||||
<span class="do_delete">
|
||||
<img src="/images/delete.png" width="7px" height="7px">
|
||||
|
@ -102,6 +102,7 @@
|
|||
<?php print __('view logs');?>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<?php
|
||||
if (!empty($data[$key]['STATS'])) {
|
||||
?>
|
||||
|
@ -114,38 +115,38 @@
|
|||
<?php
|
||||
}
|
||||
?>
|
||||
<table class="data-col2" width="830px">
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td colspan=3 class="domain" style="padding: 0 0 0 4px;">
|
||||
<b><?php echo $key ?></b> <a class="aliases" style="padding: 0 30px 0 8px"><?php echo str_replace(',', ', ', $data[$key]['ALIAS']) ?></a>
|
||||
<td colspan=3 class="domain">
|
||||
<b><?php echo $key ?></b> <a class="aliases"><?php echo str_replace(',', ', ', $data[$key]['ALIAS']) ?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;" >
|
||||
<td style="vertical-align:top;" width="239px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 0 0 0 2px;">
|
||||
<td class="counter-name">
|
||||
<?php echo $data[$key]['IP'] ?>
|
||||
</td>
|
||||
<tr>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 4px 0 0 2px">
|
||||
<td class="chart1" style="padding: 8px 0 0 0">
|
||||
<?php print __('Bandwidth');?>: <?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>
|
||||
<div style="width:160px; height:5px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$panel[$user]['BANDWIDTH']) ?>%; height:5px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$panel[$user]['BANDWIDTH']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 2px 0 0 2px"><?php print __('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:5px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:5px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
<td class="chart1" style="padding: 4px 0 0 0"><?php print __('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="vertical-align:top;" width="260">
|
||||
<td style="vertical-align:top;" width="297px">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name"><?php print __('Web Template');?>:</td>
|
||||
|
@ -166,7 +167,7 @@
|
|||
|
||||
</table>
|
||||
</td>
|
||||
<td rowspan=4 style="vertical-align:top;" width="300">
|
||||
<td rowspan=4 style="vertical-align:top;">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name"><?php print __('Proxy Support');?>:</td>
|
||||
|
@ -176,12 +177,10 @@
|
|||
<td class="counter-name"><?php print __('Proxy Template');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['PROXY'];?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="counter-name"><?php print __('Proxy Extentions');?>:</td>
|
||||
<td class="counter-value" <?php if (!empty($proxy_ext_title)) echo "title='".$proxy_ext_title."'" ?>><?php echo $proxy_ext ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="counter-name"> <?php print __('Additional FTP Account');?>:</td>
|
||||
<td class="counter-value"> <?php print __($ftp_user) ?></td>
|
||||
|
@ -200,7 +199,7 @@
|
|||
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
<td width="160px">
|
||||
<td width="174px">
|
||||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue