mass acions skeleton

This commit is contained in:
Serghey Rodin 2012-08-02 13:43:58 +03:00
commit 5b7e5ecbfc
2 changed files with 24 additions and 1 deletions

24
web/mass/web/index.php Normal file
View file

@ -0,0 +1,24 @@
<?php
// Init
error_reporting(NULL);
ob_start();
session_start();
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
//if (!empty($_GET['domain'])) {
// $v_username = escapeshellarg($user);
// $v_domain = escapeshellarg($_GET['domain']);
// exec (VESTA_CMD."v_delete_web_domain ".$v_username." ".$v_domain, $output, $return_var);
// if ($return_var != 0) {
// $error = implode('<br>', $output);
// if (empty($error)) $error = 'Error: vesta did not return any output.';
// $_SESSION['error_msg'] = $error;
// }
// unset($output);
//}
echo "<pre>";
print_r($_POST);
echo "</pre>";
//header("Location: /list/web/");

View file

@ -21,7 +21,6 @@
unset($_SESSION['error_msg']);
}
?>
<form action="/mass-domain/">
<table class="sub-menu">
<tr>
<td width="142px" style="padding: 16px 0 16px 6px">