// include : demandes/demander.php : none /* * * * */ chdir('../../_commun'); /* * * * */ require_once('x1/sys/auto.prepend.php'); require_once('x1/sys/basic.inc.php'); // if (K_INCLOG) addIncludeLog(__FILE__); // Log with name of executed source file //------------------------------------------------------------------------------ require_once(K_SYSDIR."sql.inc.php"); $TRACE=true; //showArray($_GET,'$_GET'); //showArray($_POST,'$_POST'); //showArray($_REQUEST,'$_REQUEST'); $step = htmlspecialchars (@$_POST['step']); // echo 'Etape = ',$step,'
'; if (empty($step)) { $step = 'Etape1'; } else { $zone = @$_POST['textZone']; if (empty($zone)) { $step = 'Etape1'; } else // ie empty 'textZone' { $zone = stripslashes($zone); $zone = strip_tags($zone); getHeaderAndText($zone,$hdr,$txt); if ($hdr) repairHeader($hdr); if ($txt) repairLyrics($txt); makFormattedText($zone,$hdr,$txt); $step = 'Etape2'; } } // echo 'Etape = ',$step,'
'; ?>
//------------------------------------------------------------------------------
if ($step == 'Etape1') {
?>
Entrez-ci dessous le texte à "formater",
ou un texte déjà partiellement formaté (Titre:/#DEB#/#FIN#) :
} //------------------------------------------------------------------------------ elseif ($step == 'Etape2') { ?> /* */ ?> //------------------------------------------------------------------------------ } // eo else ?>