// PHPMyLinks version 0.1.4, Copyright (C) 2000, Rémi Henriot // http://rhenriot.free.fr/phpmylinks/ - rhenriot@mail.com // // This is free software ; you can redistribute it and/or modify it // under the terms of the PHPMyLinks License Version 1.0 // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY ; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // For more details, see the license.txt file that you should have // received with this program. require 'connexion.inc.php'; require 'modif.inc.php'; if($password != $admin_pwd) error('Mot de passe incorrect !!!'); $mdf_cnt = 1; eval('$no_ok = isset($mdf_'.$mdf_cnt.');'); while($no_ok) { eval('$mdf_id = $mdf_'.$mdf_cnt.';'); eval('$action = $action_'.$mdf_cnt.';'); switch($action) { case 'v': $ch1 = $GLOBALS['ch1_'.$mdf_cnt]; $ch2 = $GLOBALS['ch2_'.$mdf_cnt]; $ch3 = $GLOBALS['ch3_'.$mdf_cnt]; $ch4 = $GLOBALS['ch4_'.$mdf_cnt]; $ch5 = $GLOBALS['ch5_'.$mdf_cnt]; $texte = $GLOBALS['texte_'.$mdf_cnt]; $res = mysql_query("select mdf_type, mdf_objet from modification where mdf_id = $mdf_id"); $modif = mysql_fetch_object($res); exec_code_modif($modif->mdf_type,$modif->mdf_objet, $ch1, $ch2, $ch3, $ch4, $ch5, $texte); mysql_query("delete from modification where mdf_id = $mdf_id"); //exec_modif($mdf_id, $password); break; case 's': mysql_query("delete from modification where mdf_id = $mdf_id"); break; } $mdf_cnt++; eval('$no_ok = isset($mdf_'.$mdf_cnt.');'); } ?>