示例#1
0
</head>

<body>
	<div id="loading" style="position:absolute;top:5px;left:5px">
		<?php 
if ($perform == "insert" && is_array(POST("insert"))) {
    $message = Backup::Insert(POST("insert"), $filter_by, $nomerge);
    echo $message == 2 ? _("Insert action is running, please wait a few seconds.") : $message;
} elseif ($perform == "delete" && is_array(POST("delete"))) {
    $message = Backup::Delete(POST("delete"));
    echo $message == 2 ? _("Remove action is running, please wait a few seconds.") : $message;
}
?>
		<table class="noborder" style="background-color:white">
			<tr><td class="nobborder" id="restore_msg"><?php 
if ($run > 0 || $message == 2) {
    echo gettext("Current task in progress");
    ?>
 <img src="../pixmaps/loading3.gif" border="0"> <?php 
}
?>
</td></tr>
		</table>
	</div>
	<?php 
// Get STATUS for all current backups. Void if none is running
Backup::print_backup_process($message);
?>
</body>
</html>
示例#2
0
.tag_cloud:active { color: #ffffff; background: #ACFC65; }
a {
	font-size:10px;
}
</style>
<script language="javascript">
	
</script>
</head>
<body>
<div id="loading" style="position:absolute;top:0;left:30%">
	<table class="noborder" style="background-color:white">
<?php 
if ($perform == "insert" && is_array(POST("insert"))) {
    $insert = POST("insert");
    $bid = rand();
    $message = Backup::Insert($insert, $filter_by, $nomerge, $bid);
} elseif ($perform == "delete") {
    $delete = POST("delete");
    $bid = rand();
    Backup::Delete($delete, $bid);
    $message = _("Remove action is running, please wait a few seconds...");
}
// Get STATUS for all current backups. Void if none is running
Backup::print_backup_process();
?>
	</table>
</div>
</body>
</html>