Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
Fatal error: Maximum execution time of 10 seconds exceeded in /usr/export/www/hosting/ruelingpunks/neu_sos/html/boxes.php on line 10
<?php
$sql="SELECT MAX(id) FROM users";
$result=mysql_query($sql) OR die(mysql_error());
$row=mysql_fetch_assoc($result);
$user=array("","","","","");
for ($i=$row['id']; $i<5; $i--) {
$feld=0;
$sql2="SELECT nick, date FROM users WHERE id='".$i."'";
$result2=mysql_query($sql2) OR die (mysql_error());
$row2=mysql_fetch_assoc($result2);
$user[$feld]=$row2['nick'];
$feld ++;
}
?>
<html>
<head>
<title>Die neuen Mitglieder</title>
<link rel="stylesheet" href="../css/design.css" type="text/css">
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" style="width:100%;margin-right:5px;margin-left:5px;margin-top:5px;border-color:#9BB3BC;border-width:medium;border-style:outset;">
<tr>
<td colspan="4" style="background-color:#9BB3BC;text-align:center;">
<b>Die neuen Mitglieder:</b>
</td>
</tr>
<tr>
<td> </td>
<td>
<?
echo "<a href=\"\" target=\"\"> $user[0]</a>";
?>
</td>
<td style="background-color:EBEBE4;text-align:center;">
[$neuster_user1_anmeldedatum]<!--15.01.2006, 09:45-->
</td>
<td style="background-color:EBEBE4;"> </td>
</tr>
<tr>
<td> </td>
<td>
<?
echo "<a href=\"\" target=\"\"> $user[1]</a>";
?>
</td>
<td style="background-color:EBEBE4;text-align:center;">
[$neuster_user2_anmeldedatum]
</td>
<td style="background-color:EBEBE4;"> </td>
</tr>
<tr>
<td> </td>
<td>
<?
echo "<a href=\"\" target=\"\"> $user[2]</a>";
?>
</td>
<td style="background-color:EBEBE4;text-align:center;">
[$neuster_user3_anmeldedatum]
</td>
<td style="background-color:EBEBE4;"> </td>
</tr>
<tr>
<td> </td>
<td>
<?
echo "<a href=\"\" target=\"\"> $user[3]</a>";
?>
</td>
<td style="background-color:EBEBE4;text-align:center;">
[$neuster_user4_anmeldedatum]
</td>
<td style="background-color:EBEBE4;"> </td>
</tr>
<tr>
<td> </td>
<td>
<?
echo "<a href=\"\" target=\"\"> $user[4]</a>";
?>
</td>
<td style="background-color:EBEBE4;text-align:center;">
[$neuster_user5_anmeldedatum]
</td>
<td style="background-color:EBEBE4;"> </td>
</tr>
</table>
</body>
</html>
<?php
include('connect.php');
$sql = 'SELECT * FROM tabelle ORDER BY id DESC LIMIT 5';
$query = mysql_query($sql) OR die(mysql_error());
while ($ds = mysql_fetch_object($query)){
echo $ds->id.'<br>';
}
?>
<html>
<head>
<title>Die neuen Mitglieder</title>
<link rel="stylesheet" href="../css/design.css" type="text/css">
</head>
<body>
<h1>Die neuen Mitglieder:</h1>
<ol>
<?php
$query = mysql_query('SELECT * FROM tabelle ORDER BY id DESC LIMIT 5');
while ($array = mysql_fetch_assoc($query)) {
echo '<li>'.$array['username'].'</li>';
}
?>
</ol>
</body>
</html>
<table cellspacing="0" cellpadding="0" border="1" style="width:100%;margin-right:5px;margin-left:5px;margin-top:5px;border-color:#9BB3BC;border-width:medium;border-style:outset;">
<tr>
<td colspan="4" style="background-color:#9BB3BC;text-align:center;">
<b>Die neuen Mitglieder:</b>
</td>
</tr>
<?php
$link = mysql_connect("Host","Benutzer","Kennwort");
mysql_select_db('Datenbankname',$link);
$sql = 'SELECT id,User
FROM Tabelle
ORDER BY id ASC LIMIT 5';
$query = mysql_query($sql) OR die(mysql_error());
while ($ds = mysql_fetch_object($query)){
echo "<tr>";
echo "<td> </td>";
echo "<td>";
echo "<a href=\"\" target=\"\"> ".$ds->User."</a>";
echo "</td>";
echo "<td style='background-color:EBEBE4;text-align:center;'>";
echo $ds->id.'<br>';
echo "</td>";
echo "<td style='background-color:EBEBE4;'> </td>";
echo "</tr>";
}
?>
</table>