mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Move display_error_block() to footer.html
This commit is contained in:
parent
e16e92278b
commit
d1b1f97ff4
55 changed files with 78 additions and 224 deletions
|
@ -268,36 +268,6 @@ function send_email($to,$subject,$mailtext,$from) {
|
|||
mail($to, $subject, $message, $header);
|
||||
}
|
||||
|
||||
function display_error_block() {
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo '
|
||||
<div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
||||
$( "#dialog-message" ).dialog({
|
||||
modal: true,
|
||||
buttons: {
|
||||
Ok: function() {
|
||||
$( this ).dialog( "close" );
|
||||
}
|
||||
},
|
||||
create:function () {
|
||||
$(this).closest(".ui-dialog")
|
||||
.find(".ui-button:first")
|
||||
.addClass("submit");
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div id="dialog-message" title="">
|
||||
<p>'. htmlentities($_SESSION['error_msg']) .'</p>
|
||||
</div>
|
||||
</div>'."\n";
|
||||
unset($_SESSION['error_msg']);
|
||||
}
|
||||
}
|
||||
|
||||
function list_timezones() {
|
||||
$tz = new DateTimeZone('HAST');
|
||||
$timezone_offsets['HAST'] = $tz->getOffset(new DateTime);
|
||||
|
|
|
@ -13,7 +13,6 @@ if ($user == 'admin') {
|
|||
}
|
||||
$data = json_decode(implode('', $output), true);
|
||||
$data = array_reverse($data,true);
|
||||
display_error_block();
|
||||
|
||||
// Render page
|
||||
render_page($user, $TAB, '*/list_user');
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -438,4 +436,4 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -81,4 +79,4 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -100,4 +98,4 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -32,7 +30,7 @@
|
|||
|
||||
<div class="vst-text step-top helper-container">
|
||||
<div id="tabs" class="cron-helper-tabs">
|
||||
<ul>
|
||||
<ul>
|
||||
<li><a href="#tabs-1"><?=__('Minutes')?></a></li>
|
||||
<li><a href="#tabs-2"><?=__('Hourly')?></a></li>
|
||||
<li><a href="#tabs-3"><?=__('Daily')?></a></li>
|
||||
|
@ -232,7 +230,7 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="tabs-5">
|
||||
<form>
|
||||
<input type="hidden" name="h_wday" value="*" />
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -84,7 +82,7 @@
|
|||
}
|
||||
echo ">".htmlentities($value)."</option>\n";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -133,4 +131,4 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -125,4 +123,4 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -97,4 +95,4 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -125,4 +123,4 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -32,11 +32,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
|
|
@ -30,11 +30,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -397,4 +393,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -29,11 +29,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
|
|
@ -51,11 +51,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block() ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -79,8 +75,8 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['CRON'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="cron"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=htmlspecialchars($data[$key]['CMD'], ENT_NOQUOTES)?>"
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['CRON'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="cron"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=htmlspecialchars($data[$key]['CMD'], ENT_NOQUOTES)?>"
|
||||
sort-star="<? if($_SESSION['favourites']['CRON'][$key] == 1) echo '1'; else echo '0'; ?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
|
|
@ -72,11 +72,7 @@
|
|||
</table>
|
||||
<!-- -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block() ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -109,8 +105,8 @@
|
|||
?>
|
||||
|
||||
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['DB'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="db"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?=$data[$key]['U_DISK']?>"
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['DB'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="db"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?=$data[$key]['U_DISK']?>"
|
||||
sort-user="<?=$data[$key]['DBUSER']?>" sort-server="<?=$data[$key]['HOST']?>" sort-star="<? if($_SESSION['favourites']['DB'][$key] == 1) echo '1'; else echo '0'; ?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
|
|
@ -42,11 +42,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -69,8 +65,8 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="l-unit<? if($status == 'suspended') echo ' l-unit--suspended'; if($_SESSION['favourites']['DNS'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>"
|
||||
v_section="dns" sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>"
|
||||
<div class="l-unit<? if($status == 'suspended') echo ' l-unit--suspended'; if($_SESSION['favourites']['DNS'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>"
|
||||
v_section="dns" sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>"
|
||||
sort-expire="<?=strtotime($data[$key]['EXP'])?>" sort-records="<?=(int)$data[$key]['RECORDS']?>" sort-star="<?if($_SESSION['favourites']['DNS'][$key] == 1) echo '1'; else echo '0';?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
|
|
@ -32,11 +32,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
|
|
@ -45,11 +45,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -72,8 +68,8 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="l-unit<? if($status == 'suspended') echo ' l-unit--suspended'; if($_SESSION['favourites']['FIREWALL'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="firewall"
|
||||
sort-action="<?=$data[$key]['ACTION']?>" sort-protocol="<?=$data[$key]['PROTOCOL']?>" sort-port="<?=$data[$key]['PORT']?>"
|
||||
<div class="l-unit<? if($status == 'suspended') echo ' l-unit--suspended'; if($_SESSION['favourites']['FIREWALL'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="firewall"
|
||||
sort-action="<?=$data[$key]['ACTION']?>" sort-protocol="<?=$data[$key]['PROTOCOL']?>" sort-port="<?=$data[$key]['PORT']?>"
|
||||
sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-comment="<?=$data[$key]['COMMENT']?>" sort-star="<? if($_SESSION['favourites']['FIREWALL'][$key] == 1) echo '1'; else echo '2'; ?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
|
|
@ -30,11 +30,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -47,7 +43,7 @@
|
|||
foreach ($data as $key => $value) {
|
||||
++$i;
|
||||
list($ip,$chain) = explode(":",$key);
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<div class="l-unit<? if($status == 'suspended') echo ' l-unit--suspended';?>">
|
||||
|
|
|
@ -42,11 +42,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
|
|
@ -14,9 +14,6 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
|
|
@ -50,11 +50,7 @@
|
|||
</table>
|
||||
<!-- -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block() ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -86,8 +82,8 @@
|
|||
?>
|
||||
|
||||
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['MAIL'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="mail"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?=$data[$key]['U_DISK']?>"
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['MAIL'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="mail"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?=$data[$key]['U_DISK']?>"
|
||||
sort-accounts="<?=$data[$key]['ACCOUNTS']?>" sort-star="<? if($_SESSION['favourites']['MAIL'][$key] == 1) echo "1"; else echo "0"; ?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
|
|
@ -49,11 +49,7 @@
|
|||
</table>
|
||||
<!-- -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block() ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -83,7 +79,7 @@
|
|||
|
||||
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] == 1) echo ' l-unit--starred'; ?>"
|
||||
v_unit_id="<?=$key."@".$_GET['domain']?>" v_section="mail_acc" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?$data[$key]['U_DISK']?>"
|
||||
v_unit_id="<?=$key."@".$_GET['domain']?>" v_section="mail_acc" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?$data[$key]['U_DISK']?>"
|
||||
sort-star="<? if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] == 1) echo '1'; else echo '0'; ?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
|
|
@ -37,11 +37,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -56,8 +52,8 @@
|
|||
?>
|
||||
|
||||
|
||||
<div class="l-unit <? if($data[$key]['SUSPENDED'] == 'yes') echo 'l-unit--suspended'; if($_SESSION['favourites']['PACKAGE'][$key] == 1) echo ' l-unit--starred'; ?>"
|
||||
v_unit_id="<?=$key?>" v_section="package" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>"
|
||||
<div class="l-unit <? if($data[$key]['SUSPENDED'] == 'yes') echo 'l-unit--suspended'; if($_SESSION['favourites']['PACKAGE'][$key] == 1) echo ' l-unit--starred'; ?>"
|
||||
v_unit_id="<?=$key?>" v_section="package" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>"
|
||||
sort-star="<?if($_SESSION['favourites']['PACKAGE'][$key] == 1) echo '1'; else echo '0'; ?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
|
|
@ -41,11 +41,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div -->
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -115,4 +111,4 @@
|
|||
<div class="l-separator"></div>
|
||||
<div class="l-center">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? display_error_block() ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
|
|
@ -36,9 +36,6 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -84,4 +82,4 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -37,11 +37,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -265,4 +261,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -35,11 +35,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
|
|
@ -54,11 +54,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -81,8 +77,8 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['USER'][$key] == 1) echo ' l-unit--starred';?>" v_section="user"
|
||||
v_unit_id="<?=$key?>" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>"
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['USER'][$key] == 1) echo ' l-unit--starred';?>" v_section="user"
|
||||
v_unit_id="<?=$key?>" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>"
|
||||
sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-disk="<?=$data[$key]['U_DISK']?>" sort-star="<? if($_SESSION['favourites']['USER'][$key] == 1) echo '1'; else echo '0'; ?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
|
|
@ -38,16 +38,13 @@
|
|||
</select>
|
||||
</div>
|
||||
<input type="submit" class="l-sort-toolbar__filter-apply" value=""/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- -->
|
||||
</div>
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -120,9 +117,9 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="l-unit <? if($data[$key]['SUSPENDED'] == 'yes') echo 'l-unit--suspended'; if($_SESSION['favourites']['WEB'][$key] == 1) echo ' l-unit--starred'; ?>" v_section="web" v_unit_id="<?=$key?>"
|
||||
id="web-unit-<?=$i?>" sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>"
|
||||
<div class="l-unit <? if($data[$key]['SUSPENDED'] == 'yes') echo 'l-unit--suspended'; if($_SESSION['favourites']['WEB'][$key] == 1) echo ' l-unit--starred'; ?>" v_section="web" v_unit_id="<?=$key?>"
|
||||
id="web-unit-<?=$i?>" sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>"
|
||||
sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-disk="<?=$data[$key]['U_DISK']?>" sort-star="<? if($_SESSION['WEB'][$key] == 1) echo '1'; else echo '0';?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
@ -210,7 +207,7 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
|
|||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
|
||||
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
|
||||
<? if($proxy_support == 'no'){ ?>
|
||||
<div class="l-unit__stat-cols clearfix disabled last"><?=__('Proxy Support')?></div>
|
||||
<? } else {?>
|
||||
|
@ -222,7 +219,7 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
|
|||
</div>
|
||||
<? } ?>
|
||||
<? } ?>
|
||||
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
|
||||
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
|
||||
<? if($backend_support == 'no'){ ?>
|
||||
<div class="l-unit__stat-cols clearfix disabled last"><?=__('Backend Support')?></div>
|
||||
<? } else {?>
|
||||
|
@ -251,7 +248,7 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
|
|||
<? } ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
|
||||
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
|
||||
<div class="l-unit__stat-cols clearfix last">
|
||||
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Proxy Template')?>:</div>
|
||||
<div class="l-unit__stat-col l-unit__stat-col--right">
|
||||
|
@ -259,7 +256,7 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
|
|||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
|
||||
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
|
||||
<div class="l-unit__stat-cols clearfix last">
|
||||
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Backend Template')?>:</div>
|
||||
<div class="l-unit__stat-col l-unit__stat-col--right">
|
||||
|
|
|
@ -8,10 +8,42 @@
|
|||
<script type="text/javascript" src="/js/templates.js?1446554103"></script>
|
||||
<script src="/js/jquery.finder.js"></script>
|
||||
<script>
|
||||
$(document).ready(function(){ hover_menu(); });
|
||||
$(function() {
|
||||
hover_menu();
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
@include($JS_FILE);
|
||||
@include($JS_FILE);
|
||||
?>
|
||||
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])):
|
||||
?>
|
||||
<div>
|
||||
<div id="dialog-message" title="">
|
||||
<p><?=htmlentities($_SESSION['error_msg'])?></p>
|
||||
</div>
|
||||
<script>
|
||||
$('#dialog:ui-dialog').dialog('destroy');
|
||||
$('#dialog-message').dialog({
|
||||
modal: true,
|
||||
buttons: {
|
||||
Ok: function() {
|
||||
$(this).dialog('close');
|
||||
}
|
||||
},
|
||||
create: function() {
|
||||
$(this)
|
||||
.closest('.ui-dialog')
|
||||
.find('.ui-button:first')
|
||||
.addClass('submit');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<?php
|
||||
unset($_SESSION['error_msg']);
|
||||
endif;
|
||||
?>
|
||||
|
||||
<div title="Confirmation" class="confirmation-text-redirect hidden">
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -112,4 +110,4 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
|
|
@ -52,11 +52,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<? display_error_block(); ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
|
@ -79,8 +75,8 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['USER'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="user"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>"
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['USER'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="user"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>"
|
||||
sort-disk="<?=$data[$key]['U_DISK']?>" sort-star="<?if($_SESSION['favourites']['USER'][$key] == 1) echo '1'; else echo '0'; ?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
|
|
@ -36,18 +36,13 @@
|
|||
</select>
|
||||
</div>
|
||||
<input type="submit" class="l-sort-toolbar__filter-apply" value=""/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- -->
|
||||
</div>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
<? display_error_block() ?>
|
||||
|
||||
<!-- /.l-sort -->
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
|
@ -122,8 +117,8 @@
|
|||
|
||||
|
||||
|
||||
<div class="l-unit <? if($data[$key]['SUSPENDED'] == 'yes') echo 'l-unit--suspended'; if($_SESSION['favourites']['WEB'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="web"
|
||||
id="web-unit-<?=$i?>" sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-date="<?=strtotime($data[$key]['DATE'])?>" sort-name="<?=$key?>"
|
||||
<div class="l-unit <? if($data[$key]['SUSPENDED'] == 'yes') echo 'l-unit--suspended'; if($_SESSION['favourites']['WEB'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="web"
|
||||
id="web-unit-<?=$i?>" sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-date="<?=strtotime($data[$key]['DATE'])?>" sort-name="<?=$key?>"
|
||||
sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-disk="<?=$data[$key]['U_DISK']?>" sort-star="<? if($_SESSION['favourites']['WEB'][$key] == 1) echo '1'; else echo '0'; ?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue