require_once '../inc/search.inc.php'; ?> <?php $statLink = $incident->getIdStat() ? 'modifStat.php?idIncident=' . $numincident . '&idStat=' . $incident->getIdStat() : 'stat.php?idIncident=' . $numincident; ?> <div class="width100 input-group-addon"> <span class="fl-left" style=" line-height:2.5;"> Ajout pour l'incident N°:<strong><?php echo $incident->getIncident(); ?> </strong> </span> <span class="lib" style="float:left; margin-left:25px; line-height:2.5;"> Titre comm : <strong><?php getVarUpdate('numincident', $incident->getTitre()); ?> </strong> </span> </div> <fieldset> <?php include '../inc/impact.inc.php'; ?> <div class="width100"> <input type="submit" value="Sauvegarder" name="submit" /> <input onclick="javascript:document.location.href='ListeImpact.php?idIncident=<?php echo $_GET["idIncident"]; ?> '" type="button" value="Annuler" name="button" />
<ul> <h5>Vous avez des erreurs dans le remplissage de votre formulaire</h5> <?php foreach ($errors as $error) { echo '<li>' . $error . '</li>'; } ?> </ul> </div> <?php } ?> <form action="" method="POST"> <input type="hidden" name="IdIncident" value="<?php getVarUpdate('IdIncident', $impacte->getIncidentId()); ?> "> <div class="bloc"> <?php require_once '../inc/search.inc.php'; $statLink = $incident->getIdStat() ? 'modifStat.php?idIncident=' . $impacte->getIncidentId() . '&idStat=' . $incident->getIdStat() : 'stat.php?idIncident=' . $impacte->getIncidentId(); ?> <div class="width100 input-group-addon"> <span class="fl-left" style=" line-height:2.5;">Edition de l'incident N° <strong> <?php echo $incident->getIncident(); ?> </strong></span> <span class="lib" style="float:left; margin-left:25px; line-height:2.5;">Titre comm <strong><?php echo $incident->getTitre(); ?>
<textarea rows="3" id="Incident_useraction" name="Incident_useraction"><?php getVarUpdate('Incident_useraction', $incident->getActionUtlisateur()); ?> </textarea> </div> </div> </div> <fieldset> <?php require_once '../inc/impactmodif.inc.php'; ?> <div class=" width100"> <label class="lib" style="float:left;">Chronogramme</label> <textarea name="Incident_chronogramme" id="Incident_chronogramme" style="height:300px"><?php getVarUpdate('Incident_chronogramme', $incident->getChronogramme()); ?> </textarea> </div> </fieldset> <div class="width100"> <input type="submit" value="Sauvegarder" name="submit" /> </div> </div> </div> </form> <?php $idIncident = $numero;
<div class="width100"> <div class=" width50 mr_10"> <label class="lib" for="tat_publicationIR"> Publication IR</label> <input type="text" name="stat_publicationIR" id="stat_publicationIR" value="<?php getVarUpdate('stat_publicationIR', $stat->getDatePublicationIr()); ?> " > </div> <div class=" width50"> <label class="lib" for="stat_publicationPM"> Publication PM </label> <input type="text" name="stat_publicationPM" id="stat_publicationPM" value="<?php getVarUpdate('stat_publicationPM', $stat->getDatePublicationPm()); ?> "> </div> </div> <div class="width100"> <div class=" width50"> <label class="lib" for="Incident_Impact_stat_typologiegts"> Typologie GTS</label> <select id="stat_typologiegts" name="stat_typologiegts"> <?php SelectUpdate('stat_typologiegts', $stat->getTypologieGts(), $STATTYPOGTS);