- Parallax.js Mobile support
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
<? | |
// | |
// Код для разбивки контента на страницы взят отсюда: http://forum.php.su/topic.php?forum=1&topic=6985 | |
// | |
$result = $GLOBALS['db']->Query("SELECT * FROM " . PREFIX . "_modul_contact_info"); | |
$rows_max = $result->NumRows(); // Сколько всего заявок с формы в базе | |
$show_pages = 5; // Сколько заявок с формы покажем пользователю | |
$this_page = filter_var($_GET['page'], FILTER_SANITIZE_NUMBER_INT); // Номер текущей страницы | |
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 | |
ul | |
li | |
img src="#" width="100%" | |
span SomeText | |
li | |
img src="#" width="100%" | |
span SomeText | |
li | |
img src="#" width="100%" |
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
<style> | |
.trap { | |
width: 50px; | |
height: 0px; | |
border-bottom: 50px solid green; | |
border-left: 0 solid transparent; | |
border-right: 50px solid transparent; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div class="arrow"> | |
<p>GitHub Gist</p> | |
<p>Указательная стрелка</p> |
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 (!function_exists('next_page')) | |
{ | |
function next_page($page_id) | |
{ | |
$data = get_page($page_id+1); | |
if ($data) { | |
return $data; | |
} else { | |
return false; | |
} |
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
<xsl:template name="time" > | |
<xsl:param name="unix-timestamp"/> | |
<time datetime="{document(concat('udata://system/convertDate/', $unix-timestamp ,'/(Y-m-d)'))/udata}"> | |
<xsl:value-of select="document(concat('udata://system/convertDate/', $unix-timestamp ,'/(d.m.Y)'))/udata"/> | |
</time> | |
</xsl:template> | |
<!-- Вызов шаблона--> | |
<xsl:call-template name="time"> | |
<xsl:with-param select="//property[@name='publish_time']/value/@unix-timestamp" name="unix-timestamp"/> |
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
#!/usr/bin/env bash | |
curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz | |
mkdir vim && tar xzvf vim.tar.gz -C vim | |
export PATH=$PATH:/app/vim/bin |
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
All Autocomplete | |
EditConfig | |
Go-To-CSS Decloration | |
Gulp | |
NPM | |
Jade | |
Matherial Theme | |
Stylus | |
PackageControl |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="author" content="@pepelsbey"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div class="slider"> | |
<input type="radio" name="slider__check" class="slider__check" id="slider__check-1" checked><label for="slider__check-1" class="slider__label">1</label><img src="http://habrastorage.org/files/3f2/628/bd5/3f2628bd58c8452db516195cb0c9bfc9.jpg" alt="" class="slider__image"> |
OlderNewer