This commit is contained in:
Michael RICOIS 2009-03-13 17:31:17 +00:00
parent 43ab70fbc8
commit 5a8f5a49b7
5 changed files with 76 additions and 21 deletions

View File

@ -156,7 +156,7 @@ div.struct {
padding:0px;
}
/* div pour <EFBFBD>viter l'impression d'une partie de la page*/
/* div pour éviter l'impression d'une partie de la page*/
div.no-print {
margin:0px;
border:0px;

View File

@ -170,4 +170,48 @@ div.stats ul { width: 400px; list-style: none; }
background: url(/img/ajax/1-1.gif) no-repeat 10px center;
width: 300px;
height: 40px;*/
}
}
/*Infogreffe*/
table.table-classic {
border-collapse:collapse;
border: 0px;
border-color: #000000;
}
table.table-classic td {
font-family: arial, sans-serif;
font-size: 11px;
color:#000000;
}
/* les images dans les liens n'ont jamais de bordure */
table.table-classic a img {
border:none;
}
table.table-classic tr.titre td {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
}
table.table-classic tr.ligne td.titre,
table.table-classic tr.last td.titre,
table.table-classic tr.ligne td.std,
table.table-classic tr.last td.std,
table.table-classic tr.ligne td.last,
table.table-classic tr.last td.last {
padding:8px 4px 8px 8px;
border: 1px solid #000000;
border-bottom : 1px dashed #000000;
}
table.table-classic tr.ligne td.titre,
table.table-classic tr.last td.titre {
font-weight: bold;
color: white;
background-color: #eee;
}

View File

@ -114,11 +114,9 @@ if ( $cache->startCapture($fileName.'.html') == FALSE){
return $value;
}
$firephp->log($evens, 'Evenements');
//$firephp->log($evens, 'Evenements');
$tabForExport = htmldecode($evens);
$firephp->log($tabForExport, 'tabForExport');
//$firephp->log($tabForExport, 'tabForExport');
if(count($tabForExport)>0){
require_once(realpath(dirname(__FILE__).'/../../includes/').'/export.php');

View File

@ -398,15 +398,18 @@ else { // On est connect
$fp=@fopen( PATH_DATA.'/infogreffe/xml/' . $fichier.'.query' , 'w');
@fwrite($fp, $req);
@fclose($fp);
/*print $req;
print "<br><br>";*/
$O=$client->getProduitsWebServicesXML(utf8_encode($req));
$req=utf8_encode($req);
$firephp->log($req, 'XML');
$O=$client->getProduitsWebServicesXML($req);
$xml=implode('', (array)$O);
$firephp->log($xml,'XML');
}
}
catch (SoapFault $soapFault) {// echo "ERROR :\n", var_dump($soapFault), "\n"; echo "Request :\n", $client->__getLastRequest(), "\n";
catch (SoapFault $soapFault) {
$success=false;
$firephp->log($soapFault,'Fault');
$firephp->log($client->__getLastRequest(),'Infogreffe Request');
$firephp->log($client->__getLastResponse(),'Infogreffe Response');
$response=$client->__getLastResponse();
$response=str_replace("<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'><SOAP-ENV:Body><ns0:getProduitsWebServicesXMLResponse xmlns:ns0='urn:local' SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'><return xsi:type='xsd:string'>",'', $response);
$xml=str_replace('</return></ns0:getProduitsWebServicesXMLResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>','', $response);
@ -516,7 +519,12 @@ else { // On est connect
?>
<tr>
<td width="580" colspan="3">
<table style="width:530px;margin-top:5px;margin-bottom:5px;margin-left:10px;margin-right:10px" class="table-classic"><tr class="titre"><td class="titre" style="width:70px">Date</td><td align="center" class="titre" style="width:200px">Type</td><td align="center" class="titre" style="width:260px">D&eacute;cisions</td></tr><?
<table style="width:530px;margin-top:5px;margin-bottom:5px;margin-left:10px;margin-right:10px" class="table-classic">
<tr class="titre">
<td class="titre" style="width:70px">Date</td>
<td align="center" class="titre" style="width:200px">Type</td>
<td align="center" class="titre" style="width:260px">D&eacute;cisions</td></tr>
<?
//$date=$dom_object->getValueFromTag('date_acte');
$typeActes['a00']='MODIFICATION';
$typeActes['a01']='MODIFICATION';
@ -712,13 +720,17 @@ if ($vecteurTinit)
</tr>
<tr>
<td width="580" colspan="3">
<table style="width:530px;margin-top:5px;margin-bottom:5px;margin-left:10px;margin-right:10px" class="table-classic"><tr class="titre"><td class="titre" style="width:70px">Date</td><td align="center" class="titre" style="width:200px">Type</td><td align="center" class="titre" style="width:260px">D&eacute;cisions</td></tr><?
krsort($tabActes);
foreach ($tabActes as $date=>$acte) {
$date =WDate::dateT('Y-m-d','d/m/Y', substr($date,0,10));
$dateRef=WDate::dateT('d/m/Y','Ymd', substr($date,0,10));
$optionUrl=$acte['type_acte']."-$dateRef-".$acte['num_gest_greffe'].'-'.$acte['num_gest_millesime'].'-'.$acte['num_gest_statut'].'-'.
$acte['num_gest_chrono'].'-'.$acte['num_depot'].'-'.$acte['num_acte'];
<table style="width:530px;margin-top:5px;margin-bottom:5px;margin-left:10px;margin-right:10px" class="table-classic"><tr class="titre">
<td class="titre" style="width:70px">Date</td>
<td align="center" class="titre" style="width:200px">Type</td>
<td align="center" class="titre" style="width:260px">D&eacute;cisions</td>
</tr>
<?php
krsort($tabActes);
foreach ($tabActes as $date=>$acte) {
$date =WDate::dateT('Y-m-d','d/m/Y', substr($date,0,10));
$dateRef=WDate::dateT('d/m/Y','Ymd', substr($date,0,10));
$optionUrl=$acte['type_acte']."-$dateRef-".$acte['num_gest_greffe'].'-'.$acte['num_gest_millesime'].'-'.$acte['num_gest_statut'].'-'.$acte['num_gest_chrono'].'-'.$acte['num_depot'].'-'.$acte['num_acte'];
?>
<tr class="ligne">
<td style="width:13%" class="titre"><?=$date?></td>

View File

@ -14,8 +14,6 @@ require_once(realpath(dirname(__FILE__).'/../../includes/siren.php'));
<title>Extranet Scores &amp; D&eacute;cisions - <?=$title?></title>
<link rel="stylesheet" type="text/css" href="./css/main.css" />
<link rel="stylesheet" type="text/css" href="./css/menu.css" />
<link rel="stylesheet" type="text/css" href="./css/infogreffe_base.css" />
<link rel="stylesheet" type="text/css" href="./css/infogreffe.css" />
<link rel="stylesheet" type="text/css" href="./css/jquery.autocomplete.css" />
<?php
if($sortie!='prt'){
@ -31,7 +29,10 @@ if($sortie!='prt'){
//Ajout script ajax pour la saisie
if($page2=='saisie.php'){
?>
<script type="text/javascript" src="./js/saisieajax.js"></script>
<script type="text/javascript" src="./js/saisieajax.js"></script>
<script type="text/javascript" src="./js/thickbox.js"></script>
<link rel="stylesheet" href="./css/saisie.css" type="text/css" media="screen" />
<link rel="stylesheet" href="./css/thickbox.css" type="text/css" media="screen" />
<?php
}
}