Extention in openElement) // Fix lowercase keys in $_SERVER array - needed mostly for OE local webserver: if (!isset($_SERVER['PHP_SELF']) && isset($_SERVER['php_self'])) { foreach($_SERVER as $key=>$value) { $_SERVER[strtoupper($key)] = $value; } } // ATTENTION: the following line DOES NOT work if script is saved in an external file; use one of inside-the-page types (e.g. StartDocument)! if (!isset($GLOBALS['OEConfEGdafa465d'])) { include preg_replace('/(\\.[a-z-]+)?\\.php$/', '(var).php', __FILE__); } // if not done yet, include page(var).php - properties' values are stored there $allElements = (empty($GLOBALS['OEConfEGdafa465d'])) ? null : $GLOBALS['OEConfEGdafa465d']; if ($allElements && ($allElements = json_decode($allElements, false))) { foreach($allElements as $ID=>$properties) { // VOTRE CODE ICI // VOTRE CODE ICI session_start(); //admin.php $admin_php = array('
Id | Nom | Sujet | Message | Validé | Supprimer | $i | "; echo "".$explode[1]." | "; echo "".$explode[2]." | "; echo "".$explode[3]." | "; echo "".$explode[0]." | "; echo "".$switch." | "; echo "Supprimer | "; echo ""; } //fclose($open); ?>
---|
Aucun commentaire encore publié
"; }elseif($nb == 1){ echo "Il y a $nb commentaire
"; }else{ echo "Il y a $nb commentaires
"; } foreach($commentaires as $ligne){ $affichage = explode("/",$ligne); echo "
Sujet : $affichage[2]
"; echo "De : $affichage[1]
"; echo " "; echo "