Example #1
0
/**
 *
 *Retourne le nom de la base courante
 *
 *
 * @return Retourne une chaîne de caractères représentant le nom de la base de données
 *         auquel l'extension  est connectée (représenté par le paramètre $connexion).
 */
function nomBase()
{
    global $modeacces, $connexion;
    $sql = "SELECT DATABASE()";
    return champSQL($sql);
}
Example #2
0
													<!-- affichage date prise en charge -->
													<label for="calendrier">Pris en charge le : <br />(aaaa/mm/jj)<br /> </label>
													<input type="datetime" name="TRNPECCHAUFFEUR" min="" id="TRNPECCHAUFFEUR" value="<?php 
echo date('Y-m-d H:i:s');
?>
"  disabled="" style="border: solid 1px #2ecc71; height:53px; background-color: #DADFE1;" />
													
													
													
													<!-- affichage de la zone de commentaire -->
													<?php 
if (empty($_GET['TRNNUM'])) {
    $com = "Tapez votre texte !";
} else {
    $sql7 = "SELECT `TRNCOMMENTAIRE` FROM `tournee` WHERE `TRNNUM`= " . $TRNNUM;
    $com = champSQL($sql7);
}
?>
												<br />
												<label for="commentaire">Commentaire : <br /></label>
													<textarea name="TRNCOMMENTAIRE" id="TRNCOMMENTAIRE" style=''><?php 
echo $com;
?>
</textarea>	
											
											
											</div>
											</div>
											</div>
											<br />
											<div class="12u$">
Example #3
0
											<div class="6u 12u$(xsmall)">
												<div class="12u$">
										
										<!-- Récupération et renvoi du N° de tournée et d'étape -->
										<input type="hidden" name="TRNNUM" id="TRNNUM" value="<?php 
echo $TRNNUM;
?>
"/>
										<input type="hidden" name="ETPID" id="ETPID" value="<?php 
echo $ETPID;
?>
"/>
										
													<?php 
$sql = 'SELECT LIEUNOM, VILNOM FROM LIEU, COMMUNE WHERE LIEU.vilId = COMMUNE.VILid AND LIEUID = ' . $ETPID;
$lieu = champSQL($sql);
?>
												
												<br/>
												
												<h3>Arriv&eacute;e sur l'&eacute;tape : <?php 
nbspfct(10);
echo "lieu : {$lieu}";
?>
 </h3>
												<label for="calendrierRdvDebut">Le </label>
												<input type="date" name="dateDeb" id="dateDeb" value="" style="color:#2ecc71"/>
												<label for="calendrierHreDebut"><?php 
nbspfct(5);
?>
&agrave; </label>
Example #4
0
?>
												<label for="calendrierPriseEnCharge">Pris en charge le : <?php 
nbspfct(6);
?>
</label>
												<input type="datetime-local" name="etpFin" id="etpFin" value="<?php 
echo $ETPHREFIN;
?>
" style="color:#2ecc71"/>
												<br/>

											

												<?php 
$sql5 = "select `ETPCOMMENTAIRE` from `etape` WHERE TRNNUM=" . $TRNNUM . " AND ETPID=" . $ETPID;
$ETPCOMMENTAIRE = champSQL($sql5);
?>
												<label for="commentaire">Commentaire : <?php 
nbspfct(9);
?>
</label>
												<textarea name="commentaire" id="commentaire" ><?php 
echo $ETPCOMMENTAIRE;
?>
</textarea>

									
												<br /><br/>
											
											<?php 
if (isset($_GET['message'])) {