Exemplo n.º 1
0
		<div class="form-group">
			<select class="form-control" id="sel_categorie" data-href='<?php 
echo buildUrl('categorie', '');
?>
'>
				<?php 
if (init('type', 'plugin') == 'zwave') {
    ?>
				<option value="">Toutes les marques</option>
				<?php 
} else {
    ?>
				<option value="">Toutes les categories</option>
				<?php 
}
foreach (market::distinctCategorie($type) as $id => $category) {
    if (trim($category) != '' && is_numeric($id)) {
        echo '<option value="' . $category . '"';
        echo init('categorie') == $category ? 'selected >' : '>';
        echo $category;
        echo '</option>';
    }
}
?>
		</select>
	</div>
	<div class="form-group">
		<input class="form-control" data-href='<?php 
echo buildUrl('name', '');
?>
' placeholder="Rechercher" id="in_search" value="<?php