예제 #1
0
파일: modifStat.php 프로젝트: anisinfo/osi
        $stat = new Stat();
        $statLegacy = isset($_POST['statLegacy']) ? $_POST['statLegacy'] : '';
        $stat->SetParam($idStat, $idIncident, $_POST['refchangement'], $_POST['stat_publicationIR'], $_POST['stat_publicationPM'], $_POST['stat_typecause'], $_POST['stat_typecause_second'], $_POST['stat_typologiegts'], $_POST['stat_equipeResp'], $_POST['fournisseurResp'], $_POST['statPowerprod'], $statLegacy, $_POST['stat_Composant'], $_POST['Composant_complement'], $listeCheck);
        $stat->Modifier();
        $_SESSION['flash']['success'] = "Le Stat est bien modifié!";
    }
}
$incident = new incidents();
$incident->_setUser($userConnected);
$incident->chargerIncident($idIncident);
$impacte = new Impact();
$impacte->chargerFirstIncident($idIncident);
$application = new Application();
$application->SelectAppliById($impacte->getApplicationId());
$stat = new Stat();
$stat->SelectStatById($idStat, $idIncident);
require_once '../inc/header.inc.php';
?>
<h1>Statistique</h1>


<form action="" method="POST">
	
	<div class="bloc">
	<?php 
$link = "Stat";
require_once '../inc/search.inc.php';
?>
	<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();