https://cdn.rawgit.com/mfd/b366b05d1265ec42b852b7b2777d6711/raw/04f2ac0f5dcf790c097148cbe2887e798be9cb28/Muller.css
<link rel="https://cdn.rawgit.com/mfd/b366b05d1265ec42b852b7b2777d6711/raw/04f2ac0f5dcf790c097148cbe2887e798be9cb28/Muller.css">
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
<amp-pixel src="https://ssl.google-analytics.com/collect?v=1&tid=UA-12345678-1&t=pageview&cid=$RANDOM&dt=$TITLE&dl=$CANONICAL_URL&z=$RANDOM"></amp-pixel> | |
/* | |
* Required parameters: | |
* v = API version number (currently 1) | |
* tid = Google Analytics property identifier (UA-12345678-1) | |
* t = hit type | |
* cid = client id (you should implement this via cookie etc.) | |
* z = random string to bypass caching (amphtml generates this to $RANDOM variable) |
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
0 0 * * * /some/path/to/a/file.php > $HOME/`date +\%Y\%m\%d\%H\%M\%S`-cron.log 2>&1 | |
jbzoo items:items-import -vvv >> /home/vsem/logs/cron-jbzoo/`date +\%Y-\%m-\%d_\%H-\%M-\%S`-cron.log 2>&1 | |
* * * * * /usr/local/bin/php -c /etc/php.ini ~/cli/jbzoo/vendor/jbzoo/console/bin/jbzoo items:items-import -vvv >> /home/vsem/logs/cron-jbzoo/`date +\%Y-\%m-\%d_\%H-\%M-\%S`-cron.log 2>&1 |
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 [ -f ~/.bashrc ]; then . ~/.bashrc; fi |
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
<field name="myrepeatfield" | |
type="Repeatable" | |
icon="list" | |
description="Field Description here" | |
label="Field Label Here" | |
default=""> | |
<fieldset hidden="true" name="myrepeatfield_modal" repeat="true"> | |
<field name="customfield1" |
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
<field name="myrepeatfield" | |
type="Repeatable" | |
icon="list" | |
description="Field Description here" | |
label="Field Label Here" | |
default="{'customfield1':['Custom Field 1 value repeat1', 'Custom Field 1 value repeat2'], 'customfield2':['Custom Field 2 value repeat1','Custom Field 2 value repeat2']}"> | |
<fieldset hidden="true" name="myrepeatfield_modal" repeat="true"> | |
<field name="customfield1" |
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 //вывод позиции модулей | |
$document = JFactory::getDocument(); | |
$renderer = $document->loadRenderer('modules'); | |
$options = array('style' => 'xhtml'); | |
$position = 'user1'; | |
echo $renderer->render($position, $options, null); | |
?> | |
<!-- или --> |