Subversion-Projekte lars-tiefland.openvz_admin

Revision

Revision 70 | Revision 109 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 70 Revision 101
Zeile 1... Zeile 1...
1
<?php
1
<?php
2
	//$Id: details.php 70 2007-10-26 08:38:56Z lars $
2
	//$Id: details.php 101 2008-02-23 00:21:34Z lars $
3
	require("include/common.php");
3
	require("include/common.php");
4
	$configs=array();
4
	$configs=array();
5
	$smarty->assign("title","openVZ Administration");
5
	$smarty->assign("title","openVZ Administration");
6
	$smarty->assign("h1","vServer Konfiguration");
6
	$smarty->assign("h1","vServer Konfiguration");
7
	$v_id=(isset($_POST["v_id"]))?$_POST["v_id"]:0;
7
	$v_id=(isset($_POST["v_id"]))?$_POST["v_id"]:0;
Zeile 39... Zeile 39...
39
					$barrier=number_format(substr($row["vc_value"],0,$pos) / 1048576,2,',','.');
39
					$barrier=number_format(substr($row["vc_value"],0,$pos) / 1048576,2,',','.');
40
					$limit	=number_format(substr($row["vc_value"],$pos+1) / 1048576,2,',','.');
40
					$limit	=number_format(substr($row["vc_value"],$pos+1) / 1048576,2,',','.');
41
					$row["vc_value2"]="BARRIER: $barrier MB ==> LIMIT: $limit MB";
41
					$row["vc_value2"]="BARRIER: $barrier MB ==> LIMIT: $limit MB";
42
					break;
42
					break;
43
				case "FEATURES":
43
				case "FEATURES":
-
 
44
				case "CAPABILITY":
44
					$row["vc_value2"]=$row["vc_value"];
45
					$row["vc_value2"]=$row["vc_value"];
45
					break;
46
					break;
46
				default:
47
				default:
47
					$pos=strpos($row["vc_value"],":");
48
					$pos=strpos($row["vc_value"],":");
48
					if($pos !== false)
49
					if($pos !== false)