Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?
$content = file_get_contents('include/phone.php');
$content = preg_replace('![^0-9]+!', '', $content);
?>
<?if(!$_SESSION['SESS_INCLUDE_AREAS']):?>
<a href="tel:<?=$content1?>">
<? $APPLICATION->IncludeFile(SITE_DIR.'include/phone.php')?>
</a>
<?else:?>
<? $APPLICATION->IncludeFile(SITE_DIR.'include/phone.php')?>
<?endif;?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.