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
<h3>Client side IP geolocation using <a href="http://ipinfo.io">ipinfo.io</a></h3> | |
<hr/> | |
<div id="ip"></div> | |
<div id="address"></div> | |
<hr/>Full response: <pre id="details"></pre> |
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
<body> | |
<div style="position: absolute; left: 50%;"> | |
<div style="position: relative; left: -50%; border: dotted red 1px;"> | |
I am some centered shrink-to-fit content! <br /> | |
tum te tum | |
</div> | |
</div> | |
</body> |
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
$(document).mouseup(function(e) { | |
var container = $(".timerangepicker"); | |
if (!container.is(e.target) && container.has(e.target).length === 0) { | |
container.css({ | |
display: 'none' | |
}); | |
} | |
}); |
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
<?CJSCore::Init(array("jquery"));?> |
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
// Подписка на рассылку при регистрации | |
AddEventHandler("main", "OnAfterUserAdd", "OnAfterUserAddHandler"); | |
function OnAfterUserAddHandler(&$arFields) | |
{ | |
$errors = Array(); | |
if($arFields["ID"]>0 && $arFields["UF_SUBSCRIBE"]) |
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
<header> | |
<div class="header__top"></div> | |
<nav class="header__nav"> | |
<ul> | |
<li> | |
<a href="#"> | |
<img src="http://cs623231.vk.me/v623231145/2714a/lGNVYr8gp7k.jpg" class="header__nav__img">Главная | |
</a> | |
</li> | |
<li> |
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
^(.+)@(.+)\.(.+)$ |
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
<link rel="icon" type="image/png" href="favicon.png"> | |
<link rel="mask-icon" href="icon.svg" color="blue"> | |
<link rel="icon" type="image/svg+xml" href="favicon.svg"> |
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
<div style="display:none;"> | |
<?$APPLICATION->IncludeComponent( | |
"bitrix:system.auth.form", | |
"", | |
Array( | |
"COMPONENT_TEMPLATE" => ".default", | |
"FORGOT_PASSWORD_URL" => "", | |
"PROFILE_URL" => "", | |
"REGISTER_URL" => "", | |
"SHOW_ERRORS" => "N" |
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
<? | |
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); | |
if(!$arResult["NavShowAlways"]){ | |
if ($arResult["NavRecordCount"] == 0 || ($arResult["NavPageCount"] == 1 && $arResult["NavShowAll"] == false)) return; | |
} | |
$strNavQueryString = ($arResult["NavQueryString"] != "" ? $arResult["NavQueryString"]."&" : ""); | |
$strNavQueryStringFull = ($arResult["NavQueryString"] != "" ? "?".$arResult["NavQueryString"] : ""); | |
?> | |