login != $admin1 && $data->login != $admin2 && $data->hulpadmin != 1) { exit; } # $select = mysql_query("SELECT * FROM `instellingen`"); # $page = mysql_fetch_object($select); ?> <?php echo $page->sitetitle; ?>
Criminelen [messages]
to == $data->login){ mysql_query("UPDATE `[messages]` SET `inbox`='0' WHERE `id`='$id'") or die(mysql_error()); } else { mysql_query("UPDATE `[messages]` SET `outbox`='0' WHERE `id`='$id'") or die(mysql_error()); } echo "
Email - {$message->subject}
\"Opmerking\"Het bericht is succesvol verwijderd.
 
"; } else { $id = htmlspecialchars($_GET['id']); $dbres = mysql_query("SELECT * FROM `[messages]` WHERE `id`='$id'"); if($message = mysql_fetch_object($dbres)){ if($message->naar == $data->login){ mysql_query("UPDATE `[messages]` SET `read`='1' WHERE `id`='$id'"); } if($message->read == 1){ $read = "Ja"; } else { $read = "Nee"; } ?>
from == $data->login){ ?>
Email - subject; ?>
Van from; ?>
Naar to; ?>
Gelezen
Onderwerp subject; ?>
Datum time; ?>
message); ?>
from != $data->login){ ?>
subject); ?>Re: subject; ?>">
Postvak in - Alle emails
 Onderwerp
Afzender Datum
read == 0){ echo ""; } ?>subject; ?> van; ?> time; ?>
 
Postvak in - Alle emails
 Onderwerp
Afzender Datum
read == 0){ echo ""; } ?>subject; ?> from; ?> time; ?>
 
Postvak uit - Alle emails
 Onderwerp
Ontvanger Datum
read == 0){ echo ""; } ?>subject; ?> to; ?> time; ?>