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
if ($this->checkPosition('list')) { | |
$juser=JFactory::getUser(); | |
$groups = $juser->get('groups'); | |
if (!in_array('10', $groups)) {/** если пользователь НЕ ВХОДИТ в группу ПРОФЕССИОНАЛЫ **/ | |
/** ID переменной определяющей скрывать ли цену для непрофессионалов **/ | |
switch ($item->type) { | |
case "cosmetic-lanza"; | |
$CB_price = 'a0b1155b-8224-40f5-845b-ca81da5c2351'; |
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
define('_JEXEC', 1); | |
define('DS', DIRECTORY_SEPARATOR); | |
if (file_exists(dirname(__FILE__) . '/defines.php')) { | |
include_once dirname(__FILE__) . '/defines.php'; | |
} | |
if (!defined('_JDEFINES')) { | |
define('JPATH_BASE', dirname(__FILE__)); | |
require_once JPATH_BASE.'/includes/defines.php'; |
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
http://img-fotki.yandex.ru/get/102548/77677229.88/0_ac816_30768282_orig.png | |
http://img-fotki.yandex.ru/get/195431/77677229.88/0_ac817_8b70f67e_orig.png | |
http://img-fotki.yandex.ru/get/96803/77677229.88/0_ac818_b95e9f1c_orig.png |
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
Полезная инфа по устаревшим функция #depricated: | |
JDispatcher::getInstance = JEventDispatcher::getInstance | |
JFile::read() = file_get_contents() | |
JString = StringHelper (в начале файла нужно прописать use Joomla\String\StringHelper;) | |
JFactory::getApplication()->isSite() = JFactory::getApplication()->isClient('site') |
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
\administrator\components\com_zoo\controllers\item.php | |
//110 line - function display | |
// $select = 'a.*, EXISTS (SELECT true FROM '.ZOO_TABLE_CATEGORY_ITEM.' WHERE item_id = a.id AND category_id = 0) as frontpage'; | |
$select = 'a.id,a.name,a.application_id,a.type,a.alias,a.created,a.modified,a.modified_by,a.publish_up,a.publish_down,a.priority,a.hits,a.state,a.access,a.created_by,a.created_by_alias,a.searchable,a.params, EXISTS (SELECT true FROM '.ZOO_TABLE_CATEGORY_ITEM.' WHERE item_id = a.id AND category_id = 0) as frontpage'; |
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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} robots.txt$ [NC] | |
RewriteRule ^([^/]+) $1 [L] | |
RewriteCond %{HTTP_HOST} ^(www\.)?old-domain\.ru$ | |
RewriteRule ^(.*)$ http://www.new-domain.ru/$1 [R=301,L] | |
</IfModule> |
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
ЗАЩИТА ПЕРСОНАЛЬНОЙ ИНФОРМАЦИИ | |
1.1. Предоставляя свои персональные данные при регистрации на сайте, Покупатель даёт Продавцу своё согласие на обработку и использование своих персональных данных согласно ФЗ № 152-ФЗ «О персональных данных» от 27.07.2006 г. различными способами в целях, указанных в настоящих Правилах. | |
1.2 Продавец использует персональные данные Покупателя в целях: | |
- регистрации Пользователя на Сайте; | |
- для определения победителя в акциях, проводимых Администрацией Сайта; | |
- получения Покупателем персонализированной рекламы; | |
- оформления Покупателем Заказа в Интернет-магазине «ВАШЕ_НАЗВАНИЕ_САЙТА»; | |
- для выполнения своих обязательств перед Покупателем. | |
1.3 Продавец обязуется не разглашать полученную от Покупателя информацию. При этом не считается нарушением обязательств разглашение информации в случае, когда обязанность такого раскрытия установлена требованиями действующего законодательства РФ. |
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
$category = JRequest::getInt('category_id'); |
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
$MenuTreeId = JMenuSite::getInstance('site')->getActive()->tree[0]; |