extranet/www/pages/synthese.php
2009-03-26 11:44:14 +00:00

193 lines
4.0 KiB
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
if (!$_SESSION['connected']) die();
$siret=trim(preg_replace('/[^0-9]/', '', $_REQUEST['siret']));
if (strlen($siret)<>0 && strlen($siret)<>9 && strlen($siret)<>14) die('Paramètres incorrects !');
$idEntreprise=trim(preg_replace('/[^0-9]/', '', $_REQUEST['idEntreprise']))*1; // Si id=0 alors non communiqué
if (($siret*1)==0 && $idEntreprise==0) die('Paramètres incorrects !');
$siren=substr($siret,0,9);
require_once 'index_auth.php';
/*
try {
$O = $client->getRatios();
}catch (SoapFault $fault) {
include_once(realpath(dirname(__FILE__).'/../../').'/includes/soaperror.php');
processSoapFault($client,$fault,$tabInfo);
die();
}
*/
?>
<script type="text/javascript" src="./js/jtip.js"></script>
<link rel="stylesheet" type="text/css" href="./css/jtip.css" />
<style>
#container
{
width: 580px;
background-color: #FFFFFF;
}
#synthese
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 0px;
width: 580px;
text-align: left;
border-collapse: collapse;
}
#synthese thead th.rounded-company
{
background: #b9c9fe url('./img/synthese/left.png') left -1px no-repeat;
}
#synthese thead th.rounded-q5
{
background: #b9c9fe url('./img/synthese/right.png') right -1px no-repeat;
}
#synthese th
{
padding: 4px;
font-weight: normal;
font-size: 13px;
color: #039;
background: #b9c9fe;
border: 1px solid #fff;
}
#synthese td
{
padding: 4px;
background: #e8edff;
border: 1px solid #fff;
color: #669;
}
#synthese tfoot td.rounded-foot-left
{
background: #e8edff url('./img/synthese/botleft.png') left bottom no-repeat;
}
#synthese tfoot td.rounded-foot-right
{
background: #e8edff url('./img/synthese/botright.png') right bottom no-repeat;
}
#synthese tbody tr:hover td
{
background: #d0dafd;
}
#entete {
margin:1px;
}
/* ----- add selectors here for font sizing ----- */
#JT_close_left, #JT_close_right{font-size: 12px;}
#JT_copy p, #JT_copy ul{font-size: 12px;}
p, label{font-size: 12px;}
ul{
list-style: none;
}
ul li{
padding-top:3px;
}
</style>
<div id="container">
<div><img id="entete" src="./img/rub_synthese.png" width="577" height="36"></div>
<table id="synthese">
<thead>
<tr>
<th>Chiffres en K&euro;</th>
<th>Chiffres Années-3 12 mois</th>
<th>Chiffres Années-2 12 mois</th>
<th>% evolution</th>
<th>Chiffres Années-1 12 mois</th>
<th>% evolution</th>
</tr>
</thead>
<tbody>
<tr>
<td>CHIFFRE D'AFFAIRES</td>
<td>Row 1, cell 2</td>
<td>Row 1, cell 3</td>
<td>Row 1, cell 4</td>
<td>Row 1, cell 5</td>
<td>Row 1, cell 6 <a class="jTip" id="one" href="./pages/synthese_dgraph.php?width=375" name="Evolution :"><img src="./img/synthese/chart_bar.png" alt="Visionner le graphique"></a></td>
</tr>
<tr>
<td>RESULTAT COURANT AVANT IMPOTS</td>
<td>Row 1, cell 2</td>
<td>Row 1, cell 3</td>
<td>Row 1, cell 4</td>
<td>Row 1, cell 5</td>
<td>Row 1, cell 6</td>
</tr>
<tr>
<td>RESULTAT NET</td>
<td>Row 1, cell 2</td>
<td>Row 1, cell 3</td>
<td>Row 1, cell 4</td>
<td>Row 1, cell 5</td>
<td>Row 1, cell 6</td>
</tr>
<tr>
<td>FONDS PROPRES</td>
<td>Row 1, cell 2</td>
<td>Row 1, cell 3</td>
<td>Row 1, cell 4</td>
<td>Row 1, cell 5</td>
<td>Row 1, cell 6</td>
</tr>
<tr>
<td>TOTAL BILAN</td>
<td>Row 1, cell 2</td>
<td>Row 1, cell 3</td>
<td>Row 1, cell 4</td>
<td>Row 1, cell 5</td>
<td>Row 1, cell 6</td>
</tr>
<tr>
<td>FONDS DE ROULEMENT</td>
<td>Row 1, cell 2</td>
<td>Row 1, cell 3</td>
<td>Row 1, cell 4</td>
<td>Row 1, cell 5</td>
<td>Row 1, cell 6</td>
</tr>
<tr>
<td>BESOIN EN FONDS DE ROULEMENT</td>
<td>Row 1, cell 2</td>
<td>Row 1, cell 3</td>
<td>Row 1, cell 4</td>
<td>Row 1, cell 5</td>
<td>Row 1, cell 6</td>
</tr>
<tr>
<td>TRESORERIE</td>
<td>Row 1, cell 2</td>
<td>Row 1, cell 3</td>
<td>Row 1, cell 4</td>
<td>Row 1, cell 5</td>
<td>Row 1, cell 6</td>
</tr>
<tr>
<td>EFFECTIF</td>
<td>Row 1, cell 2</td>
<td>Row 1, cell 3</td>
<td>Row 1, cell 4</td>
<td>Row 1, cell 5</td>
<td>Row 1, cell 6</td>
</tr>
</tbody>
</table> 
<img src="./pages/synthese_graph_linecompare.php" />
</div>