{insert name=header content='Content-Type: text/html; charset=utf-8'} {$page_title} - {$site_name} {if !$page_description} {/if} {include file="$site_id/_inc_antho/_header_links.tpl"}
{include file="$site_id/_inc_antho/_include_menu.tpl"}

{$page_title}

{vl_get_regions_garages} {capture name=capt assign=vardept} {dict id='choix_departement' edit=false}Choisir un département{/dict} {/capture} {if $page_params[1]!="" && $page_params[2]!=""} {else}
{if $smarty.post.cac_region!="" || $smarty.session.cac_region!=""} {vl_get_departements} {else} {/if}
{if $smarty.post.cac_region!=""} {else} {/if}
{/if}
{if $smarty.post.cac_region!="" || $smarty.session.cac_region!=""} {if $resultat_recherche == 0} {dict id=pas_de_resultats_region edit=false}Ouverture prochaine dans votre région{/dict} {elseif $resultat_recherche|@count == 1} {assign var=compteurResultat value=0} {section name=boucle loop=$resultat_recherche} {vl_create_url_propre texte=$resultat_recherche[boucle].cac_garage_nom assign=urlnom} {assign var='compteurResultat' value=$compteurResultat+1} {assign var='totalResultat' value=$resultat_recherche|@count} {vl_getLink_antho struc_id=338 lang=$smarty.get.lang paramSuppl="&idGarage="|cat:$resultat_recherche[boucle].cac_gararage_id|cat:"&nbrrech="|cat:$compteurResultat|cat:"&totrech="|cat:$totalResultat|cat:"&nom="|cat:$urlnom assign="nouveauLien"} {vl_redirect lien=$nouveauLien} {/section} {else} {assign var=compteurResultat value=0} {section name=boucle loop=$resultat_recherche} {vl_create_url_propre texte=$resultat_recherche[boucle].cac_garage_nom assign=urlnom} {assign var='compteurResultat' value=$compteurResultat+1} {assign var='totalResultat' value=$resultat_recherche|@count}

{$resultat_recherche[boucle].cac_garage_nom} à {$resultat_recherche[boucle].cac_garage_cp} {$resultat_recherche[boucle].cac_garage_ville}

{$resultat_recherche[boucle].cac_garage_nom}{$resultat_recherche[boucle].cac_garage_cp} {$resultat_recherche[boucle].cac_garage_ville}

{/section} {/if} {/if}

{if ($smarty.post.cac_region!="" || $smarty.session.cac_region!="") && $resultat_recherche!=0}
{/if}
{include file="$site_id/_inc_antho/_include_col_droite.tpl"}
{include file="$site_id/_inc_antho/_include_footer.tpl"} {if ($smarty.post.cac_region!="" || $smarty.session.cac_region!="") && $resultat_recherche!=0} {vl_rand_number assign="nb" nbMin="1" nbMax="1000000"} {/if}