Created
November 26, 2018 06:43
-
-
Save Ginnw2/43376bdfda34a6743fbb5b5f6c147b8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$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