$categorie = $list->listCategorie();
for ($i = 1; $i < sizeof($categorie) + 1; $i++) {
    echo '<option value="' . $i . '">' . $categorie[$i - 1]['nom'] . '</option>';
}
?>
							</select>
						</div>
					</div>
					<div class='form-group'>
						<label for='sous_categorie' class='col-sm-3 control-label'> Sous Categorie </label>
						<div class='col-sm-9'>
							<select name='sous_categorie' class='form-control'>
								<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . 'boutique/controllers/article.php';
$list = new Controller_Article();
$sous_categorie = $list->listSousCategorie();
for ($i = 1; $i < sizeof($sous_categorie) + 1; $i++) {
    echo '<option value="' . $i . '">' . $sous_categorie[$i - 1]['nom'] . '</option>';
}
?>
							</select>
						</div>
					</div>
					<input type='submit' name='add' class='button' value='Ajouter'>
					<a href='index.php?c=categorie&a=add' class='button'>Ajouter categories/licences</a>
					

				</form> 
			</main>

		</div>