2011-05-11 13:38:14 +00:00

108 lines
2.9 KiB
PHTML

<div id="center">
<h1>PI&Egrave;CES OFFICIELLES</h1>
<div class="paragraph">
<table class="identite">
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">
Num&eacute;ro identifiant Siren
</td>
<td width="350" class="StyleInfoData">
<?=$this->SirenTexte($this->siren)?>
</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">Raison Sociale</td>
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
</tr>
</table>
</div>
<h2>Actes & Status</h2>
<table>
<tr>
<td width="30">&nbsp;</td>
<td width="550" colspan="2" class="StyleInfoData">Il n'est pas possible de visualiser les statuts des associations en ligne.</td>
</tr>
<?php
if ( $action!='commande' && hasPerm('actes') ){
?>
<tr>
<td width="30">&nbsp;</td>
<td width="550" colspan="2" class="StyleInfoData">
<script type="text/javascript">
$(document).ready(function(){
$('form[name=commandeAsso]').submit(function(){
var eMail = $('input[name=email]').val();
if(!checkEmail(eMail)){
alert('Veuillez saisir une adresse email.');
return false;
} else { return true; }
});
});
</script>
<form name="commandeAsso" action="./?page=greffes&action=commande&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>" method="post">
<p>Commander les statuts de l'association (d&eacute;lai approximatif de 15 jours)</p>
<br/>Votre référence <input type="text" name="reference" value="" /><br/>
<br/>Votre téléphone <input type="text" name="tel" value="" maxlength="14" /><br/>
<br/>Adresse email du destinataire
<input name="email" type="text" value="<?php
if ($_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf')
echo $_SESSION['tabInfo']['email']
?>" size="20"/>
<br/>
<input
class="imgButton"
type="image"
src="./img/boutton_valider_off.gif"
name="submit" onmouseover="this.src='./img/boutton_valider_on.gif'"
onmouseout="this.src='./img/boutton_valider_off.gif'"
title="Commander les statuts de l'association...">
</form>
</td>
</tr>
<?php
//Lien pour upload acte association
if (hasModeEdition()) {
?>
<tr>
<td width="30">&nbsp;</td>
<td colspan="2">
<a id="acteUpload" href="./?page=saisieajax&q=acte"
title="Envoi Acte/Statut Association">
<b>Envoyer un actes</b>
</a>
<script>
$('#acteUpload').live('click', function(e){
e.preventDefault();
var url = $(this).attr('href');
var title = $(this).attr('title');
var dialogOpts = {
bgiframe: true,
title: title,
width: 500,
height: 400,
modal: true,
open: function(event, ui) {
$(this).html('Chargement...');
$(this).load(url);
},
buttons: {
Annuler: function() { $(this).dialog('close'); }
},
close: function() { $('#dialogacteupload').remove(); }
};
$('<div id="dialogacteupload"></div>').dialog(dialogOpts);
return false;
});
</script>
</td>
</tr>
</table>
</div>