<?php
include "sys/lib.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<title>Config</title>
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<meta name="generator" content="Geany 1.36" />
</head>

<style>
body {
	margin:0px;
	padding: 0px;
	background-color: #FFFFFF;
}
.BANNER {	
	position:relative;
	text-align: center;
	background-color: #FF8231;
	text-transform: uppercase;
	color: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: bold;	
  padding: 12px;
	text-shadow: 1px 1px black;
}
.CONTENT {	
	margin-top: 25px;
	margin-left: 20%;
	margin-right: 20%;
	position:relative;
  border-radius: 25px;	
	border: 2px solid #92532B;
	text-align: center;
	background-color: #FFD9C0;
	color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;	
  padding: 12px;
}

.CONTENT2 {	
	margin-top: 25px;
	margin-left: 20%;
	margin-right: 20%;
	position:relative;
  border-radius: 25px;	
	border: 2px solid #92532B;
	text-align: center;
	background-color: #FFF;
	color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;	
  padding: 12px;
}
<?php include "sys/lib.css"; ?>
</style>

<body>
	
	<div class="BANNER">SETUP</div>
	
<?php
	//$name = $_POST["op1"];
	//$ck = $_POST["check"];
	//echo $_GET["s"]."#$name:$ck<br><br>";
	
	$smb = file_get_contents("t.xml");//parse_ini_file("smb.conf");
	//$smb = file_get_contents("/etc/apache2/apache2.conf");//parse_ini_file("smb.conf");
	
	//$s=parse_ini_content($smb);
	
	$s = parse_xml_file("t.xml");
	
	print_r($s);
	
	//$st = json_encode($smb, TRUE);
	


?>	
	
	<div class="CONTENT2">		
		<?php editArray($s['movie']);?>
	</div>
		
		<form action="?s=444" class="CTRLS" method="POST">
			<?php 
			/*
				echo createControl("text","op1","Opt 001","");
				echo createControl("TEXT","op2","NAME 002828","");
				echo createControl("checkbox","check","Salvar","");								
				echo createControl("SUBmit","ctl1","Salvar","");				
				*/
			?>
		</form>
	
	
	
</body>

</html>
