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.
<style type="text/css" media="screen">
div.klappmenushow {}
div.klappmenuhidden {display:none;}
</style>
<?
//MYSQL datenbank
$server = "localhost";
$username = "root";
$password = "1";
$datenbank = "3";
$db = mysql_connect( "$surver", "$username", "$password"); mysql_select_db("$datenbank");
$anfrage = mysql_query("SELECT * FROM news ORDER BY id desc");
while($row = mysql_fetch_array ($anfrage)){
//Ausgabevariabeln
$id = $row['id'];
$autor = $row['autor'];
$text = $row['text'];
$date = $row['date'];
$text = str_replace("[ b ]","<b>",$text);
$text = str_replace("[ /b ]","</b>",$text);
$text = str_replace("[ u ]","<u>",$text);
$text = str_replace("[ /u ]","</u>",$text);
$text = str_replace("[ i ]","<i>",$text);
$text = str_replace("[ /i ]","</i>",$text);
echo"
<script type=text/javascript>
<!--
function switchKlappMenu$id() {
if (document.getElementById('klappmenu$id').className == '".$klappmenu."') {
document.getElementById('klappmenu$id').className = '".$klappshow."';
} else {
document.getElementById('klappmenu$id').className = '".$klappmenu."';
}
}
-->
</script>
";
echo "<table width=800 border=1 cellpadding=0 cellspacing=0>
<tr>
<td width=600 valign=top>".$text."</td>
<td width=200 valign=top>
<strong>ID:</strong><br>".$id."<br>
<strong>Datum:<br></strong>".$date."<br>
<strong>Datum:<br></strong>".$autor."<br>
<hr>
</td>
</tr>
</table>
<br>
";
}
?>