extranet/www/pages/synthese.php

193 lines
4.0 KiB
PHP
Raw Normal View History

2009-03-25 09:37:17 +00:00
<?php
2009-03-25 18:32:45 +00:00
if (!$_SESSION['connected']) die();
$siret=trim(preg_replace('/[^0-9]/', '', $_REQUEST['siret']));
if (strlen($siret)<>0 && strlen($siret)<>9 && strlen($siret)<>14) die('Param<61>tres incorrects !');
$idEntreprise=trim(preg_replace('/[^0-9]/', '', $_REQUEST['idEntreprise']))*1; // Si id=0 alors non communiqu<71>
if (($siret*1)==0 && $idEntreprise==0) die('Param<61>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();
}
*/
2009-03-25 09:37:17 +00:00
?>
<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
{
2009-03-25 18:32:45 +00:00
padding: 4px;
2009-03-25 09:37:17 +00:00
font-weight: normal;
font-size: 13px;
color: #039;
background: #b9c9fe;
2009-03-25 18:32:45 +00:00
border: 1px solid #fff;
2009-03-25 09:37:17 +00:00
}
#synthese td
{
2009-03-25 18:32:45 +00:00
padding: 4px;
2009-03-25 09:37:17 +00:00
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">
2009-03-26 11:44:14 +00:00
<div><img id="entete" src="./img/rub_synthese.png" width="577" height="36"></div>
2009-03-25 09:37:17 +00:00
<table id="synthese">
<thead>
<tr>
2009-03-25 18:32:45 +00:00
<th>Chiffres en K&euro;</th>
2009-03-25 09:37:17 +00:00
<th>Chiffres Ann<EFBFBD>es-3 12 mois</th>
<th>Chiffres Ann<EFBFBD>es-2 12 mois</th>
<th>% evolution</th>
<th>Chiffres Ann<EFBFBD>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>
2009-03-26 11:44:14 +00:00
<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>
2009-03-25 09:37:17 +00:00
</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><EFBFBD>
2009-03-25 18:32:45 +00:00
<img src="./pages/synthese_graph_linecompare.php" />
2009-03-25 09:37:17 +00:00
</div>