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 | |
$orenru = 'http://www.oren.ru/rss/'; | |
$ural56 = 'http://www.ural56.ru/news/news-rss.php'; | |
$oreninform = 'http://oreninform.ru/rss/'; | |
$ru56 = 'http://56.ru/text/rss.xml'; | |
$xml = $orenru; | |
$rss = simplexml_load_file($xml); | |
echo '<div class="orenburg-rss-stream"><ul>'; |
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 class="rand"> | |
<span>Случайные записи</span> | |
<?php $MyArgs = array('orderby' => 'rand','showposts' => '6'); ?> | |
<?php query_posts($MyArgs); ?> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<div class="excerpt"> | |
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> | |
<?php the_post_thumbnail(); ?> | |
<p class="title"><?php the_title(); ?></p> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Сетка</title> | |
<meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0"/> | |
<link rel="stylesheet" href="grid.css"/> | |
<style> | |
.module{ | |
padding: 1em; |
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
/* gradient */ | |
.gradient(@from: #000, @to: #fff) { | |
background-color: @from; | |
background-image: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to)); | |
background-image: -webkit-linear-gradient(top, @from, @to); | |
background-image: -moz-linear-gradient(top, @from, @to); | |
background-image: -o-linear-gradient(top, @from, @to); | |
background-image: linear-gradient(to bottom, @from, @to); | |
} |
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
<%@ Page language="C#" MasterPageFile="../_catalogs/masterpage/homePageMaster.master" | |
Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full"%> | |
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<asp:Content ID="Content1" ContentPlaceHolderId="PlaceHolderMain" runat="server"> | |
<WebPartPages:WebPartZone runat="server" ID="webZone1" CssClass="ms-hide" Title="Новости"> | |
<ZoneTemplate></ZoneTemplate> | |
</WebPartPages:WebPartZone> |
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
// Хак для перевода RGB в HEX | |
$.cssHooks.backgroundColor = { | |
get: function (elem) { | |
if (elem.currentStyle) | |
var bg = elem.currentStyle["backgroundColor"]; | |
else if (window.getComputedStyle) | |
var bg = document.defaultView.getComputedStyle(elem, | |
null).getPropertyValue("background-color"); | |
if (bg.search("rgb") == -1) | |
return bg; |
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
// Проверка версии jQuery | |
jQuery.fn.jquery | |
// Проверка версии jQuery UI | |
$.ui.version |
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
$fancybox.fancybox({ | |
openEffect: 'none', | |
closeEffect: 'none', | |
prevEffect: 'none', | |
nextEffect: 'none', | |
keys : { | |
next: null, | |
prev: null, | |
close : null | |
} |
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
User-Agent: SputnikBot; | |
Disallow:/ |
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
a{ | |
-webkit-transition: border-color 200ms, width 250ms; | |
-moz-transition: border-color 200ms, width 250ms; | |
transition: border-color 200ms, width 250ms; | |
} |
OlderNewer