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.
<?
@session_start();
require_once ( 'config.php' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="robots" content="all" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta http-equiv="expires" content="0">
<title>Startseite</title>
<link rel="shortcut icon" href="favicon.ico" />
<!--Stylesheets-->
<link rel="stylesheet" type="text/css" href="layout.php?uid=<? echo $_SESSION['id']; ?>" />
<link rel="stylesheet" type="text/css" href="js/fancybox/fancybox/jquery.fancybox-1.3.1.css" media="screen" />
<!--JQuery-->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.7.1.custom.min.js"></script>
<!--JavaScript-->
<script type="text/javascript" src="js/fancybox/fancybox/jquery.fancybox-1.3.1.js"></script>
<script type="text/javascript" src="js/jquery.simpletip-1.3.1.min.js"></script>
<script type="text/javascript" src="js/jquery.autogrow.js"></script>
<? include_once "js/jscript.php"; ?>
... und so weiter
$(function() {
$(".submit").click(function() {
var boxval = $(".textbox").val();
var id = $(this).attr("id");
var dataString = 'add_comment=' + boxval + '<? echo "&me=".$_SESSION['name']."&uid=".$_SESSION['id']."&area=".$_GET['s']."&cid=".$_GET['id'].""; ?>';
$("#comments").html("<img src='images/icon/loading.gif'>");
$.ajax({type:"POST", url:"js/ajax.php", data:dataString, cache: false,
success: function(){
window.location.reload();
}
});
return false;
});
header ("Content-Type: text/html; charset=ISO-8859-1");
require_once ( '../db.php' );
require_once ( '../functions.php' );
if ($_POST['edit_about'])
{
mysql_query("UPDATE `users` SET `about`='". sInput ( $_POST['edit_about'] ) ."' WHERE `id`='".$_POST['uid']."'");
update_log($_POST['uid'],"about",$_POST['q']);
}
<?
header ("Content-Type: text/html; charset=ISO-8859-1");
@session_start();
require_once ( 'config.php' );