Esempio n. 1
0
    $zone = new Zone($request->query->get("id"));
    ?>
    <div class="row-fluid">
        <div class="span12">
            <a name="zone">&nbsp;</a>
            <h3><?php 
    echo trad('MODIFICATION_ZONE', 'admin') . " " . $zone->nom;
    ?>
</h3>
            <table class="table table-striped">
                <tbody id="listZone">
                    <tr>
                        <td>
                            <select class="form_select" id="pays">
                                <?php 
    foreach ($zone->query_liste("SELECT p.id, ps.titre FROM " . Pays::TABLE . " p left join " . Paysdesc::TABLE . " ps on p.id=ps.pays and ps.lang=" . ActionsAdminLang::instance()->get_id_langue_courante() . " where p.zone='-1'") as $pays) {
        ?>
                                    <option value="<?php 
        echo $pays->id;
        ?>
"><?php 
        echo $pays->titre;
        ?>
</option>
                                <?php 
    }
    ?>
                            </select>
                        </td>
                        <td>
                            <a href="#" class="btn" id="addCountry"><?php