Example #1
0
                        Risque aggravation
           			</label>
  				</div>
  				
	  			<div class="fl-left">
	  				<label class="lib"><input type="checkbox" id="Incident_dejaApparu" name="Incident_dejaApparu" <?php 
CheckUpdate('Incident_dejaApparu', $incident->getDejaApparu());
?>
>
                        Déja apparu
            		</label>
            	</div>
            		
            	<div class=" width20 right">
	  				<label class="lib"><input type="checkbox" id="Incident_previsible" name="Incident_previsible" <?php 
CheckUpdate('Incident_previsible', $incident->getPrevisible());
?>
>
                        Prévisible
            		</label>
            	</div>  	
  			</div>
		   	<div class="width50">
		    			<label  class="lib" for="incidentConnex"> Incidents connexes</label> 
		    			<input type="text" name="incidentConnex"  id="incidentConnex" value="<?php 
getVarUpdate('incidentConnex', $incident->getConnexe());
?>
">
		   	</div>
		    <div class="width50 right">
		   			<label  class="lib" for="incidentprobleme">Problème</label> 
	}
	function ongletChange(ongletValue) {
		document.getElementById('onglet-actif').value = ongletValue;
		ongletPrint();
	}
	document.getElementById('onglet').style.display = "block" ;
	ongletPrint();
	printForm();
</script>
<p>Version <?php 
                        echo VERSION;
                        ?>
 - Créé par David Mercereau sous licence GNU GPL v3</p>
<p>Télécharger et utiliser ce script sur le site du projet <a target="_blank" href="http://forge.zici.fr/p/emailpoubelle-php/">emailPoubelle.php</a></p>

<?php 
                        // execute lifeExpir if isn't in crontab
                        if (!CRON) {
                            LifeExpire();
                        }
                        // Close connexion DB
                        $dbco = null;
                        // checkupdate
                        echo CheckUpdate();
                    }
                }
            }
        }
    }
}
// end maintenance mod