Vous ne trouvez pas de réponse à votre problème ? Alors posez la question dans le forum. Souvenez-vous qu'il n'y a jamais de question bête, mais rester dans l'ignorance parce que l'on n'ose pas poser une question, ça c'est une erreur !

SAINT DU JOUR


Information sur la source

Description

Ce script affiche le saint du jour

Il est a mettre dans les alias, et pour afficher le résultat, il suffit de faire:
//echo $saint
 

Source

  • saint {
  • if ($time(mm) == 01) {
  • if ($time(dd) == 01) { /return Marie }
  • if ($time(dd) == 02) { /return Basile }
  • if ($time(dd) == 03) { /return Geneviève }
  • if ($time(dd) == 04) { /return Odilon }
  • if ($time(dd) == 05) { /return Edouard }
  • if ($time(dd) == 06) { /return Mélaine }
  • if ($time(dd) == 07) { /return Raymond }
  • if ($time(dd) == 08) { /return Lucien }
  • if ($time(dd) == 09) { /return Alix }
  • if ($time(dd) == 10) { /return Guillaume }
  • if ($time(dd) == 11) { /return Paulin }
  • if ($time(dd) == 12) { /return Tatiana }
  • if ($time(dd) == 13) { /return Yvette }
  • if ($time(dd) == 14) { /return Nina }
  • if ($time(dd) == 15) { /return Rémi }
  • if ($time(dd) == 16) { /return Marcel }
  • if ($time(dd) == 17) { /return Roseline }
  • if ($time(dd) == 18) { /return Prisca }
  • if ($time(dd) == 19) { /return Marius }
  • if ($time(dd) == 20) { /return Sébastien }
  • if ($time(dd) == 21) { /return Agnès }
  • if ($time(dd) == 22) { /return Vincent }
  • if ($time(dd) == 23) { /return Barnard }
  • if ($time(dd) == 24) { /return Fr. de Sales }
  • if ($time(dd) == 25) { /return Conv.Saint Paul }
  • if ($time(dd) == 26) { /return Paule }
  • if ($time(dd) == 27) { /return Angèle }
  • if ($time(dd) == 28) { /return Thérèse d'Aquin }
  • if ($time(dd) == 29) { /return Gildas }
  • if ($time(dd) == 30) { /return Martine }
  • if ($time(dd) == 31) { /return Marcelle }
  • }
  • if ($time(mm) == 02) {
  • if ($time(dd) == 01) { /return Ella }
  • if ($time(dd) == 02) { /return Prés. du Seigneur }
  • if ($time(dd) == 03) { /return Blaise }
  • if ($time(dd) == 04) { /return Véronique }
  • if ($time(dd) == 05) { /return Agathe }
  • if ($time(dd) == 06) { /return Gaston }
  • if ($time(dd) == 07) { /return Eugénie }
  • if ($time(dd) == 08) { /return Jacqueline }
  • if ($time(dd) == 09) { /return Apolline }
  • if ($time(dd) == 10) { /return Arnaud }
  • if ($time(dd) == 11) { /return Notre Dame de Lourde }
  • if ($time(dd) == 12) { /return Félix }
  • if ($time(dd) == 13) { /return Béatrice }
  • if ($time(dd) == 14) { /return Valentin }
  • if ($time(dd) == 15) { /return Claude }
  • if ($time(dd) == 16) { /return Julienne }
  • if ($time(dd) == 17) { /return Alexis }
  • if ($time(dd) == 18) { /return Bernadette }
  • if ($time(dd) == 19) { /return Gabin }
  • if ($time(dd) == 20) { /return Aimée }
  • if ($time(dd) == 21) { /return P.Damien }
  • if ($time(dd) == 22) { /return Isabelle }
  • if ($time(dd) == 23) { /return Lazare }
  • if ($time(dd) == 24) { /return Modeste }
  • if ($time(dd) == 25) { /return Roméo }
  • if ($time(dd) == 26) { /return Nestor }
  • if ($time(dd) == 27) { /return Honorine }
  • if ($time(dd) == 28) { /return Romain }
  • if ($time(dd) == 29) { /return Carême }
  • }
  • if ($time(mm) == 03) {
  • if ($time(dd) == 01) { /return Aubin }
  • if ($time(dd) == 02) { /return Charles le Bon }
  • if ($time(dd) == 03) { /return Guénolé }
  • if ($time(dd) == 04) { /return Casimir }
  • if ($time(dd) == 05) { /return Olive }
  • if ($time(dd) == 06) { /return Colette }
  • if ($time(dd) == 07) { /return Félicité }
  • if ($time(dd) == 08) { /return Jean de Dieu }
  • if ($time(dd) == 09) { /return Françoise }
  • if ($time(dd) == 10) { /return Vivien }
  • if ($time(dd) == 11) { /return Rosine }
  • if ($time(dd) == 12) { /return Justine }
  • if ($time(dd) == 13) { /return Rodrigue }
  • if ($time(dd) == 14) { /return Mathilde }
  • if ($time(dd) == 15) { /return Louise }
  • if ($time(dd) == 16) { /return Bénédicte }
  • if ($time(dd) == 17) { /return Patrice }
  • if ($time(dd) == 18) { /return Cyrille }
  • if ($time(dd) == 19) { /return Joseph }
  • if ($time(dd) == 20) { /return Herbert }
  • if ($time(dd) == 21) { /return Clémence }
  • if ($time(dd) == 22) { /return Léa }
  • if ($time(dd) == 23) { /return Victorien }
  • if ($time(dd) == 24) { /return Cath de Su. }
  • if ($time(dd) == 25) { /return Humbert }
  • if ($time(dd) == 26) { /return Larissa }
  • if ($time(dd) == 27) { /return Habib }
  • if ($time(dd) == 28) { /return Gontran }
  • if ($time(dd) == 29) { /return Gwladys }
  • if ($time(dd) == 30) { /return Amédée }
  • if ($time(dd) == 31) { /return Benjamin }
  • }
  • if ($time(mm) == 04) {
  • if ($time(dd) == 01) { /return Hughes }
  • if ($time(dd) == 02) { /return Sandrine }
  • if ($time(dd) == 03) { /return Richard }
  • if ($time(dd) == 04) { /return Isidore }
  • if ($time(dd) == 05) { /return Irène }
  • if ($time(dd) == 06) { /return Marcellin }
  • if ($time(dd) == 07) { /return J.B de la Salle }
  • if ($time(dd) == 08) { /return Julie }
  • if ($time(dd) == 09) { /return Gauthier }
  • if ($time(dd) == 10) { /return Fulbert }
  • if ($time(dd) == 11) { /return Stanislas }
  • if ($time(dd) == 12) { /return Jules }
  • if ($time(dd) == 13) { /return Ida }
  • if ($time(dd) == 14) { /return Maxime }
  • if ($time(dd) == 15) { /return Paterne }
  • if ($time(dd) == 16) { /return Benoît - Joseph }
  • if ($time(dd) == 17) { /return Anicet }
  • if ($time(dd) == 18) { /return Parfait }
  • if ($time(dd) == 19) { /return Emma }
  • if ($time(dd) == 20) { /return Odette }
  • if ($time(dd) == 21) { /return Anselme }
  • if ($time(dd) == 22) { /return Alexandre }
  • if ($time(dd) == 23) { /return Georges }
  • if ($time(dd) == 24) { /return Fidèle }
  • if ($time(dd) == 25) { /return Marc }
  • if ($time(dd) == 26) { /return Alida }
  • if ($time(dd) == 27) { /return Zita }
  • if ($time(dd) == 28) { /return Valérie }
  • if ($time(dd) == 29) { /return Catherine }
  • if ($time(dd) == 30) { /return Robert }
  • }
  • if ($time(mm) == 05) {
  • if ($time(dd) == 01) { /return Jérémie }
  • if ($time(dd) == 02) { /return Boris }
  • if ($time(dd) == 03) { /return Phillipe }
  • if ($time(dd) == 04) { /return Sylvain }
  • if ($time(dd) == 05) { /return Judith }
  • if ($time(dd) == 06) { /return Prudence }
  • if ($time(dd) == 07) { /return Gisèle }
  • if ($time(dd) == 08) { /return Désiré }
  • if ($time(dd) == 09) { /return Pacôme }
  • if ($time(dd) == 10) { /return Solange }
  • if ($time(dd) == 11) { /return Estelle }
  • if ($time(dd) == 12) { /return Achille }
  • if ($time(dd) == 13) { /return Rolande }
  • if ($time(dd) == 14) { /return Matthias }
  • if ($time(dd) == 15) { /return Denise }
  • if ($time(dd) == 16) { /return Honoré }
  • if ($time(dd) == 17) { /return Pascal }
  • if ($time(dd) == 18) { /return Eric }
  • if ($time(dd) == 19) { /return Yves }
  • if ($time(dd) == 20) { /return Bernardin }
  • if ($time(dd) == 21) { /return Constantin }
  • if ($time(dd) == 22) { /return Emile }
  • if ($time(dd) == 23) { /return Didier }
  • if ($time(dd) == 24) { /return Donatien }
  • if ($time(dd) == 25) { /return Sophie }
  • if ($time(dd) == 26) { /return Béranger }
  • if ($time(dd) == 27) { /return Augustin }
  • if ($time(dd) == 28) { /return Germain }
  • if ($time(dd) == 29) { /return Aymar }
  • if ($time(dd) == 30) { /return Ferdinand }
  • if ($time(dd) == 31) { /return Pétronille }
  • }
  • if ($time(mm) == 06) {
  • if ($time(dd) == 01) { /return Justin }
  • if ($time(dd) == 02) { /return Blandine }
  • if ($time(dd) == 03) { /return Kévin }
  • if ($time(dd) == 04) { /return Clotilde }
  • if ($time(dd) == 05) { /return Igor }
  • if ($time(dd) == 06) { /return Norbert }
  • if ($time(dd) == 07) { /return Gilbert }
  • if ($time(dd) == 08) { /return Médard }
  • if ($time(dd) == 09) { /return Diane }
  • if ($time(dd) == 10) { /return Landry }
  • if ($time(dd) == 11) { /return Barnabé }
  • if ($time(dd) == 12) { /return Guy }
  • if ($time(dd) == 13) { /return Antoine }
  • if ($time(dd) == 14) { /return Elisée }
  • if ($time(dd) == 15) { /return Germaine }
  • if ($time(dd) == 16) { /return Aurélien }
  • if ($time(dd) == 17) { /return Hervé }
  • if ($time(dd) == 18) { /return Léonce }
  • if ($time(dd) == 19) { /return Romuald }
  • if ($time(dd) == 20) { /return Silvère }
  • if ($time(dd) == 21) { /return Rodolphe }
  • if ($time(dd) == 22) { /return Alban }
  • if ($time(dd) == 23) { /return Audrey }
  • if ($time(dd) == 24) { /return Jean-Baptiste }
  • if ($time(dd) == 25) { /return Prosper }
  • if ($time(dd) == 26) { /return Anthelme }
  • if ($time(dd) == 27) { /return Fernand }
  • if ($time(dd) == 28) { /return Irénée }
  • if ($time(dd) == 29) { /return Pierre - Paul }
  • if ($time(dd) == 30) { /return Martial }
  • }
  • if ($time(mm) == 07) {
  • if ($time(dd) == 01) { /return Thierry }
  • if ($time(dd) == 02) { /return Martinien }
  • if ($time(dd) == 03) { /return Thomas }
  • if ($time(dd) == 04) { /return Florent }
  • if ($time(dd) == 05) { /return Antoine }
  • if ($time(dd) == 06) { /return Mariette }
  • if ($time(dd) == 07) { /return Raoul }
  • if ($time(dd) == 08) { /return Thibault }
  • if ($time(dd) == 09) { /return Amandine }
  • if ($time(dd) == 10) { /return Ulrich }
  • if ($time(dd) == 11) { /return Benoît }
  • if ($time(dd) == 12) { /return Olivier }
  • if ($time(dd) == 13) { /return Henri - Joël }
  • if ($time(dd) == 14) { /return Camille }
  • if ($time(dd) == 15) { /return Donald }
  • if ($time(dd) == 16) { /return N.D Mont Carmel }
  • if ($time(dd) == 17) { /return Charlotte }
  • if ($time(dd) == 18) { /return Frédéric }
  • if ($time(dd) == 19) { /return Arsène }
  • if ($time(dd) == 20) { /return Marina }
  • if ($time(dd) == 21) { /return Victor }
  • if ($time(dd) == 22) { /return Marie.M }
  • if ($time(dd) == 23) { /return Brigitte }
  • if ($time(dd) == 24) { /return Christine }
  • if ($time(dd) == 25) { /return Jacques }
  • if ($time(dd) == 26) { /return Anne - Joachim }
  • if ($time(dd) == 27) { /return Nathalie }
  • if ($time(dd) == 28) { /return Samson }
  • if ($time(dd) == 29) { /return Marthe }
  • if ($time(dd) == 30) { /return Juliette }
  • if ($time(dd) == 31) { /return Ignace de Loyola }
  • }
  • if ($time(mm) == 08) {
  • if ($time(dd) == 01) { /return Alphonse }
  • if ($time(dd) == 02) { /return Julien Eymard }
  • if ($time(dd) == 03) { /return Lydie }
  • if ($time(dd) == 04) { /return J.M. Vianney }
  • if ($time(dd) == 05) { /return Abel }
  • if ($time(dd) == 06) { /return Octavien }
  • if ($time(dd) == 07) { /return Gaétan }
  • if ($time(dd) == 08) { /return Dominique }
  • if ($time(dd) == 09) { /return Amour }
  • if ($time(dd) == 10) { /return Laurent }
  • if ($time(dd) == 11) { /return Claire }
  • if ($time(dd) == 12) { /return Claris }
  • if ($time(dd) == 13) { /return Hippolyte }
  • if ($time(dd) == 14) { /return Evrard }
  • if ($time(dd) == 15) { /return Marie }
  • if ($time(dd) == 16) { /return Armel }
  • if ($time(dd) == 17) { /return Hyacinthe }
  • if ($time(dd) == 18) { /return Hélène }
  • if ($time(dd) == 19) { /return Jean Eudes }
  • if ($time(dd) == 20) { /return Bernard }
  • if ($time(dd) == 21) { /return Christophe }
  • if ($time(dd) == 22) { /return Fabrice }
  • if ($time(dd) == 23) { /return Rose }
  • if ($time(dd) == 24) { /return Bathélémy }
  • if ($time(dd) == 25) { /return Louis }
  • if ($time(dd) == 26) { /return Natacha }
  • if ($time(dd) == 27) { /return Monique }
  • if ($time(dd) == 28) { /return Augustin }
  • if ($time(dd) == 29) { /return Sabrine }
  • if ($time(dd) == 30) { /return Fiacre }
  • if ($time(dd) == 31) { /return Aristide }
  • }
  • if ($time(mm) == 09) {
  • if ($time(dd) == 01) { /return Gilles }
  • if ($time(dd) == 02) { /return Ingrid }
  • if ($time(dd) == 03) { /return Grégoire }
  • if ($time(dd) == 04) { /return Rosalie }
  • if ($time(dd) == 05) { /return Raïssa }
  • if ($time(dd) == 06) { /return Bertrand }
  • if ($time(dd) == 07) { /return Reine }
  • if ($time(dd) == 08) { /return Adrien }
  • if ($time(dd) == 09) { /return Alain }
  • if ($time(dd) == 10) { /return Inès }
  • if ($time(dd) == 11) { /return Adelphe }
  • if ($time(dd) == 12) { /return Apollinaire }
  • if ($time(dd) == 13) { /return Aimé }
  • if ($time(dd) == 14) { /return Materne }
  • if ($time(dd) == 15) { /return Roland }
  • if ($time(dd) == 16) { /return Edith }
  • if ($time(dd) == 17) { /return Renaud }
  • if ($time(dd) == 18) { /return Nadège }
  • if ($time(dd) == 19) { /return Emile }
  • if ($time(dd) == 20) { /return Davy }
  • if ($time(dd) == 21) { /return Matthieu }
  • if ($time(dd) == 22) { /return Maurice }
  • if ($time(dd) == 23) { /return Constant }
  • if ($time(dd) == 24) { /return Thècle }
  • if ($time(dd) == 25) { /return Hermann }
  • if ($time(dd) == 26) { /return Côme - Damien }
  • if ($time(dd) == 27) { /return Vincent de Paul }
  • if ($time(dd) == 28) { /return Venceslas }
  • if ($time(dd) == 29) { /return Michel }
  • if ($time(dd) == 30) { /return Jérôme }
  • }
  • if ($time(mm) == 10) {
  • if ($time(dd) == 01) { /return Thérèse }
  • if ($time(dd) == 02) { /return Léger }
  • if ($time(dd) == 03) { /return Gérard }
  • if ($time(dd) == 04) { /return François d'Assise }
  • if ($time(dd) == 05) { /return Fleur }
  • if ($time(dd) == 06) { /return Bruno }
  • if ($time(dd) == 07) { /return Serge }
  • if ($time(dd) == 08) { /return Pélagie }
  • if ($time(dd) == 09) { /return Denis }
  • if ($time(dd) == 10) { /return Ghislain }
  • if ($time(dd) == 11) { /return Firmin }
  • if ($time(dd) == 12) { /return Séraphin }
  • if ($time(dd) == 13) { /return Géraud }
  • if ($time(dd) == 14) { /return Juste }
  • if ($time(dd) == 15) { /return Aurélie }
  • if ($time(dd) == 16) { /return Edwige }
  • if ($time(dd) == 17) { /return Baudoin }
  • if ($time(dd) == 18) { /return Luc }
  • if ($time(dd) == 19) { /return René }
  • if ($time(dd) == 20) { /return Adeline }
  • if ($time(dd) == 21) { /return Céline }
  • if ($time(dd) == 22) { /return Elodie }
  • if ($time(dd) == 23) { /return Jean de Capistran }
  • if ($time(dd) == 24) { /return Florentin }
  • if ($time(dd) == 25) { /return Crépin }
  • if ($time(dd) == 26) { /return Dimitri }
  • if ($time(dd) == 27) { /return Emeline }
  • if ($time(dd) == 28) { /return Jude - Simon }
  • if ($time(dd) == 29) { /return Narcisse }
  • if ($time(dd) == 30) { /return Bienvenue }
  • if ($time(dd) == 31) { /return Quentin }
  • }
  • if ($time(mm) == 11) {
  • if ($time(dd) == 01) { /return Harold }
  • if ($time(dd) == 02) { /return Défunts }
  • if ($time(dd) == 03) { /return Hubert }
  • if ($time(dd) == 04) { /return Jessé }
  • if ($time(dd) == 05) { /return Sylvie }
  • if ($time(dd) == 06) { /return Bertille }
  • if ($time(dd) == 07) { /return Carine }
  • if ($time(dd) == 08) { /return Geoffroy }
  • if ($time(dd) == 09) { /return Théodore }
  • if ($time(dd) == 10) { /return Léon }
  • if ($time(dd) == 11) { /return Martin }
  • if ($time(dd) == 12) { /return Christian }
  • if ($time(dd) == 13) { /return Brice }
  • if ($time(dd) == 14) { /return Sidoine }
  • if ($time(dd) == 15) { /return Albert }
  • if ($time(dd) == 16) { /return Marguerite }
  • if ($time(dd) == 17) { /return Elisabeth }
  • if ($time(dd) == 18) { /return Aude }
  • if ($time(dd) == 19) { /return Tanguy }
  • if ($time(dd) == 20) { /return Edmond }
  • if ($time(dd) == 21) { /return Présentation Vierge Marie }
  • if ($time(dd) == 22) { /return Cécile }
  • if ($time(dd) == 23) { /return Clément }
  • if ($time(dd) == 24) { /return Flora }
  • if ($time(dd) == 25) { /return Catherine }
  • if ($time(dd) == 26) { /return Delphine }
  • if ($time(dd) == 27) { /return Séverin }
  • if ($time(dd) == 28) { /return Jacques }
  • if ($time(dd) == 29) { /return Saturnin }
  • if ($time(dd) == 30) { /return André }
  • }
  • if ($time(mm) == 12) {
  • if ($time(dd) == 01) { /return Florence }
  • if ($time(dd) == 02) { /return Viviane }
  • if ($time(dd) == 03) { /return François Xavier }
  • if ($time(dd) == 04) { /return Barbara }
  • if ($time(dd) == 05) { /return Gérald }
  • if ($time(dd) == 06) { /return Nicolas }
  • if ($time(dd) == 07) { /return Ambroise }
  • if ($time(dd) == 08) { /return Elfried }
  • if ($time(dd) == 09) { /return Pierre Fourier }
  • if ($time(dd) == 10) { /return Romaric }
  • if ($time(dd) == 11) { /return Daniel }
  • if ($time(dd) == 12) { /return J.F. de Chantal }
  • if ($time(dd) == 13) { /return Lucie }
  • if ($time(dd) == 14) { /return Odile }
  • if ($time(dd) == 15) { /return Ninon }
  • if ($time(dd) == 16) { /return Alice }
  • if ($time(dd) == 17) { /return Judicaël }
  • if ($time(dd) == 18) { /return Gatien }
  • if ($time(dd) == 19) { /return Urbain }
  • if ($time(dd) == 20) { /return Théophile }
  • if ($time(dd) == 21) { /return Pierre.C }
  • if ($time(dd) == 22) { /return Françoise - Xavière }
  • if ($time(dd) == 23) { /return Armand }
  • if ($time(dd) == 24) { /return Adèle }
  • if ($time(dd) == 25) { /return Noël }
  • if ($time(dd) == 26) { /return Stéphane }
  • if ($time(dd) == 27) { /return Jean l'Apôtre }
  • if ($time(dd) == 28) { /return Innocents }
  • if ($time(dd) == 29) { /return David }
  • if ($time(dd) == 30) { /return Roger }
  • if ($time(dd) == 31) { /return Sylvestre }
  • }
  • }
saint {
  if ($time(mm) == 01) {
    if ($time(dd) == 01) { /return Marie }
    if ($time(dd) == 02) { /return Basile }
    if ($time(dd) == 03) { /return Geneviève }
    if ($time(dd) == 04) { /return Odilon }
    if ($time(dd) == 05) { /return Edouard }
    if ($time(dd) == 06) { /return Mélaine } 
    if ($time(dd) == 07) { /return Raymond }
    if ($time(dd) == 08) { /return Lucien }
    if ($time(dd) == 09) { /return Alix }
    if ($time(dd) == 10) { /return Guillaume }
    if ($time(dd) == 11) { /return Paulin }
    if ($time(dd) == 12) { /return Tatiana }
    if ($time(dd) == 13) { /return Yvette }
    if ($time(dd) == 14) { /return Nina }
    if ($time(dd) == 15) { /return Rémi }
    if ($time(dd) == 16) { /return Marcel }
    if ($time(dd) == 17) { /return Roseline }
    if ($time(dd) == 18) { /return Prisca }
    if ($time(dd) == 19) { /return Marius }
    if ($time(dd) == 20) { /return Sébastien }
    if ($time(dd) == 21) { /return Agnès }
    if ($time(dd) == 22) { /return Vincent }
    if ($time(dd) == 23) { /return Barnard }
    if ($time(dd) == 24) { /return Fr. de Sales }
    if ($time(dd) == 25) { /return Conv.Saint Paul }
    if ($time(dd) == 26) { /return Paule }
    if ($time(dd) == 27) { /return Angèle }
    if ($time(dd) == 28) { /return Thérèse d'Aquin }
    if ($time(dd) == 29) { /return Gildas }
    if ($time(dd) == 30) { /return Martine }
    if ($time(dd) == 31) { /return Marcelle }
  }
  if ($time(mm) == 02) {
    if ($time(dd) == 01) { /return Ella }
    if ($time(dd) == 02) { /return Prés. du Seigneur }
    if ($time(dd) == 03) { /return Blaise }
    if ($time(dd) == 04) { /return Véronique }
    if ($time(dd) == 05) { /return Agathe }
    if ($time(dd) == 06) { /return Gaston }
    if ($time(dd) == 07) { /return Eugénie }
    if ($time(dd) == 08) { /return Jacqueline }
    if ($time(dd) == 09) { /return Apolline }
    if ($time(dd) == 10) { /return Arnaud }
    if ($time(dd) == 11) { /return Notre Dame de Lourde }
    if ($time(dd) == 12) { /return Félix }
    if ($time(dd) == 13) { /return Béatrice }
    if ($time(dd) == 14) { /return Valentin }
    if ($time(dd) == 15) { /return Claude }
    if ($time(dd) == 16) { /return Julienne }
    if ($time(dd) == 17) { /return Alexis }
    if ($time(dd) == 18) { /return Bernadette }
    if ($time(dd) == 19) { /return Gabin }
    if ($time(dd) == 20) { /return Aimée }
    if ($time(dd) == 21) { /return P.Damien }
    if ($time(dd) == 22) { /return Isabelle }
    if ($time(dd) == 23) { /return Lazare }
    if ($time(dd) == 24) { /return Modeste }
    if ($time(dd) == 25) { /return Roméo }
    if ($time(dd) == 26) { /return Nestor }
    if ($time(dd) == 27) { /return Honorine }
    if ($time(dd) == 28) { /return Romain }
    if ($time(dd) == 29) { /return Carême }
  }
  if ($time(mm) == 03) {
    if ($time(dd) == 01) { /return Aubin }
    if ($time(dd) == 02) { /return Charles le Bon }
    if ($time(dd) == 03) { /return Guénolé }
    if ($time(dd) == 04) { /return Casimir }
    if ($time(dd) == 05) { /return Olive }
    if ($time(dd) == 06) { /return Colette }
    if ($time(dd) == 07) { /return Félicité }
    if ($time(dd) == 08) { /return Jean de Dieu }
    if ($time(dd) == 09) { /return Françoise }
    if ($time(dd) == 10) { /return Vivien }
    if ($time(dd) == 11) { /return Rosine }
    if ($time(dd) == 12) { /return Justine }
    if ($time(dd) == 13) { /return Rodrigue }
    if ($time(dd) == 14) { /return Mathilde }
    if ($time(dd) == 15) { /return Louise }
    if ($time(dd) == 16) { /return Bénédicte }
    if ($time(dd) == 17) { /return Patrice }
    if ($time(dd) == 18) { /return Cyrille }
    if ($time(dd) == 19) { /return Joseph }
    if ($time(dd) == 20) { /return Herbert }
    if ($time(dd) == 21) { /return Clémence }
    if ($time(dd) == 22) { /return Léa }
    if ($time(dd) == 23) { /return Victorien }
    if ($time(dd) == 24) { /return Cath de Su. }
    if ($time(dd) == 25) { /return Humbert }
    if ($time(dd) == 26) { /return Larissa }
    if ($time(dd) == 27) { /return Habib }
    if ($time(dd) == 28) { /return Gontran }
    if ($time(dd) == 29) { /return Gwladys }
    if ($time(dd) == 30) { /return Amédée }
    if ($time(dd) == 31) { /return Benjamin }
  }
  if ($time(mm) == 04) {
    if ($time(dd) == 01) { /return Hughes }
    if ($time(dd) == 02) { /return Sandrine }
    if ($time(dd) == 03) { /return Richard }
    if ($time(dd) == 04) { /return Isidore }
    if ($time(dd) == 05) { /return Irène }
    if ($time(dd) == 06) { /return Marcellin }
    if ($time(dd) == 07) { /return J.B de la Salle }
    if ($time(dd) == 08) { /return Julie }
    if ($time(dd) == 09) { /return Gauthier }
    if ($time(dd) == 10) { /return Fulbert }
    if ($time(dd) == 11) { /return Stanislas }
    if ($time(dd) == 12) { /return Jules }
    if ($time(dd) == 13) { /return Ida }
    if ($time(dd) == 14) { /return Maxime }
    if ($time(dd) == 15) { /return Paterne }
    if ($time(dd) == 16) { /return Benoît - Joseph }
    if ($time(dd) == 17) { /return Anicet }
    if ($time(dd) == 18) { /return Parfait }
    if ($time(dd) == 19) { /return Emma }
    if ($time(dd) == 20) { /return Odette }
    if ($time(dd) == 21) { /return Anselme }
    if ($time(dd) == 22) { /return Alexandre }
    if ($time(dd) == 23) { /return Georges }
    if ($time(dd) == 24) { /return Fidèle }
    if ($time(dd) == 25) { /return Marc }
    if ($time(dd) == 26) { /return Alida }
    if ($time(dd) == 27) { /return Zita }
    if ($time(dd) == 28) { /return Valérie }
    if ($time(dd) == 29) { /return Catherine }
    if ($time(dd) == 30) { /return Robert }
  }
  if ($time(mm) == 05) {
    if ($time(dd) == 01) { /return Jérémie }
    if ($time(dd) == 02) { /return Boris }
    if ($time(dd) == 03) { /return Phillipe }
    if ($time(dd) == 04) { /return Sylvain }
    if ($time(dd) == 05) { /return Judith }
    if ($time(dd) == 06) { /return Prudence }
    if ($time(dd) == 07) { /return Gisèle }
    if ($time(dd) == 08) { /return Désiré }
    if ($time(dd) == 09) { /return Pacôme }
    if ($time(dd) == 10) { /return Solange }
    if ($time(dd) == 11) { /return Estelle }
    if ($time(dd) == 12) { /return Achille }
    if ($time(dd) == 13) { /return Rolande }
    if ($time(dd) == 14) { /return Matthias }
    if ($time(dd) == 15) { /return Denise }
    if ($time(dd) == 16) { /return Honoré }
    if ($time(dd) == 17) { /return Pascal }
    if ($time(dd) == 18) { /return Eric }
    if ($time(dd) == 19) { /return Yves }
    if ($time(dd) == 20) { /return Bernardin }
    if ($time(dd) == 21) { /return Constantin }
    if ($time(dd) == 22) { /return Emile }
    if ($time(dd) == 23) { /return Didier }
    if ($time(dd) == 24) { /return Donatien }
    if ($time(dd) == 25) { /return Sophie }
    if ($time(dd) == 26) { /return Béranger }
    if ($time(dd) == 27) { /return Augustin }
    if ($time(dd) == 28) { /return Germain }
    if ($time(dd) == 29) { /return Aymar }
    if ($time(dd) == 30) { /return Ferdinand }
    if ($time(dd) == 31) { /return Pétronille }
  }
  if ($time(mm) == 06) {
    if ($time(dd) == 01) { /return Justin }
    if ($time(dd) == 02) { /return Blandine }
    if ($time(dd) == 03) { /return Kévin }
    if ($time(dd) == 04) { /return Clotilde }
    if ($time(dd) == 05) { /return Igor }
    if ($time(dd) == 06) { /return Norbert }
    if ($time(dd) == 07) { /return Gilbert }
    if ($time(dd) == 08) { /return Médard }
    if ($time(dd) == 09) { /return Diane }
    if ($time(dd) == 10) { /return Landry }
    if ($time(dd) == 11) { /return Barnabé }
    if ($time(dd) == 12) { /return Guy }
    if ($time(dd) == 13) { /return Antoine }
    if ($time(dd) == 14) { /return Elisée }
    if ($time(dd) == 15) { /return Germaine }
    if ($time(dd) == 16) { /return Aurélien }
    if ($time(dd) == 17) { /return Hervé }
    if ($time(dd) == 18) { /return Léonce }
    if ($time(dd) == 19) { /return Romuald }
    if ($time(dd) == 20) { /return Silvère }
    if ($time(dd) == 21) { /return Rodolphe }
    if ($time(dd) == 22) { /return Alban }
    if ($time(dd) == 23) { /return Audrey }
    if ($time(dd) == 24) { /return Jean-Baptiste }
    if ($time(dd) == 25) { /return Prosper }
    if ($time(dd) == 26) { /return Anthelme }
    if ($time(dd) == 27) { /return Fernand }
    if ($time(dd) == 28) { /return Irénée }
    if ($time(dd) == 29) { /return Pierre - Paul }
    if ($time(dd) == 30) { /return Martial }
  }
  if ($time(mm) == 07) {
    if ($time(dd) == 01) { /return Thierry }
    if ($time(dd) == 02) { /return Martinien }
    if ($time(dd) == 03) { /return Thomas }
    if ($time(dd) == 04) { /return Florent }
    if ($time(dd) == 05) { /return Antoine }
    if ($time(dd) == 06) { /return Mariette }
    if ($time(dd) == 07) { /return Raoul }
    if ($time(dd) == 08) { /return Thibault }
    if ($time(dd) == 09) { /return Amandine }
    if ($time(dd) == 10) { /return Ulrich }
    if ($time(dd) == 11) { /return Benoît }
    if ($time(dd) == 12) { /return Olivier }
    if ($time(dd) == 13) { /return Henri - Joël }
    if ($time(dd) == 14) { /return Camille }
    if ($time(dd) == 15) { /return Donald }
    if ($time(dd) == 16) { /return N.D Mont Carmel }
    if ($time(dd) == 17) { /return Charlotte }
    if ($time(dd) == 18) { /return Frédéric }
    if ($time(dd) == 19) { /return Arsène }
    if ($time(dd) == 20) { /return Marina }
    if ($time(dd) == 21) { /return Victor }
    if ($time(dd) == 22) { /return Marie.M }
    if ($time(dd) == 23) { /return Brigitte }
    if ($time(dd) == 24) { /return Christine }
    if ($time(dd) == 25) { /return Jacques }
    if ($time(dd) == 26) { /return Anne - Joachim }
    if ($time(dd) == 27) { /return Nathalie }
    if ($time(dd) == 28) { /return Samson }
    if ($time(dd) == 29) { /return Marthe }
    if ($time(dd) == 30) { /return Juliette }
    if ($time(dd) == 31) { /return Ignace de Loyola }
  }
  if ($time(mm) == 08) {
    if ($time(dd) == 01) { /return Alphonse }
    if ($time(dd) == 02) { /return Julien Eymard }
    if ($time(dd) == 03) { /return Lydie }
    if ($time(dd) == 04) { /return J.M. Vianney }
    if ($time(dd) == 05) { /return Abel }
    if ($time(dd) == 06) { /return Octavien }
    if ($time(dd) == 07) { /return Gaétan }
    if ($time(dd) == 08) { /return Dominique }
    if ($time(dd) == 09) { /return Amour }
    if ($time(dd) == 10) { /return Laurent }
    if ($time(dd) == 11) { /return Claire }
    if ($time(dd) == 12) { /return Claris }
    if ($time(dd) == 13) { /return Hippolyte }
    if ($time(dd) == 14) { /return Evrard }
    if ($time(dd) == 15) { /return Marie }
    if ($time(dd) == 16) { /return Armel }
    if ($time(dd) == 17) { /return Hyacinthe }
    if ($time(dd) == 18) { /return Hélène }
    if ($time(dd) == 19) { /return Jean Eudes }
    if ($time(dd) == 20) { /return Bernard }
    if ($time(dd) == 21) { /return Christophe }
    if ($time(dd) == 22) { /return Fabrice }
    if ($time(dd) == 23) { /return Rose }
    if ($time(dd) == 24) { /return Bathélémy }
    if ($time(dd) == 25) { /return Louis }
    if ($time(dd) == 26) { /return Natacha }
    if ($time(dd) == 27) { /return Monique }
    if ($time(dd) == 28) { /return Augustin }
    if ($time(dd) == 29) { /return Sabrine }
    if ($time(dd) == 30) { /return Fiacre }
    if ($time(dd) == 31) { /return Aristide }
  }
  if ($time(mm) == 09) {
    if ($time(dd) == 01) { /return Gilles }
    if ($time(dd) == 02) { /return Ingrid }
    if ($time(dd) == 03) { /return Grégoire }
    if ($time(dd) == 04) { /return Rosalie }
    if ($time(dd) == 05) { /return Raïssa }
    if ($time(dd) == 06) { /return Bertrand }
    if ($time(dd) == 07) { /return Reine }
    if ($time(dd) == 08) { /return Adrien }
    if ($time(dd) == 09) { /return Alain }
    if ($time(dd) == 10) { /return Inès }
    if ($time(dd) == 11) { /return Adelphe }
    if ($time(dd) == 12) { /return Apollinaire }
    if ($time(dd) == 13) { /return Aimé }
    if ($time(dd) == 14) { /return Materne }
    if ($time(dd) == 15) { /return Roland }
    if ($time(dd) == 16) { /return Edith }
    if ($time(dd) == 17) { /return Renaud }
    if ($time(dd) == 18) { /return Nadège }
    if ($time(dd) == 19) { /return Emile }
    if ($time(dd) == 20) { /return Davy }
    if ($time(dd) == 21) { /return Matthieu }
    if ($time(dd) == 22) { /return Maurice }
    if ($time(dd) == 23) { /return Constant }
    if ($time(dd) == 24) { /return Thècle }
    if ($time(dd) == 25) { /return Hermann }
    if ($time(dd) == 26) { /return Côme - Damien }
    if ($time(dd) == 27) { /return Vincent de Paul }
    if ($time(dd) == 28) { /return Venceslas }
    if ($time(dd) == 29) { /return Michel }
    if ($time(dd) == 30) { /return Jérôme }
  }
  if ($time(mm) == 10) {
    if ($time(dd) == 01) { /return Thérèse }
    if ($time(dd) == 02) { /return Léger }
    if ($time(dd) == 03) { /return Gérard }
    if ($time(dd) == 04) { /return François d'Assise }
    if ($time(dd) == 05) { /return Fleur }
    if ($time(dd) == 06) { /return Bruno }
    if ($time(dd) == 07) { /return Serge }
    if ($time(dd) == 08) { /return Pélagie }
    if ($time(dd) == 09) { /return Denis }
    if ($time(dd) == 10) { /return Ghislain }
    if ($time(dd) == 11) { /return Firmin }
    if ($time(dd) == 12) { /return Séraphin }
    if ($time(dd) == 13) { /return Géraud }
    if ($time(dd) == 14) { /return Juste }
    if ($time(dd) == 15) { /return Aurélie }
    if ($time(dd) == 16) { /return Edwige }
    if ($time(dd) == 17) { /return Baudoin }
    if ($time(dd) == 18) { /return Luc }
    if ($time(dd) == 19) { /return René }
    if ($time(dd) == 20) { /return Adeline }
    if ($time(dd) == 21) { /return Céline }
    if ($time(dd) == 22) { /return Elodie }
    if ($time(dd) == 23) { /return Jean de Capistran }
    if ($time(dd) == 24) { /return Florentin }
    if ($time(dd) == 25) { /return Crépin }
    if ($time(dd) == 26) { /return Dimitri }
    if ($time(dd) == 27) { /return Emeline }
    if ($time(dd) == 28) { /return Jude - Simon }
    if ($time(dd) == 29) { /return Narcisse }
    if ($time(dd) == 30) { /return Bienvenue }
    if ($time(dd) == 31) { /return Quentin }
  }
  if ($time(mm) == 11) {
    if ($time(dd) == 01) { /return Harold }
    if ($time(dd) == 02) { /return Défunts }
    if ($time(dd) == 03) { /return Hubert }
    if ($time(dd) == 04) { /return Jessé }
    if ($time(dd) == 05) { /return Sylvie }
    if ($time(dd) == 06) { /return Bertille }
    if ($time(dd) == 07) { /return Carine }
    if ($time(dd) == 08) { /return Geoffroy }
    if ($time(dd) == 09) { /return Théodore }
    if ($time(dd) == 10) { /return Léon }
    if ($time(dd) == 11) { /return Martin }
    if ($time(dd) == 12) { /return Christian }
    if ($time(dd) == 13) { /return Brice }
    if ($time(dd) == 14) { /return Sidoine }
    if ($time(dd) == 15) { /return Albert }
    if ($time(dd) == 16) { /return Marguerite }
    if ($time(dd) == 17) { /return Elisabeth }
    if ($time(dd) == 18) { /return Aude }
    if ($time(dd) == 19) { /return Tanguy }
    if ($time(dd) == 20) { /return Edmond }
    if ($time(dd) == 21) { /return Présentation Vierge Marie }
    if ($time(dd) == 22) { /return Cécile }
    if ($time(dd) == 23) { /return Clément }
    if ($time(dd) == 24) { /return Flora }
    if ($time(dd) == 25) { /return Catherine }
    if ($time(dd) == 26) { /return Delphine }
    if ($time(dd) == 27) { /return Séverin }
    if ($time(dd) == 28) { /return Jacques }
    if ($time(dd) == 29) { /return Saturnin }
    if ($time(dd) == 30) { /return André }
  }
  if ($time(mm) == 12) {
    if ($time(dd) == 01) { /return Florence }
    if ($time(dd) == 02) { /return Viviane }
    if ($time(dd) == 03) { /return François Xavier }
    if ($time(dd) == 04) { /return Barbara }
    if ($time(dd) == 05) { /return Gérald }
    if ($time(dd) == 06) { /return Nicolas }
    if ($time(dd) == 07) { /return Ambroise }
    if ($time(dd) == 08) { /return Elfried }
    if ($time(dd) == 09) { /return Pierre Fourier }
    if ($time(dd) == 10) { /return Romaric }
    if ($time(dd) == 11) { /return Daniel }
    if ($time(dd) == 12) { /return J.F. de Chantal }
    if ($time(dd) == 13) { /return Lucie }
    if ($time(dd) == 14) { /return Odile }
    if ($time(dd) == 15) { /return Ninon }
    if ($time(dd) == 16) { /return Alice }
    if ($time(dd) == 17) { /return Judicaël }
    if ($time(dd) == 18) { /return Gatien }
    if ($time(dd) == 19) { /return Urbain }
    if ($time(dd) == 20) { /return Théophile }
    if ($time(dd) == 21) { /return Pierre.C }
    if ($time(dd) == 22) { /return Françoise - Xavière }
    if ($time(dd) == 23) { /return Armand }
    if ($time(dd) == 24) { /return Adèle }
    if ($time(dd) == 25) { /return Noël }
    if ($time(dd) == 26) { /return Stéphane }
    if ($time(dd) == 27) { /return Jean l'Apôtre }
    if ($time(dd) == 28) { /return Innocents }
    if ($time(dd) == 29) { /return David }
    if ($time(dd) == 30) { /return Roger }
    if ($time(dd) == 31) { /return Sylvestre }
  }
}

Commentaires et avis

signaler à un administrateur
Commentaire de ReMi34 le 02/08/2004 13:35:32

Arf !!! Trés encombrant !
Pourquoi ne pas plutôt le faire en socket ?

signaler à un administrateur
Commentaire de tofu le 02/08/2004 14:15:39

un fichier text avec un read suffit amplement .

signaler à un administrateur
Commentaire de Zova le 02/08/2004 16:07:40

De plus les / présent dans tous les /return sont innutiles..

signaler à un administrateur
Commentaire de PaDa le 02/08/2004 21:52:53

Je te plains pour tous les c/c que tu as du faire ... j'aurais été bon a être interné avant la fin perso je pense :( c'est pas folichon niveau code bonne continuation

signaler à un administrateur
Commentaire de Kerrigan le 03/08/2004 03:15:57

deja vu.
ça ne sert a rien en plus...

un petit fichier ini ça serait tellement simple en plus
tellement plus beau tu pourrais directement faire un systeme "d'adresse" genre :

return $readini(saint.ini,n,$date(mm),$date(dd))

wala comment faire tout ton truc en une seule ligne avec un tout petit fichier ini bidon....

tant pis.

signaler à un administrateur
Commentaire de SornDrixer le 03/08/2004 09:47:58 administrateur CS

Quel courage d'avoir fait ca ...

Maintenant refais le, mais avec des .ini comme te l'a expliqué Kerrigan, tu gagneras en vitesse. (évaluer autant de if c'est pas le top)

signaler à un administrateur
Commentaire de Renfield le 03/08/2004 10:17:44 administrateur CS

même sans Ini, ton code n'est pas du tout optimisé....

je connais pas du tout mIrc mais bon :

tu évalues a chaque ligne    $time(dd)   alors que tu pourrais le faire une fois, placer la valeur dans une variable, et tester cette dernière.

N'existe pas d'instruction Switch (comme en En C, Php...)
plutot que tous ces if ?

signaler à un administrateur
Commentaire de tofu le 03/08/2004 10:55:38

ya yas besoin, tu rentres tout dans un fichier .ini avec le saint pour chaque jour ds l'odre et un module pour chaque mois, et avec un $readini c'est fini même pas besoin de boucle rien.

signaler à un administrateur
Commentaire de Renfield le 03/08/2004 13:53:18 administrateur CS

merci !
ce n'est que la 4eme fois que l'on dit qu'il faudrais utiliser un fichier !!! ca va finir par se savoir

je suis d'accord avec cette technique, même si cela necessite un fichier supplémentaire.

Ce point étant posé, j'ai simplement émis quelques critiques sur le code actuel......

signaler à un administrateur
Commentaire de Kerrigan le 03/08/2004 15:18:28

ya pas de switch en mirc, par contre en mettant des elseif ça serait mieux en effet, ça ferait comme un switch en fait.

signaler à un administrateur
Commentaire de VestaX le 03/08/2004 17:16:12

Mhouais, je voulais en faire un aussi, mais en sockets. Car ta source est vraiment trop longue!! Tu as looker le calendrier ou koi?? lol non serieux c'est trop gros tu aurrais dû utiliser des sockets.

signaler à un administrateur
Commentaire de hisoka2501 le 09/08/2004 14:48:07

deja:

saint {
    if ($time(mm) == 01) {
    ELSEif ($time(dd) == 01) { /return Marie }
    ELSEif ($time(dd) == 02) { /return Basile }

me parais un peu plus optimisé mais comme l'a dis kerigan utilise un INI

signaler à un administrateur
Commentaire de Kerrigan le 11/08/2004 04:29:42

punaise le elseif mdrrr ... j'avais meme pas penser a ça.
le mec se tape 366 verification de suite pour retourner une seule valeur ... erf !!!!!!!

signaler à un administrateur
Commentaire de In Flames le 29/08/2004 01:53:42

pas mal sa à aussi un avantage sa pe servir pour les bot sinon ses long ta du y mettre du temp !

Ajouter un commentaire



Nos sponsors

Sondage...

CalendriCode

Juillet 2009
LMMJVSD
  12345
6789101112
13141516171819
20212223242526
2728293031  

Consulter la suite du CalendriCode

Comparez les prix Nouvelle version

Photothèque Nouveau !



Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés
Temps d'éxécution de la page : 0,234 sec

Google Coop CodeS-SourceS Google Coop CodeS-SourceS


Certaines images présentes sur le site (notament certains avatars) sont issues des collections IconShock, donc si vous souhaitez utiliser ces icons vous devez les acheter, ne les copiez pas et ne utilisez pas dans vos sites et applications sans les avoir commandé.