Volg de onderstaande video om te zien hoe je onze site als web-app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
",time());
<div id="Layer1" style="position:absolute; left:151px; top:79px; width:428px; height:200px; z-index:1; background-color: #990033; layer-background-color: #990033; border: 1px none #000000;"><hr>
<?php
if(!$start) {
$start="0";} else{
$start=$start;}
$nu=date("Y-m-d",time());
$tijdnu=date("H:i:s",time());
$nieuws=Array();
$nieuws=file($bestand);
array_multisort ($nieuws, SORT_DESC);
for ($i=$start;$i<$start+$amount && $i<sizeof($nieuws);$i++) {
list($publicatiedatum,$tijdstip,$kort,$lang,$naam, $email,$ID,$titel,$datum)=explode('||',$nieuws[$i]);
$plaatsdatum= $publicatiedatum."@".$tijdstip;
$tijd=$nu."@".$tijdnu;
if($tijd >= $plaatsdatum){
echo"
<table width=\"75%\">
<tr><td width=\"500\">
<b>".$titel."</b><br><i>(Geplaatst door ". $naam.")</i><br><br>
</td>
<td> <p align=\"right\">
". $datum." @ ". $tijdstip."
</td>
</tr>
<tr>
<td colspan=\"2\">".$kort."<p align=\"right\">";
if($lang!="") { ?>
<a href="lang.php?id=<?php echo$ID ?>">Lees meer »</a> | <?php } ?><a href="lang.php?id=<?php echo$ID ?>">
<?php
if (file_exists("reacties/$ID.txt")) {
//aantal reacties
$aantalreacties = file("reacties/$ID.txt");
$aantal = count($aantalreacties);
if($aantal==1) {
echo"reactie (1) »";} else {
echo"reacties (".$aantal.") »";} }
else { echo"reacties (0) »";} ?>
</a>
</td></tr>
</table><br><hr>
<?php
}}?>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%">
<p align="center">
<?php
//links onderaan de pagina
if ($start>0) echo '<A href="index.php?start='.max(0,$start-$amount).'"><<<</a>';
$regels = count($nieuws); if(!$n) { $n = 0; } else { $n = intval($n); }
{ for($i = 0; $i < $regels; $i+=$amount) { if($regels > $i) { echo(" [<a href='index.php?start=$i'>".($i/$amount+1)."</a>]"); } } }
if ($start+$amount<sizeof($nieuws)) echo ' <A href="index.php?start='.($start+$amount).'">>>></a>';
?></td>
</tr>
</table>
<?php
if($Copyrightnr11=="true") {
copyright ();}
?>
</div>
DarkBone zei:De zin om hieraan te beginnen ontbreekt mij al :/

yup0n3Liner zei:wel, ik had nu eens totaal hetzelfde gevoel, ik bezien die code en denk van 'oh boy, laat dat maar aan de rest over'![]()
if(!$start) {
$start="0";} else{
$start=$start;}
if (!isset($start))
{
$start = 0;
}