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.
$abfrage="insert into tabelle ("
for ($t=0;$t=264;$t++) {
$abfrage .="'$t',";
}
$abfrage .="values(";
for ($t=0;$t=264;$t++){
$abfrage .="'".$cdata[$t]."',";
}
$abfrage .=");";
for($t = 0; $t <= 264; $t++) {
if ($KEYS!="") $KEYS .= ", ";
if ($VALS!="") $VALS .= ", ";
$KEYS .= "`".$t."`";
$VALS .= "'".$cdata[$t]."'";
}
$dbanfrage2 = "INSERT into ".$tabelle2." (".$KEYS.") values (".$VALS.")";
<?
$keys="";
$values="";
foreach ($cdata as $k => $v){
$keys .="$k,";
$values .="'$v',";
}
$sqlab="Insert into tabelle (`$keys`) values ($values)"
$satz= "ein Satz mit $a Variablen und einem $b Zeichen" .'Nur $c geht nicht'."Aber ein'$d' geht widerum";
<html>
<head>
<title>Y4 Stats</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<table>
<tr>
<td>
</td>
<td><a href="http://shouter.l-tech.org/bf2/index.php?order=NICKNAME">Nick:</a>
</td>
<td><a href="http://shouter.l-tech.org/bf2/index.php?order=POINTS">Gesamtpunkte:</a>
</td>
<td><a href="http://shouter.l-tech.org/bf2/index.php?order=TSCORE">Team:</a>
</td>
<td><a href="http://shouter.l-tech.org/bf2/index.php?order=CSCORE">Combat:</a>
</td>
<td><a href="http://shouter.l-tech.org/bf2/index.php?order=KILLS">Kills:</a>
</td>
<td><a href="http://shouter.l-tech.org/bf2/index.php?order=DEATH">Deaths:</a>
</td>
<td><a href="http://shouter.l-tech.org/bf2/index.php?order=KDRATIO">KILLS/Deaths RATIO:</a>
</td>
<td><a href="http://shouter.l-tech.org/bf2/index.php?order=TIME">Zeit:</a>
</td>
<td>Most Played Weapon:
</td>
</tr>
<?php
$order = $_GET['order'];
If($order == ""){
$order = "NICKNAME";
}
$dbname = "usrdb_shoutlbv_bf2";
$tabelle ="stats";
$dbverbindung = @mysql_connect("localhost", "xxx", "xxx");
$dbanfrage = "SELECT * from $tabelle";
mysql_select_db($dbname,$dbverbindung);
$result = mysql_query("SELECT * from ".$tabelle." ORDER BY ".$order."") or die(mysql_error());
while ($stats = mysql_fetch_array ($result))
{
$pic = $stats[POINTS];
if($pic >= 25000){
$picture = "rang4.png";
}
elseif($pic >= 10500){
$picture = "rang3.png";
}
elseif($pic >= 1000){
$picture = "rang2.png";
}
elseif($pic >= 500){
$picture = "rang1.png";
}
elseif($pic < 500){
$picture = "leer.png";
}
echo "<tr>";
echo "<td>";
echo "<img src=".$picture.">";
echo "</td>";
echo "<td>";
echo $stats[NICKNAME];
echo "</td>";
echo "<td>";
echo $stats[POINTS];
echo "</td>";
echo "<td>";
echo $stats[TSCORE];
echo "</td>";
echo "<td>";
echo $stats[CSCORE];
echo "</td>";
echo "<td>";
echo $stats[KILLS];
echo "</td>";
echo "<td>";
echo $stats[DEATH];
echo "</td>";
echo "<td>";
echo $stats[KDRATIO];
echo "</td>";
echo "<td>";
echo $stats[TIME];
echo "</td>";
echo "<td>";
echo $stats[MPW];
echo "</td>";
echo "</tr>";
}
mysql_close ($dbverbindung)
?>
</table>
</body>
</html>