Nouveau style de page
This commit is contained in:
parent
76c76867c1
commit
2a2fb90ff6
@ -58,95 +58,103 @@ try {
|
||||
}
|
||||
$raisonSociale=$tabInfo['entrep']['raisonSociale'];
|
||||
?>
|
||||
<table width="580" border="0" align="left" bgcolor="#FFFFFF" id="center">
|
||||
<tr>
|
||||
<td colspan="4"><h1>COMPETENCES TERRITORIALES</h1></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<div id="center">
|
||||
<h1 class="titre">COMPÉTENCES TERRITORIALES</h1>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" colspan="2" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=substr($siren,0,3).' '.substr($siren,3,3).' '.substr($siren,6,3)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" colspan="2" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$raisonSociale?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4" class="StyleInfoData"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr><td colspan="4" class="StyleInfoData"> </td></tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData"><a href="./?page=competences&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>&type=tri">Tribunaux</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData"><a href="./?page=competences&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>&type=adm">Administrateurs & Mandataires judiciaires</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData"><a href="./?page=competences&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>&type=hui">Huissiers de justice</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData"><a href="./?page=competences&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>&type=pre">Préfectures & Sous-préfectures</a></td>
|
||||
</tr>
|
||||
<? if ($_SERVER['REMOTE_ADDR']=='83.206.102.217' || $_SERVER['REMOTE_ADDR']=='88.185.121.243') { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($_SERVER['REMOTE_ADDR']=='83.206.102.217' || $_SERVER['REMOTE_ADDR']=='88.185.121.243')
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData"><a href="./?page=competences&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>&type=cfe">Centres de formalités des Entreprises (CCI, Greffes, Métiers, Artisanat, Agriculture, URSSAF, Impôts, etc...)</a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData"><a href="./?page=competences&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>&type=jal">Journaux d'Annonces Légales</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4" class="StyleInfoData"> </td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr><td colspan="4" class="StyleInfoData"> </td></tr>
|
||||
</table>
|
||||
<?php
|
||||
if ($type=='tri') {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="4"><img src="./img/srub_tribunaux.png" width="576" height="27" /></td>
|
||||
</tr>
|
||||
<?php foreach ($competences as $comp) {?>
|
||||
<tr>
|
||||
if ($type=='tri')
|
||||
{
|
||||
?>
|
||||
<h2>Tribunaux</h2>
|
||||
<table>
|
||||
<?php
|
||||
foreach ($competences as $comp)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="3" class="StyleInfoData"><b><ul><li><?=strtr(' '.$comp['Nom'],array(' TGI '=>'TRIBUNAL DE GRANDE INSTANCE DE ',
|
||||
' TI '=>'TRIBUNAL D\'INSTANCE DE ', ' TC '=>'TRIBUNAL DE COMMERCE DE ', ' TGIcc '=>'TRIBUNAL DE GRANDE INSTANCE A COMPETENCE COMMERCIALE '))?></b><br/>
|
||||
<? if (trim($comp['Siret'])<>'') { ?>
|
||||
<b>RCS <a href="./?page=identite&idEntreprise=<?=$idEntreprise?>&siret=<?=$comp['Siret']?>"><?=substr($comp['Siret'],0,3).' '.substr($comp['Siret'],3,3).' '.substr($comp['Siret'],6,3).' <i>'.substr($comp['Siret'],9,5);?></i></a></b><br/><?}?>
|
||||
<?=$comp['Adr'];?><br/>
|
||||
<?if ($comp['AdrComp']<>'') echo $comp['AdrComp'].'<br/>';?>
|
||||
<b><?=$comp['CP'].' '.$comp['Ville']?></b><br/>
|
||||
<?if ($comp['Tel']<>'') echo 'Tél : '.wordwrap($comp['Tel'],2,".",true).'<br/>';?>
|
||||
<?if ($comp['Fax']<>'') echo 'Fax : '.wordwrap($comp['Fax'],2,".",true).'<br/>';?>
|
||||
<?if (trim($comp['Web'])<>'') {
|
||||
if (substr($comp['Web'],0,7)<>'http://')
|
||||
$siteWeb='http://'.$comp['Web'];
|
||||
else
|
||||
$siteWeb=$comp['Web'];
|
||||
echo 'Site internet : <a href="'.$siteWeb.'" target="_blank">'.$siteWeb.'</a><br/>';
|
||||
}?>
|
||||
<?if ($comp['Mail']<>'') echo 'Courriel : <a href="mailto:'.$comp['Mail'].'">'.$comp['Mail'].'</a><br/>';?>
|
||||
<?if ($comp['Remarque']<>'')echo $comp['Remarque'].'<br/>';?>
|
||||
</li></ul></td></td>
|
||||
</tr>
|
||||
<?/* [Id] => 1779
|
||||
[IdSup] => 1779
|
||||
[Code] => PARISL
|
||||
[Type] => L
|
||||
[CodeInsee] => 75101
|
||||
[Statut] => Actif
|
||||
*/?>
|
||||
<td width="550" colspan="3" class="StyleInfoData">
|
||||
<b><ul><li>
|
||||
<?php
|
||||
print strtr(' '.$comp['Nom'],array(' TGI '=>'TRIBUNAL DE GRANDE INSTANCE DE ',' TI '=>'TRIBUNAL D\'INSTANCE DE ', ' TC '=>'TRIBUNAL DE COMMERCE DE ', ' TGIcc '=>'TRIBUNAL DE GRANDE INSTANCE A COMPETENCE COMMERCIALE '));
|
||||
?>
|
||||
</b><br/>
|
||||
<?php
|
||||
if (trim($comp['Siret'])<>'')
|
||||
{
|
||||
?>
|
||||
<b>RCS <a href="./?page=identite&idEntreprise=<?=$idEntreprise?>&siret=<?=$comp['Siret']?>"><?=substr($comp['Siret'],0,3).' '.substr($comp['Siret'],3,3).' '.substr($comp['Siret'],6,3).' <i>'.substr($comp['Siret'],9,5);?></i></a></b><br/>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?=$comp['Adr'];?><br/>
|
||||
<?if ($comp['AdrComp']<>'') echo $comp['AdrComp'].'<br/>';?>
|
||||
<b><?=$comp['CP'].' '.$comp['Ville']?></b><br/>
|
||||
<?if ($comp['Tel']<>'') echo 'Tél : '.wordwrap($comp['Tel'],2,".",true).'<br/>';?>
|
||||
<?if ($comp['Fax']<>'') echo 'Fax : '.wordwrap($comp['Fax'],2,".",true).'<br/>';?>
|
||||
<?if (trim($comp['Web'])<>'') {
|
||||
if (substr($comp['Web'],0,7)<>'http://')
|
||||
$siteWeb='http://'.$comp['Web'];
|
||||
else
|
||||
$siteWeb=$comp['Web'];
|
||||
echo 'Site internet : <a href="'.$siteWeb.'" target="_blank">'.$siteWeb.'</a><br/>';
|
||||
}?>
|
||||
<?if ($comp['Mail']<>'') echo 'Courriel : <a href="mailto:'.$comp['Mail'].'">'.$comp['Mail'].'</a><br/>';?>
|
||||
<?if ($comp['Remarque']<>'')echo $comp['Remarque'].'<br/>';?>
|
||||
</li></ul></td></td>
|
||||
</tr>
|
||||
<table>
|
||||
<?php
|
||||
}
|
||||
} elseif ($type=='cfe') {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="4"><img src="./img/srub_cfe.png" width="576" height="27" /></td>
|
||||
</tr>
|
||||
}
|
||||
} elseif ($type=='cfe') {
|
||||
?>
|
||||
<h2>Centre de formalités des entreprises</h2>
|
||||
<table>
|
||||
<?php foreach ($competences as $comp) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
@ -172,11 +180,14 @@ $raisonSociale=$tabInfo['entrep']['raisonSociale'];
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
} elseif ($type=='pre') {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="4"><img src="./img/srub_prefectures.png" width="576" height="27" /></td>
|
||||
</tr>
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
} elseif ($type=='pre')
|
||||
{
|
||||
?>
|
||||
<h2>Préfectures et Sous-Préfectures</h2>
|
||||
<table>
|
||||
<?php foreach ($competences as $comp) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
@ -201,14 +212,13 @@ $raisonSociale=$tabInfo['entrep']['raisonSociale'];
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
echo '<!--';
|
||||
print_r($competences);
|
||||
echo '-->';
|
||||
} elseif ($type=='jal') {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="4"><img src="./img/srub_jal.png" width="576" height="27" /></td>
|
||||
</tr>
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
} elseif ($type=='jal') {
|
||||
?>
|
||||
<h2>Jounaux d'Annonces Légales</h2>
|
||||
<table>
|
||||
<?php foreach ($competences as $comp) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
@ -233,14 +243,13 @@ $raisonSociale=$tabInfo['entrep']['raisonSociale'];
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
echo '<!--';
|
||||
print_r($competences);
|
||||
echo '-->';
|
||||
} elseif ($type=='adm') {
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
} elseif ($type=='adm') {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="4"><img src="./img/srub_mandataires.png" width="576" height="27" /></td>
|
||||
</tr>
|
||||
<h2>Administrateur(s) / Mandataire(s) judiciaires</h2>
|
||||
<table>
|
||||
<?php foreach ($competences as $comp) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
@ -266,31 +275,16 @@ elseif ($comp['Type']=='M') echo '<i>Mandataire judiciaire</i><br/>';
|
||||
<? if ($comp['Remarque']<>'') echo 'Remarque : '.$comp['Remarque'].'<br/>';?>
|
||||
</li></ul></td>
|
||||
</tr>
|
||||
<?/*
|
||||
|
||||
[Id] => 367
|
||||
[IdSup] => 000000000
|
||||
[Code] => Chartres/CHA
|
||||
[Type] => A
|
||||
[Nom] => Pierrat Guy
|
||||
[Siret] => 338630999
|
||||
[Adr] => 24 Rue Chanzy Bp 299
|
||||
[AdrComp] =>
|
||||
[CP] => 28005
|
||||
[Ville] => CHARTRES CEDEX
|
||||
[Fax] => 02 37 91 05 38
|
||||
[Web] =>
|
||||
[Mail] => guy.pierrat.aj@wanadoo.fr
|
||||
[Statut] => PP
|
||||
[Remarque] => */?>
|
||||
<?php
|
||||
}
|
||||
} elseif ($type=='hui') {
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
} elseif ($type=='hui') {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="4"><img src="./img/srub_huissiers.png" width="576" height="27" /></td>
|
||||
</tr>
|
||||
<?php foreach ($competences as $comp) {?>
|
||||
<h2>Huissiers</h2>
|
||||
<table>
|
||||
<?php foreach ($competences as $comp) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="3" class="StyleInfoData"><b><ul><li><?=$comp['Nom']?></b><br/>
|
||||
@ -315,28 +309,27 @@ elseif ($comp['Type']=='M') echo '<i>Mandataire judiciaire</i><br/>';
|
||||
</li></ul></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
} elseif ($type=='cad') {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="4"><img src="./img/srub_cadastres.png" width="576" height="27" /></td>
|
||||
</tr>
|
||||
<h2>Cadastre et Hypothèques</h2>
|
||||
<table>
|
||||
<?php
|
||||
} elseif ($type=='pre') {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="4"><img src="./img/srub_prefectures.png" width="576" height="27" /></td>
|
||||
</tr>
|
||||
?>
|
||||
<h2>Préfectures et Sous-Préfectures</h2>
|
||||
<?php
|
||||
} elseif ($type=='avo') {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="4"><img src="./img/srub_avocats.png" width="576" height="27" /></td>
|
||||
</tr>
|
||||
<h2>Avocat(s)</h2>
|
||||
<?php
|
||||
}
|
||||
?><br>
|
||||
</table>
|
||||
?>
|
||||
<br>
|
||||
</div>
|
||||
<?php
|
||||
/** @todo
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user