error_reporting(E_ALL ^ E_NOTICE); include_once("class/mysql.class.php"); include_once("class/session.class.php"); $imageroot = '../upload/images/'; //Test anti hacking / sql injection $id = $_GET['id'] * 1; $sql = "select * from r10_news where published='yes' and mtx_id=" . $id; $req = new TMySql(); $req->requete($sql); if (!$req->lit_tableau()) { echo "cette news n'existe pas"; exit; } $lang = $req->enregistrement['Language']; include_once("traduction.php"); ?>