diff --git a/htdocs/public/dons/Makefile b/htdocs/public/dons/Makefile index 0f5a62242d9..30fef925680 100644 --- a/htdocs/public/dons/Makefile +++ b/htdocs/public/dons/Makefile @@ -16,47 +16,22 @@ # ftp://ftp.cogsci.ed.ac.uk/pub/richard/rxp-1.2.3.tar.gz # XSLTPROC = sabcmd - +WGET = wget XSLTOPTS = \ '$$fsfeurope=$(FSFEUROPE)' \ '$$fsf=$(FSF)' \ '$$gnu=$(GNU)' -ENPAGES = $(shell find * -regex '.*\.en\.xhtml' -print | sed "s/xhtml$$/html/") -FRPAGES = $(shell find * -regex '.*\.fr\.xhtml' -print | sed "s/xhtml$$/html/") +all: + $(XSLTPROC) main-eucd.xsl don.xhtml > don.php + $(XSLTPROC) main-eucd.xsl valid.xhtml > valid.php + $(XSLTPROC) main-eucd.xsl erreur.xhtml > erreur.php + $(XSLTPROC) main-eucd.xsl merci.xhtml > merci.php - -RSYNC=/usr/bin/rsync -ROPT=-av -RSSH=-e ssh - -prim: - $(XSLTPROC) eucd.xsl don.xhtml > don.php - $(XSLTPROC) eucd.xsl erreur.xhtml > erreur.php - $(XSLTPROC) eucd.xsl merci.xhtml > merci.php - - -all: $(ENPAGES) $(FRPAGES) - - -$(ENPAGES) $(FRPAGES): %.html: %.xhtml fsfe-fr.xsl navigation.en.xsl navigation.fr.xsl - @echo "Building $@ ..."; \ - path=$< ; \ - base=`expr $$path : '\(.*\).xhtml'` ; \ - filebase=`basename $$base` ; \ - dir=`dirname $$path` ; \ - root=`dirname $$path | perl -pe 'chop; s:([^/]+):..:g if($$_ ne ".")'` ; \ - $(XSLTPROC) fsfe-fr.xsl $$path $(XSLTOPTS) \ - '$$fsffrance='$$root '$$filebase='$$filebase '$$path='$$path | \ - perl -MFile::Copy -p -e '$$| = 1; copy("'$$dir'/$$1", \*STDOUT) if(/\#include virtual=\"(.*?)\"/); s/\$$//g if(/\$$''Date:/);' \ - > $$base.html-temp && \ - ( cat $$base.html-temp | \ - perl -p -e '$$| = 1; s/\$$//g if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.html \ - ) ; \ - rm -f $$base.html-temp - -# remove html files for which an xhtml version exists (exclude fr/) -clean: - rm -f $(NEWS) $(ENPAGES) $(FRPAGES) +get: + rm -f navigation.fr.xsl fsfe-fr.xsl eucd.css + $(WGET) http://eucd.info/eucd.css + $(WGET) http://eucd.info/navigation.fr.xsl + $(WGET) http://eucd.info/fsfe-fr.xsl diff --git a/htdocs/public/dons/eucd-nav.fr.xsl b/htdocs/public/dons/eucd-nav.fr.xsl index 64571af9a57..892651329e3 100644 --- a/htdocs/public/dons/eucd-nav.fr.xsl +++ b/htdocs/public/dons/eucd-nav.fr.xsl @@ -3,45 +3,6 @@ - - - - - - - - - - - - - -
- EUCD.INFO - Au secours de la copie privée -
- Accueil
- Presse
- Aider
- Transparence
- -
- Analyse
- Situation
- Discuter
- Qui
-
-
- Dons
- - -
- -
-
Contact: EUCD.INFO c/o FSF France 8, rue de valois, 75001 Paris - Tel: 01 42 76 05 49 - Mail: contact@eucd.info - Web: http://eucd.info/
-
@@ -51,6 +12,22 @@ La FSF France s'engage à n'utliser vos informations personnelles qu'exclusivement pour le traitement de votre don.

+ + +

Nous vous adresserons ensuite un formulaire + vous permettant de bénéficier d'une déduction d'impôts. Selon + l'article + 200 du CGI, Ouvrent droit à une réduction d'impôt sur + le revenu égale à 50 % de leur montant les sommes prises dans + la limite de 6 % du revenu imposable qui correspondent à des + dons et versements, y compris l'abandon exprès de revenus ou + produits, effectués par les contribuables domiciliés en + France. Voir aussi, concernant les entreprises, l'article + 238 bis du CGI.

+ @@ -90,10 +67,22 @@ + + + + + + + + @@ -145,10 +133,6 @@ diff --git a/htdocs/public/dons/therm.php b/htdocs/public/dons/therm.php index d6ef707ca2c..567477f11b8 100644 --- a/htdocs/public/dons/therm.php +++ b/htdocs/public/dons/therm.php @@ -18,22 +18,54 @@ * $Id$ * $Source$ */ -$file = "/var/www/www.eucd.info/htdocs/thermometer.php"; -if (file_exists ($file)) + +$thermlib = "/var/www/www.eucd.info/htdocs/thermometer.php"; + +if (file_exists ($thermlib)) { - include($file); + include($thermlib); + + $posten_file = "/var/www/www.eucd.info/htdocs/posten.txt"; + $totaal_file = "/var/www/www.eucd.info/htdocs/totaal.txt"; - $posten = "/var/www/www.eucd.info/htdocs/posten.txt"; - $totaal = "/var/www/www.eucd.info/htdocs/totaal.txt"; + /* + * Read Values + */ - if (file_exists ($posten)) + if (file_exists ($posten_file)) { - if (file_exists ($totaal)) + if (file_exists ($totaal_file)) + { - print moneyMeter($totaal_ontvangen+$post_donaties+$post_sponsoring, $totaal_pending, $post_intent,$posten, $totaal); + /* lees posten uit file */ + $fp = fopen($posten_file, 'r' ); + + + if ($fp) + { + $post_donaties = fgets( $fp, 10 ); + $post_sponsoring = fgets( $fp, 10 ); + $post_intent = fgets( $fp, 10 ); + fclose( $fp ); + } + + /* lees posten uit file */ + $fp = fopen( $totaal_file, 'r' ); + if ($fp) + { + $totaal_ontvangen = fgets( $fp, 10 ); + $totaal_pending = fgets( $fp, 10 ); + fclose( $fp ); + } + } } + + /* + * Graph thermometer + */ + print moneyMeter($totaal_ontvangen+$post_donaties+$post_sponsoring, $totaal_pending, $post_intent); } ?>
+ Code Postal + + +
- CP Ville + Ville @@ -128,11 +117,10 @@ Don public -
Acceptez-vous que votre don soit public et que vos noms - et prénoms soient affichés dans la liste des donateurs. -
+ et prénoms soient affichés dans la liste des donateurs ? +
- -
- Commentaire libre -