Je vais colorer son code.. [code]<?php if (
{
?>
| <script type="text/javascript">// <![CDATA[
function blink(ob)
{
if (ob.style.visibility == "visible" )
{
ob.style.visibility = "hidden";
}
else
{
ob.style.visibility = "visible";
}
}
setInterval("blink(bl)",750);
// ]]>
</script>

| <script type="text/javascript">
// <![CDATA[
function blink(ob)
{
if (ob.style.visibility == "visible" )
{
ob.style.visibility = "hidden";
}
else
{
ob.style.visibility = "visible";
}
}
setInterval("blink(bl)",750);
// ]]>
</script>
=> Attention Module en cours de construction !!
|
|
Vous pouvez déjà apercevoir les propositions ici, la page "modifier" existe mais n'est pas encore terminée, veuillez ne pas valider les modifications sur la page suivante.
| Proposition de vol par nos pilotes |
| Informations principales | Cartes Départ | Cartes Arrivée | Parametres |
| Départ ICAO | Arrivée ICAO | Type d'avion | Distance | Durée | Régle de vol | RMK | Proposer par : | DEP | ACAR | ARR | Modifier/valider: | Supprimer |
<?php
while (
{
$rulesflight
| $rmk | $by | $dep | $acarr | $arr | $edit | $delete |
"; } ?>
<?php }
if (
{
{
echo "Aucune proposition!";
$found = false;
}
else
{
$id = $row["ID"];
$result2 = mysql_query("SELECT FROM {
while (
{
<p><span style="font-weight: bold; color: #F00;">Numéro de vol commence toujours par les 3 lettres :"MRz" (z étant la lettre qui designe le type de table)</span></p>
<br>
<br>
<span style="color: #000; font-weight: bold;">MRA (AeroClub) - MRC (Charter) - MRF (Fly'in) - MRH (Mission Humanitaire) - MRM (Mission) - MRR (Regular) - MRS (School) - MRT (Transport Cargo)</span><br>
<p>- Veuillez vous reporter à la page precédente pour voir le type de vol de la table selectionnée !!</p>
<p>- Faire suivre les numéros de vol selon le dernier vol de la table.</p>
<br>
<br>
<p>- Le numéro de vol se constitue de 4 chiffres : <span style="color: #000; font-weight: bold;">Xzzz</span> (<span style="font-weight: bold">X</span> est le numéro de la zone de la table) :</p>
<p><span style="font-weight: bold; color: #F00;">1</span><span style="font-weight: normal"> Amérique du Nord</span></p>
<p><span style="color: #F00">2</span> Amérique du Sud</p>
<p><span style="color: #F00">3</span> Europe</p>
<p><span style="color: #F00">4</span> Afrique</p>
<p><span style="color: #F00">5</span> Asie</p>
<p><span style="color: #F00">6</span> Inter-Zone<br>
<br>
<br>
<input type="submit" value="Valider la proposition">
</p>
<table border="1">
<tr>
<td>
Dans quel table?:
</td>
<td>
<select name="icao">
<option value="MRR" if mrr echo selected>>Regular</option>
</select>
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Type de vol
</td>
<td bgcolor="#00CCFF">
<select name="icao">
<option value="MRR" if mrr echo selected>>Regular</option>
<option value="MRC" if mrc echo selected>>Charter</option>
<option value="MRT" if mrt echo selected>>Transport Cargo</option>
<option value="MRA" if mra echo selected>>AeroClub</option>
<option value="MRS" if mrs echo selected>>School</option>
<option value="MRT" if mrh echo selected>>Mission</option>
<option value="MRH" if mrh echo selected>>Mission Humanitaire</option>
</select>
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Numero du vol:
</td>
<td bgcolor="#00CCFF">
<input type="text" name="callsign" maxlength="4" style="width:50px" value="<?php echo $callsign ?>">
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Départ ICAO:
</td>
<td bgcolor="#00CCFF">
<input type="text" name="depicao" maxlength="4" value="<?php echo $depicao ?>">
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Arrivée ICAO:
</td>
<td bgcolor="#00CCFF">
<input type="text" name="desicao" maxlength="4" value="<?php echo $desicao ?>">
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Avion:
</td>
<td bgcolor="#00CCFF">
<select name="actype" id="actype" size="1" onchange="Check()">
<?php
if (
{
if ($row = mysql_fetch_array(mysql_query("SELECT FROM {
{
}
}
?>
</select>
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Matricule:
</td>
<td bgcolor="#00CCFF">
<?php
while (
{
{
?>
<select id="<?php echo
}
echo "</select>";
$first = false;
}
}
?>
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Distance:
</td>
<td bgcolor="#00CCFF">
<input type="text" name="distance" value="<?php echo $distance ?>"> NM
</td>
</tr>
<tr>
<?php if (
{
}
else
{
if (
if (
if (
if (
if (
if (
if (
{
?>
</tr>
<tr>
<td bgcolor="#00CCFF">
Durée du vol:
</td>
<td bgcolor="#00CCFF">
<input type="text" name="hours" style="width:30px" maxlength="2" value="<?php echo $hours ?>">h<input type="text" name="mins" maxlength="2" style="width:30px" value="<?php echo $mins ?>">
</td>
</tr>
<?php }
?>
<?php if ($flighttimes == 1)
{
?>
<tr>
<td bgcolor="#00CCFF">
Heure Départ (UTC):
</td>
<td bgcolor="#00CCFF">
<input type="text" name="dephours" style="width:30px" maxlength="2" value="<?php echo $dephours ?>">:<input type="text" name="depmins" maxlength="2" style="width:30px" value="<?php echo $depmins ?>">
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Heure d'arrivée (UTC):
</td>
<td bgcolor="#00CCFF">
<input type="text" name="arrhours" style="width:30px" maxlength="2" value="<?php echo $arrhours ?>">:<input type="text" name="arrmins" maxlength="2" style="width:30px" value="<?php echo $arrmins ?>">
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Jours de vol:
</td>
<td bgcolor="#00CCFF">
<input type="hidden" name="1" value="-"><label><input type="checkbox" name="1" id="1" value="1" echo> /> Lundi</label>
<input type="hidden" name="2" value="-"><label><input type="checkbox" name="2" id="2" value="2" echo> /> Mardi</label>
<input type="hidden" name="3" value="-"><label><input type="checkbox" name="3" id="3" value="3" echo> /> Mercredi</label>
<input type="hidden" name="4" value="-"><label><input type="checkbox" name="4" id="4" value="4" echo> /> Jeudi</label>
<input type="hidden" name="5" value="-"><label><input type="checkbox" name="5" id="5" value="5" echo> /> Vendredi</label>
<input type="hidden" name="6" value="-"><label><input type="checkbox" name="6" id="6" value="6" echo> /> Samedi</label>
<input type="hidden" name="7" value="-"><label><input type="checkbox" name="7" id="7" value="7" echo> /> Dimanche</label>
<br>
<label><input type="checkbox" id="checkall" onclick="CheckAll()" if echo checked> /> Tout les jours</label>
</td>
</tr>
<?php }
?>
<tr>
<td bgcolor="#00CCFF">
Regle de vol:
</td>
<td bgcolor="#00CCFF">
<select name="rulesflight">
<option value="I" if i echo selected>>IFR</option>
<option value="V" if v echo selected>>VFR</option>
<option value="Y" if y echo selected>>IFR/VFR</option>
<option value="Z" if z echo selected>>VFR/IFR</option>
</select>
</td>
</tr>
<tr>
<td bgcolor="#00CCFF" style="vertical-align:top">
Route:
</td>
<td bgcolor="#00CCFF">
<textarea name="route" style="width:600px;height:100px"><?php echo $route ?></textarea>
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Altitude de vol (Ft):
</td>
<td bgcolor="#00CCFF">
<input type="text" name="fl" style="width:100px" value="<?php echo $fl ?>">Exemple : Vol au FL360 = 36000fts -> Indiquez "36000"
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
RMK :
</td>
<td bgcolor="#00CCFF">
<input type="text" name="rmk" style="width:500px" value="<?php echo $rmk ?>">
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Informations supplementaires :
</td>
<td bgcolor="#00CCFF">
<input type="text" name="notes" style="width:600px;height:100px" value="<?php echo $notes ?>">
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#00CCFF">
<div align="center">
Cartes de vol (Adresse URL du Pdf)
</div>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#00CCFF">
<div align="center">
DEPART
</div>
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Carte du terrain :
</td>
<td bgcolor="#00CCFF">
<input type="text" name="dep" style="width:500px" value="<?php echo $dep ?>">
"AD"
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#00CCFF">
<div align="center">
ARRIVEE
</div>
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Carte d'approche proposer (a placer dans le bonne endroit):
</td>
<td bgcolor="#00CCFF">
<?php echo $acarr ?>
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Carte d'approche à vue :
</td>
<td bgcolor="#00CCFF">
<input type="text" name="vacarr" style="width:500px" value="">"VAC"
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#00CCFF">
(ou)
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Carte d'approche aux instruments :
</td>
<td bgcolor="#00CCFF">
<input type="text" name="iacarr" style="width:500px" value="">"IAC"
</td>
</tr>
<tr>
<td bgcolor="#00CCFF">
Carte du terrain :
</td>
<td bgcolor="#00CCFF">
<input type="text" name="arr" style="width:500px" value="<?php echo $arr ?>">"AD"
</td>
</tr>
</table>
<div align="center">
<br>
<br>
<input type="submit" value="Valider la proposition">
</div>
</form>
<script type="text/javascript">
function CheckAll()
{
checked = document.getElementById("checkall").checked;
if (checked == true)
{
document.getElementById("1").checked = true;
document.getElementById("2").checked = true;
document.getElementById("3").checked = true;
document.getElementById("4").checked = true;
document.getElementById("5").checked = true;
document.getElementById("6").checked = true;
document.getElementById("7").checked = true;
}
else
{
document.getElementById("1").checked = false;
document.getElementById("2").checked = false;
document.getElementById("3").checked = false;
document.getElementById("4").checked = false;
document.getElementById("5").checked = false;
document.getElementById("6").checked = false;
document.getElementById("7").checked = false;
}
}
function GetText(id)
{
return document.getElementById(id).value;
}
function SetText(id, text)
{
document.getElementById(id).value = text;
}
function Check()
{
actype = GetText("actype");
var actypes;
actypes = [<?php
echo implode(", ", $actypes);
?>];
for (i=0;i<actypes.length;i++)
{
document.getElementById(actypes*+"select").style.display = "none";
}
document.getElementById(actype+"select").style.display = "";
}
</script><?php }
?>[/code]]($arr)