setAuthenticationType('http');
$rpc->setCredentials($login, $password);
*/
$result = $rpc->pmbesSelfServices_self_checkin($cb_expl);
if ($charset!= "utf-8") {
$result->title=utf8_decode($result->title);
$result->message=utf8_decode($result->message);
$result->message_loc=utf8_decode($result->message_loc);
$result->message_resa=utf8_decode($result->message_resa);
$result->message_retard=utf8_decode($result->message_retard);
$result->message_amende=utf8_decode($result->message_amende);
}
if($result->status){
// retour ok
$aff=str_replace('!!expl_cb!!',"'$cb_expl'", $msg["empr_do_checkin_ok"]);
$aff="
".$aff."
";
} else {
$aff="
".$msg["empr_do_checkin_nok"]."
";
}
// if($result->title) $aff.="