<?php
/****************************************************************************************
SMI (Services Maintenance Interventions) est une gestion libre de maintenance et de SAV

Version 0.9.6
Copyright (C) 2006  Sylvain FATOME

This program is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation; 
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program
(in the directory docs); 
if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 
Boston, MA  02110-1301, USA.

Contact : galawa@free.fr
****************************************************************************************/

include ("../inc/config.inc.php");
?>
<?php require ("../inc/func.inc.php") ?>
<?php require ("../inc/func_log.inc.php") ?>
<?php require ("../inc/fic.inc.php") ?>

<?PHP
	Archivelog(@$HTTP_SESSION_VARS["code_log"]);
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>SMI - ESPACE PRIVE : Cr&eacute;ation r&eacute;pertoire</title>

<!-- Feuille de style pour les affichages courants -->
<link href="../css/smi.css" rel="stylesheet" type="text/css">

<!-- Feuille de style & Script pour le menu -->
<link href="../inc/menu.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="../coolmenus/coolmenus4.js"></script>

<!-- Scripts Javascript pour affichages -->
<script language="JavaScript" src="../inc/aff.js"></script>

<!-- Scripts Javascript pour contrôle de formulaire -->
<script	type="text/javascript" src="../jscript/vform/vform.js"></script>

<script language="javascript">
var tab1_champ=new Array(
	"nom:ndir ; format:txt ; req:Y ; txt:Répertoire à créer ; lmx:20 ; stok:frmok ; stbad:frmbad",
	"nom:desc ; format:txt ; req:Y ; txt:Nom complet ; lmx:50 ; stok:frmok ; stbad:frmbad");
</script>

</head>

<body>

<p align="center"> <span class="titrepage">CREATION REPERTOIRE</span></p>
<br>
<br>
<br>
<!--- Formulaire de création des répertoires -->
<form action="mdir_enr.php" method="POST" enctype="multipart/form-data" name="mkdir" id="mkdir"  onSubmit="javascript:; return (VForm(this,tab1_champ,''));">
	<input name="dir" type="hidden" id="dir" value="<?PHP echo @$_GET['dir'] ?>">
	<table width="80%" border="0" cellpadding="0" cellspacing="0" align="center">
	<tr>
		<td nowrap class="rubfrm" align="right" class="annot_std_gras" valign="middle" id="f_ndir">
		Nom du r&eacute;pertoire &agrave; cr&eacute;er : 
		</td>
		<td nowrap valign="middle">
			<input style="margin-left:5px;" type="text" name="ndir" size="20"  onChange="javascript:this.value=this.value.toLowerCase();"> 
				<br>
				<span class="annot_petit_it">(Sera converti en minuscules, espaces remplac&eacute;s par des &quot;&mdash;&quot;)</span>
		</td>
	</tr>
	<tr>
		<td nowrap class="rubfrm" align="right" class="annot_std_gras" valign="middle" id="f_desc">
		Nom complet : 
		</td>
		<td nowrap valign="middle">
			<input style="margin-left:5px;" type="text" name="desc" size="50"> 
		</td>
	</tr>
	</table>
	<p align="center">
	<input name="create" type="submit" id="create" value="Envoyer">
	<input name="init" type="reset" id="init" value="R&eacute;initialiser">
    <input name="annul" type="button" id="annul" value="Quitter" onclick="javascript:; self.close('fscomp');">
	</p>
</form>
<!--- Fin du Formulaire de création de répertoire -->
</body>
</html>
