Store in GIT

This commit is contained in:
2026-06-17 11:55:21 +02:00
parent 1aa2681e15
commit cfdfa5d709
45 changed files with 10719 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
SESSION_START();
require('connect.php');
$name = $_SESSION['name'];
if($_SESSION['login']>1){
$query = "SELECT * FROM `bericht` WHERE `sender`='$name' ORDER BY id DESC LIMIT 0,20";
$result_temp = mysql_query($query, $connection);
$table = "<table cellpadding=2 class='bericht'><tr><th width='100' align='left'>Ontvanger</th><th width='300' align='left' class='leftline'>Bericht</th><th width='200' align='left' class='leftline'>Datum</th></tr>";
while($result = mysql_fetch_assoc($result_temp)){
$table .= "<tr><td>" . $result['receiver'] . "</td><td class='leftline'>" . $result['msg'] . "</td><td class='leftline'>" . $result['send_time'] . "</td><tr>";
}
$table .= "</table>";
echo $table;
}
else { echo false; }
?>