示例#1
0
" >Apply</a>                        
                </div>
                <div class="card-reveal">
                    <span class="card-title"><a href="http://google.com" target="_blank"><?php 
    echo getNombre($comite_proyecto[0]);
    ?>
</a><i class="material-icons right">close</i></span>
                    <p><?php 
    echo getComite($comite_proyecto[0]);
    ?>
</p>
                    <div class="row card-content-benefits">
                        <div class="col s6">
                            <h6 class="benefit-title">MEALS</h6>
                            <h5><strong><?php 
    echo getMeals($comite_proyecto[0]);
    ?>
</strong></h5>
                        </div>
                        <div class="col s6">
                            <h6 class="benefit-title">HOST</h6>
                            <h5><strong><?php 
    echo getHost($comite_proyecto[0]);
    ?>
</strong></h5>
                        </div>
                        <div class="col s6">
                            <h6 class="benefit-title">IPS</h6>
                            <h5><strong><?php 
    echo getIPS($comite_proyecto[0]);
    ?>
示例#2
0
" >Apply</a>                        
            </div>
            <div class="card-reveal">
                <span class="card-title"><a href="http://google.com" target="_blank"><?php 
    echo getNombre($comite_proyecto["CP_id"])["pro_nombre"];
    ?>
</a><i class="material-icons right">close</i></span>
                <p><?php 
    echo getDescripcion($comite_proyecto["CP_id"])["CP_descripcion"];
    ?>
</p>
                <div class="row card-content-benefits">
                    <div class="col s6">
                        <h6 class="benefit-title">MEALS</h6>
                        <h5><strong><?php 
    echo getMeals($comite_proyecto["CP_id"])["BEN_meals"];
    ?>
</strong></h5>
                    </div>
                    <div class="col s6">
                        <h6 class="benefit-title">HOST</h6>
                        <h5><strong><?php 
    echo getHost($comite_proyecto["CP_id"]);
    ?>
</strong></h5>
                    </div>
                    <div class="col s6">
                        <h6 class="benefit-title">IPS</h6>
                        <h5><strong><?php 
    echo getIPS($comite_proyecto["CP_id"]);
    ?>
示例#3
0
    echo "<input type=\"radio\" name=\"selectedMealId\" value=\"" . $meal['id_meal'] . "\" required >" . $meal['display_name_meal'] . "</radio><br />";
}
?>
            <br/>
            <input type="checkbox" name="confirmMealDeletion" required/><font color="red" > Confirmez la suppression </font> <br/><br/>
            <input type="submit" name="validateMealDeletionForm" value="Supprimer"/>
            <input type="reset" value="Effacer"/>
            <input type="hidden" name="validateMealDeletion" value="true"/>
        </form>

        <!-- DELETION OF AN EXISTING FLAVOUR -->
        <form action="administration.php" method="POST" class="greenForm">
            <h2>Suppression d'une saveur existante :</h2>
			<br />
            <?php 
$get_meals = getMeals($connectionObject);
foreach ($get_meals as $meal) {
    echo $meal['display_name_meal'] . "<br />";
    $get_flavours = getFlavours($meal, $connectionObject);
    foreach ($get_flavours as $flavour) {
        echo "<input type=\"radio\" name=\"selectedFlavourId\" value=\"" . $flavour['id_specific_meal'] . "\" required >" . $flavour['display_name_specific_meal'] . "</radio><br />";
    }
}
?>
            <br/>
            <input type="checkbox" name="confirmFlavourDeletion" required/> <font color="red" > Confirmez la suppression </font> <br/><br/>
            <input type="submit" name="validateFlavourDeletionForm" value="Supprimer"/>
            <input type="reset" value="Effacer"/>
            <input type="hidden" name="validateFlavourDeletion" value="true"/>
        </form>
    </div> <!-- end of div .columnRight -->
                                    <input id="fech.inicio" type="date" class="datepicker" name="inicio" value="<?php 
echo getFechaInicio($id)["cp_inicio"];
?>
">
                                    <label for="fech.inicio" class="active">Fecha de inicio</label>                                   
                                </div>
                                <div class="input-field col s4 m5">
                                    <input id="fech.fin" type="date" class="datepicker" name="fin" value="<?php 
echo getFechaFin($id)["cp_fin"];
?>
">
                                    <label for="fech.fin" class="active">Fecha de termino</label>                                  
                                </div>
                                <div class="input-field col s4 m5">
                                    <input id="comidas" type="number" class="validate" name="comidas" value="<?php 
echo getMeals($id)["BEN_meals"];
?>
">
                                    <label for="comidas" class="active">Comidas</label>
                                </div>

                            </div>
                            
                            <div class="input-field col s12 m12">
                                <div class="input-field col s4 m5">
                                    <input type="checkbox" class="filled-in" id="host" <?php 
if (getHost($id) == "Yes") {
    echo "checked";
}
?>
 name="host" value="1" />
示例#5
0
                                <div class="card-reveal">
                                    <span class="card-title"><a href="http://google.com" target="_blank"><?php 
        echo $Proyecto_Usuario["PRO_nombre"];
        ?>
</a><i class="material-icons right">close</i></span>
                                    <p><?php 
        echo $Proyecto_Usuario["CP_descripcion"];
        ?>
</p>
                                    <div class="row card-content-benefits">

                                        <div class="col s6">
                                            <h6 class="benefit-title">MEALS</h6>
                                            <h5><strong><?php 
        echo getMeals($Proyecto_Usuario["CP_id"])["BEN_meals"];
        ?>
</strong></h5>
                                        </div>
                                        <div class="col s6">
                                            <h6 class="benefit-title">HOST</h6>
                                            <h5><strong><?php 
        echo getHost($Proyecto_Usuario["CP_id"]);
        ?>
</strong></h5>
                                        </div>
                                        <div class="col s6">
                                            <h6 class="benefit-title">IPS</h6>
                                            <h5><strong><?php 
        echo getIps($Proyecto_Usuario["CP_id"]);
        ?>