@ 2013-11-21T00:34:21Z <?php
$js_date = "12.12.2013";
$js_time = "10.00";
$str = '<a href="http://www.abctehno.ee">www.abctehno.ee</a>';
function auto_link($str, $type = 'both', $popup = FALSE)
{
if ($type != 'email')
{
if (preg_match_all("#(^|\s|\()((http(s?)://)|(www\.))(\w+[^\s\)\<]+)#i", $str, $matches))
{
$pop = ($popup == TRUE) ? " target=\"_blank\" " : "";
for ($i = 0; $i < sizeof($matches['0']); $i++)
{
$period = '';
if (preg_match("|\.$|", $matches['6'][$i]))
{
$period = '.';
$matches['6'][$i] = substr($matches['6'][$i], 0, -1);
}
$str = str_replace($matches['0'][$i],
$matches['1'][$i].'<a href="http'.
$matches['4'][$i].'://'.
$matches['5'][$i].
$matches['6'][$i].'"'.$pop.'>http'.
$matches['4'][$i].'://'.
$matches['5'][$i].
$matches['6'][$i].'</a>'.
$period, $str);
}
}
}
if ($type != 'url')
{
if (preg_match_all("/([a-zA-Z0-9_\.\-]+)@([a-zA-Z0-9\-]+)\.([a-zA-Z0-9\-\.]*)/i", $str, $matches))
{
for ($i = 0; $i < sizeof($matches['0']); $i++)
{
$period = '';
if (preg_match("|\.$|", $matches['3'][$i]))
{
$period = '.';
$matches['3'][$i] = substr($matches['3'][$i], 0, -1);
}
$str = str_replace($matches['0'][$i], safe_mailto($matches['1'][$i].'@'.$matches['2'][$i].'.'.$matches['3'][$i]).$period, $str);
}
}
}
return $str;
}
$email_message ="\n Lugupeetud klient, \n \n teile broneeritud ülevaatuse aeg on ".$js_date." kell ".$js_time.". \n ABC Tehno asub aadressil Sõpruse pst 27, tel: 6 999 227, email: info@abc.ee, koduleht: ".$str.".\n Tuletame meelde, et hilinemisel kaotab broneering kehtivuse. \n \n Kohtumiseni, \n ABC Tehno";;
echo $email_message;
echo $email_message; ?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 4.3.0 - 4.3.11 , 4.4.0 - 4.4.9 , 5.0.0 - 5.0.5 , 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 , 5.3.0 - 5.3.29 , 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Lugupeetud klient,
teile broneeritud ülevaatuse aeg on 12.12.2013 kell 10.00.
ABC Tehno asub aadressil Sõpruse pst 27, tel: 6 999 227, email: info@abc.ee, koduleht: <a href="http://www.abctehno.ee">www.abctehno.ee</a>.
Tuletame meelde, et hilinemisel kaotab broneering kehtivuse.
Kohtumiseni,
ABC Tehno
Lugupeetud klient,
teile broneeritud ülevaatuse aeg on 12.12.2013 kell 10.00.
ABC Tehno asub aadressil Sõpruse pst 27, tel: 6 999 227, email: info@abc.ee, koduleht: <a href="http://www.abctehno.ee">www.abctehno.ee</a>.
Tuletame meelde, et hilinemisel kaotab broneering kehtivuse.
Kohtumiseni,
ABC Tehno preferences:dark mode live preview
302.97 ms | 407 KiB | 460 Q