Location: PHPKode > projects > Students Community Intranet > Poster une news.php
<?php
if($ia!=1){
	echo "<div align=\"center\"><h1>&nbsp;</h1><h5 class=\"red\">Erreur : vous n'ĂȘtes pas autorisĂ© !</h5>";
	exit();
}
if(isset($_GET['time'])){
	$update = true;
	$action="action.editnews.php?time=".$_GET['time'];
	require_once('inc.connection.php');
	mysql_select_db($database, $interne);
	$requete = sprintf("SELECT * FROM news WHERE time='%s'", $_GET['time']);
	$result = mysql_query($requete);
	$row = mysql_fetch_array($result);
}else{
	$update = false;
	$action="action.postnews.php";
}
include("inc.editeur_msg.php");
?>
Return current item: Students Community Intranet