コード例 #1
0
ファイル: commachaud.php プロジェクト: anisinfo/osi
require_once '../classes/incidents.php';
require_once '../classes/Application.php';
$incident = new incidents();
$impacte = new Impact();
$incident->chargerIncident($numero);
$resultats = $impacte->chargerIncident($numero);
$LDescription = "";
$LApplication = "";
for ($i = 0; $i < count($resultats); $i++) {
    $value = $resultats[$i];
    $application = new Application();
    $application->SelectAppliById($value[2]);
    $LDescription .= $value[11] . ', ';
    $LApplication .= $i == 0 ? '<b>' . $application->getName() . '</b>,' : $application->getName();
}
$listeBcci = $incident->chargerBcci();
$BccFinal = '';
foreach ($DESTINATAIREBCC as $key => $value) {
    $BccFinal .= strpos($listeBcci, $key . ',') !== false ? $value . ';' : '';
}
?>
Const tmpD = "c:/temp/"
function GetFileName(url)
    segments = split(url,"/")
    furl = segments(ubound(segments))
    GetFileName = furl
end function

Sub writeImage(binaryData, strFullPath)

  Set objADO = CreateObject("ADODB.Stream")