Retour revisions précédente

This commit is contained in:
Michael RICOIS 2011-02-16 08:49:41 +00:00
parent f2e2d04253
commit 1df8c83085

View File

@ -22,17 +22,21 @@ switch ( $tri ){
}
//Liste des surveillances score de l'utilisateur
$filtre = new stdClass();
$filtre->tri = $triws;
$ws = new WsScores();
$O = $ws->getPortefeuille(0, $position, $nbAffichage);
$listSurveillance = (array)$O->result;
try {
$O = $client->getPortefeuille(0, $position, $nbAffichage, $triws);
$listSurveillance = $O['results']['reponses'];
$nbReponses = $O->nbReponses;
$nbSurveillances = $O->nbReponsesTotal;
$nbReponses = $O['results']['nbReponses'];
$nbSurveillances = $O['results']['nbReponsesTotal'];
$totPage = ceil($nbSurveillances/$nbAffichage);
$curPage = ceil($position/$nbAffichage);
$totPage = ceil($nbSurveillances/$nbAffichage);
$curPage = ceil($position/$nbAffichage);
} catch (SoapFault $fault) {
require_once 'soaperror.php';
processSoapFault($client,$fault,$tabInfo);
die();
}
$maxIndiscore = empty($_SESSION['tabInfo']['typeScore']) ?
'100' : $_SESSION['tabInfo']['typeScore'];
@ -311,6 +315,4 @@ if(count($listSurveillance)>0)
?>
</tbody>
</table>
</div>