Home
Accueil
Downloads
Téléchargements
Forums
Forums
Your Account
Votre compte
Menu
· Accueil ·

· Communication ·
  · Forums
  · Messages privés
  · Contactez nous
  · Recommendez nous
  · Sondages
  · Les projets

· Nouvelles ·Stats
  · Sujets
  · Ecrire un article
  · Articles archivés
  · Articles RSS
  · Lettre de sécurité
  · Archive de lettres

· Téléchargements ·
  · Accueil
  · Nouveautés
  · Mises à jour
  · Thêmes

· Outils ·
  · Outils divers
  · Convertisseur de temps
  · Table de caractères
  · Générateur de boutons
  · Compresseur Javascript

· Documentation ·
  · Wiki
  · Questions/Réponses
  · Documents
  · Manuel PHP-Nuke
  · Manuel PHP
  · Manuel PEAR
  · Encyclopédies

· Liens ·
  · Nos liens
  · Nos fluxs RSS
  · Partenaires
  · Votre publicité
  · Sitemap
  · Mes bannières

· Infos ·
  · Rechercher
  · Votre compte
  · Liste des membres
  · Carte des membres
  · Top

· Divers ·
  · Météo
  · Galeries
  · Statistiques Phpnuke
  · MS Analysis


Pages qui pointent vers celle-ci
Sommaire Wiki -:- Sommaire tutoriaux -:- Re-ecriture d URL
Re-ecriture d URL : Kalender Mx

1 - Sommaire
Tout le nécessaire à la réécriture d'URL pour le module KalenderMx.
Cela nécessite d'avoir le mod_rewrite d'activé chez votre hébergeur.

2 - htaccess
Code :
#KalenderMx
RewriteRule ^calendrier-imprimer-d([0-9]*)-m([0-9]*)-y([0-9]*)-annee-([0-9]*).html modules.php?&d=$1&m=$2&y=$3&op=year&name=Kalender&col=&cprint=$4
RewriteRule 
^calendrier-imprimer-d([0-9]*)-m([0-9]*)-y([0-9]*)-mois-([0-9]*).html modules.php?&d=$1&m=$2&y=$3&op=month&name=Kalender&col=&cprint=$4
RewriteRule 
^calendrier-imprimer-d([0-9]*)-m([0-9]*)-y([0-9]*)-jour-([0-9]*).html modules.php?&d=$1&m=$2&y=$3&op=day&name=Kalender&col=&cprint=$4
RewriteRule 
^calendrier-imprimer-m([0-9]*)-d([0-9]*)-y([0-9]*)-annee-([0-9]*).html modules.php?name=Kalender&m=$1&d=$2&y=$3&op=year&cprint=$4
RewriteRule 
^calendrier-imprimer-annee-m([0-9]*)-d([0-9]*)-y([0-9]*)-([0-9]*).html modules.php?name=Kalender&op=year&m=$1&d=$2&y=$3&cprint=$4
RewriteRule 
^calendrier-m([0-9]*)-d([0-9]*)-y([0-9]*)-annee.html modules.php?name=Kalender&m=$1&d=$2&y=$3&op=year
#RewriteRule ^calendrier-annee-m([0-9]*)-d([0-9]*)-y([0-9]*).html phpnuke-calendrier-year-m-.html$1&d=$2&y=$3
#RewriteRule ^calendrier-mois-m([0-9]*)-d([0-9]*)-y([0-9]*).html phpnuke-calendrier-month-m-.html$1&d=$2&y=$3
#RewriteRule ^calendrier-jour-m([0-9]*)-d([0-9]*)-y([0-9]*).html phpnuke-calendrier-day-m-.html$1&d=$2&y=$3
RewriteRule ^calendrier-evenement-imprimer-d([0-9]*)-m([0-9]*)-y([0-9]*)-([0-9]*).html modules.php?d=$1&m=$2&y=$3&op=list&name=Kalender&col=&cprint=$4
RewriteRule 
^calendrier-evenement-([0-9]*)-d([0-9]*)-m([0-9]*)-y([0-9]*).html modules.php?name=Kalender&op=list&d=$1&m=$2&y=$3&col$4
RewriteRule 
^calendrier-evenement-([0-9]*).html modules.php?name=Kalender&op=list&col$1
RewriteRule 
^calendrier-imprimer-m([0-9]*)-d([0-9]*)-y([0-9]*)-jour-([0-9]*).html modules.php?name=Kalender&m=$1&d=$2&y=$3&op=day&cprint=$4
RewriteRule 
^calendrier-imprimer-jour-m([0-9]*)-d([0-9]*)-y([0-9]*)-([0-9]*).html modules.php?name=Kalender&op=day&m=$1&d=$2&y=$3&cprint=$4
RewriteRule 
^calendrier-m([0-9]*)-d([0-9]*)-y([0-9]*)-jour.html modules.php?name=Kalender&m=$1&d=$2&y=$3&op=day
RewriteRule 
^calendrier-imprimer-m([0-9]*)-d([0-9]*)-y([0-9]*)-mois-([0-9]*).html modules.php?name=Kalender&m=$1&d=$2&y=$3&op=month&cprint=$4
RewriteRule 
^calendrier-imprimer-mois-m([0-9]*)-d([0-9]*)-y([0-9]*)-([0-9]*).html modules.php?name=Kalender&op=month&m=$1&d=$2&y=$3&cprint=$4
RewriteRule 
^calendrier-m([0-9]*)-d([0-9]*)-y([0-9]*)-mois.html modules.php?name=Kalender&m=$1&d=$2&y=$3&op=month
RewriteRule 
^calendrier-propose-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Kalender&file=submit&sd=$1$2$3
RewriteRule 
^calendrier-recherche-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Kalender&op=search&sd=$1$2$3
RewriteRule 
^calendrier-imprimer-([0-9]*).html modules.php?name=Kalender&cprint=$1
RewriteRule 
^calendrier-imprimer-mois-([0-9]*).html modules.php?name=Kalender&op=month&cprint=$1
RewriteRule 
^calendrier-mois.html modules.php?name=Kalender&op=month
RewriteRule 
^calendrier.html modules.php?name=Kalender

3 - header.php

Dans la partie $urlin = array( :

Code :
// KalenderMx
"'(?<!/)modules.php?d
@@@=([0-9]*)&m=([0-9]*)&y=([0-9]*)&op=year&name=Kalender&col=&cprint=([0-9]*)'",
"'(?<!/)modules.php?d
@@@=([0-9]*)&m=([0-9]*)&y=([0-9]*)&op=month&name=Kalender&col=&cprint=([0-9]*)'",
"'(?<!/)modules.php?d
@@@=([0-9]*)&m=([0-9]*)&y=([0-9]*)&op=day&name=Kalender&col=&cprint=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)&op=year&cprint=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&op=year&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)&cprint=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)&op=year'",
//"'(?<!/)modules.php?name=Kalender&op=year&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)'",
//"'(?<!/)modules.php?name=Kalender&op=month&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)'",
//"'(?<!/)modules.php?name=Kalender&op=day&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)'",
"'(?<!/)modules.php?d
@@@=([0-9]*)&m=([0-9]*)&y=([0-9]*)&op=list&name=Kalender&col=&cprint=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&op=list&d=([0-9]*)&m=([0-9]*)&y=([0-9]*)&col=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&op=list&col=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)&op=day&cprint=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&op=day&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)&cprint=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)&op=day'",
"'(?<!/)modules.php?name=
@@@Kalender&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)&op=month&cprint=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&op=month&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)&cprint=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&m=([0-9]*)&d=([0-9]*)&y=([0-9]*)&op=month'",
"'(?<!/)modules.php?name=
@@@Kalender&file=submit&sd=([0-9]*)-([0-9]*)-([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&op=search&sd=([0-9]*)-([0-9]*)-([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&cprint=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&op=month&cprint=([0-9]*)'",
"'(?<!/)modules.php?name=
@@@Kalender&op=month'",
"'(?<!/)modules.php?name=@@@Kalender'",


dans la partie $urlout = array( :

Code :
//KalenderMx
"calendrier-imprimer-d\1-m\2-y\3-annee-\4.html",
"calendrier-imprimer-d\1-m\2-y\3-mois-\4.html",
"calendrier-imprimer-d\1-m\2-y\3-jour-\4.html",
"calendrier-imprimer-m\1-d\2-y\3-annee-\4.html",
"calendrier-imprimer-annee-m\1-d\2-y\3-\4.html",
"calendrier-m\1-d\2-y\3-annee.html",
//"calendrier-annee-m\1-d\2-y\3.html",
//"calendrier-mois-m\1-d\2-y\3.html",
//"calendrier-jour-m\1-d\2-y\3.html",
"calendrier-evenement-imprimer-d\1-m\2-y\3-\4.html",
"calendrier-evenement-\1-d\2-m\3-y\4.html",
"calendrier-evenement-\1.html",
"calendrier-imprimer-m\1-d\2-y\3-jour-\4.html",
"calendrier-imprimer-jour-m\1-d\2-y\3-\4.html",
"calendrier-m\1-d\2-y\3-jour.html",
"calendrier-imprimer-m\1-d\2-y\3-mois-\4.html",
"calendrier-imprimer-mois-m\1-d\2-y\3-\4.html",
"calendrier-m\1-d\2-y\3-mois.html",
"calendrier-propose-\1-\2-\3.html",
"calendrier-recherche-\1-\2-\3.html",
"calendrier-imprimer-\1.html",
"calendrier-imprimer-mois-\1.html",
"calendrier-mois.html",
"calendrier.html",

 

 Publié le : 2007-07-27 par stefvar, dernière modification le : 2007-07-27 par stefvar(60 lectures)


Copyleft © par Stefvar. L'utilisation totale ou partielle de cette source est totalement interdite sans autorisation écrite de ma part.

Syndiquez notre contenu RSS, Atom, etc..
PHP-Nuke © 2007Reproduction interdite sans autorisation de ma part www.stefvar.com Copyright © 2008Thème iCGstation
Site français de la communauté PragmaMx