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
.tetrad-pattern { | |
background-image: -webkit-linear-gradient(rgba(0,0,0,0.03) 2px,transparent 2px), -webkit-linear-gradient(0,rgba(0,0,0,0.03) 2px,transparent 2px), -webkit-linear-gradient(rgba(0,0,0,0.03) 1px,transparent 1px), -webkit-linear-gradient(0,rgba(0,0,0,0.03) 1px,transparent 1px); | |
background-size: 80px 80px, 80px 80px, 5px 5px, 5px 5px; | |
background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px; | |
} |
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
Попытка | |
Лог("Начата выгрузка на ftp"); | |
ИмяFTPСервера = "имя сервера"; | |
ПортFTPСоединения = "21"; | |
ПользовательFTPСоединения = "логин для подключения к ftp"; | |
ПарольFTPСоединения = "пароль для подключения к ftp"; | |
ПассивноеFTPСоединение = Ложь; | |
Соединение = Новый FTPСоединение(ИмяFTPСервера, ПортFTPСоединения,ПользовательFTPСоединения,ПарольFTPСоединения, ,ПассивноеFTPСоединение); | |
НайденныеФайлы = НайтиФайлы("D:\1C\SITEOBMEN\1cbitrix\", "*.*", Истина); //папка с которой все будет копировать на ftp |
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 | |
defined('_JEXEC') or die; | |
//need: https://github.com/Lullabot/amp-library | |
require_once '/amp/vendor/autoload.php'; | |
use Lullabot\AMP\AMP; | |
use Lullabot\AMP\Validate\Scope; | |
<?php $checkamp = $_SERVER['REQUEST_URI']; ?> |
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 = JFactory::getUser(); | |
$user->phone; |
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
$session = JFactory::getSession(); | |
$session->set('_smsc_request_id_last', $id); | |
$id=$session->get('_smsc_request_id_last', false); |
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
$jinput = JFactory::getApplication()->input; | |
return $jinput->server->get('REMOTE_ADDR', '', ''); |
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
$documentbody = JResponse::getBody(); | |
$documentbody = str_replace ("</body>", $code." </body>", $documentbody); | |
JResponse::setBody($documentbody); |
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
function MobileDetect() { | |
var UA = navigator.userAgent.toLowerCase(); | |
return (/android|webos|iris|bolt|mobile|iphone|ipad|ipod|iemobile|blackberry|windows phone|opera mobi|opera mini/i.test(UA)) ? true : false; | |
} | |
jQuery(document).ready(function($) { | |
if (!MobileDetect()) { | |
var header = $("#header .main-menu"); | |
$(window).scroll(function() { | |
var scroll = $(window).scrollTop(); |
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
SELECT alias FROM ****_zoo_item WHERE created BETWEEN '2016-10-01 00:00:00' and '2016-10-29 23:59:59'; |