id ;
$deleted = $list->deleted ;
if($id == $checkedid){
if($deleted != 1){
$update = "UPDATE homepage SET deleted='1' WHERE id='$id'";
$query = mysql_query($update)or die(mysql_error());
echo "Uw homepagebericht is verwijderd.";
?>
id ;
$deleted = $list->deleted ;
if($id == $checkedid){
if($deleted == 1){
$update = "UPDATE homepage SET deleted='0' WHERE id='$id'";
$query = mysql_query($update)or die(mysql_error());
echo "Uw verwijderde homepagebericht is teruggevoegd.";
?>
max ;
$maximportance ++ ;
?>
Item toevoegen
Homepagebericht toevoegen
Verwijderde homepageberichten";
if($_GET['deleted']){
$select = "SELECT * FROM homepage WHERE deleted='1' ORDER BY importance ASC";
$query = mysql_query($select)or die(mysql_error());
while($list = mysql_fetch_object($query)){
echo "
id\" class=\"small\">
".bbcode($list->title)."";
}
}
echo "
BBcode mogelijk!
";
}
$select = "SELECT * FROM homepage WHERE deleted='0' AND page='$mainpage' ORDER BY importance ASC";
$query = mysql_query($select)or die(mysql_error());
$message_count = mysql_num_rows($query);
if($message_count != "0"){
while($list = mysql_fetch_object($query)){
$id = $list->id ;
$title = $list->title ;
$text = $list->text ;
$importance = $list->importance ;
if($access_level == 1 and $_GET['edit'] == $id){
?>
".ucwords($mainpage)."
Deze pagina is voorlopig 'under construction',
groetjes MiB0
";
}
?>