This file contains hidden or 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
license: gpl-3.0 |
This file contains hidden or 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
license: gpl-3.0 |
This file contains hidden or 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
license: gpl-3.0 |
This file contains hidden or 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
<!--[if !IE]> | |
<script defer type="text/javascript" src="{T_JQUERY_LINK}"></script> | |
<!-- IF S_JQUERY_FALLBACK --><script defer type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF --> | |
<![endif]--> | |
<!--[if IE]> | |
<script type="text/javascript" src="{T_JQUERY_LINK}"></script> | |
<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF --> | |
<![endif]--> | |
<script defer type="text/javascript" src="{T_ASSETS_PATH}/javascript/core.js"></script> | |
<script defer type="text/javascript" src="{T_TEMPLATE_PATH}/ajax.js"></script> |
This file contains hidden or 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
</div> | |
<div id="page-footer"> | |
<div class="navbar"> | |
<div class="inner"><span class="corners-top"><span></span></span> | |
<ul class="linklist"> | |
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li> | |
<!-- IF not S_IS_BOT --> |
This file contains hidden or 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
<?php | |
class URL | |
{ | |
public function auto($string, $type = 'both', $attr = false, $echo = false) | |
{ | |
if ($type == 'both' || $type == 'url') | |
{ | |
$regex = '/(?<anchor><a(?:\s+(?<attr>(?:\S+?=(?:(?:\'.*?\')|(?:".*?")\s*))+))?>(?<text>.*?)<\/a\s*>)|(?<!>)(?<url>(?<proto>https?:\/{2})(?<domain>[a-zA-Z0-9\-.]+\.[a-zA-Z]{2,3})(?<path>\/\S*)?)/i'; | |
return preg_replace_callback($regex, function($matches) | |
{ |