Fichier pdf dans les commentaires

This commit is contained in:
Michael RICOIS 2012-02-14 10:47:31 +00:00
parent 052542860e
commit 99e3eb700c
30 changed files with 115 additions and 0 deletions

View File

@ -285,4 +285,28 @@ class FichierController extends Zend_Controller_Action
}
}
/**
* Gestion des fichiers Actes et Bilans
*/
public function commentairesAction()
{
$directory = APPLICATION_PATH.'/../cache/commentaires';
$file = $this->getRequest()->getParam('fichier');
$output_file = $directory.'/'.$file;
if (file_exists($output_file) && filesize($output_file)>0) {
$content_type = 'application/pdf';
header('Content-type: '.$content_type.'');
header('Content-Length: '.filesize($output_file));
header('Content-MD5: '.base64_encode(md5_file($output_file)));
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
header('Cache-Control: private, max-age=0, must-revalidate');
header('Pragma: public');
ini_set('zlib.output_compression','0');
echo file_get_contents($output_file);
} else {
echo "Erreur lors de l'affichage du fichier.";
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<dwsync>
<file name="circulaire-23mars2009.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128989631400000000" remote="129005274600000000" />
<file name="circulaire-27aout2009.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128989631400000000" remote="129005274600000000" />
<file name="plan-moratorie.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128989699800000000" remote="129005275200000000" />
<file name="relance.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128998374000000000" remote="129005275200000000" />
<file name="ASSURANCE-CREDIT-CAP.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="128986867800000000" />
<file name="CCSF.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="128986867800000000" />
<file name="CCSF-CODEFI-CIRI.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="128986867800000000" />
<file name="CCSF-CODEFI-CIRI-CREDIT-IMPOT.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="128986867800000000" />
<file name="Chomage.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="128986867800000000" />
<file name="CODEFI-CIRI.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="128986867800000000" />
<file name="factor-oseo.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="129005274600000000" />
<file name="LEASE-BACK.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="128986867800000000" />
<file name="loi-sauvegarde.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="129005274600000000" />
<file name="mandat-ad-hoc.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="129005274600000000" />
<file name="OSEO-GARANTIE-INNOVATION-FINANCEMENT.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867200000000" remote="128986867200000000" />
<file name="Oseo-innovation.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867200000000" remote="128986867200000000" />
<file name="oseo-soutien.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867200000000" remote="129005274600000000" />
<file name="reduction-frais-generaux.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867200000000" remote="129005275200000000" />
<file name="renforcement-fonds-propres.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867200000000" remote="129005275200000000" />
<file name="assurance-credit-cap.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="129005274600000000" />
<file name="ccsf-codefi-ciri-credit-impot.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="129005274600000000" />
<file name="ccsf-codefi-ciri.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="129005274600000000" />
<file name="ccsf.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="129005274600000000" />
<file name="chomage.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="129005274600000000" />
<file name="codefi-ciri.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="129005274600000000" />
<file name="lease-back.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867800000000" remote="129005274600000000" />
<file name="mediation-du-credit.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867200000000" remote="129005274600000000" />
<file name="oseo-garantie-innovation-financement.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867200000000" remote="129005274600000000" />
<file name="oseo-innovation.pdf" server="83.68.101.81:21//SITES/www2.comptalia.com/" local="128986867200000000" remote="129005274600000000" />
</dwsync>

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
cache/commentaires/docs/ccsf.pdf vendored Normal file

Binary file not shown.

BIN
cache/commentaires/docs/chomage.pdf vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
cache/commentaires/docs/codefi-ciri.pdf vendored Normal file

Binary file not shown.

BIN
cache/commentaires/docs/factor-oseo.pdf vendored Normal file

Binary file not shown.

BIN
cache/commentaires/docs/lease-back.pdf vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
cache/commentaires/docs/oseo-soutien.pdf vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
cache/commentaires/docs/relance.pdf vendored Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,59 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>LE PASSEPORT DE LA RELANCE avec le CSOEC</title>
<script language="javascript" type="text/javascript">AC_FL_RunContent = 0;</script>
<script src="http://www.comptalia.tv/swf/AC_RunActiveContent.js" language="javascript" type="text/javascript"></script>
<!-- GOOGLE ANALYTICS -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript" >
var pageTracker = _gat._getTracker("UA-520632-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<!-- GOOGLE ANALYTICS -->
</head>
<body bgcolor="#cccccc" topmargin="0">
<!--URL utilisées dans l'animation-->
<!--texte utilisé dans l'animation-->
<!--
_root.nomLot
Lancer la roue
Lancer la roue
-->
<!-- saved from url=(0013)about:internet -->
<table width="780" border="2" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td>
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("Cette page nécessite le fichier AC_RunActiveContent.js.");
} else {
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','name','roue-relance','width','780','height','800','align','middle','id','roue-relance','src','roue-relance','quality','high','bgcolor','#999999','allowscriptaccess','sameDomain','allowfullscreen','false','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','roue-relance' ); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" name="roue-relance" width="780" height="800" align="middle" id="roue-relance">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="roue-relance.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#999999" />
<embed src="roue-relance.swf" quality="high" bgcolor="#999999" width="780" height="800" name="roue-relance" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</td>
</tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0" style="font-family:Arial, Helvetica, sans-serif; font-size:12px">
<tr>
<td height="25"> D&eacute;velopp&eacute; par <a href="http://www.comptalia.com" target="_blank" style="color:#000000">Comptalia</a> - <a href="http://www.2si.fr" target="_blank" style="color: #000000">2SI </a></td>
</tr>
</table>
</body>
</html>

BIN
cache/commentaires/roue-relance.swf vendored Normal file

Binary file not shown.