//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% //% Author: Sghaier Mahmoud //% Purpose: POSITIF CMS (Front-end) AUTO SETTINGS v 1.1 PHP //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% require_once "common/filterinj.php"; require_once "common/configinc.php"; //////////////////////////////////////////////////////////// /// DONT MODIFY THIS /////// NE MODIFIER PAS CE QUI SUIT /// //////////////////////////////////////////////////////////// ob_start(); setlocale (LC_ALL, "fr"); // db connect parametres $mydbobj = mysql_connect($DBHOST,$DBUSER,$DBPASS) or die ("Erreur : ".mysql_error()) ; $mydb = mysql_select_db($DBNAME,$mydbobj); // Lire les données client GET if (isset($_GET['mcat'])) $rmycat=$_GET['mcat']; else $rmycat=""; // code cat if (isset($_GET['mrub'])) $rmyrub=$_GET["mrub"]; else $rmyrub=""; // code rub if (isset($_GET['msrub'])) $rmysrub=$_GET["msrub"]; else $rmysrub=""; // code srub if (isset($_GET['dev'])) $rmydev=$_GET["dev"]; else $rmydev=""; // dev menu true / false if (isset($_GET['lang'])) $rlang=$_GET['lang']; else $rlang=$defaultLang; // code lang // convert to bool mydev if ($rmydev=="true") { $rmydev=true;} else { $rmydev=false;} // Lire les données client GET if (isset($_GET['arid'])) $rmyarid=$_GET["arid"]; else $rmyarid=""; // acces rapide id; if (isset($_GET['artid'])) $rmyartid=$_GET["artid"]; else $rmyartid=""; // article id; if (isset($_GET['docid'])) $rmydocid=$_GET["docid"]; else $rmydocid=""; // doc id; // common lang text //require_once ("lang/commontext_".$rlang.".inc") ?>
|
||||||||||||||||||||||
|