<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

 <title>Administration - shop001</title>

<link rel="stylesheet" href="default.css" type="text/css">
<link rel="stylesheet" href="onglet.css" type="text/css" media="screen">

<script type="text/javascript">
  document.write('<style type="text/css">.tabber{display:none;}<\/style>');
  </script><style type="text/css">.tabber{display:none;}</style>

<script type="text/javascript">
	
		
	function show_div(id)
      {
	      document.getElementById('tabberlive').style.display = 'none';
	
		  for (var i = 1; i <= 6; i++)
		   {
			if (i == id)
		       {
				document.getElementById('div_' + i).style.display = 'block';
			  }
			else
				{
				document.getElementById('div_' + i).style.display = 'none';
				}
			}
		}
		
</script>		

</head>

<body>

<div id="header"><h1>Administration</h1>
<div class="membre">Vous êtes connecté en tant qu'<b>admin</b></div>

</div>


   	      	<div class="heading">Ajout d'un article</div>

		  	<form action="" method="POST" id="addProduct" name="addProduct" enctype="multipart/form-data">
		  	
            
            
            
		  	<div class="tabberlive">
          	<ul class="tabbernav">
          	<li class="tabberactive" onclick="changeOnglet(this);">Onglet 1</li>
            
                                                
				
            
            <li class="" onclick="changeOnglet(this);">
            <a title="Images de l'article" href="javascript:void(null);">Images de l'article</a>
	        </li>
          	</ul>


	  	    <div title="" class="tabbertab ">
		  	<h2>Fiche article</h2>
			<div class="tab_1">

			<table width="800" align="left" bgcolor="#d5d5d5" border="0" cellpadding="5" cellspacing="1">
			<tbody><tr bgcolor="#f1f3f5">
			<td colspan="2">&nbsp;</td>
			</tr>
				
			<tr bgcolor="#ffffff">
			<td align="right">Catégorie :</td>
			<td align="left">
            <select name="ID_PartSubCategory" id="ID_PartCategory" onchange="load_list_scat();">
			<option value="1000" selected="selected"> --&gt; Veuillez choisir une categorie</option>
            <option value="1">Gros menager</option>
			<option value="2">Petit menager</option>
			<option value="3">TV</option>
			</select>
            </td>
			</tr>

 			<tr bgcolor="#ffffff">
			<td align="right">Sous-catégorie :</td>
			<td align="left">
            <div id="part_sub_category">
            <select name="ID_PartSubCategory" id="ID_PartSubCategory" onchange="load_list_sscat();">
   			<option value="2000" selected="selected"> --&gt; Veuillez choisir une sous-categorie</option>
            <option value="100">lave-linge</option>
            <option value="101">refrigerateur</option>
			</select>
            </div>
            <div id="part_ssub_category"></div></td>
            </tr>
            
            <tr bgcolor="#ffffff">
		    <td valign="top" align="right">Marque :</td>
 		    <td colspan="1" valign="middle" align="left">
            <input name="marque" size="30" maxlength="50" id="marque" type="text">&nbsp;
            </td>
		    </tr>
            
            <tr bgcolor="#ffffff">
		    <td valign="top" align="right">ID catalogue :</td>
 		    <td colspan="1" valign="middle" align="left">
            <input name="id" size="30" maxlength="50" id="id" type="text">&nbsp;
            </td>
		    </tr>
            
            <tr bgcolor="#ffffff">
		    <td valign="top" align="right">Fournisseur :</td>
 		    <td colspan="1" valign="middle" align="left">
            <input name="fournisseur" size="30" maxlength="50" id="fournisseur" type="text">&nbsp;
            </td>
		    </tr>
            
            
            <tr bgcolor="#ffffff">
		    <td valign="top" align="right">Article :</td>
 		    <td colspan="1" valign="middle" align="left">
            <input name="article" size="70" maxlength="120" id="article" type="text">&nbsp;
            </td>
		    </tr>
            
            <tr bgcolor="#ffffff">
		    <td valign="top" align="right">Désignation :</td>
 		    <td colspan="1" valign="middle" align="left">
            <input name="designation" size="70" maxlength="120" id="designation" type="text">&nbsp;
            </td>
		    </tr>
            
            <tr bgcolor="#ffffff">
		    <td valign="top" align="right">Référence fabricant:</td>
		    <td colspan="1" valign="middle" align="left">
            <input name="reference_fabricant" size="30" maxlength="40" id="reference_fabricant" type="text">&nbsp;
            </td>
		    </tr>
            
            <tr bgcolor="#ffffff">
			<td valign="top" align="right">Prix TTC :</td>
			<td colspan="1" valign="middle" align="left">
            <input name="prix_ttc" size="10" maxlength="10" id="prix_ttc" type="text">&nbsp;<b>€</b>
            </td>
			</tr>
            
            <tr bgcolor="#ffffff">
			<td valign="top" align="right">Prix HT :</td>
			<td colspan="1" valign="middle" align="left">
            <input name="prix_ht" size="10" maxlength="10" id="prix_ht" type="text">&nbsp;<b>€</b>
            </td>
			</tr>
            
            <tr bgcolor="#ffffff">
			<td valign="top" align="right">Descriptif :</td>
			<td colspan="1" valign="middle" align="left">
            <textarea name="descriptif" rows="12" cols="90" id="descriptif"></textarea>&nbsp;</td>
		    </tr>
        
            <tr bgcolor="#ffffff">
		    <td valign="top" align="right">Stock :</td>
		    <td colspan="1" valign="middle" align="left">
            <input name="stock" size="5" maxlength="5" value="1" id="stock" type="number">&nbsp;</td>
		    </tr>


			<tr bgcolor="#ffffff">
			<td align="right">Status :</td>
			<td align="left">
			  <select name="champ[Status]">
				<option value="E" selected="selected">Produit actif</option>
				<option value="H">Produit caché</option>
			  </select>
			</td>
		  </tr>
          
          
          <tr bgcolor="#ffffff">
		<td valign="top" align="right">Ce produit sera désactivé le :</td>
		<td colspan="1" valign="middle" align="left"><input name="champ[DateEnd]]" size="18" maxlength="16" id="" type="text">&nbsp;Format : AAAA-MM-JJ<br>
		  <b class="red">Si vous ne  souhaitez pas utiliser cette fonctionnalité, laissez vide ce champ<br>
		  ou assurez-vous qu'il ne contienne que des 0, ex : 0000-00-00</b></td>
		</tr>



			<tr bgcolor="#f1f3f5">
			  <td colspan="2" align="center">
				<a href="#" onclick="checkForm('addProduct')" class="formButton">Enregistrer</a>
				<b>::</b>
				<a href="http://shop001.phpmyshopping.org/admin/index.php?C1=CA&amp;C2=AR&amp;C3=list" class="formButton">Annuler</a>
			  </td>
			</tr>
		  </tbody></table>

			  </div>
			</div>
            
            
            
            
            
            
            
            
            
			<div title="" class="tabbertab tabbertabhide">
			  <h2>Images de l'article</h2>
			  <div class="tab_3">

				<table width="800" align="left" bgcolor="#d5d5d5" border="0" cellpadding="5" cellspacing="1">
				  <tbody><tr bgcolor="#f1f3f5">
					<td colspan="2">&nbsp;</td>
				  </tr>
			<tr bgcolor="#ffffff">
			  <td colspan="2" align="center"><b class="red">Attention, vos images doivent être au format JPG ou JPEG</b></td>
			</tr><tr bgcolor="#ffffff">
		<td valign="top" align="right">1ère image :</td>
		<td colspan="1" valign="middle" align="left"><input name="ImgProduct_1" size="0" maxlength="150" value="" id="" type="file">&nbsp;</td>
		</tr><tr bgcolor="#ffffff">
		<td valign="top" align="right">2ème image :</td>
		<td colspan="1" valign="middle" align="left"><input name="ImgProduct_2" size="0" maxlength="150" value="" id="" type="file">&nbsp;</td>
		</tr><tr bgcolor="#ffffff">
		<td valign="top" align="right">3ème image :</td>
		<td colspan="1" valign="middle" align="left"><input name="ImgProduct_3" size="0" maxlength="150" value="" id="" type="file">&nbsp;</td>
		</tr><tr bgcolor="#ffffff">
		<td valign="top" align="right">4ème image :</td>
		<td colspan="1" valign="middle" align="left"><input name="ImgProduct_4" size="0" maxlength="150" value="" id="" type="file">&nbsp;</td>
		</tr><tr bgcolor="#ffffff">
		<td valign="top" align="right">5ème image :</td>
		<td colspan="1" valign="middle" align="left"><input name="ImgProduct_5" size="0" maxlength="150" value="" id="" type="file">&nbsp;</td>
		</tr>
				</tbody></table>
			  </div>
			</div>
			</div>
		  </form>

</body>
</html>