improved html structure

This commit is contained in:
Serghey Rodin 2012-09-27 20:29:28 +03:00
commit d2efdc212e
49 changed files with 98 additions and 193 deletions

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding Cron Job</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding Cron Job</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding Database</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding Database</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding DNS Domain</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding DNS Domain</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";
@ -153,5 +153,4 @@
</td> </td>
</tr> </tr>
</table> </table>
<table class="data-spacer" style="height:68px"><tr><td></td></tr></table>
</form> </form>

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding DNS Record</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding DNS Record</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding IP Address</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding IP Address</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding Mail Domain</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding Mail Domain</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";
@ -83,6 +83,4 @@
</td> </td>
</tr> </tr>
</table> </table>
<table class="data-spacer" style="height:18px"><tr><td></td></tr></table>
</form> </form>

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding Mail Account</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding Mail Account</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";
@ -135,7 +135,4 @@
</td> </td>
</tr> </tr>
</table> </table>
<table class="data-spacer" style="height:5px"><tr><td></td></tr></table>
</form> </form>

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding Package</b></a> <td style="padding: 10x 2px 0 0;" ><a class="add-name"><b>Adding Package</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding User</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding User</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding Domain</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding Domain</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing Cron Job</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing Cron Job</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing Database</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing Database</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing DNS Domain</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing DNS Domain</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing DNS Record</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing DNS Record</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing IP Address</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing IP Address</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing Mail Domain</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing Mail Domain</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing Mail Account</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing Mail Account</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing Package</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing Package</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding User</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding User</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing Domain</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing Domain</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -220,8 +220,6 @@
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -238,6 +236,3 @@
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:174px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:38px\"><tr><td></td></tr></table>"; ?>

View file

@ -197,8 +197,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -215,6 +213,3 @@
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:193px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:76px\"><tr><td></td></tr></table>"; ?>

View file

@ -178,8 +178,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -195,7 +193,3 @@
</tr> </tr>
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:187px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:64px\"><tr><td></td></tr></table>"; ?>

View file

@ -164,8 +164,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -182,6 +180,3 @@
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:178px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:46px\"><tr><td></td></tr></table>"; ?>

View file

@ -125,8 +125,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"> <td width="160px">
@ -142,8 +140,3 @@
</tr> </tr>
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:217px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:124px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 3) echo "<table class=\"data-spacer\" style=\"height:31px\"><tr><td></td></tr></table>"; ?>

View file

@ -142,8 +142,6 @@
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -159,7 +157,3 @@
</tr> </tr>
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:194px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:78px\"><tr><td></td></tr></table>"; ?>

View file

@ -52,8 +52,6 @@
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -69,8 +67,3 @@
</tr> </tr>
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:227px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:145px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 3) echo "<table class=\"data-spacer\" style=\"height:62px\"><tr><td></td></tr></table>"; ?>

View file

@ -191,8 +191,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -208,7 +206,3 @@
</tr> </tr>
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:187px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:64px\"><tr><td></td></tr></table>"; ?>

View file

@ -173,8 +173,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -189,9 +187,5 @@
</td> </td>
</tr> </tr>
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:194px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:78px\"><tr><td></td></tr></table>"; ?>

View file

@ -220,8 +220,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -237,6 +235,3 @@
</tr> </tr>
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:117px\"><tr><td></td></tr></table>"; ?>

View file

@ -185,8 +185,6 @@
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -203,5 +201,3 @@
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:117px\"><tr><td></td></tr></table>"; ?>

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 0 8px 6px"> <td style="padding: 12px 0 0 6px">
<div style="float:left"> <div style="float:left">
<?php <?php
if ($user == 'admin') { if ($user == 'admin') {
@ -12,20 +12,28 @@
?> ?>
</div> </div>
<div style="text-align: right; float: right;"> <div style="text-align: right; float: right;">
<input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;"> <form action="/search/" method="get">
<button> Search </button> <input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;" name="q">
<input type="submit" name="search" value="Search" class="button" style="font-size: 12px;">
</form>
</div> </div>
<div style="float:left; padding-left: 26px;"> <div style="float:left; padding-left: 26px;">
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("vstobjects");'> toggle all </a> <form action="/bulk/user/" method="post" id="objects">
<select style="margin:0 2px 0 0px;" > <a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
<select style="margin:0 2px 0 0px;" name="action">
<option>apply to selected</option> <option>apply to selected</option>
<option>rebuild</option> <option>rebuild</option>
<option>rebuild web</option>
<option>rebuild dns</option>
<option>rebuild mail</option>
<option>rebuild db</option>
<option>rebuild cron</option>
<option>update counters</option> <option>update counters</option>
<option>suspend</option> <option>suspend</option>
<option>unsuspend</option> <option>unsuspend</option>
<option>delete</option> <option>delete</option>
</select> </select>
<button style="width:27px;"> </button> <input type="submit" name="ok" value="" class="button" style="width: 37px; font-size: 12px;">
</div> </div>
</td> </td>
</tr> </tr>
@ -34,7 +42,7 @@
</tr> </tr>
</table> </table>
<form id="vstobjects"> <div id="vstobjects">
<table class="data"> <table class="data">
<?php <?php
foreach ($data as $key => $value) { foreach ($data as $key => $value) {
@ -90,7 +98,7 @@
<tr class="data-row"> <tr class="data-row">
<td class="data-dotted" style="padding: 0px 10px 0px 0px"> <td class="data-dotted" style="padding: 0px 10px 0px 0px">
<table class="data-col1"> <table class="data-col1">
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="object"></td></tr> <tr><td style="padding: 18 0 4 18;"><input type="checkbox" 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 date("d M Y", strtotime($data[$key]['DATE']))?></a></td></tr> <tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M 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> </table>
@ -260,8 +268,7 @@
} }
?> ?>
</table> </table>
</form>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
@ -277,6 +284,4 @@
</td> </td>
</tr> </tr>
</table> </table>
</form> </div>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:70px\"><tr><td></td></tr></table>"; ?>

View file

@ -1,25 +1,26 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 0 8px 6px"> <td style="padding: 12px 0 0 6px">
<div style="float:left"> <div style="float:left">
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/web/'"> Add Domain </button> <button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/web/'"> Add Domain </button>
</div> </div>
<div style="text-align: right; float: right;"> <div style="text-align: right; float: right;">
<input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;"> <form action="/search/" method="get" >
<button> Search </button> <input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;" name="q">
<input type="submit" name="search" value="Search" class="button" style="font-size: 12px;">
</form>
</div> </div>
<div style="float:left; padding-left: 26px;"> <div style="float:left; padding-left: 26px;">
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("vstobjects");'> toggle all </a> <form action="/bulk/web/" method="post" id="objects">
<select style="margin:0 2px 0 0px;" > <a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
<select style="margin:0 2px 0 0px;" name="action">
<option>apply to selected</option> <option>apply to selected</option>
<option>rebuild</option>
<option>update counters</option>
<option>suspend</option> <option>suspend</option>
<option>unsuspend</option> <option>unsuspend</option>
<option>delete</option> <option>delete</option>
</select> </select>
<button style="width:27px;"> </button> <input type="submit" name="ok" value="" class="button" style="width: 37px;font-size: 12px">
</div> </div>
</td> </td>
</tr> </tr>
@ -28,7 +29,7 @@
</tr> </tr>
</table> </table>
<form id="vstobjects"> <div id="vstobjects">
<table class='data'> <table class='data'>
<?php <?php
foreach ($data as $key => $value) { foreach ($data as $key => $value) {
@ -102,7 +103,7 @@
<tr class="data-row"> <tr class="data-row">
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150"> <td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
<table class="data-col1"> <table class="data-col1">
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="domain" value="<?php echo "$key" ?>" ></td></tr> <tr><td style="padding: 18 0 4 18;"><input type="checkbox" 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 date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr> <tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></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> </table>
@ -218,9 +219,7 @@
} }
?> ?>
</table> </table>
</form>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
@ -236,6 +235,4 @@
</td> </td>
</tr> </tr>
</table> </table>
</form> </div>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:138px\"><tr><td></td></tr></table>"; ?>

View file

@ -6,12 +6,12 @@
<td width="120px"><a class="top-<?php if($TAB == 'RRD' ) echo 's' ?>link" href="/list/rrd/"><b>RRD Graphics</a></b></td> <td width="120px"><a class="top-<?php if($TAB == 'RRD' ) echo 's' ?>link" href="/list/rrd/"><b>RRD Graphics</a></b></td>
<td width="120px"><a class="top-<?php if($TAB == 'STATS' ) echo 's' ?>link" href="/list/stats/"><b>Statistics</a></b></td> <td width="120px"><a class="top-<?php if($TAB == 'STATS' ) echo 's' ?>link" href="/list/stats/"><b>Statistics</a></b></td>
<td width="120px"><a class="top-<?php if($TAB == 'LOG' ) echo 's' ?>link" href="/list/log/"><b>History Log</a></b></td> <td width="120px"><a class="top-<?php if($TAB == 'LOG' ) echo 's' ?>link" href="/list/log/"><b>History Log</a></b></td>
<td width="227px" style="padding: 0 28px 0 0; text-align: right;"><b><?php if($user != $_SESSION['user']) echo 'admin / ' ?><?php echo $user ?></b><a class="top-link" style="padding: 0 0 0 6" href="/logout/">Log out</a></td> <td width="227px" style="padding: 0 24px 0 0; text-align: right;"><b><?php if($user != $_SESSION['user']) echo 'admin / ' ?><?php echo $user ?></b><a class="top-link" style="padding: 0 0 0 6" href="/logout/">Log out</a></td>
</tr> </tr>
</table> </table>
<table class="nav"> <table class="nav">
<tr id="nav-block"> <tr id="nav-block">
<td class="logotd" style="padding: 22px 0px 0px 4px; float: left;"> <td class="logotd" style="padding: 24px 0px 0px 4px; float: left;">
<img src="/images/logo.png" width="124px" height="46px" alt="Vesta logo"> <img src="/images/logo.png" width="124px" height="46px" alt="Vesta logo">
</td> </td>
<td> <td>

View file

@ -11,6 +11,10 @@
background-image: url(/images/b.png); background-image: url(/images/b.png);
} }
form {
margin: 0;
}
.main { .main {
background: #ffffff; background: #ffffff;
box-shadow: 0 0 2px 2px #d7d7d7; box-shadow: 0 0 2px 2px #d7d7d7;
@ -219,7 +223,7 @@
font-size: 9pt; font-size: 9pt;
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
color: #555; color: #555;
padding: 8px 0 0 0; padding: 8px 0 4px 0;
margin: 0; margin: 0;
} }
@ -567,6 +571,7 @@
} }
.button { .button {
filter:chroma(color=#000000);
cursor: pointer; cursor: pointer;
color: #333; color: #333;
background-color: #fafafa; background-color: #fafafa;
@ -625,9 +630,10 @@
} }
#vstobjects{ #vstobjects{
padding-top: 186px; padding-top: 192px;
width: 996px; width: 996px;
padding-left: 3px; padding-left: 3px;
min-height: 370px;
} }
</style> </style>
@ -651,7 +657,10 @@
} }
#vstobjects{ #vstobjects{
padding-top: 186px; padding-top: 192px;
min-height: 370px;
height: auto !important;
height: 370px;
width: 996px; width: 996px;
} }

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding DNS Domain</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding DNS Domain</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";
@ -130,5 +130,4 @@
</td> </td>
</tr> </tr>
</table> </table>
<table class="data-spacer" style="height:68px"><tr><td></td></tr></table>
</form> </form>

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Adding Domain</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding Domain</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing DNS Domain</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing DNS Domain</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing User</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing User</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 2px 16px 0;" ><a class="add-name"><b>Editing Domain</b></a> <td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Editing Domain</b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>"; echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";

View file

@ -173,8 +173,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -191,6 +189,3 @@
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:193px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:76px\"><tr><td></td></tr></table>"; ?>

View file

@ -154,8 +154,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -171,7 +169,3 @@
</tr> </tr>
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:187px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:64px\"><tr><td></td></tr></table>"; ?>

View file

@ -139,8 +139,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -157,6 +155,3 @@
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:178px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:46px\"><tr><td></td></tr></table>"; ?>

View file

@ -101,8 +101,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"> <td width="160px">
@ -119,7 +117,3 @@
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:217px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:124px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 3) echo "<table class=\"data-spacer\" style=\"height:31px\"><tr><td></td></tr></table>"; ?>

View file

@ -165,8 +165,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -183,6 +181,3 @@
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:187px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:64px\"><tr><td></td></tr></table>"; ?>

View file

@ -146,8 +146,6 @@
?> ?>
</table> </table>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
<td width="160px"></td> <td width="160px"></td>
@ -162,9 +160,5 @@
</td> </td>
</tr> </tr>
</table> </table>
</form> </form>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:194px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:78px\"><tr><td></td></tr></table>"; ?>

View file

@ -1,7 +1,7 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 0 8px 6px"> <td style="padding: 12px 0 0 6px">
<div style="float:left"> <div style="float:left">
<?php <?php
if ($user == 'admin') { if ($user == 'admin') {
@ -12,16 +12,19 @@
?> ?>
</div> </div>
<div style="text-align: right; float: right;"> <div style="text-align: right; float: right;">
<input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;"> <form action="/search/" method="get">
<button> Search </button> <input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;" name="q">
<input type="submit" name="search" value="Search" class="button" style="font-size: 12px;">
</form>
</div> </div>
<div style="float:left; padding-left: 26px;"> <div style="float:left; padding-left: 26px;">
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("vstobjects");'> toggle all </a> <form action="/bulk/user/" method="post" id="objects">
<select style="margin:0 2px 0 0px;" > <a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
<select style="margin:0 2px 0 0px;" name="action">
<option>apply to selected</option> <option>apply to selected</option>
<option>update counters</option> <option>update counters</option>
</select> </select>
<button style="width:27px;"> </button> <input type="submit" name="ok" value="" class="button" style="width: 37px; font-size: 12px;">
</div> </div>
</td> </td>
</tr> </tr>
@ -30,7 +33,7 @@
</tr> </tr>
</table> </table>
<form id="vstobjects"> <div id="vstobjects">
<table class="data"> <table class="data">
<?php <?php
foreach ($data as $key => $value) { foreach ($data as $key => $value) {
@ -69,7 +72,7 @@
<tr class="data-row"> <tr class="data-row">
<td class="data-dotted" style="padding: 0px 10px 0px 0px"> <td class="data-dotted" style="padding: 0px 10px 0px 0px">
<table class="data-col1"> <table class="data-col1">
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="object"></td></tr> <tr><td style="padding: 18 0 4 18;"><input type="checkbox" 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 date("d M Y", strtotime($data[$key]['DATE']))?></a></td></tr> <tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M 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> </table>
@ -195,8 +198,7 @@
} }
?> ?>
</table> </table>
</form>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
@ -212,6 +214,5 @@
</td> </td>
</tr> </tr>
</table> </table>
</form> </div>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:70px\"><tr><td></td></tr></table>"; ?>

View file

@ -1,25 +1,24 @@
<table class="sub-menu" style="background: white;"> <table class="sub-menu" style="background: white;">
<tr> <tr>
<td style="padding: 12px 0 8px 6px"> <td style="padding: 12px 0 0 6px">
<div style="float:left"> <div style="float:left">
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/web/'"> Add Domain </button> <button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/web/'"> Add Domain </button>
</div> </div>
<div style="text-align: right; float: right;"> <div style="text-align: right; float: right;">
<input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;"> <form action="/search/" method="get">
<button> Search </button> <input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;" name="q">
<input type="submit" name="search" value="Search" class="button" style="font-size: 12px;">
</form>
</div> </div>
<div style="float:left; padding-left: 26px;"> <div style="float:left; padding-left: 26px;">
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("vstobjects");'> toggle all </a> <form action="/bulk/web/" method="post" id="objects">
<select style="margin:0 2px 0 0px;" > <a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
<select style="margin:0 2px 0 0px;" name="action">
<option>apply to selected</option> <option>apply to selected</option>
<option>rebuild</option>
<option>update counters</option>
<option>suspend</option>
<option>unsuspend</option>
<option>delete</option> <option>delete</option>
</select> </select>
<button style="width:27px;"> </button> <input type="submit" name="ok" value="" class="button" style="width: 37px;font-size: 12px">
</div> </div>
</td> </td>
</tr> </tr>
@ -28,7 +27,7 @@
</tr> </tr>
</table> </table>
<form id="vstobjects"> <div id="vstobjects">
<table class='data'> <table class='data'>
<?php <?php
foreach ($data as $key => $value) { foreach ($data as $key => $value) {
@ -85,7 +84,7 @@
<tr class="data-row"> <tr class="data-row">
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150"> <td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
<table class="data-col1"> <table class="data-col1">
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="domain" value="<?php echo "$key" ?>" ></td></tr> <tr><td style="padding: 18 0 4 18;"><input type="checkbox" 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 date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr> <tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></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> </table>
@ -194,9 +193,7 @@
} }
?> ?>
</table> </table>
</form>
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
<table class="data-count"> <table class="data-count">
<tr> <tr>
@ -212,7 +209,5 @@
</td> </td>
</tr> </tr>
</table> </table>
</form> </div>
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:138px\"><tr><td></td></tr></table>"; ?>

View file

@ -6,12 +6,12 @@
<td width="120px"></td> <td width="120px"></td>
<td width="120px"></td> <td width="120px"></td>
<td width="120px"></td> <td width="120px"></td>
<td width="228px" style="padding: 0 28px 0 0; text-align: right;"><b><?php if($user != $_SESSION['user']) echo 'admin / ' ?><?php echo $user ?></b><a class="top-link" style="padding: 0 0 0 6" href="/logout/">Log out</a></td> <td width="228px" style="padding: 0 26px 0 0; text-align: right;"><b><?php if($user != $_SESSION['user']) echo 'admin / ' ?><?php echo $user ?></b><a class="top-link" style="padding: 0 0 0 6" href="/logout/">Log out</a></td>
</tr> </tr>
</table> </table>
<table class="nav"> <table class="nav">
<tr id="nav-block"> <tr id="nav-block">
<td class="logotd" style="padding: 20px 0px 0px 4px; float: left;"> <td class="logotd" style="padding: 24px 0px 0px 4px; float: left;">
<img src="/images/logo.png" width="124px" height="46px" alt="Vesta logo"> <img src="/images/logo.png" width="124px" height="46px" alt="Vesta logo">
</td> </td>
<td> <td>