Example #1
0
		    	<div class=" width32">
  					<label  class="lib" for="statut"> Statut *</label>
  					<select id="statut" name="Incident_statut" required onchange="VerifImpactFermer(this.value,<?php 
echo $_GET['id'];
?>
)">
  						<?php 
SelectUpdate('Incident_statut', $incident->getStatut(), $STATUT);
?>
	        		</select>
  				</div>
  				<div class=" width32 right">
  					<label  class="lib"  for="priorite"> Priorité</label>
  					<select id="priorite" name="Incident_priorite">
  						<?php 
SelectUpdate('Incident_priorite', $incident->getPriorite(), $PRIORITE);
?>
	        		</select>
  				</div>	    	 
	    	</div>
			<div class="width100">
		    	<label  class="lib"  for="titreincident"> Titre Incident</label> 
		    	<input type="text" name="titreincident" id="titreincident" value="<?php 
getVarUpdate('titreincident', $incident->getTitre());
?>
"  >
	    	</div>
  			<div class="width100">
  				<div class=" width32 mr_9">
  					<label  class="lib" for="debutincident"> Début Incident *</label> 
  					<input type="text" name="debutincident"  id="debutincident" value="<?php 
Example #2
0
Set objOL = CreateObject("Outlook.Application")
    Set objMail = objOL.CreateItem(0)
    Set colAttach = objMail.Attachments
    Call writeImage(binaryURL("<?php 
echo RACINE;
?>
img/logo.png"), tmpD & GetFileName("<?php 
echo RACINE;
?>
img/logo.png"))
    Set oAttach = colAttach.Add(tmpD & GetFileName("<?php 
echo RACINE;
?>
img/logo.png"))
    <?php 
if ($incident->getPriorite() != "") {
    ?>
	Call writeImage(binaryURL("<?php 
    echo RACINE;
    ?>
img/p<?php 
    echo $incident->getPriorite();
    ?>
.png"), tmpD & GetFileName("<?php 
    echo RACINE;
    ?>
img/p<?php 
    echo $incident->getPriorite();
    ?>
.png"))
    Set oAttach = colAttach.Add(tmpD & GetFileName("<?php