| Code: |
| <?php
/************************************************************************/ /* PHP-NUKE: Web Portal System */ /* =========================== */ /* */ /* Copyright (c) 2002 by Francisco Burzi */ /* http://phpnuke.org */ /* */ /* This program is free software. You can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2 of the License. */ /************************************************************************/ /* Additional security & Abstraction layer conversion */ /* 2003 chatserv */ /* http://www.nukefixes.com -- http://www.nukeresources.com */ /************************************************************************/ if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) { die ("You cannot access this file directly..."); } // Traitement de la lecture Modif totocutugno pour diminution nombre parametres if ($lire != '') { $file='article'; if (isset($cookie[4])) { $r_options = "&mode=$cookie[4]"; } else { $r_options = "&mode="; } if (isset($cookie[5])) { $r_options .= "&order=$cookie[5]"; } else { $r_options .= "&order=0"; } if (isset($cookie[6])) { $r_options .= "&thold=$cookie[6]"; } else { $r_options .= "&thold=0"; } Header("Location: http://chagnytt.free.fr/modules.php?name=News&file=article&sid=$lire$r_options"); } // Fin de la modif totocutugno $index = 1; require_once("mainfile.php"); $module_name = basename(dirname(__FILE__)); get_lang($module_name); |
| Code: |
|
function theindex($new_topic=0) { global $db, $storyhome, $topicname, $topicimage, $topictext, $datetime, $user, $cookie, $nukeurl, $prefix, $multilingual, $currentlang, $articlecomm, $sitename, $user_news; |
| Code: |
|
function theindex($new_topic=0) { global $db, $storyhome, $topicname, $topicimage, $topictext, $datetime, $user, $cookie, $nukeurl, $prefix, $multilingual, $currentlang, $articlecomm, $sitename, $user_news; global $lire; //ajout totocutugno |
| Code: |
|
$r_options = ""; if (isset($cookie[4])) { $r_options .= "&mode=$cookie[4]"; } if (isset($cookie[5])) { $r_options .= "&order=$cookie[5]"; } if (isset($cookie[6])) { $r_options .= "&thold=$cookie[6]"; } $story_link = "<a href=\"modules.php?name=News&file=article&sid=$s_sid$r_options\">"; $morelink = "("; |
| Code: |
|
$r_options = ""; if (isset($cookie[4])) { $r_options .= "&mode=$cookie[4]"; } if (isset($cookie[5])) { $r_options .= "&order=$cookie[5]"; } if (isset($cookie[6])) { $r_options .= "&thold=$cookie[6]"; } $story_link = "<a href=\"modules.php?name=News&lire=$s_sid\">"; $morelink = "("; |
Toutes les heures sont au format GMT + 2 Heures