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.
<?php
$text = preg_replace("=(www\\.)(.*)(\\.)(de|org|com|net|biz|info|fr)=sUi", "<a href='http://www.\\\\2.\\\\4' target='blank'>\\\\1\\\\2\\\\3\\\\4</a>", $text);
?>
<?php
$text = preg_replace("=(.*)(@)(.*)(\\.)(com|biz|info|org|net|de)=sUi", "<a href='mailto:\\\\1@\\\\3.\\\\5'>\\\\1\\\\2\\\\3\\\\4\\\\5</a>", $text)
?>
$text = preg_replace("/^([_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*(\.[a-zA-Z]{2,4}))/si","<a href=\"mailto: \\\\0\">\\\\0</a>",$text);
<?
while ($variable = mysql_fetch_row ($result))
{
#$variable[2] = wordcut ($variable[2], "");
$variable[2] = strip_tags ($variable[2], "");
$variable[2] = str_replace (":)", "<img src=\"smilie/smile.gif\">", $variable[2]);
$variable[2] = str_replace (";)", "<img src=\"smilie/zwink.gif\">", $variable[2]);
$variable[2] = str_replace (":D", "<img src=\"smilie/biggrin.gif\">", $variable[2]);
$variable[2] = str_replace (":(", "<img src=\"smilie/sad.gif\">", $variable[2]);
$variable[2] = preg_replace("=(www.)(.*)(.)(de|at|org|com|net|biz|info|fr)=sUi", "<a href='http://www.\\2\\.4' target='blank'>\\1\\2\\3\\4</a>",$variable[2]);
#$variable[2] = preg_replace("/^([_a-zA-Z0-9-]+(.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(.[a-zA-Z0-9-]+)*(.[a-zA-Z]{2,4}))/si","<a href=\"mailto: \\0\">\\0</a>",$variable[2]);
echo "<b><a title=\"$variable[5]\">$variable[1]</a></b><br><i>($variable[3] $variable[4])</i><br>";
?><?=replace2smiley (wordcut ( ($variable[2]), 115));?><?
echo "<hr align=\"center\" width=\"100%\" noshade size=\"1\" style=\"border: 1px dotted #FFFFFF;\">";
}?>