module
@ -1 +0,0 @@
|
||||
Subproject commit 2df75df757330c1244cdb7c7e721990e076ff273
|
10
modules/blockcmsinfo/CHANGELOG.txt
Normal file
@ -0,0 +1,10 @@
|
||||
2014-04-22 18:57:01 +0200 // Changelog updated
|
||||
2014-04-07 10:12:29 +0200 [-] MO : blockcmsinfo - Encoding restitution issue #PSCSX-1554 fixed
|
||||
2014-03-31 17:59:54 +0200 [-] MO : blockcmsinfo : now only show current shop custom block
|
||||
2014-03-24 17:23:58 +0100 // backquotes
|
||||
2014-03-24 17:05:05 +0100 // blockcmsinfo : displa & secu fix
|
||||
2014-03-24 12:30:34 +0100 Merge branch 'master' of https://github.com/PrestaShop/blockcmsinfo
|
||||
2014-03-24 12:28:49 +0100 // blockcmsinfo : missing buttons
|
||||
2014-03-24 11:43:28 +0100 / MO blockcmsinfo : ps_versions_compliancy modified (1.5.6.1 => 1.6)
|
||||
2014-03-24 11:01:40 +0100 / MO blockcmsinfo : ps_versions_compliancy added
|
||||
2014-03-20 14:21:06 +0100 Initial commit
|
@ -1,8 +1,8 @@
|
||||
# Merchant Expertise
|
||||
# Custom CMS information block
|
||||
|
||||
## About
|
||||
|
||||
Become an e-commerce expert within the blink of an eye!
|
||||
Adds custom information blocks in your store.
|
||||
|
||||
## Contributing
|
||||
|
||||
@ -21,7 +21,7 @@ Contributors **must** follow the following rules:
|
||||
Contributors wishing to edit a module's files should follow the following process:
|
||||
|
||||
1. Create your GitHub account, if you do not have one already.
|
||||
2. Fork the gamification project to your GitHub account.
|
||||
2. Fork the blockcmsinfo project to your GitHub account.
|
||||
3. Clone your fork to your local machine in the ```/modules``` directory of your PrestaShop installation.
|
||||
4. Create a branch in your local clone of the module for your changes.
|
||||
5. Change the files in your branch. Be sure to follow [the coding standards][1]!
|
413
modules/blockcmsinfo/blockcmsinfo.php
Normal file
@ -0,0 +1,413 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
require_once _PS_MODULE_DIR_.'blockcmsinfo/classes/InfoBlock.php';
|
||||
|
||||
class Blockcmsinfo extends Module
|
||||
{
|
||||
public $html = '';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'blockcmsinfo';
|
||||
$this->tab = 'front_office_features';
|
||||
$this->version = '1.5.5';
|
||||
$this->author = 'PrestaShop';
|
||||
$this->bootstrap = true;
|
||||
$this->need_instance = 0;
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('Custom CMS information block');
|
||||
$this->description = $this->l('Adds custom information blocks in your store.');
|
||||
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
return parent::install() &&
|
||||
$this->installDB() &&
|
||||
$this->registerHook('home') &&
|
||||
$this->installFixtures() &&
|
||||
$this->disableDevice(Context::DEVICE_TABLET | Context::DEVICE_MOBILE);
|
||||
}
|
||||
|
||||
public function installDB()
|
||||
{
|
||||
$return = true;
|
||||
$return &= Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'info` (
|
||||
`id_info` INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`id_shop` int(10) unsigned DEFAULT NULL,
|
||||
PRIMARY KEY (`id_info`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8 ;'
|
||||
);
|
||||
|
||||
$return &= Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'info_lang` (
|
||||
`id_info` INT UNSIGNED NOT NULL,
|
||||
`id_lang` int(10) unsigned NOT NULL ,
|
||||
`text` text NOT NULL,
|
||||
PRIMARY KEY (`id_info`, `id_lang`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8 ;'
|
||||
);
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function uninstall()
|
||||
{
|
||||
return parent::uninstall() && $this->uninstallDB();
|
||||
}
|
||||
|
||||
public function uninstallDB($drop_table = true)
|
||||
{
|
||||
$ret = true;
|
||||
if($drop_table)
|
||||
$ret &= Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'info`') && Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'info_lang`');
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
$id_info = (int)Tools::getValue('id_info');
|
||||
|
||||
if (Tools::isSubmit('saveblockcmsinfo'))
|
||||
{
|
||||
if (!Tools::getValue('text_'.(int)Configuration::get('PS_LANG_DEFAULT'), false))
|
||||
return $this->html . $this->displayError($this->l('You must fill in all fields.')) . $this->renderForm();
|
||||
elseif ($this->processSaveCmsInfo())
|
||||
return $this->html . $this->renderList();
|
||||
else
|
||||
return $this->html . $this->renderForm();
|
||||
}
|
||||
elseif (Tools::isSubmit('updateblockcmsinfo') || Tools::isSubmit('addblockcmsinfo'))
|
||||
{
|
||||
$this->html .= $this->renderForm();
|
||||
return $this->html;
|
||||
}
|
||||
else if (Tools::isSubmit('deleteblockcmsinfo'))
|
||||
{
|
||||
$info = new InfoBlock((int)$id_info);
|
||||
$info->delete();
|
||||
$this->_clearCache('blockcmsinfo.tpl');
|
||||
Tools::redirectAdmin(AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules'));
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->html .= $this->renderList();
|
||||
return $this->html;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function processSaveCmsInfo()
|
||||
{
|
||||
if ($id_info = Tools::getValue('id_info'))
|
||||
$info = new InfoBlock((int)$id_info);
|
||||
else
|
||||
{
|
||||
$info = new InfoBlock();
|
||||
if (Shop::isFeatureActive())
|
||||
{
|
||||
$shop_ids = Tools::getValue('checkBoxShopAsso_configuration');
|
||||
if (!$shop_ids)
|
||||
{
|
||||
$this->html .= '<div class="alert alert-danger conf error">'.$this->l('You have to select at least one shop.').'</div>';
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
$info->id_shop = Shop::getContextShopID();
|
||||
}
|
||||
|
||||
$languages = Language::getLanguages(false);
|
||||
$text = array();
|
||||
foreach ($languages AS $lang)
|
||||
$text[$lang['id_lang']] = Tools::getValue('text_'.$lang['id_lang']);
|
||||
$info->text = $text;
|
||||
|
||||
if (Shop::isFeatureActive() && !$info->id_shop)
|
||||
{
|
||||
$saved = true;
|
||||
foreach ($shop_ids as $id_shop)
|
||||
{
|
||||
$info->id_shop = $id_shop;
|
||||
$saved &= $info->add();
|
||||
}
|
||||
}
|
||||
else
|
||||
$saved = $info->save();
|
||||
|
||||
if ($saved)
|
||||
$this->_clearCache('blockcmsinfo.tpl');
|
||||
else
|
||||
$this->html .= '<div class="alert alert-danger conf error">'.$this->l('An error occurred while attempting to save.').'</div>';
|
||||
|
||||
return $saved;
|
||||
}
|
||||
|
||||
|
||||
protected function renderForm()
|
||||
{
|
||||
$default_lang = (int)Configuration::get('PS_LANG_DEFAULT');
|
||||
|
||||
$fields_form = array(
|
||||
'tinymce' => true,
|
||||
'legend' => array(
|
||||
'title' => $this->l('New custom CMS block'),
|
||||
),
|
||||
'input' => array(
|
||||
'id_info' => array(
|
||||
'type' => 'hidden',
|
||||
'name' => 'id_info'
|
||||
),
|
||||
'content' => array(
|
||||
'type' => 'textarea',
|
||||
'label' => $this->l('Text'),
|
||||
'lang' => true,
|
||||
'name' => 'text',
|
||||
'cols' => 40,
|
||||
'rows' => 10,
|
||||
'class' => 'rte',
|
||||
'autoload_rte' => true,
|
||||
),
|
||||
),
|
||||
'submit' => array(
|
||||
'title' => $this->l('Save'),
|
||||
),
|
||||
'buttons' => array(
|
||||
array(
|
||||
'href' => AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules'),
|
||||
'title' => $this->l('Back to list'),
|
||||
'icon' => 'process-icon-back'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
if (Shop::isFeatureActive() && Tools::getValue('id_info') == false)
|
||||
{
|
||||
$fields_form['input'][] = array(
|
||||
'type' => 'shop',
|
||||
'label' => $this->l('Shop association'),
|
||||
'name' => 'checkBoxShopAsso_theme'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
$helper = new HelperForm();
|
||||
$helper->module = $this;
|
||||
$helper->name_controller = 'blockcmsinfo';
|
||||
$helper->identifier = $this->identifier;
|
||||
$helper->token = Tools::getAdminTokenLite('AdminModules');
|
||||
foreach (Language::getLanguages(false) as $lang)
|
||||
$helper->languages[] = array(
|
||||
'id_lang' => $lang['id_lang'],
|
||||
'iso_code' => $lang['iso_code'],
|
||||
'name' => $lang['name'],
|
||||
'is_default' => ($default_lang == $lang['id_lang'] ? 1 : 0)
|
||||
);
|
||||
|
||||
$helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name;
|
||||
$helper->default_form_language = $default_lang;
|
||||
$helper->allow_employee_form_lang = $default_lang;
|
||||
$helper->toolbar_scroll = true;
|
||||
$helper->title = $this->displayName;
|
||||
$helper->submit_action = 'saveblockcmsinfo';
|
||||
|
||||
$helper->fields_value = $this->getFormValues();
|
||||
|
||||
return $helper->generateForm(array(array('form' => $fields_form)));
|
||||
}
|
||||
|
||||
protected function renderList()
|
||||
{
|
||||
$this->fields_list = array();
|
||||
$this->fields_list['id_info'] = array(
|
||||
'title' => $this->l('Block ID'),
|
||||
'type' => 'text',
|
||||
'search' => false,
|
||||
'orderby' => false,
|
||||
);
|
||||
|
||||
if (Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_SHOP)
|
||||
$this->fields_list['shop_name'] = array(
|
||||
'title' => $this->l('Shop'),
|
||||
'type' => 'text',
|
||||
'search' => false,
|
||||
'orderby' => false,
|
||||
);
|
||||
|
||||
$this->fields_list['text'] = array(
|
||||
'title' => $this->l('Block text'),
|
||||
'type' => 'text',
|
||||
'search' => false,
|
||||
'orderby' => false,
|
||||
);
|
||||
|
||||
$helper = new HelperList();
|
||||
$helper->shopLinkType = '';
|
||||
$helper->simple_header = false;
|
||||
$helper->identifier = 'id_info';
|
||||
$helper->actions = array('edit', 'delete');
|
||||
$helper->show_toolbar = true;
|
||||
$helper->imageType = 'jpg';
|
||||
$helper->toolbar_btn['new'] = array(
|
||||
'href' => AdminController::$currentIndex.'&configure='.$this->name.'&add'.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules'),
|
||||
'desc' => $this->l('Add new')
|
||||
);
|
||||
|
||||
$helper->title = $this->displayName;
|
||||
$helper->table = $this->name;
|
||||
$helper->token = Tools::getAdminTokenLite('AdminModules');
|
||||
$helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name;
|
||||
|
||||
$content = $this->getListContent($this->context->language->id);
|
||||
|
||||
return $helper->generateList($content, $this->fields_list);
|
||||
}
|
||||
|
||||
protected function getListContent($id_lang = null)
|
||||
{
|
||||
if (is_null($id_lang))
|
||||
$id_lang = (int)Configuration::get('PS_LANG_DEFAULT');
|
||||
|
||||
$sql = 'SELECT r.`id_info`, rl.`text`, s.`name` as shop_name
|
||||
FROM `'._DB_PREFIX_.'info` r
|
||||
LEFT JOIN `'._DB_PREFIX_.'info_lang` rl ON (r.`id_info` = rl.`id_info`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'shop` s ON (r.`id_shop` = s.`id_shop`)
|
||||
WHERE `id_lang` = '.(int)$id_lang.' AND (';
|
||||
|
||||
if ($shop_ids = Shop::getContextListShopID())
|
||||
foreach ($shop_ids as $id_shop)
|
||||
$sql .= ' r.`id_shop` = '.(int)$id_shop.' OR ';
|
||||
|
||||
$sql .= ' r.`id_shop` = 0 )';
|
||||
|
||||
$content = Db::getInstance()->executeS($sql);
|
||||
|
||||
foreach ($content as $key => $value)
|
||||
$content[$key]['text'] = substr(strip_tags($value['text']), 0, 200);
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
public function getFormValues()
|
||||
{
|
||||
$fields_value = array();
|
||||
$id_info = (int)Tools::getValue('id_info');
|
||||
|
||||
foreach (Language::getLanguages(false) as $lang)
|
||||
if ($id_info)
|
||||
{
|
||||
$info = new InfoBlock((int)$id_info);
|
||||
$fields_value['text'][(int)$lang['id_lang']] = $info->text[(int)$lang['id_lang']];
|
||||
}
|
||||
else
|
||||
$fields_value['text'][(int)$lang['id_lang']] = Tools::getValue('text_'.(int)$lang['id_lang'], '');
|
||||
|
||||
$fields_value['id_info'] = $id_info;
|
||||
|
||||
return $fields_value;
|
||||
}
|
||||
|
||||
public function hookHome($params)
|
||||
{
|
||||
$this->context->controller->addCSS($this->_path.'style.css', 'all');
|
||||
if (!$this->isCached('blockcmsinfo.tpl', $this->getCacheId()))
|
||||
{
|
||||
$infos = $this->getInfos($this->context->language->id, $this->context->shop->id);
|
||||
$this->context->smarty->assign(array('infos' => $infos, 'nbblocks' => count($infos)));
|
||||
}
|
||||
|
||||
return $this->display(__FILE__, 'blockcmsinfo.tpl', $this->getCacheId());
|
||||
}
|
||||
|
||||
public function getInfos($id_lang, $id_shop)
|
||||
{
|
||||
$sql = 'SELECT r.`id_info`, r.`id_shop`, rl.`text`
|
||||
FROM `'._DB_PREFIX_.'info` r
|
||||
LEFT JOIN `'._DB_PREFIX_.'info_lang` rl ON (r.`id_info` = rl.`id_info`)
|
||||
WHERE `id_lang` = '.(int)$id_lang.' AND `id_shop` = '.(int)$id_shop;
|
||||
|
||||
return Db::getInstance()->executeS($sql);
|
||||
}
|
||||
|
||||
public function installFixtures()
|
||||
{
|
||||
$return = true;
|
||||
$tab_texts = array(
|
||||
array(
|
||||
'text' => '<ul>
|
||||
<li><em class="icon-truck" id="icon-truck"></em>
|
||||
<div class="type-text">
|
||||
<h3>Lorem Ipsum</h3>
|
||||
<p>Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu</p>
|
||||
</div>
|
||||
</li>
|
||||
<li><em class="icon-phone" id="icon-phone"></em>
|
||||
<div class="type-text">
|
||||
<h3>Dolor Sit Amet</h3>
|
||||
<p>Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu</p>
|
||||
</div>
|
||||
</li>
|
||||
<li><em class="icon-credit-card" id="icon-credit-card"></em>
|
||||
<div class="type-text">
|
||||
<h3>Ctetur Voluptate</h3>
|
||||
<p>Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>'
|
||||
),
|
||||
array(
|
||||
'text' => '<h3>Custom Block</h3>
|
||||
<p><strong class="dark">Lorem ipsum dolor sit amet conse ctetu</strong></p>
|
||||
<p>Sit amet conse ctetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit.</p>'
|
||||
),
|
||||
);
|
||||
|
||||
$shops_ids = Shop::getShops(true, null, true);
|
||||
$return = true;
|
||||
foreach ($tab_texts as $tab)
|
||||
{
|
||||
$info = new InfoBlock();
|
||||
foreach (Language::getLanguages(false) as $lang)
|
||||
$info->text[$lang['id_lang']] = $tab['text'];
|
||||
foreach ($shops_ids as $id_shop)
|
||||
{
|
||||
$info->id_shop = $id_shop;
|
||||
$return &= $info->add();
|
||||
}
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
{*
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@ -19,16 +18,16 @@
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
// Needed for retrocompat
|
||||
function upgrade_module_1_7_6($object)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
*}
|
||||
{if $infos|@count > 0}
|
||||
<!-- MODULE Block cmsinfo -->
|
||||
<div id="cmsinfo_block">
|
||||
{foreach from=$infos item=info}
|
||||
<div class="col-xs-6">{$info.text}</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<!-- /MODULE Block cmsinfo -->
|
||||
{/if}
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@ -19,17 +19,31 @@
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
function upgrade_module_1_8_9($object)
|
||||
class InfoBlock extends ObjectModel
|
||||
{
|
||||
Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'advice` ADD `weight` INT NULL DEFAULT \'1\'');
|
||||
Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'badge` ADD `awb` INT NULL DEFAULT \'0\'');
|
||||
return true;
|
||||
public $id;
|
||||
|
||||
public $id_shop;
|
||||
|
||||
public $text;
|
||||
|
||||
/**
|
||||
* @see ObjectModel::$definition
|
||||
*/
|
||||
public static $definition = array(
|
||||
'table' => 'info',
|
||||
'primary' => 'id_info',
|
||||
'multilang' => true,
|
||||
'fields' => array(
|
||||
'id_shop' => array('type' => self::TYPE_NOTHING, 'validate' => 'isUnsignedId'),
|
||||
// Lang fields
|
||||
'text' => array('type' => self::TYPE_HTML, 'lang' => true, 'validate' => 'isCleanHtml', 'required' => true),
|
||||
)
|
||||
);
|
||||
|
||||
}
|
12
modules/blockcmsinfo/config.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>blockcmsinfo</name>
|
||||
<displayName><![CDATA[Custom CMS information block]]></displayName>
|
||||
<version><![CDATA[1.5.5]]></version>
|
||||
<description><![CDATA[Adds custom information blocks in your store.]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[front_office_features]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
12
modules/blockcmsinfo/config_fr.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>blockcmsinfo</name>
|
||||
<displayName><![CDATA[Bloc CMS d'information client]]></displayName>
|
||||
<version><![CDATA[1.5.5]]></version>
|
||||
<description><![CDATA[Ajoute un bloc d'information client sur votre boutique.]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[front_office_features]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@ -19,7 +19,7 @@
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
@ -31,5 +31,5 @@ header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../');
|
||||
header('Location: ../../');
|
||||
exit;
|
BIN
modules/blockcmsinfo/logo.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
modules/blockcmsinfo/logo.png
Normal file
After Width: | Height: | Size: 339 B |
0
modules/blockcmsinfo/style.css
Normal file
22
modules/blockcmsinfo/translations/fr.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_988659f6c5d3210a3f085ecfecccf5d3'] = 'Bloc CMS d\'information client';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_cd4abd29bdc076fb8fabef674039cd6e'] = 'Ajoute un bloc d\'information client sur votre boutique.';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_666f6333e43c215212b916fef3d94af0'] = 'Vous devez remplir tous les champs.';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_86432715902fbaf53de469fed3fa6c53'] = 'Vous devez sélectionner au moins une boutique.';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_d52eaeff31af37a4a7e0550008aff5df'] = 'Une erreur est survenue lors de la sauvegarde';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_6f16c729fadd8aa164c6c47853983dd2'] = 'Nouveau bloc CMS';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_9dffbf69ffba8bc38bc4e01abf4b1675'] = 'Texte';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_630f6dc397fe74e52d5189e2c80f282b'] = 'Retour à la liste';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_9d55fc80bbb875322aa67fd22fc98469'] = 'Boutiques associées';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_6fcdef6ca2bb47a0cf61cd41ccf274f4'] = 'Identifiant du bloc';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_9f82518d468b9fee614fcc92f76bb163'] = 'Boutique';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_56425383198d22fc8bb296bcca26cecf'] = 'Texte du bloc';
|
||||
$_MODULE['<{blockcmsinfo}prestashop>blockcmsinfo_ef61fb324d729c341ea8ab9901e23566'] = 'Ajouter';
|
||||
|
||||
|
||||
return $_MODULE;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@ -19,7 +19,7 @@
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
@ -113,11 +113,15 @@ class CmsPsPost extends ObjectModel {
|
||||
$relation_product = $this->getRelations('postcms_product');
|
||||
$products = array();
|
||||
if(!empty($relation_product)) {
|
||||
$collection_product = new Collection('Product', $id_lang);
|
||||
$collection_product = new Collection('Product', $id_lang, Context::getContext()->shop->id);
|
||||
$collection_product->where('id_product', 'IN', $relation_product);
|
||||
$collection_product->where('active', '=', 1);
|
||||
$products = $collection_product->getResults();
|
||||
}
|
||||
|
||||
foreach ($products as $key => $product) {
|
||||
$products[$key] = $product->loadReductionInfo();
|
||||
}
|
||||
return $products;
|
||||
}
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
2014-04-22 18:58:34 +0200 // Changelog updated
|
||||
2014-04-10 17:48:25 +0200 //small fix
|
||||
2014-03-25 16:35:25 +0100 //new version of module gamification fixed bug #PSCSX-1368
|
||||
2014-03-21 10:55:00 +0100 Initial commit
|
@ -1,184 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class Advice extends ObjectModel
|
||||
{
|
||||
public $id;
|
||||
|
||||
public $id_ps_advice;
|
||||
|
||||
public $id_tab;
|
||||
|
||||
public $validated;
|
||||
|
||||
public $hide;
|
||||
|
||||
public $selector;
|
||||
|
||||
public $location;
|
||||
|
||||
public $html;
|
||||
|
||||
public $start_day;
|
||||
|
||||
public $stop_day;
|
||||
|
||||
public $weight;
|
||||
|
||||
/**
|
||||
* @see ObjectModel::$definition
|
||||
*/
|
||||
public static $definition = array(
|
||||
'table' => 'advice',
|
||||
'primary' => 'id_advice',
|
||||
'multilang' => true,
|
||||
'fields' => array(
|
||||
'id_ps_advice' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
'id_tab' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
'selector' => array('type' => self::TYPE_STRING),
|
||||
'location' => array('type' => self::TYPE_STRING),
|
||||
'validated' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
|
||||
'start_day' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
'stop_day' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
'weight' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
|
||||
// Lang fields
|
||||
'html' => array('type' => self::TYPE_HTML, 'lang' => true, 'required' => true, 'validate' => 'isString'),
|
||||
),
|
||||
);
|
||||
|
||||
public static function getIdByIdPs($id_ps_advice)
|
||||
{
|
||||
$query = new DbQuery();
|
||||
$query->select('id_advice');
|
||||
$query->from('advice', 'b');
|
||||
$query->where('`id_ps_advice` = '.(int)$id_ps_advice);
|
||||
|
||||
return (int)Db::getInstance()->getValue($query);
|
||||
}
|
||||
|
||||
public static function getValidatedByIdTab($id_tab, $premium = false, $addons = false)
|
||||
{
|
||||
$query = new DbQuery();
|
||||
$query->select('a.`id_ps_advice`, a.`selector`, a.`location`, al.`html`, a.`weight`');
|
||||
$query->from('advice', 'a');
|
||||
$query->join('
|
||||
LEFT JOIN `'._DB_PREFIX_.'advice_lang` al ON al.`id_advice` = a.`id_advice`
|
||||
LEFT JOIN `'._DB_PREFIX_.'tab_advice` at ON at.`id_advice` = a.`id_advice` ');
|
||||
|
||||
$query->where('
|
||||
a.`validated` = 1 AND
|
||||
a.`hide` = 0 AND
|
||||
al.`id_lang` = '.(int)Context::getContext()->language->id.' AND
|
||||
at.`id_tab` = '.(int)$id_tab.' AND
|
||||
((a.`start_day` = 0 AND a.`stop_day` = 0) OR ('.date('d').' >= a.`start_day` AND '.date('d').' <= a.`stop_day`))');
|
||||
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
|
||||
$advices = array();
|
||||
if (is_array($result))
|
||||
foreach ($result as $res)
|
||||
$advices[] = array(
|
||||
'selector' => $res['selector'],
|
||||
'location' => $res['location'],
|
||||
'html' => $res['html'],
|
||||
'id_ps_advice' => $res['id_ps_advice'],
|
||||
'weight' => $res['weight']
|
||||
);
|
||||
if (!$premium)
|
||||
foreach ($advices as $k => $a)
|
||||
if ($a['selector'] == '#dashtrends')
|
||||
unset($advices[$k]);
|
||||
if (!$addons)
|
||||
foreach ($advices as $k => $a)
|
||||
if ($a['selector'] == 'addons')
|
||||
unset($advices[$k]);
|
||||
|
||||
return $advices;
|
||||
}
|
||||
|
||||
public static function getValidatedPremiumByIdTab($id_tab)
|
||||
{
|
||||
$advices = self::getValidatedByIdTab($id_tab, true);
|
||||
|
||||
foreach ($advices as $k => $a)
|
||||
if ($a['selector'] != '#dashtrends')
|
||||
unset($advices[$k]);
|
||||
|
||||
return $advices;
|
||||
}
|
||||
|
||||
public static function getAddonsAdviceByIdTab($id_tab)
|
||||
{
|
||||
$advices = self::getValidatedByIdTab($id_tab, false, true);
|
||||
foreach ($advices as $k => $a)
|
||||
if ($a['selector'] != 'addons')
|
||||
unset($advices[$k]);
|
||||
|
||||
return $advices;
|
||||
}
|
||||
|
||||
public static function getIdsAdviceToValidate()
|
||||
{
|
||||
$ids = array();
|
||||
$query = new DbQuery();
|
||||
$query->select('a.`id_advice`');
|
||||
$query->from('advice', 'a');
|
||||
$query->join('
|
||||
LEFT JOIN `'._DB_PREFIX_.'condition_advice` ca ON ca.`id_advice` = a.`id_advice` AND ca.`display` = 1
|
||||
LEFT JOIN `'._DB_PREFIX_.'condition` c ON c.`id_condition` = ca.`id_condition` AND c.`validated` = 1');
|
||||
$query->where('a.`validated` = 0');
|
||||
$query->groupBy('a.`id_advice`');
|
||||
$query->having('count(*) = SUM(c.`validated`)');
|
||||
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
|
||||
|
||||
if (is_array($result))
|
||||
foreach($result as $advice)
|
||||
$ids[] = $advice['id_advice'];
|
||||
return $ids;
|
||||
}
|
||||
|
||||
public static function getIdsAdviceToUnvalidate()
|
||||
{
|
||||
$ids = array();
|
||||
$query = new DbQuery();
|
||||
$query->select('a.`id_advice`');
|
||||
$query->from('advice', 'a');
|
||||
$query->join('
|
||||
LEFT JOIN `'._DB_PREFIX_.'condition_advice` ca ON ca.`id_advice` = a.`id_advice` AND ca.`display` = 0
|
||||
LEFT JOIN `'._DB_PREFIX_.'condition` c ON c.`id_condition` = ca.`id_condition` AND c.`validated` = 1');
|
||||
$query->where('a.`validated` = 1');
|
||||
$query->groupBy('a.`id_advice`');
|
||||
$query->having('count(*) = SUM(c.`validated`)');
|
||||
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
|
||||
|
||||
if (is_array($result))
|
||||
foreach($result as $advice)
|
||||
$ids[] = $advice['id_advice'];
|
||||
return $ids;
|
||||
}
|
||||
}
|
@ -1,127 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class Badge extends ObjectModel
|
||||
{
|
||||
public $id;
|
||||
|
||||
public $id_ps_badge;
|
||||
|
||||
public $type;
|
||||
|
||||
public $id_group;
|
||||
|
||||
public $group_position;
|
||||
|
||||
public $group_name;
|
||||
|
||||
public $scoring;
|
||||
|
||||
public $validated;
|
||||
|
||||
public $name;
|
||||
|
||||
public $description;
|
||||
|
||||
public $awb;
|
||||
|
||||
const BAGDE_IMG_URL = 'gamification.prestashop.com/api/getBadgeImg';
|
||||
|
||||
/**
|
||||
* @see ObjectModel::$definition
|
||||
*/
|
||||
public static $definition = array(
|
||||
'table' => 'badge',
|
||||
'primary' => 'id_badge',
|
||||
'multilang' => true,
|
||||
'fields' => array(
|
||||
'id_ps_badge' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
'type' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 32),
|
||||
'id_group' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 32),
|
||||
'group_position' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
'scoring' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
'validated' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
|
||||
'awb' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
|
||||
|
||||
// Lang fields
|
||||
'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 64),
|
||||
'description' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCleanHtml', 'size' => 255),
|
||||
'group_name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCleanHtml', 'size' => 255),
|
||||
),
|
||||
);
|
||||
|
||||
public function getBadgeImgUrl()
|
||||
{
|
||||
return Tools::getShopProtocol().self::BAGDE_IMG_URL.'/'.(int)$this->id_ps_badge.'/'.(int)$this->validated.'.png';
|
||||
}
|
||||
|
||||
public function validate()
|
||||
{
|
||||
$this->validated = 1;
|
||||
$this->save();
|
||||
return true;
|
||||
}
|
||||
|
||||
public static function getIdByIdPs($id_ps_badge)
|
||||
{
|
||||
$query = new DbQuery();
|
||||
$query->select('id_badge');
|
||||
$query->from('badge', 'b');
|
||||
$query->where('`id_ps_badge` = '.(int)$id_ps_badge);
|
||||
|
||||
return (int)Db::getInstance()->getValue($query);
|
||||
}
|
||||
|
||||
public static function getIdsBadgesToValidate()
|
||||
{
|
||||
$ids = array();
|
||||
$query = new DbQuery();
|
||||
$query->select('b.`id_badge`');
|
||||
$query->from('badge', 'b');
|
||||
$query->join('
|
||||
LEFT JOIN `'._DB_PREFIX_.'condition_badge` cb ON cb.`id_badge` = b.`id_badge`
|
||||
LEFT JOIN `'._DB_PREFIX_.'condition` c ON c.`id_condition` = cb.`id_condition` AND c.`validated` = 1');
|
||||
$query->where('b.validated = 0');
|
||||
$query->groupBy('b.`id_badge`');
|
||||
$query->having('count(*) = SUM(c.validated)');
|
||||
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
|
||||
|
||||
foreach($result as $badge)
|
||||
$ids[] = $badge['id_badge'];
|
||||
return $ids;
|
||||
}
|
||||
|
||||
public function getNextBadgeId()
|
||||
{
|
||||
$query = new DbQuery();
|
||||
$query->select('b.`id_badge`');
|
||||
$query->from('badge', 'b');
|
||||
$query->where('b.id_group = \''.pSQL($this->id_group).'\' AND b.validated = 0');
|
||||
$query->orderBy('b.group_position');
|
||||
return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query);
|
||||
}
|
||||
}
|
@ -1,340 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class Condition extends ObjectModel
|
||||
{
|
||||
public $id;
|
||||
|
||||
public $id_ps_condition;
|
||||
|
||||
public $type;
|
||||
|
||||
public $request;
|
||||
|
||||
public $operator;
|
||||
|
||||
public $value;
|
||||
|
||||
public $result;
|
||||
|
||||
public $calculation_type;
|
||||
|
||||
public $calculation_detail;
|
||||
|
||||
public $validated;
|
||||
|
||||
public $date_add;
|
||||
|
||||
public $date_upd;
|
||||
|
||||
public static $unauthorized = array('DELETE', 'DROP');
|
||||
|
||||
/**
|
||||
* @see ObjectModel::$definition
|
||||
*/
|
||||
public static $definition = array(
|
||||
'table' => 'condition',
|
||||
'primary' => 'id_condition',
|
||||
'fields' => array(
|
||||
'id_ps_condition' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
'type' => array('type' => self::TYPE_STRING, 'size' => 32),
|
||||
'request' => array('type' => self::TYPE_STRING),
|
||||
'operator' => array('type' => self::TYPE_NOTHING),
|
||||
'value' => array('type' => self::TYPE_STRING),
|
||||
'result' => array('type' => self::TYPE_STRING),
|
||||
'calculation_type' => array('type' => self::TYPE_STRING),
|
||||
'calculation_detail' => array('type' => self::TYPE_STRING),
|
||||
'validated' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
|
||||
'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'),
|
||||
'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'),
|
||||
),
|
||||
);
|
||||
|
||||
public static function getIdByIdPs($id_ps_condition)
|
||||
{
|
||||
$query = new DbQuery();
|
||||
$query->select('id_condition');
|
||||
$query->from('condition', 'c');
|
||||
$query->where('`id_ps_condition` = '.(int)$id_ps_condition);
|
||||
|
||||
return (int)Db::getInstance()->getValue($query);
|
||||
}
|
||||
|
||||
public static function getIdsByHookCalculation($hook_name)
|
||||
{
|
||||
$ids = array();
|
||||
$in = array();
|
||||
|
||||
$sub_query = new DbQuery();
|
||||
$sub_query->select('id_badge');
|
||||
$sub_query->from('badge', 'b');
|
||||
$sub_query->where('b.`validated` = 0');
|
||||
|
||||
$sub_results = Db::getInstance()->executeS($sub_query);
|
||||
|
||||
foreach ($sub_results as $sub_result)
|
||||
$in[] = $sub_result['id_badge'];
|
||||
|
||||
$query = new DbQuery();
|
||||
$query->select('c.`id_condition`');
|
||||
$query->from('condition', 'c');
|
||||
$query->join('LEFT JOIN `'._DB_PREFIX_.'condition_badge` cb ON cb.`id_condition` = c.`id_condition`');
|
||||
$query->where('c.`calculation_type` = \'hook\'');
|
||||
$query->where('c.`calculation_detail` = \''.pSQL($hook_name).'\'');
|
||||
$query->where('c.`validated` = 0');
|
||||
if (count($in))
|
||||
$query->where('cb.`id_badge` IN ('.implode(',', $in).')');
|
||||
$query->groupBy('c.`id_condition`');
|
||||
|
||||
$result = Db::getInstance()->executeS($query);
|
||||
|
||||
foreach($result as $r)
|
||||
$ids[] = $r['id_condition'];
|
||||
|
||||
$sub_query = new DbQuery();
|
||||
$sub_query->select('id_advice');
|
||||
$sub_query->from('advice', 'a');
|
||||
|
||||
$sub_results = Db::getInstance()->executeS($sub_query);
|
||||
|
||||
$in = array();
|
||||
|
||||
foreach ($sub_results as $sub_result)
|
||||
$in[] = $sub_result['id_advice'];
|
||||
|
||||
$query = new DbQuery();
|
||||
$query->select('c.`id_condition`');
|
||||
$query->from('condition', 'c');
|
||||
$query->join('LEFT JOIN `'._DB_PREFIX_.'condition_advice` ca ON ca.`id_condition` = c.`id_condition`');
|
||||
$query->where('c.`calculation_type` = \'hook\'');
|
||||
$query->where('c.`calculation_detail` = \''.pSQL($hook_name).'\'');
|
||||
$query->where('c.`validated` = 0');
|
||||
if (count($in))
|
||||
$query->where('ca.`id_advice` IN ('.implode(',', $in).')');
|
||||
$query->groupBy('c.`id_condition`');
|
||||
$result = Db::getInstance()->executeS($query);
|
||||
|
||||
foreach($result as $r)
|
||||
$ids[] = $r['id_condition'];
|
||||
|
||||
return array_unique($ids);
|
||||
}
|
||||
|
||||
public static function getIdsDailyCalculation()
|
||||
{
|
||||
$ids = array();
|
||||
$in = array();
|
||||
|
||||
//badges conditions validation
|
||||
$sub_query = new DbQuery();
|
||||
$sub_query->select('id_badge');
|
||||
$sub_query->from('badge', 'b');
|
||||
|
||||
$sub_results = Db::getInstance()->executeS($sub_query);
|
||||
|
||||
foreach ($sub_results as $sub_result)
|
||||
$in[] = $sub_result['id_badge'];
|
||||
|
||||
$query = new DbQuery();
|
||||
$query->select('c.`id_condition`');
|
||||
$query->from('condition', 'c');
|
||||
$query->join('LEFT JOIN `'._DB_PREFIX_.'condition_badge` cb ON cb.`id_condition` = c.`id_condition`');
|
||||
$query->where('c.`calculation_type` = \'time\'');
|
||||
$query->where('DATEDIFF(NOW(), `date_upd`) >= `calculation_detail`');
|
||||
$query->where('c.`validated` = 0');
|
||||
if (count($in))
|
||||
$query->where('cb.`id_badge` IN ('.implode(',', $in).')');
|
||||
$query->groupBy('c.`id_condition`');
|
||||
|
||||
$result = Db::getInstance()->executeS($query);
|
||||
|
||||
foreach($result as $r)
|
||||
$ids[] = $r['id_condition'];
|
||||
|
||||
//advice conditions validation
|
||||
$sub_query = new DbQuery();
|
||||
$sub_query->select('id_advice');
|
||||
$sub_query->from('advice', 'a');
|
||||
|
||||
$sub_results = Db::getInstance()->executeS($sub_query);
|
||||
|
||||
$in = array();
|
||||
|
||||
foreach ($sub_results as $sub_result)
|
||||
$in[] = $sub_result['id_advice'];
|
||||
|
||||
$query = new DbQuery();
|
||||
$query->select('c.`id_condition`');
|
||||
$query->from('condition', 'c');
|
||||
$query->join('LEFT JOIN `'._DB_PREFIX_.'condition_advice` ca ON ca.`id_condition` = c.`id_condition`');
|
||||
$query->where('c.`calculation_type` = \'time\'');
|
||||
$query->where('DATEDIFF(NOW(), `date_upd`) >= `calculation_detail`');
|
||||
$query->where('c.`validated` = 0');
|
||||
if (count($in))
|
||||
$query->where('ca.`id_advice` IN ('.implode(',', $in).')');
|
||||
$query->groupBy('c.`id_condition`');
|
||||
|
||||
$result = Db::getInstance()->executeS($query);
|
||||
foreach($result as $r)
|
||||
$ids[] = $r['id_condition'];
|
||||
|
||||
|
||||
return array_unique($ids);
|
||||
}
|
||||
|
||||
public static function getIdsByBadgeGroupPosition($badge_group_position)
|
||||
{
|
||||
$ids = array();
|
||||
|
||||
$sub_query = new DbQuery();
|
||||
$sub_query->select('id_badge');
|
||||
$sub_query->from('badge', 'b');
|
||||
$sub_query->where('b.`group_position` = '.(int)$badge_group_position);
|
||||
$sub_query->where('b.`validated` = 0');
|
||||
$sub_query->groupBy('b.`id_group`');
|
||||
|
||||
$query = new DbQuery();
|
||||
$query->select('c.`id_condition`');
|
||||
$query->from('condition', 'c');
|
||||
$query->join('LEFT JOIN `'._DB_PREFIX_.'condition_badge` cb ON cb.`id_condition` = c.`id_condition`');
|
||||
$query->where('c.`validated` = 0');
|
||||
$query->where('cb.`id_badge` IN ('.$sub_query.')');
|
||||
$query->groupBy('c.`id_condition`');
|
||||
|
||||
$result = Db::getInstance()->executeS($query);
|
||||
foreach($result as $r)
|
||||
$ids[] = $r['id_condition'];
|
||||
|
||||
return $ids;
|
||||
}
|
||||
|
||||
public static function getIdsByBadgeGroup($badge_group)
|
||||
{
|
||||
$ids = array();
|
||||
|
||||
$sub_query = new DbQuery();
|
||||
$sub_query->select('id_badge');
|
||||
$sub_query->from('badge', 'b');
|
||||
$sub_query->where('b.`id_group` = '.(int)$badge_group);
|
||||
$sub_query->where('b.`validated` = 0');
|
||||
$sub_query->groupBy('b.`id_group`');
|
||||
|
||||
$query = new DbQuery();
|
||||
$query->select('c.`id_condition`');
|
||||
$query->from('condition', 'c');
|
||||
$query->join('LEFT JOIN `'._DB_PREFIX_.'condition_badge` cb ON cb.`id_condition` = c.`id_condition`');
|
||||
$query->where('c.`validated` = 0');
|
||||
$query->where('cb.`id_badge` IN ('.$sub_query.')');
|
||||
$query->groupBy('c.`id_condition`');
|
||||
|
||||
$result = Db::getInstance()->executeS($query);
|
||||
foreach($result as $r)
|
||||
$ids[] = $r['id_condition'];
|
||||
|
||||
return $ids;
|
||||
}
|
||||
|
||||
public function processCalculation()
|
||||
{
|
||||
switch ($this->type)
|
||||
{
|
||||
case 'configuration':
|
||||
$this->processConfiguration();
|
||||
break;
|
||||
case 'install':
|
||||
$this->processInstall();
|
||||
break;
|
||||
case 'sql':
|
||||
$this->processSql();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
protected function processSql()
|
||||
{
|
||||
if (preg_match('/'.implode('|', self::$unauthorized).'/', $this->request))
|
||||
return false;
|
||||
|
||||
try {
|
||||
$this->result = (int)Db::getInstance()->getValue(GamificationTools::parseMetaData($this->request));
|
||||
} catch (Exception $e) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($this->makeCalculation($this->operator, $this->result, $this->value))
|
||||
$this->validated = 1;
|
||||
$this->save();
|
||||
}
|
||||
|
||||
protected function processConfiguration()
|
||||
{
|
||||
$this->result = Configuration::get($this->request);
|
||||
if ($this->result = $this->makeCalculation($this->operator, $this->result, $this->value))
|
||||
$this->validated = 1;
|
||||
$this->save();
|
||||
}
|
||||
|
||||
protected function processInstall()
|
||||
{
|
||||
$install = strtotime(_PS_CREATION_DATE_.' 00:00:00');
|
||||
$value = strtotime('+ '.(int)$this->value.' day', $install);
|
||||
$this->result = $this->makeCalculation($this->operator, (time() - $install), $value - $install);
|
||||
if ($this->result)
|
||||
$this->validated = 1;
|
||||
|
||||
$this->save();
|
||||
}
|
||||
|
||||
protected function makeCalculation($operator, $arg1, $arg2)
|
||||
{
|
||||
$result = false;
|
||||
switch ($operator)
|
||||
{
|
||||
case '>':
|
||||
$result = $arg1 > $arg2;
|
||||
break;
|
||||
case '>=':
|
||||
$result = $arg1 >= $arg2;
|
||||
break;
|
||||
case '<':
|
||||
$result = $arg1 < $arg2;
|
||||
break;
|
||||
case '<=':
|
||||
$result = $arg1 <= $arg2;
|
||||
break;
|
||||
case '==':
|
||||
$result = $arg1 == $arg2;
|
||||
break;
|
||||
case '!=':
|
||||
$result = $arg1 != $arg2;
|
||||
break;
|
||||
break;
|
||||
}
|
||||
return (bool)$result;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class GamificationTools
|
||||
{
|
||||
public static function parseMetaData($content)
|
||||
{
|
||||
$meta_data = array(
|
||||
'PREFIX_' => _DB_PREFIX_,
|
||||
);
|
||||
//replace define
|
||||
$content = str_replace(array_keys($meta_data), array_values($meta_data), $content);
|
||||
|
||||
//replace meta data
|
||||
$content = preg_replace_callback('#\{config\}([a-zA-Z0-9_-]*)\{/config\}#', create_function('$matches','return Configuration::get($matches[1]);'), $content);
|
||||
$content = preg_replace_callback('#\{link\}(.*)\{/link\}#', create_function('$matches','return Context::getContext()->link->getAdminLink($matches[1]);'), $content);
|
||||
$content = preg_replace_callback('#\{employee\}(.*)\{/employee\}#', create_function('$matches','return Context::getContext()->employee->$matches[1];'), $content);
|
||||
$content = preg_replace_callback('#\{language\}(.*)\{/language\}#', create_function('$matches','return Context::getContext()->language->$matches[1];'), $content);
|
||||
$content = preg_replace_callback('#\{country\}(.*)\{/country\}#', create_function('$matches','return Context::getContext()->country->$matches[1];'), $content);
|
||||
|
||||
return $content;
|
||||
}
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>gamification</name>
|
||||
<displayName><![CDATA[Merchant Expertise]]></displayName>
|
||||
<version><![CDATA[1.10.3]]></version>
|
||||
<description><![CDATA[Become an e-commerce expert within the blink of an eye!]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[administration]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>gamification</name>
|
||||
<displayName><![CDATA[Expertise PrestaShop]]></displayName>
|
||||
<version><![CDATA[1.10.3]]></version>
|
||||
<description><![CDATA[Devenez un marchand accompli à pas de géant !]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[administration]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
@ -1,320 +0,0 @@
|
||||
<?php
|
||||
|
||||
include_once dirname(__FILE__).'/../../classes/Condition.php';
|
||||
|
||||
class AdminGamificationController extends ModuleAdminController
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->bootstrap = true;
|
||||
$this->display = 'view';
|
||||
$this->meta_title = $this->l('Your Merchant Expertise');
|
||||
parent::__construct();
|
||||
if (!$this->module->active)
|
||||
Tools::redirectAdmin($this->context->link->getAdminLink('AdminHome'));
|
||||
}
|
||||
|
||||
public function setMedia()
|
||||
{
|
||||
$this->addJqueryUI('ui.progressbar');
|
||||
$this->addJS(_MODULE_DIR_.$this->module->name.'/views/js/bubble-popup.js');
|
||||
|
||||
if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true)
|
||||
$this->addJs(_MODULE_DIR_.$this->module->name.'/views/js/gamification_bt.js');
|
||||
else
|
||||
$this->addJs(_MODULE_DIR_.$this->module->name.'/views/js/gamification.js');
|
||||
|
||||
$this->addJs(_MODULE_DIR_.$this->module->name.'/views/js/jquery.isotope.js');
|
||||
$this->addCSS(array(_MODULE_DIR_.$this->module->name.'/views/css/bubble-popup.css', _MODULE_DIR_.$this->module->name.'/views/css/isotope.css'));
|
||||
|
||||
return parent::setMedia();
|
||||
}
|
||||
|
||||
public function initToolBarTitle()
|
||||
{
|
||||
$this->toolbar_title[] = $this->l('Administration');
|
||||
$this->toolbar_title[] = $this->l('Merchant Expertise');
|
||||
}
|
||||
|
||||
public function initPageHeaderToolbar()
|
||||
{
|
||||
parent::initPageHeaderToolbar();
|
||||
unset($this->page_header_toolbar_btn['back']);
|
||||
|
||||
}
|
||||
|
||||
public function renderView()
|
||||
{
|
||||
$badges_feature = new Collection('badge', $this->context->language->id);
|
||||
$badges_feature->sqlWhere('(type = \'feature\' AND awb = 0) OR (awb = 1 AND validated = 1)');
|
||||
$badges_feature->orderBy('awb');
|
||||
$badges_feature->orderBy('id_group');
|
||||
$badges_feature->orderBy('group_position');
|
||||
|
||||
$badges_achievement = new Collection('badge', $this->context->language->id);
|
||||
$badges_achievement->sqlWhere('type = \'achievement\' AND awb != 1');
|
||||
$badges_achievement->orderBy('id_group');
|
||||
$badges_achievement->orderBy('group_position');
|
||||
|
||||
$badges_international = new Collection('badge', $this->context->language->id);
|
||||
$badges_international->sqlWhere('type = \'international\' AND awb != 1');
|
||||
$badges_international->orderBy('id_group');
|
||||
$badges_international->orderBy('group_position');
|
||||
|
||||
$groups = array();
|
||||
$query = new DbQuery();
|
||||
$query->select('DISTINCT(b.`id_group`), bl.group_name, b.type');
|
||||
$query->from('badge', 'b');
|
||||
$query->join('
|
||||
LEFT JOIN `'._DB_PREFIX_.'badge_lang` bl ON bl.`id_badge` = b.`id_badge`');
|
||||
$query->where('bl.id_lang = '.(int)$this->context->language->id);
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
|
||||
|
||||
foreach ($result as $res)
|
||||
$groups['badges_'.$res['type']][$res['id_group']] = $res['group_name'];
|
||||
|
||||
$badges_type = array(
|
||||
'badges_feature' => array('name' => $this->l('Features'), 'badges' => $badges_feature),
|
||||
'badges_achievement' => array('name' => $this->l('Achievements'), 'badges' => $badges_achievement),
|
||||
'badges_international' => array('name' => $this->l('International'), 'badges' => $badges_international),
|
||||
);
|
||||
|
||||
$levels = array(
|
||||
1 => $this->l('1. Beginner'),
|
||||
2 => $this->l('2. Pro'),
|
||||
3 => $this->l('3. Expert'),
|
||||
4 => $this->l('4. Wizard'),
|
||||
5 => $this->l('5. Guru'),
|
||||
6 => $this->l('6. Legend'),
|
||||
);
|
||||
|
||||
$this->tpl_view_vars = array(
|
||||
'badges_type' => $badges_type,
|
||||
'current_level_percent' => (int)Configuration::get('GF_CURRENT_LEVEL_PERCENT'),
|
||||
'current_level' => (int)Configuration::get('GF_CURRENT_LEVEL'),
|
||||
'groups' => $groups,
|
||||
'levels' => $levels,
|
||||
);
|
||||
|
||||
if (version_compare(_PS_VERSION_, '1.5.6.0', '>'))
|
||||
$this->base_tpl_view = 'view_bt.tpl';
|
||||
|
||||
return parent::renderView();
|
||||
}
|
||||
|
||||
public function ajaxProcessDisableNotification()
|
||||
{
|
||||
Configuration::updateGlobalValue('GF_NOTIFICATION', 0);
|
||||
}
|
||||
|
||||
public function ajaxProcessGamificationTasks()
|
||||
{
|
||||
if (!Configuration::get('GF_INSTALL_CALC'))
|
||||
{
|
||||
$this->processRefreshData();
|
||||
$this->processInstallCalculation();
|
||||
Configuration::updateGlobalValue('GF_INSTALL_CALC', 1);
|
||||
}
|
||||
|
||||
$return = array(
|
||||
'refresh_data' => $this->processRefreshData(),
|
||||
'daily_calculation' => $this->processMakeDailyCalculation(),
|
||||
'advice_validation' => $this->processAdviceValidation()
|
||||
);
|
||||
|
||||
$return['advices_to_display'] = $this->processGetAdvicesToDisplay();
|
||||
//get only one random advice by tab
|
||||
if (count($return['advices_to_display']['advices']) > 1)
|
||||
{
|
||||
$rand = rand(0, count($return['advices_to_display']['advices'])-1);
|
||||
$return['advices_to_display']['advices'] = array($return['advices_to_display']['advices'][$rand]);
|
||||
}
|
||||
|
||||
if (Tab::getIdFromClassName('AdminDashboard') == Tools::getValue('id_tab'))
|
||||
{
|
||||
$return['advices_premium_to_display'] = $this->processGetAdvicesToDisplay(true);
|
||||
|
||||
if (count($return['advices_premium_to_display']['advices']) >= 2)
|
||||
{
|
||||
$weighted_advices_array = array();
|
||||
foreach ($return['advices_premium_to_display']['advices'] as $prem_advice)
|
||||
{
|
||||
$loop_flag = (int)$prem_advice['weight'];
|
||||
if ($loop_flag)
|
||||
{
|
||||
for ($i = 0; $i != $loop_flag; $i++)
|
||||
$weighted_advices_array[] = $prem_advice;
|
||||
}
|
||||
else
|
||||
$weighted_advices_array[] = $prem_advice;
|
||||
|
||||
}
|
||||
$rand = rand(0, count($weighted_advices_array)-1);
|
||||
do
|
||||
{
|
||||
$rand2 = rand(0, count($weighted_advices_array)-1);
|
||||
}while ($rand == $rand2);
|
||||
|
||||
$return['advices_premium_to_display']['advices'] = array($weighted_advices_array[$rand], $weighted_advices_array[$rand2]);
|
||||
}
|
||||
else if (count($return['advices_premium_to_display']['advices']) > 0)
|
||||
{
|
||||
$addons = Advice::getAddonsAdviceByIdTab((int)Tools::getValue('id_tab'));
|
||||
$return['advices_premium_to_display']['advices'][] = $addons[0];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$return['level_badge_validation'] = $this->processLevelAndBadgeValidation(Badge::getIdsBadgesToValidate());
|
||||
$return['header_notification'] = $this->module->renderHeaderNotification();
|
||||
|
||||
die(Tools::jsonEncode($return));
|
||||
}
|
||||
|
||||
public function processRefreshData()
|
||||
{
|
||||
return $this->module->refreshDatas();
|
||||
}
|
||||
|
||||
public function processGetAdvicesToDisplay($only_premium = false)
|
||||
{
|
||||
$return = array('advices' => array());
|
||||
|
||||
|
||||
$id_tab = (int)Tools::getValue('id_tab');
|
||||
$ids_ps_advice = Tools::getValue('ids_ps_advice');
|
||||
|
||||
if ($only_premium)
|
||||
$advices = Advice::getValidatedPremiumByIdTab($id_tab);
|
||||
else
|
||||
$advices = Advice::getValidatedByIdTab($id_tab);
|
||||
|
||||
if (is_array($ids_ps_advice))
|
||||
foreach ($advices as $advice)
|
||||
if (is_array($ids_ps_advice) && in_array($advice['id_ps_advice'], $ids_ps_advice))
|
||||
$return['advices'][] = array(
|
||||
'selector' => $advice['selector'],
|
||||
'html' => GamificationTools::parseMetaData($advice['html']),
|
||||
'location' => $advice['location'],
|
||||
'weight' => (int)$advice['weight']
|
||||
);
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function processMakeDailyCalculation()
|
||||
{
|
||||
$return = true;
|
||||
$condition_ids = Condition::getIdsDailyCalculation();
|
||||
foreach ($condition_ids as $id)
|
||||
{
|
||||
$cond = new Condition((int)$id);
|
||||
$return &= $cond->processCalculation();
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function processAdviceValidation()
|
||||
{
|
||||
$return = true;
|
||||
$advices_to_validate = Advice::getIdsAdviceToValidate();
|
||||
$advices_to_unvalidate = Advice::getIdsAdviceToUnvalidate();
|
||||
|
||||
foreach ($advices_to_validate as $id)
|
||||
{
|
||||
$advice = new Advice((int)$id);
|
||||
$advice->validated = 1;
|
||||
$return &= $advice->save();
|
||||
}
|
||||
|
||||
foreach ($advices_to_unvalidate as $id)
|
||||
{
|
||||
$advice = new Advice((int)$id);
|
||||
$advice->validated = 0;
|
||||
$return &= $advice->save();
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function processLevelAndBadgeValidation($ids_badge)
|
||||
{
|
||||
$return = true;
|
||||
$current_level = (int)Configuration::get('GF_CURRENT_LEVEL');
|
||||
$current_level_percent = (int)Configuration::get('GF_CURRENT_LEVEL_PERCENT');
|
||||
|
||||
$not_viewed_badge = explode('|', ltrim(Configuration::get('GF_NOT_VIEWED_BADGE', ''), ''));
|
||||
$nbr_notif = Configuration::get('GF_NOTIFICATION', 0);
|
||||
|
||||
if (count($ids_badge))
|
||||
$not_viewed_badge = array(); //reset the last badge only if there is new badge to validate
|
||||
|
||||
foreach ($ids_badge as $id)
|
||||
{
|
||||
$badge = new Badge((int)$id);
|
||||
if (($badge->scoring + $current_level_percent) >= 100)
|
||||
{
|
||||
$current_level ++;
|
||||
$current_level_percent = $badge->scoring + $current_level_percent - 100;
|
||||
}
|
||||
else
|
||||
$current_level_percent += $badge->scoring;
|
||||
|
||||
$return &= $badge->validate();
|
||||
$condition_ids = Condition::getIdsByBadgeGroup($badge->id_group);
|
||||
if (is_array($condition_ids) && count($condition_ids))
|
||||
{
|
||||
foreach ($condition_ids as $id)
|
||||
{
|
||||
$cond = new Condition((int)$id);
|
||||
$cond->processCalculation();
|
||||
unset($cond);
|
||||
}
|
||||
$new_ids_badge = Badge::getIdsBadgesToValidate();
|
||||
$this->processLevelAndBadgeValidation($new_ids_badge);
|
||||
}
|
||||
|
||||
$nbr_notif ++;
|
||||
$not_viewed_badge[] = $badge->id;
|
||||
}
|
||||
|
||||
Configuration::updateGlobalValue('GF_NOTIFICATION', (int)$nbr_notif);
|
||||
Configuration::updateGlobalValue('GF_NOT_VIEWED_BADGE', implode('|', array_unique($not_viewed_badge)));
|
||||
Configuration::updateGlobalValue('GF_CURRENT_LEVEL', (int)$current_level);
|
||||
Configuration::updateGlobalValue('GF_CURRENT_LEVEL_PERCENT', (int)$current_level_percent);
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function processInstallCalculation()
|
||||
{
|
||||
$group_position = 1;
|
||||
do
|
||||
{
|
||||
$condition_ids = Condition::getIdsByBadgeGroupPosition($group_position);
|
||||
foreach ($condition_ids as $id)
|
||||
{
|
||||
$cond = new Condition((int)$id);
|
||||
$cond->processCalculation();
|
||||
unset($cond);
|
||||
}
|
||||
$group_position ++;
|
||||
}while(count($condition_ids));
|
||||
}
|
||||
|
||||
public function ajaxProcessSavePreactivationRequest()
|
||||
{
|
||||
$isoUser = Context::getContext()->language->iso_code;
|
||||
$isoCountry = Context::getContext()->country->iso_code;
|
||||
$employee = new Employee((int)Context::getContext()->cookie->id_employee);
|
||||
$firstname = $employee->firstname;
|
||||
$lastname = $employee->lastname;
|
||||
$email = $employee->email;
|
||||
$return = @Tools::file_get_contents('http://api.prestashop.com/partner/premium/set_request.php?iso_country='.strtoupper($isoCountry).'&iso_lang='.strtolower($isoUser).'&host='.urlencode($_SERVER['HTTP_HOST']).'&ps_version='._PS_VERSION_.'&ps_creation='._PS_CREATION_DATE_.'&partner='.htmlentities(Tools::getValue('module')).'&shop='.urlencode(Configuration::get('PS_SHOP_NAME')).'&email='.urlencode($email).'&firstname='.urlencode($firstname).'&lastname='.urlencode($lastname).'&type=home');
|
||||
die($return);
|
||||
}
|
||||
|
||||
public function ajaxProcessCloseAdvice()
|
||||
{
|
||||
$id_advice = Advice::getIdByIdPs((int)Tools::getValue('id_advice'));
|
||||
Db::getInstance()->execute('UPDATE `'._DB_PREFIX_.'advice` SET `hide` = \'1\' WHERE `id_advice` = '.(int)$id_advice.';');
|
||||
die();
|
||||
}
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{gamification}prestashop>gamification_3d4aafb2eedeba2fbf92e852f0af745a'] = 'Handelserfolg';
|
||||
$_MODULE['<{gamification}prestashop>gamification_bacc1bf300527bad9c6ac2d3b875a8d8'] = 'E-Commerce-Experte im Handumdrehn!';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_ca96b4f8d13722aac99da25f94ea1711'] = 'Ihr Handelserfolg';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_98f770b0af18ca763421bac22b4b6805'] = 'Maßnahmen';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_f5c7922da355fd289ec1d6469e0583a7'] = 'Erreichte Ziele';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8189ecf686157db0c0274c1f49373318'] = 'International';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_851f12a0c936baace7f0e734d5c624e7'] = '1. Anfänger';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_583981a16ea761fe852b64094d8a887e'] = '2. Profi';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_38f7af7416ffcd1524d8a4acda756cbf'] = '3. Experte';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e7613fe56cdbeddfc9bb6276fd0f0d12'] = '4.Genie';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8d03eaad7ff7babdd33c2c74fe479ed0'] = '5. Guru';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e4be4f3e3ae4ee9dda6b60815bf774c1'] = '6. Legende';
|
||||
$_MODULE['<{gamification}prestashop>filters_1aa4c641d6920ddb97a2562f8ec53853'] = 'Gruppe:';
|
||||
$_MODULE['<{gamification}prestashop>filters_b1c94ca2fbc3e78fc30069c8d0f01680'] = 'Alle';
|
||||
$_MODULE['<{gamification}prestashop>filters_24a23d787190f2c4812ff9ab11847a72'] = 'Status:';
|
||||
$_MODULE['<{gamification}prestashop>filters_5364259abab90e94890f2ed2481b9824'] = 'geprüft';
|
||||
$_MODULE['<{gamification}prestashop>filters_dc450ba947e6adecbdbe68c25de03a1b'] = 'ungeprüft';
|
||||
$_MODULE['<{gamification}prestashop>filters_07ad815187b53dc2ceaf5ad6e0a12bb1'] = 'Ebene:';
|
||||
$_MODULE['<{gamification}prestashop>view_a0db49ba470c1c9ae2128c3470339153'] = 'Ebene';
|
||||
$_MODULE['<{gamification}prestashop>view_2a0ab6a9172272d54f0d601b0ac157f3'] = 'Ihr Quantensprung zum E-Commerce-Experten!';
|
||||
$_MODULE['<{gamification}prestashop>view_cb3d475bd997e38c100704631dbab020'] = 'Halten Sie sich stets auf dem Laufenden über all die großartigen Funktionen und Vorteile, die PrestaShop bietet! ';
|
||||
$_MODULE['<{gamification}prestashop>view_2c3193c85bb2555c333adfcfb824804a'] = 'Alle angebotenen Features dienen nur einem Ziel: Ihrem Erfolg inn der Welt des E-Commerce. Um dies zu erreichen, haben wir ein System von Abzeichen und Punkten entwickelt, die auf einfache Weise Ihren Fortschritte als Händler markieren. Wir haben die systematische Bewertung auf drei Ebenen konzentriert, auf denen sich ihr erfolgreicher Aufstieg in der Welt des E-Commerce vollzieht: (1) Ihre Nutzung der E-Commerce-Schlüsselfunktionen Ihres Shops, (2) Ihre Umsatzentwicklung, (3) Ihre Präsenz in internationalen Märkten.';
|
||||
$_MODULE['<{gamification}prestashop>view_6b766dc388ad21053bde0f8fd95d1e04'] = 'Je mehr Fortschritte Ihr Shop macht, desto mehr Abzeichen und Punkte bekommen Sie! Alles geschieht vollautomatisch - sie brauchen uns also keinerlei Eckdaten zu übermitteln oder irgendwelche Formulare auszufüllen. Wir wissen doch, dass Zeit Geld für Sie bedeutet.';
|
||||
$_MODULE['<{gamification}prestashop>view_21dc1cfc9ef1cdfbb665cab323d5e1a9'] = 'Nach einem Klick auf den Button sehen Sie verkaufsfördernde Maßnahmen, die sie vielleicht versäumt haben. Nutzen Sie den Vorteil und überprüfen Sie das Untenstehende!';
|
||||
$_MODULE['<{gamification}prestashop>view_8ba134cf899d862079bbf3964bc7d7d4'] = 'Unser Team hilft Ihnen bei Ihrem Fortschritt - Kontaktieren Sie uns jetzt!';
|
||||
$_MODULE['<{gamification}prestashop>view_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefon';
|
||||
$_MODULE['<{gamification}prestashop>view_b39131f9b4f81406be4f9cca784f99c8'] = 'Per Telefon: +1 (888) 9476543 ';
|
||||
$_MODULE['<{gamification}prestashop>view_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-Mail';
|
||||
$_MODULE['<{gamification}prestashop>view_119c7e70192829bf606e3774254c6167'] = 'Per E-Mail';
|
||||
$_MODULE['<{gamification}prestashop>view_6b6ac7834d96afefbca5677814769109'] = 'Grad der Erfüllung';
|
||||
$_MODULE['<{gamification}prestashop>view_82338dd23ce2fd2f6d3606c20f4ee96e'] = 'Kein Abzeichen für diese Abteilung';
|
||||
$_MODULE['<{gamification}prestashop>notification_a0db49ba470c1c9ae2128c3470339153'] = 'Ebene';
|
||||
$_MODULE['<{gamification}prestashop>notification_ca96b4f8d13722aac99da25f94ea1711'] = 'Ihr Handelserfolg';
|
||||
$_MODULE['<{gamification}prestashop>notification_16a1daea9e8873542aec1e820798aa44'] = 'Letztes Abzeichen :';
|
||||
$_MODULE['<{gamification}prestashop>notification_15377177c0259c6f79341cc57da13f19'] = 'Nächstes Abzeichen :';
|
||||
$_MODULE['<{gamification}prestashop>notification_f8978f781f97e6f851e9c8f7059c37b2'] = 'Zeile mein volles Profil';
|
@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{gamification}prestashop>gamification_3d4aafb2eedeba2fbf92e852f0af745a'] = 'Expertise PrestaShop';
|
||||
$_MODULE['<{gamification}prestashop>gamification_bacc1bf300527bad9c6ac2d3b875a8d8'] = 'Devenez un marchand accompli à pas de géant !';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_ca96b4f8d13722aac99da25f94ea1711'] = 'Votre Expertise PrestaShop';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_98f770b0af18ca763421bac22b4b6805'] = 'Fonctionnalités';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_f5c7922da355fd289ec1d6469e0583a7'] = 'Succès';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8189ecf686157db0c0274c1f49373318'] = 'International';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_851f12a0c936baace7f0e734d5c624e7'] = '1. Débutant';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_583981a16ea761fe852b64094d8a887e'] = '2. Pro';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_38f7af7416ffcd1524d8a4acda756cbf'] = '3. Expert';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e7613fe56cdbeddfc9bb6276fd0f0d12'] = '4. Maître';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8d03eaad7ff7babdd33c2c74fe479ed0'] = '5. Gourou';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e4be4f3e3ae4ee9dda6b60815bf774c1'] = '6. Légende';
|
||||
$_MODULE['<{gamification}prestashop>filters_e659b52eba1f0299b2d8ca3483919e72'] = 'Type :';
|
||||
$_MODULE['<{gamification}prestashop>filters_b1c94ca2fbc3e78fc30069c8d0f01680'] = 'Tous';
|
||||
$_MODULE['<{gamification}prestashop>filters_18325105de95083e4a1d10b78f29c2bc'] = 'Etat :';
|
||||
$_MODULE['<{gamification}prestashop>filters_5364259abab90e94890f2ed2481b9824'] = 'Validé';
|
||||
$_MODULE['<{gamification}prestashop>filters_dc450ba947e6adecbdbe68c25de03a1b'] = 'Non validé';
|
||||
$_MODULE['<{gamification}prestashop>filters_07ad815187b53dc2ceaf5ad6e0a12bb1'] = 'Niveau :';
|
||||
$_MODULE['<{gamification}prestashop>view_a0db49ba470c1c9ae2128c3470339153'] = 'Niveau';
|
||||
$_MODULE['<{gamification}prestashop>view_2a0ab6a9172272d54f0d601b0ac157f3'] = 'Devenez un marchand accompli à pas de géant !';
|
||||
$_MODULE['<{gamification}prestashop>view_cb3d475bd997e38c100704631dbab020'] = 'L\'équipe PrestaShop vous accompagne dans votre aventure e-commerce : au fil des progrès réalisés dans la conception et l\'administration de votre boutique en ligne, nous vous décernons des badges symbolisant votre niveau d\'expertise.';
|
||||
$_MODULE['<{gamification}prestashop>view_2c3193c85bb2555c333adfcfb824804a'] = 'A chaque badge décerné, vous gagnez des points et nous vous présentons la prochaine action à réaliser selon votre activité. Vous êtes ainsi guidé(e) vers une boutique parfaitement configurée et optimisée pour votre succès !';
|
||||
$_MODULE['<{gamification}prestashop>view_6b766dc388ad21053bde0f8fd95d1e04'] = 'Nous avons défini 3 thèmes essentiels pour évaluer le niveau de développement de votre boutique : les fonctionnalités clés à configurer, vos performances commerciales et votre visibilité à l\'international.';
|
||||
$_MODULE['<{gamification}prestashop>view_21dc1cfc9ef1cdfbb665cab323d5e1a9'] = 'A vous de jouer !';
|
||||
$_MODULE['<{gamification}prestashop>view_8ba134cf899d862079bbf3964bc7d7d4'] = 'Notre équipe est à votre disposition pour vous aider à progresser... Contactez-nous !';
|
||||
$_MODULE['<{gamification}prestashop>view_bcc254b55c4a1babdf1dcb82c207506b'] = 'Téléphone';
|
||||
$_MODULE['<{gamification}prestashop>view_b39131f9b4f81406be4f9cca784f99c8'] = 'Par téléphone : +33 (0)1 40 18 30 04';
|
||||
$_MODULE['<{gamification}prestashop>view_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email';
|
||||
$_MODULE['<{gamification}prestashop>view_119c7e70192829bf606e3774254c6167'] = 'Par email';
|
||||
$_MODULE['<{gamification}prestashop>view_6b6ac7834d96afefbca5677814769109'] = 'Progrès';
|
||||
$_MODULE['<{gamification}prestashop>view_82338dd23ce2fd2f6d3606c20f4ee96e'] = 'Pas de badge dans cette section';
|
||||
$_MODULE['<{gamification}prestashop>notification_a0db49ba470c1c9ae2128c3470339153'] = 'Niveau';
|
||||
$_MODULE['<{gamification}prestashop>notification_ca96b4f8d13722aac99da25f94ea1711'] = 'Votre Expertise PrestaShop';
|
||||
$_MODULE['<{gamification}prestashop>notification_16a1daea9e8873542aec1e820798aa44'] = 'Dernier badge gagné :';
|
||||
$_MODULE['<{gamification}prestashop>notification_15377177c0259c6f79341cc57da13f19'] = 'Prochain badge :';
|
||||
$_MODULE['<{gamification}prestashop>notification_f8978f781f97e6f851e9c8f7059c37b2'] = 'Voir mon profil complet';
|
@ -1,513 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
include_once dirname(__FILE__).'/classes/Badge.php';
|
||||
include_once dirname(__FILE__).'/classes/Advice.php';
|
||||
include_once dirname(__FILE__).'/classes/Condition.php';
|
||||
include_once dirname(__FILE__).'/classes/GamificationTools.php';
|
||||
|
||||
class Gamification extends Module
|
||||
{
|
||||
/* We recommend to not set it to true in production environment. */
|
||||
const TEST_MODE = false;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'gamification';
|
||||
$this->tab = 'administration';
|
||||
$this->version = '1.10.3';
|
||||
$this->author = 'PrestaShop';
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('Merchant Expertise');
|
||||
$this->description = $this->l('Become an e-commerce expert within the blink of an eye!');
|
||||
$this->cache_data = dirname(__FILE__).'/data/';
|
||||
$this->url_data = 'http://gamification.prestashop.com/json/';
|
||||
if (self::TEST_MODE === true)
|
||||
$this->url_data .= 'test/';
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
if (Db::getInstance()->getValue('SELECT `id_module` FROM `'._DB_PREFIX_.'module` WHERE name =\''.pSQL($this->name).'\''))
|
||||
return true;
|
||||
|
||||
Tools::deleteDirectory($this->cache_data, false);
|
||||
if (!$this->installDb() || !$this->installTab() ||
|
||||
!Configuration::updateGlobalValue('GF_INSTALL_CALC', 0) ||
|
||||
!Configuration::updateGlobalValue('GF_CURRENT_LEVEL', 1) || !Configuration::updateGlobalValue('GF_CURRENT_LEVEL_PERCENT', 0) ||
|
||||
!Configuration::updateGlobalValue('GF_NOTIFICATION', 0) || !parent::install() || !$this->registerHook('displayBackOfficeHeader'))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public function uninstall()
|
||||
{
|
||||
if (!parent::uninstall() || !$this->uninstallTab() ||
|
||||
!$this->uninstallDb() || !Configuration::updateGlobalValue('GF_CURRENT_LEVEL', 1) ||
|
||||
!Configuration::updateGlobalValue('GF_NOTIFICATION', 0) ||
|
||||
!Configuration::updateGlobalValue('GF_INSTALL_CALC', 0) ||
|
||||
!Configuration::updateGlobalValue('GF_CURRENT_LEVEL_PERCENT', 0))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public function installDb()
|
||||
{
|
||||
$return = true;
|
||||
include(dirname(__FILE__).'/sql_install.php');
|
||||
foreach ($sql as $s)
|
||||
$return &= Db::getInstance()->execute($s);
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function uninstallDb()
|
||||
{
|
||||
include(dirname(__FILE__).'/sql_install.php');
|
||||
foreach ($sql as $name => $v)
|
||||
Db::getInstance()->execute('DROP TABLE '.$name);
|
||||
return true;
|
||||
}
|
||||
|
||||
public function installTab()
|
||||
{
|
||||
$tab = new Tab();
|
||||
$tab->active = 1;
|
||||
$tab->class_name = 'AdminGamification';
|
||||
$tab->name = array();
|
||||
foreach (Language::getLanguages(true) as $lang)
|
||||
$tab->name[$lang['id_lang']] = 'Merchant Expertise';
|
||||
$tab->id_parent = (int)Tab::getIdFromClassName('AdminAdmin');
|
||||
$tab->module = $this->name;
|
||||
return $tab->add();
|
||||
}
|
||||
|
||||
public function uninstallTab()
|
||||
{
|
||||
$id_tab = (int)Tab::getIdFromClassName('AdminGamification');
|
||||
if ($id_tab)
|
||||
{
|
||||
$tab = new Tab($id_tab);
|
||||
return $tab->delete();
|
||||
}
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
Tools::redirectAdmin($this->context->link->getAdminLink('AdminGamification'));
|
||||
}
|
||||
|
||||
public function __call($name, $arguments)
|
||||
{
|
||||
if (!empty(self::$_batch_mode))
|
||||
self::$_defered_func_call[get_class().'::__call_'.$name] = array(array($this, '__call'), array($name, $arguments));
|
||||
else
|
||||
{
|
||||
if (!Validate::isHookName($name))
|
||||
return false;
|
||||
|
||||
$name = str_replace('hook', '', $name);
|
||||
|
||||
if ($retro_name = Db::getInstance()->getValue('SELECT `name` FROM `'._DB_PREFIX_.'hook_alias` WHERE `alias` = \''.pSQL($name).'\''))
|
||||
$name = $retro_name;
|
||||
|
||||
$condition_ids = Condition::getIdsByHookCalculation($name);
|
||||
foreach ($condition_ids as $id)
|
||||
{
|
||||
$cond = new Condition((int)$id);
|
||||
$cond->processCalculation();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function isUpdating()
|
||||
{
|
||||
$db_version = Db::getInstance()->getValue('SELECT `version` FROM `'._DB_PREFIX_.'module` WHERE `name` = \''.pSQL($this->name).'\'');
|
||||
return version_compare($this->version, $db_version, '>');
|
||||
}
|
||||
|
||||
public function hookDisplayBackOfficeHeader()
|
||||
{
|
||||
//check if currently updatingcheck if module is currently processing update
|
||||
if ($this->isUpdating() || !Module::isEnabled($this->name))
|
||||
return false;
|
||||
|
||||
if (method_exists($this->context->controller, 'addJquery'))
|
||||
{
|
||||
$this->context->controller->addJquery();
|
||||
$this->context->controller->addCss($this->_path.'views/css/gamification.css');
|
||||
|
||||
//add css for advices
|
||||
$advices = Advice::getValidatedByIdTab($this->context->controller->id, true);
|
||||
$css_str = $js_str = '';
|
||||
foreach ($advices as $advice)
|
||||
{
|
||||
$is_css_file_cached = false;
|
||||
$advice_css_path = dirname(__FILE__).'/views/css/advice-'._PS_VERSION_.'_'.(int)$advice['id_ps_advice'].'.css';
|
||||
|
||||
// 24h cache
|
||||
if (!$this->isFresh($advice_css_path, 86400))
|
||||
{
|
||||
$advice_css_content = Tools::file_get_contents(Tools::getShopProtocol().'gamification.prestashop.com/css/advices/advice-'._PS_VERSION_.'_'.(int)$advice['id_ps_advice'].'.css');
|
||||
$is_css_file_cached = file_put_contents($advice_css_path, $advice_css_content);
|
||||
}
|
||||
else
|
||||
$is_css_file_cached = true;
|
||||
|
||||
if (!$is_css_file_cached)
|
||||
$css_str .= '<link href="'.Tools::getShopProtocol().'gamification.prestashop.com/css/advices/advice-'._PS_VERSION_.'_'.(int)$advice['id_ps_advice'].'.css" rel="stylesheet" type="text/css" media="all" />';
|
||||
else
|
||||
$this->context->controller->addCss($this->_path.'views/css/advice-'._PS_VERSION_.'_'.(int)$advice['id_ps_advice'].'.css');
|
||||
|
||||
$js_str .= '"'.(int)$advice['id_ps_advice'].'",';
|
||||
}
|
||||
|
||||
if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true)
|
||||
$this->context->controller->addJs($this->_path.'views/js/gamification_bt.js');
|
||||
else
|
||||
$this->context->controller->addJs($this->_path.'views/js/gamification.js');
|
||||
|
||||
$this->context->controller->addJqueryPlugin('fancybox');
|
||||
|
||||
return $css_str.'<script>
|
||||
var ids_ps_advice = new Array('.rtrim($js_str, ',').');
|
||||
var admin_gamification_ajax_url = \''.$this->context->link->getAdminLink('AdminGamification').'\';
|
||||
var current_id_tab = '.(int)$this->context->controller->id.';
|
||||
</script>';
|
||||
}
|
||||
}
|
||||
|
||||
public function renderHeaderNotification()
|
||||
{
|
||||
//check if currently updatingcheck if module is currently processing update
|
||||
if ($this->isUpdating())
|
||||
return false;
|
||||
|
||||
$current_level = (int)Configuration::get('GF_CURRENT_LEVEL');
|
||||
$current_level_percent = (int)Configuration::get('GF_CURRENT_LEVEL_PERCENT');
|
||||
|
||||
$badges_to_display = array();//retro compat
|
||||
$unlock_badges = array();
|
||||
$next_badges = array();
|
||||
$not_viewed_badge = explode('|', Configuration::get('GF_NOT_VIEWED_BADGE', ''));
|
||||
foreach ($not_viewed_badge as $id)
|
||||
{
|
||||
$unlock_badges[] = $badges_to_display[] = new Badge((int)$id, (int)$this->context->language->id);
|
||||
$next_badges[] = $badges_to_display[] = new Badge(end($badges_to_display)->getNextBadgeId(), (int)$this->context->language->id);
|
||||
}
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'link' => $this->context->link,
|
||||
'current_level_percent' => $current_level_percent,
|
||||
'current_level' => $current_level,
|
||||
'badges_to_display' => $badges_to_display,
|
||||
'unlock_badges' => $unlock_badges,
|
||||
'next_badges' => $next_badges,
|
||||
'current_id_tab' => (int)$this->context->controller->id,
|
||||
'notification' => (int)Configuration::get('GF_NOTIFICATION'),
|
||||
'advice_hide_url' => 'http://gamification.prestashop.com/api/AdviceHide/',
|
||||
));
|
||||
|
||||
if (version_compare(_PS_VERSION_, '1.6.0', '>='))
|
||||
return $this->display(__FILE__, 'notification_bt.tpl');
|
||||
else
|
||||
return $this->display(__FILE__, 'notification.tpl');
|
||||
}
|
||||
|
||||
public function refreshDatas($iso_lang = null)
|
||||
{
|
||||
if (is_null($iso_lang))
|
||||
$iso_lang = $this->context->language->iso_code;
|
||||
|
||||
$default_iso_lang = Language::getIsoById((int)Configuration::get('PS_LANG_DEFAULT'));
|
||||
$id_lang = Language::getIdByIso($iso_lang);
|
||||
|
||||
$iso_country = $this->context->country->iso_code;
|
||||
$iso_currency = $this->context->currency->iso_code;
|
||||
|
||||
if ($iso_lang != $default_iso_lang)
|
||||
$this->refreshDatas($default_iso_lang);
|
||||
|
||||
$cache_file = $this->cache_data.'data_'.strtoupper($iso_lang).'_'.strtoupper($iso_currency).'_'.strtoupper($iso_country).'.json';
|
||||
if (!$this->isFresh($cache_file, 86400))
|
||||
if ($this->getData($iso_lang))
|
||||
{
|
||||
$data = Tools::jsonDecode(Tools::file_get_contents($cache_file));
|
||||
if (!isset($data->signature))
|
||||
return false;
|
||||
|
||||
$this->processCleanAdvices(array_merge($data->advices, $data->advices_16));
|
||||
|
||||
if (function_exists('openssl_verify') && self::TEST_MODE === false)
|
||||
{
|
||||
if (!openssl_verify(Tools::jsonencode(array($data->conditions, $data->advices_lang)), base64_decode($data->signature), file_get_contents(dirname(__FILE__).'/prestashop.pub')))
|
||||
return false;
|
||||
}
|
||||
if (isset($data->conditions))
|
||||
$this->processImportConditions($data->conditions, $id_lang);
|
||||
|
||||
if ((isset($data->badges) && isset($data->badges_lang)) && (!isset($data->badges_only_visible_awb) && !isset($data->badges_only_visible_lang_awb)))
|
||||
$this->processImportBadges($data->badges, $data->badges_lang, $id_lang);
|
||||
else
|
||||
$this->processImportBadges(array_merge($data->badges_only_visible_awb, $data->badges), array_merge($data->badges_only_visible_lang_awb, $data->badges_lang), $id_lang);
|
||||
|
||||
if (isset($data->advices) && isset($data->advices_lang))
|
||||
$this->processImportAdvices($data->advices, $data->advices_lang, $id_lang);
|
||||
|
||||
if (function_exists('openssl_verify') && self::TEST_MODE === false)
|
||||
{
|
||||
if (!openssl_verify(Tools::jsonencode(array($data->advices_lang_16)), base64_decode($data->signature_16), file_get_contents(dirname(__FILE__).'/prestashop.pub')))
|
||||
return false;
|
||||
}
|
||||
|
||||
if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true && isset($data->advices_16) && isset($data->advices_lang_16))
|
||||
$this->processImportAdvices($data->advices_16, $data->advices_lang_16, $id_lang);
|
||||
}
|
||||
}
|
||||
|
||||
public function getData($iso_lang = null)
|
||||
{
|
||||
if (is_null($iso_lang))
|
||||
$iso_lang = $this->context->language->iso_code;
|
||||
$iso_country = $this->context->country->iso_code;
|
||||
$iso_currency = $this->context->currency->iso_code;
|
||||
$file_name = 'data_'.strtoupper($iso_lang).'_'.strtoupper($iso_currency).'_'.strtoupper($iso_country).'.json';
|
||||
$versioning = '?v='.$this->version;
|
||||
$data = Tools::file_get_contents($this->url_data.$file_name.$versioning);
|
||||
|
||||
return (bool)file_put_contents($this->cache_data.'data_'.strtoupper($iso_lang).'_'.strtoupper($iso_currency).'_'.strtoupper($iso_country).'.json', $data);
|
||||
}
|
||||
|
||||
public function processCleanAdvices()
|
||||
{
|
||||
$current_advices = array();
|
||||
$result = Db::getInstance()->ExecuteS('SELECT `id_advice`, `id_ps_advice` FROM `'._DB_PREFIX_.'advice`');
|
||||
foreach ($result as $row)
|
||||
$current_advices[(int)$row['id_ps_advice']] = (int)$row['id_advice'];
|
||||
|
||||
// Delete advices that are not in the file anymore
|
||||
foreach ($current_advices as $id_advice)
|
||||
{
|
||||
// Check that the advice is used in this language
|
||||
$html = Db::getInstance()->getValue('SELECT `html` FROM `'._DB_PREFIX_.'advice_lang` WHERE id_advice = '.(int)$id_advice.' AND id_lang = '.(int)$this->context->language->id);
|
||||
if (!$html)
|
||||
continue;
|
||||
$adv = new Advice($id_advice);
|
||||
$adv->delete();
|
||||
}
|
||||
}
|
||||
|
||||
public function processImportConditions($conditions, $id_lang)
|
||||
{
|
||||
$current_conditions = array();
|
||||
$result = Db::getInstance()->ExecuteS('SELECT `id_ps_condition` FROM `'._DB_PREFIX_.'condition`');
|
||||
|
||||
foreach ($result as $row)
|
||||
$current_conditions[] = (int)$row['id_ps_condition'];
|
||||
|
||||
if (is_array($conditions) || is_object($conditions))
|
||||
{
|
||||
foreach ($conditions as $condition)
|
||||
{
|
||||
if (isset($condition->id))
|
||||
unset($condition->id);
|
||||
try
|
||||
{
|
||||
$cond = new Condition();
|
||||
if (in_array($condition->id_ps_condition, $current_conditions))
|
||||
{
|
||||
$cond = new Condition(Condition::getIdByIdPs($condition->id_ps_condition));
|
||||
unset($current_conditions[(int)array_search($condition->id_ps_condition, $current_conditions)]);
|
||||
}
|
||||
|
||||
$cond->hydrate((array)$condition, (int)$id_lang);
|
||||
|
||||
$cond->date_upd = date('Y-m-d H:i:s', strtotime('-'.(int)$cond->calculation_detail.'DAY'));
|
||||
$cond->date_add = date('Y-m-d H:i:s');
|
||||
$condition->calculation_detail = trim($condition->calculation_detail);
|
||||
$cond->save(false, false);
|
||||
|
||||
if ($condition->calculation_type == 'hook' && !$this->isRegisteredInHook($condition->calculation_detail) && Validate::isHookName($condition->calculation_detail))
|
||||
$this->registerHook($condition->calculation_detail);
|
||||
unset($cond);
|
||||
|
||||
} catch (Exception $e) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Delete conditions that are not in the file anymore
|
||||
foreach ($current_conditions as $id_ps_condition)
|
||||
{
|
||||
$cond = new Condition(Condition::getIdByIdPs((int)$id_ps_condition));
|
||||
$cond->delete();
|
||||
}
|
||||
}
|
||||
|
||||
public function processImportBadges($badges, $badges_lang, $id_lang)
|
||||
{
|
||||
$formated_badges_lang = array();
|
||||
foreach ($badges_lang as $lang)
|
||||
$formated_badges_lang[$lang->id_ps_badge] = array(
|
||||
'name' => array($id_lang => $lang->name),
|
||||
'description' => array($id_lang => $lang->description),
|
||||
'group_name' => array($id_lang => $lang->group_name));
|
||||
|
||||
$current_badges = array();
|
||||
$result = Db::getInstance()->ExecuteS('SELECT `id_ps_badge` FROM `'._DB_PREFIX_.'badge`');
|
||||
foreach ($result as $row)
|
||||
$current_badges[] = (int)$row['id_ps_badge'];
|
||||
|
||||
$cond_ids = $this->getFormatedConditionsIds();
|
||||
|
||||
foreach ($badges as $badge)
|
||||
{
|
||||
try
|
||||
{
|
||||
//if badge already exist we update language data
|
||||
if (in_array((int)$badge->id_ps_badge, $current_badges))
|
||||
{
|
||||
$bdg = new Badge(Badge::getIdByIdPs((int)$badge->id_ps_badge));
|
||||
$bdg->name[$id_lang] = $formated_badges_lang[$badge->id_ps_badge]['name'][$id_lang];
|
||||
$bdg->description[$id_lang] = $formated_badges_lang[$badge->id_ps_badge]['description'][$id_lang];
|
||||
$bdg->group_name[$id_lang] = $formated_badges_lang[$badge->id_ps_badge]['group_name'][$id_lang];
|
||||
$bdg->update();
|
||||
unset($current_badges[(int)array_search($badge->id_ps_badge, $current_badges)]);
|
||||
}
|
||||
else
|
||||
{
|
||||
$badge_data = array_merge((array)$badge, $formated_badges_lang[$badge->id_ps_badge]);
|
||||
$bdg = new Badge();
|
||||
$bdg->hydrate($badge_data, (int)$id_lang);
|
||||
$bdg->add();
|
||||
|
||||
foreach ($badge->conditions as $cond)
|
||||
Db::getInstance()->insert('condition_badge', array('id_condition' => $cond_ids[$cond], 'id_badge' => $bdg->id));
|
||||
}
|
||||
unset($bdg);
|
||||
} catch (Exception $e) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// Delete badges that are not in the file anymore
|
||||
foreach ($current_badges as $id_ps_badge)
|
||||
{
|
||||
$bdg = new Badge(Badge::getIdByIdPs((int)$id_ps_badge));
|
||||
$bdg->delete();
|
||||
}
|
||||
}
|
||||
|
||||
public function processImportAdvices($advices, $advices_lang, $id_lang)
|
||||
{
|
||||
$formated_advices_lang = array();
|
||||
foreach ($advices_lang as $lang)
|
||||
$formated_advices_lang[$lang->id_ps_advice] = array('html' => array($id_lang => $lang->html));
|
||||
|
||||
$current_advices = array();
|
||||
$result = Db::getInstance()->ExecuteS('SELECT `id_advice`, `id_ps_advice` FROM `'._DB_PREFIX_.'advice`');
|
||||
foreach ($result as $row)
|
||||
$current_advices[(int)$row['id_ps_advice']] = (int)$row['id_advice'];
|
||||
|
||||
$cond_ids = $this->getFormatedConditionsIds();
|
||||
foreach ($advices as $advice)
|
||||
{
|
||||
try
|
||||
{
|
||||
//if advice already exist we update language data
|
||||
if (isset($current_advices[$advice->id_ps_advice]))
|
||||
{
|
||||
$adv = new Advice($current_advices[$advice->id_ps_advice]);
|
||||
$adv->html[$id_lang] = $formated_advices_lang[$advice->id_ps_advice]['html'][$id_lang];
|
||||
$adv->update();
|
||||
$this->processAdviceAsso($adv->id, $advice->display_conditions, $advice->hide_conditions, $advice->tabs, $cond_ids);
|
||||
unset($current_advices[$advice->id_ps_advice]);
|
||||
}
|
||||
else
|
||||
{
|
||||
$advice_data = array_merge((array)$advice, $formated_advices_lang[$advice->id_ps_advice]);
|
||||
$adv = new Advice();
|
||||
$adv->hydrate($advice_data, (int)$id_lang);
|
||||
$adv->id_tab = (int)Tab::getIdFromClassName($advice->tab);
|
||||
|
||||
$adv->add();
|
||||
|
||||
$this->processAdviceAsso($adv->id, $advice->display_conditions, $advice->hide_conditions, $advice->tabs, $cond_ids);
|
||||
}
|
||||
unset($adv);
|
||||
} catch (Exception $e) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function processAdviceAsso($id_advice, $display_conditions, $hide_conditions, $tabs, $cond_ids)
|
||||
{
|
||||
Db::getInstance()->delete('condition_advice', 'id_advice='.(int)$id_advice);
|
||||
if (is_array($display_conditions))
|
||||
foreach ($display_conditions as $cond)
|
||||
Db::getInstance()->insert('condition_advice', array('id_condition' => $cond_ids[$cond], 'id_advice' => $id_advice, 'display' => 1));
|
||||
|
||||
if (is_array($hide_conditions))
|
||||
foreach ($hide_conditions as $cond)
|
||||
Db::getInstance()->insert('condition_advice', array('id_condition' => $cond_ids[$cond], 'id_advice' => $id_advice, 'display' => 0));
|
||||
|
||||
Db::getInstance()->delete('tab_advice', 'id_advice='.(int)$id_advice);
|
||||
if (isset($tabs) && is_array($tabs) && count($tabs))
|
||||
foreach ($tabs as $tab)
|
||||
Db::getInstance()->insert('tab_advice', array('id_tab' => (int)Tab::getIdFromClassName($tab), 'id_advice' => $id_advice));
|
||||
}
|
||||
|
||||
public function getFormatedConditionsIds()
|
||||
{
|
||||
$cond_ids = array();
|
||||
$result = Db::getInstance()->executeS('SELECT `id_condition`, `id_ps_condition` FROM `'._DB_PREFIX_.'condition`');
|
||||
|
||||
foreach ($result as $res)
|
||||
$cond_ids[$res['id_ps_condition']] = $res['id_condition'];
|
||||
|
||||
return $cond_ids;
|
||||
}
|
||||
|
||||
public function isFresh($file, $timeout = 86400000)
|
||||
{
|
||||
if (file_exists($file))
|
||||
{
|
||||
if (filesize($file) < 1)
|
||||
return false;
|
||||
return ((time() - @filemtime($file)) < $timeout);
|
||||
}
|
||||
else
|
||||
return false;
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.3 KiB |
@ -1,9 +0,0 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvMic33CMy+sTM2TakuUv
|
||||
fqawhQ3amCfs9YEOijI3bIKFH4CjZzLAix1jJ7iF7zrQofPTH66FSo77X2bKCF7t
|
||||
s7ec6m0YRwMJodBBtTE/eHOfG1T+V8CSlKaLCHLscsmXyvD+m6JyI3PO3rOS1nN/
|
||||
JjzU0U0P6dPzEKFoNfBKEWfFhEA3i4G8rIEDPhTri7azLJpgFnAnHcjMc7v0bv89
|
||||
hyd5ji3KVdYmAhNtTFq3Flpt7n/o/Qe5kgGhTId96uncUE9SU3EQWzk+RhXUeC3+
|
||||
meU0kjADFj2y+PPifXFlP7+eBUix2e9Lmz/pb6iwgV2KYlWzmrG6auCLnpe1L5OU
|
||||
YQIDAQAB
|
||||
-----END PUBLIC KEY-----
|
@ -1,105 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
$sql = array();
|
||||
$sql[_DB_PREFIX_.'badge'] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'badge` (
|
||||
`id_badge` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`id_ps_badge` int(11) NOT NULL,
|
||||
`type` varchar(32) NOT NULL,
|
||||
`id_group` int(11) NOT NULL,
|
||||
`group_position` int(11) NOT NULL,
|
||||
`scoring` int(11) NOT NULL,
|
||||
`awb` INT NULL DEFAULT \'0\',
|
||||
`validated` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id_badge`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
$sql[_DB_PREFIX_.'badge_lang'] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'badge_lang` (
|
||||
`id_badge` int(11) NOT NULL,
|
||||
`id_lang` int(11) NOT NULL,
|
||||
`name` varchar(64),
|
||||
`description` varchar(255),
|
||||
`group_name` varchar(255),
|
||||
PRIMARY KEY (`id_badge`, `id_lang`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
$sql[_DB_PREFIX_.'condition'] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'condition` (
|
||||
`id_condition` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`id_ps_condition` int(11) NOT NULL,
|
||||
`type` enum(\'configuration\', \'install\', \'sql\') NOT NULL,
|
||||
`request` text ,
|
||||
`operator` varchar(32),
|
||||
`value` varchar(64),
|
||||
`result` varchar(64),
|
||||
`calculation_type` enum(\'hook\', \'time\'),
|
||||
`calculation_detail` varchar(64),
|
||||
`validated` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
`date_add` datetime NOT NULL,
|
||||
`date_upd` datetime NOT NULL,
|
||||
PRIMARY KEY (`id_condition`, `id_ps_condition`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
$sql[_DB_PREFIX_.'condition_badge'] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'condition_badge` (
|
||||
`id_condition` int(11) NOT NULL,
|
||||
`id_badge` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id_condition`, `id_badge`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
$sql[_DB_PREFIX_.'advice'] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'advice` (
|
||||
`id_advice` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`id_ps_advice` int(11) NOT NULL,
|
||||
`id_tab` int(11) NOT NULL,
|
||||
`ids_tab` TEXT,
|
||||
`validated` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
`hide` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`location` enum(\'after\', \'before\') NOT NULL,
|
||||
`selector` varchar(255),
|
||||
`start_day` int(11) NOT NULL DEFAULT 0,
|
||||
`stop_day` int(11) NOT NULL DEFAULT 0,
|
||||
`weight` int(11) NULL DEFAULT \'1\',
|
||||
PRIMARY KEY (`id_advice`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
$sql[_DB_PREFIX_.'advice_lang'] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'advice_lang` (
|
||||
`id_advice` int(11) NOT NULL,
|
||||
`id_lang` int(11) NOT NULL,
|
||||
`html` TEXT,
|
||||
PRIMARY KEY (`id_advice`, `id_lang`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
$sql[_DB_PREFIX_.'condition_advice'] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'condition_advice` (
|
||||
`id_condition` int(11) NOT NULL,
|
||||
`id_advice` int(11) NOT NULL,
|
||||
`display` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id_condition`, `id_advice`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
||||
|
||||
|
||||
$sql[_DB_PREFIX_.'tab_advice'] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'tab_advice` (
|
||||
`id_tab` int(11) NOT NULL,
|
||||
`id_advice` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id_tab`, `id_advice`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';
|
@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{gamification}prestashop>gamification_3d4aafb2eedeba2fbf92e852f0af745a'] = 'Obchodní znalosti';
|
||||
$_MODULE['<{gamification}prestashop>gamification_bacc1bf300527bad9c6ac2d3b875a8d8'] = 'Staňte se e-commerce expertem mrknutím oka!';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_ca96b4f8d13722aac99da25f94ea1711'] = 'Vaše obchodní znalosti';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_98f770b0af18ca763421bac22b4b6805'] = 'Funkce';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_f5c7922da355fd289ec1d6469e0583a7'] = 'Dosažené výsledky';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8189ecf686157db0c0274c1f49373318'] = 'Mezinárodní';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_851f12a0c936baace7f0e734d5c624e7'] = '1. Začátečník';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_583981a16ea761fe852b64094d8a887e'] = '2. Profesionál';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_38f7af7416ffcd1524d8a4acda756cbf'] = '3. Expert';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e7613fe56cdbeddfc9bb6276fd0f0d12'] = '4. Kouzelník';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8d03eaad7ff7babdd33c2c74fe479ed0'] = '5. Guru';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e4be4f3e3ae4ee9dda6b60815bf774c1'] = '6. Legenda';
|
||||
$_MODULE['<{gamification}prestashop>filters_b1c94ca2fbc3e78fc30069c8d0f01680'] = 'Všechny';
|
||||
$_MODULE['<{gamification}prestashop>filters_5364259abab90e94890f2ed2481b9824'] = 'Ověřeno';
|
||||
$_MODULE['<{gamification}prestashop>filters_dc450ba947e6adecbdbe68c25de03a1b'] = 'Neověřeno';
|
||||
$_MODULE['<{gamification}prestashop>filters_07ad815187b53dc2ceaf5ad6e0a12bb1'] = 'Úroveň:';
|
||||
$_MODULE['<{gamification}prestashop>view_a0db49ba470c1c9ae2128c3470339153'] = 'Úroveň';
|
||||
$_MODULE['<{gamification}prestashop>view_2a0ab6a9172272d54f0d601b0ac157f3'] = 'Staňte e-commerce expertem mílovými kroky!';
|
||||
$_MODULE['<{gamification}prestashop>view_cb3d475bd997e38c100704631dbab020'] = 'Se všemi skvělými funkcemi a výhodami, které nabízí PrestaShop, je důležité udržet krok!';
|
||||
$_MODULE['<{gamification}prestashop>view_2c3193c85bb2555c333adfcfb824804a'] = 'Hlavním cílem všech funkcí, které nabízíme, je, aby se vám dařilo v e-commerce světě. Za účelem dosažení tohoto cíle, jsme vytvořili systém známek a bodů, které vám usnadní sledovat své pokroky obchodníka. Systém je členěn do tří úrovní, z nichž všechny jsou nedílnou součástí úspěchu ve světě e-commerce: (I) Používání klíčových e-commerce funkcí ve vašem obchodě; (II) Výkonnost vašeho obchodu; (III) Přítomnost obchodu na mezinárodních trzích.';
|
||||
$_MODULE['<{gamification}prestashop>view_6b766dc388ad21053bde0f8fd95d1e04'] = 'Čím většího pokroku dosáhne váš obchod, tím více známek a bodů získáte. Není třeba zasílat jakékoli informace nebo vyplňovat formuláře, víme, jak jste zaneprázdněni, vše je automatické!';
|
||||
$_MODULE['<{gamification}prestashop>view_21dc1cfc9ef1cdfbb665cab323d5e1a9'] = 'Nyní, kliknutím na tlačítko, budete mít možnost vidět vlastnosti zlepšujícího se prodeje, které mohou zatím chybět. Využijte tyto výhody a podívejte se na to níže!';
|
||||
$_MODULE['<{gamification}prestashop>view_8ba134cf899d862079bbf3964bc7d7d4'] = 'Náš tým je k dispozici, aby vám pomohl k pokroku... Kontaktujte nás nyní!';
|
||||
$_MODULE['<{gamification}prestashop>view_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefon';
|
||||
$_MODULE['<{gamification}prestashop>view_b39131f9b4f81406be4f9cca784f99c8'] = 'Telefonicky: +1 (888) 947.6543';
|
||||
$_MODULE['<{gamification}prestashop>view_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail';
|
||||
$_MODULE['<{gamification}prestashop>view_119c7e70192829bf606e3774254c6167'] = 'E-mailem';
|
||||
$_MODULE['<{gamification}prestashop>view_6b6ac7834d96afefbca5677814769109'] = 'Dosažená úroveň';
|
||||
$_MODULE['<{gamification}prestashop>view_82338dd23ce2fd2f6d3606c20f4ee96e'] = 'Žádná známka v této sekci';
|
||||
$_MODULE['<{gamification}prestashop>notification_a0db49ba470c1c9ae2128c3470339153'] = 'Úroveň';
|
||||
$_MODULE['<{gamification}prestashop>notification_ca96b4f8d13722aac99da25f94ea1711'] = 'Vaše obchodní znalosti';
|
||||
$_MODULE['<{gamification}prestashop>notification_16a1daea9e8873542aec1e820798aa44'] = 'Poslední známka:';
|
||||
$_MODULE['<{gamification}prestashop>notification_15377177c0259c6f79341cc57da13f19'] = 'Další známka:';
|
||||
$_MODULE['<{gamification}prestashop>notification_f8978f781f97e6f851e9c8f7059c37b2'] = 'Zobrazit můj celý profil';
|
||||
$_MODULE['<{gamification}prestashop>filters_e659b52eba1f0299b2d8ca3483919e72'] = 'Typ:';
|
||||
$_MODULE['<{gamification}prestashop>filters_18325105de95083e4a1d10b78f29c2bc'] = 'Stav:';
|
@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{gamification}prestashop>gamification_3d4aafb2eedeba2fbf92e852f0af745a'] = 'Handelserfolg';
|
||||
$_MODULE['<{gamification}prestashop>gamification_bacc1bf300527bad9c6ac2d3b875a8d8'] = 'E-Commerce-Experte im Handumdrehn!';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_ca96b4f8d13722aac99da25f94ea1711'] = 'Ihr Handelserfolg';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_98f770b0af18ca763421bac22b4b6805'] = 'Maßnahmen';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_f5c7922da355fd289ec1d6469e0583a7'] = 'Erreichte Ziele';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8189ecf686157db0c0274c1f49373318'] = 'International';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_851f12a0c936baace7f0e734d5c624e7'] = '1. Anfänger';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_583981a16ea761fe852b64094d8a887e'] = '2. Profi';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_38f7af7416ffcd1524d8a4acda756cbf'] = '3. Experte';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e7613fe56cdbeddfc9bb6276fd0f0d12'] = '4.Genie';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8d03eaad7ff7babdd33c2c74fe479ed0'] = '5. Guru';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e4be4f3e3ae4ee9dda6b60815bf774c1'] = '6. Legende';
|
||||
$_MODULE['<{gamification}prestashop>filters_b1c94ca2fbc3e78fc30069c8d0f01680'] = 'Alle';
|
||||
$_MODULE['<{gamification}prestashop>filters_5364259abab90e94890f2ed2481b9824'] = 'Geprüft';
|
||||
$_MODULE['<{gamification}prestashop>filters_dc450ba947e6adecbdbe68c25de03a1b'] = 'Ungeprüft';
|
||||
$_MODULE['<{gamification}prestashop>filters_07ad815187b53dc2ceaf5ad6e0a12bb1'] = 'Ebene:';
|
||||
$_MODULE['<{gamification}prestashop>view_a0db49ba470c1c9ae2128c3470339153'] = 'Ebene';
|
||||
$_MODULE['<{gamification}prestashop>view_2a0ab6a9172272d54f0d601b0ac157f3'] = 'Ihr Quantensprung zum E-Commerce-Experten!';
|
||||
$_MODULE['<{gamification}prestashop>view_cb3d475bd997e38c100704631dbab020'] = 'Halten Sie sich stets auf dem Laufenden über all die großartigen Funktionen und Vorteile, die PrestaShop bietet!';
|
||||
$_MODULE['<{gamification}prestashop>view_2c3193c85bb2555c333adfcfb824804a'] = 'Alle angebotenen Features dienen nur einem Ziel: Ihrem Erfolg inn der Welt des E-Commerce. Um dies zu erreichen, haben wir ein System von Abzeichen und Punkten entwickelt, die auf einfache Weise Ihren Fortschritte als Händler markieren. Wir haben die systematische Bewertung auf drei Ebenen konzentriert, auf denen sich ihr erfolgreicher Aufstieg in der Welt des E-Commerce vollzieht: (1) Ihre Nutzung der E-Commerce-Schlüsselfunktionen Ihres Shops, (2) Ihre Umsatzentwicklung, (3) Ihre Präsenz in internationalen Märkten.';
|
||||
$_MODULE['<{gamification}prestashop>view_6b766dc388ad21053bde0f8fd95d1e04'] = 'Je mehr Fortschritte Ihr Shop macht, desto mehr Abzeichen und Punkte bekommen Sie! Alles geschieht vollautomatisch - sie brauchen uns also keinerlei Eckdaten zu übermitteln oder irgendwelche Formulare auszufüllen. Wir wissen doch, dass Zeit Geld für Sie bedeutet.';
|
||||
$_MODULE['<{gamification}prestashop>view_21dc1cfc9ef1cdfbb665cab323d5e1a9'] = 'Nach einem Klick auf den Button sehen Sie verkaufsfördernde Maßnahmen, die sie vielleicht versäumt haben. Nutzen Sie den Vorteil und überprüfen Sie das Untenstehende!';
|
||||
$_MODULE['<{gamification}prestashop>view_8ba134cf899d862079bbf3964bc7d7d4'] = 'Unser Team hilft Ihnen bei Ihrem Fortschritt - Kontaktieren Sie uns jetzt!';
|
||||
$_MODULE['<{gamification}prestashop>view_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefon';
|
||||
$_MODULE['<{gamification}prestashop>view_b39131f9b4f81406be4f9cca784f99c8'] = 'Per Telefon: +1 (888) 9476543';
|
||||
$_MODULE['<{gamification}prestashop>view_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-Mail';
|
||||
$_MODULE['<{gamification}prestashop>view_119c7e70192829bf606e3774254c6167'] = 'Per E-Mail';
|
||||
$_MODULE['<{gamification}prestashop>view_6b6ac7834d96afefbca5677814769109'] = 'Grad der Erfüllung';
|
||||
$_MODULE['<{gamification}prestashop>view_82338dd23ce2fd2f6d3606c20f4ee96e'] = 'Kein Abzeichen für diese Abteilung';
|
||||
$_MODULE['<{gamification}prestashop>notification_a0db49ba470c1c9ae2128c3470339153'] = 'Ebene';
|
||||
$_MODULE['<{gamification}prestashop>notification_ca96b4f8d13722aac99da25f94ea1711'] = 'Ihr Handelserfolg';
|
||||
$_MODULE['<{gamification}prestashop>notification_16a1daea9e8873542aec1e820798aa44'] = 'Letztes Abzeichen :';
|
||||
$_MODULE['<{gamification}prestashop>notification_15377177c0259c6f79341cc57da13f19'] = 'Nächstes Abzeichen :';
|
||||
$_MODULE['<{gamification}prestashop>notification_f8978f781f97e6f851e9c8f7059c37b2'] = 'Zeile mein volles Profil';
|
||||
$_MODULE['<{gamification}prestashop>filters_e659b52eba1f0299b2d8ca3483919e72'] = 'Typ';
|
||||
$_MODULE['<{gamification}prestashop>filters_18325105de95083e4a1d10b78f29c2bc'] = 'Status';
|
@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{gamification}prestashop>gamification_3d4aafb2eedeba2fbf92e852f0af745a'] = 'Experiencia minorista';
|
||||
$_MODULE['<{gamification}prestashop>gamification_bacc1bf300527bad9c6ac2d3b875a8d8'] = '¡ Conviértase en un experto en e-commerce en un abrir y cerrar de ojos!';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_ca96b4f8d13722aac99da25f94ea1711'] = 'Tu experiencia de minorista';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_98f770b0af18ca763421bac22b4b6805'] = 'Características';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_f5c7922da355fd289ec1d6469e0583a7'] = 'Logros';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8189ecf686157db0c0274c1f49373318'] = 'Internacional';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_851f12a0c936baace7f0e734d5c624e7'] = '1. Principiante';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_583981a16ea761fe852b64094d8a887e'] = '2. Pro';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_38f7af7416ffcd1524d8a4acda756cbf'] = '3. Experto';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e7613fe56cdbeddfc9bb6276fd0f0d12'] = '4. Mago';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8d03eaad7ff7babdd33c2c74fe479ed0'] = '5. Guru';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e4be4f3e3ae4ee9dda6b60815bf774c1'] = '6. Leyenda';
|
||||
$_MODULE['<{gamification}prestashop>filters_b1c94ca2fbc3e78fc30069c8d0f01680'] = 'Todos';
|
||||
$_MODULE['<{gamification}prestashop>filters_5364259abab90e94890f2ed2481b9824'] = 'Validado';
|
||||
$_MODULE['<{gamification}prestashop>filters_dc450ba947e6adecbdbe68c25de03a1b'] = 'No validado';
|
||||
$_MODULE['<{gamification}prestashop>filters_07ad815187b53dc2ceaf5ad6e0a12bb1'] = 'Nivel:';
|
||||
$_MODULE['<{gamification}prestashop>view_a0db49ba470c1c9ae2128c3470339153'] = 'Nivel';
|
||||
$_MODULE['<{gamification}prestashop>view_2a0ab6a9172272d54f0d601b0ac157f3'] = '¡ Conviértase en un experto en e-commerce a pasos agigantados!';
|
||||
$_MODULE['<{gamification}prestashop>view_cb3d475bd997e38c100704631dbab020'] = 'Con todas las importantes características y beneficios que ofrece PrestaShop, ¡Es importante seguir el ritmo!';
|
||||
$_MODULE['<{gamification}prestashop>view_2c3193c85bb2555c333adfcfb824804a'] = 'El principal objetivo de todas las características que ofrecemos es ayudarle a que tenga éxito en el mundo del e-commerce. Para conseguir este objetivo hemos creado un sistema de medallas y puntos para monitorizar fácilmente su progreso como minorista. Hemos desgranado el sistema en tres niveles, todos los cuales están integrados para triunfar en el mundo del e-commerce: (i) Uso de características clave del e-commerce en su tienda; (ii) El desempeño de sus ventas; (iii) Su presencia en los mercados internacionales.';
|
||||
$_MODULE['<{gamification}prestashop>view_6b766dc388ad21053bde0f8fd95d1e04'] = 'Cuanto más progreso haga su tienda, más medallas y puntos ganarás. No necesita enviar información o rellenar ningún formulario; nosotros sabemos que está ocupado, ¡todo es automático!';
|
||||
$_MODULE['<{gamification}prestashop>view_21dc1cfc9ef1cdfbb665cab323d5e1a9'] = 'Ahora pinchando un botón podrá ver las características para mejorar sus ventas que puede estarse perdiedo. ¡Tome ventaja y échele un vistazo abajo!';
|
||||
$_MODULE['<{gamification}prestashop>view_8ba134cf899d862079bbf3964bc7d7d4'] = 'Nuestro equipo está disponible para ayudarle en su progreso... ¡Contacte con nosotros!';
|
||||
$_MODULE['<{gamification}prestashop>view_bcc254b55c4a1babdf1dcb82c207506b'] = 'Teléfono';
|
||||
$_MODULE['<{gamification}prestashop>view_b39131f9b4f81406be4f9cca784f99c8'] = 'Por teléfono: +1 (888) 947.6543';
|
||||
$_MODULE['<{gamification}prestashop>view_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email';
|
||||
$_MODULE['<{gamification}prestashop>view_119c7e70192829bf606e3774254c6167'] = 'Por email';
|
||||
$_MODULE['<{gamification}prestashop>view_6b6ac7834d96afefbca5677814769109'] = 'Nivel completado';
|
||||
$_MODULE['<{gamification}prestashop>view_82338dd23ce2fd2f6d3606c20f4ee96e'] = 'No hay medallas en esta sección';
|
||||
$_MODULE['<{gamification}prestashop>notification_a0db49ba470c1c9ae2128c3470339153'] = 'Nivel';
|
||||
$_MODULE['<{gamification}prestashop>notification_ca96b4f8d13722aac99da25f94ea1711'] = 'Tu experiencia de minorista';
|
||||
$_MODULE['<{gamification}prestashop>notification_16a1daea9e8873542aec1e820798aa44'] = 'Última medalla:';
|
||||
$_MODULE['<{gamification}prestashop>notification_15377177c0259c6f79341cc57da13f19'] = 'Próxima medalla:';
|
||||
$_MODULE['<{gamification}prestashop>notification_f8978f781f97e6f851e9c8f7059c37b2'] = 'Ver mi perfil completo';
|
||||
$_MODULE['<{gamification}prestashop>filters_e659b52eba1f0299b2d8ca3483919e72'] = 'Tipo:';
|
||||
$_MODULE['<{gamification}prestashop>filters_18325105de95083e4a1d10b78f29c2bc'] = 'Estado';
|
@ -1,71 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_ca96b4f8d13722aac99da25f94ea1711'] = 'Votre Expertise PrestaShop';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_7258e7251413465e0a3eb58094430bde'] = 'Administration';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_3d4aafb2eedeba2fbf92e852f0af745a'] = 'Expertise PrestaShop';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_98f770b0af18ca763421bac22b4b6805'] = 'Caractéristiques';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_f5c7922da355fd289ec1d6469e0583a7'] = 'Succès';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8189ecf686157db0c0274c1f49373318'] = 'International';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_851f12a0c936baace7f0e734d5c624e7'] = '1. Débutant';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_583981a16ea761fe852b64094d8a887e'] = '2. Pro';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_38f7af7416ffcd1524d8a4acda756cbf'] = '3. Expert';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e7613fe56cdbeddfc9bb6276fd0f0d12'] = '4. Maître';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8d03eaad7ff7babdd33c2c74fe479ed0'] = '5. Gourou';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e4be4f3e3ae4ee9dda6b60815bf774c1'] = '6. Légende';
|
||||
$_MODULE['<{gamification}prestashop>gamification_3d4aafb2eedeba2fbf92e852f0af745a'] = 'Expertise PrestaShop';
|
||||
$_MODULE['<{gamification}prestashop>gamification_bacc1bf300527bad9c6ac2d3b875a8d8'] = 'Devenez un marchand accompli à pas de géant !';
|
||||
$_MODULE['<{gamification}prestashop>filters_bt_e659b52eba1f0299b2d8ca3483919e72'] = 'Type :';
|
||||
$_MODULE['<{gamification}prestashop>filters_bt_b1c94ca2fbc3e78fc30069c8d0f01680'] = 'Toutes';
|
||||
$_MODULE['<{gamification}prestashop>filters_bt_24a23d787190f2c4812ff9ab11847a72'] = 'État :';
|
||||
$_MODULE['<{gamification}prestashop>filters_bt_5364259abab90e94890f2ed2481b9824'] = 'Validé';
|
||||
$_MODULE['<{gamification}prestashop>filters_bt_dc450ba947e6adecbdbe68c25de03a1b'] = 'Non validé';
|
||||
$_MODULE['<{gamification}prestashop>filters_bt_07ad815187b53dc2ceaf5ad6e0a12bb1'] = 'Niveau :';
|
||||
$_MODULE['<{gamification}prestashop>filters_e659b52eba1f0299b2d8ca3483919e72'] = 'Type :';
|
||||
$_MODULE['<{gamification}prestashop>filters_b1c94ca2fbc3e78fc30069c8d0f01680'] = 'Toutes';
|
||||
$_MODULE['<{gamification}prestashop>filters_24a23d787190f2c4812ff9ab11847a72'] = 'État :';
|
||||
$_MODULE['<{gamification}prestashop>filters_5364259abab90e94890f2ed2481b9824'] = 'Validé';
|
||||
$_MODULE['<{gamification}prestashop>filters_dc450ba947e6adecbdbe68c25de03a1b'] = 'Non validé';
|
||||
$_MODULE['<{gamification}prestashop>filters_07ad815187b53dc2ceaf5ad6e0a12bb1'] = 'Niveau :';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_a0db49ba470c1c9ae2128c3470339153'] = 'Niveau';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_2a0ab6a9172272d54f0d601b0ac157f3'] = 'Devenez un marchand accompli à pas de géant !';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_5cf06184f524aad72c14d3ec5d325c56'] = 'Avec toutes les fonctionnalités et avantages proposés par PrestaShop, il est important de rester à jour !';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_2c3193c85bb2555c333adfcfb824804a'] = 'A chaque badge décerné, vous gagnez des points et nous vous présentons la prochaine action à réaliser selon votre activité. Vous êtes ainsi guidé(e) vers une boutique parfaitement configurée et optimisée pour votre succès !';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_6b766dc388ad21053bde0f8fd95d1e04'] = 'Nous avons défini 3 thèmes essentiels pour évaluer le niveau de développement de votre boutique : les fonctionnalités clés à configurer, vos performances commerciales et votre visibilité à l\'international.';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_21dc1cfc9ef1cdfbb665cab323d5e1a9'] = 'Désormais, en cliquant sur un bouton, vous pourrez voir les fonctionnalités d\'amélioration des ventes dont vous ne disposez pas encore. Profitez-en dès maintenant !';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_bcc5a331e758a60ad298b4b18a26d0e0'] = 'Notre équipe est là pour vous aider. Contactez-nous dès maintenant !';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_bcc254b55c4a1babdf1dcb82c207506b'] = 'Téléphone';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_4b566d4e657c8c4f133057c73d1c6860'] = 'Téléphone : +33 (0)1 40 18 30 04';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_7d6d8e6610fd23b684be7e95a6cc5c39'] = 'Remplir le formulaire de contact';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_6b6ac7834d96afefbca5677814769109'] = 'Progrès';
|
||||
$_MODULE['<{gamification}prestashop>view_bt_82338dd23ce2fd2f6d3606c20f4ee96e'] = 'Pas de badge dans cette section';
|
||||
$_MODULE['<{gamification}prestashop>view_a0db49ba470c1c9ae2128c3470339153'] = 'Niveau';
|
||||
$_MODULE['<{gamification}prestashop>view_2a0ab6a9172272d54f0d601b0ac157f3'] = 'Devenez un marchand accompli à pas de géant !';
|
||||
$_MODULE['<{gamification}prestashop>view_5cf06184f524aad72c14d3ec5d325c56'] = 'Avec toutes les fonctionnalités et avantages proposés par PrestaShop, il est important de rester à jour !';
|
||||
$_MODULE['<{gamification}prestashop>view_2c3193c85bb2555c333adfcfb824804a'] = 'A chaque badge décerné, vous gagnez des points et nous vous présentons la prochaine action à réaliser selon votre activité. Vous êtes ainsi guidé(e) vers une boutique parfaitement configurée et optimisée pour votre succès !';
|
||||
$_MODULE['<{gamification}prestashop>view_6b766dc388ad21053bde0f8fd95d1e04'] = 'Nous avons défini 3 thèmes essentiels pour évaluer le niveau de développement de votre boutique : les fonctionnalités clés à configurer, vos performances commerciales et votre visibilité à l\'international.';
|
||||
$_MODULE['<{gamification}prestashop>view_21dc1cfc9ef1cdfbb665cab323d5e1a9'] = 'Désormais, en cliquant sur un bouton, vous pourrez voir les fonctionnalités d\'amélioration des ventes dont vous ne disposez pas encore. Profitez-en dès maintenant !';
|
||||
$_MODULE['<{gamification}prestashop>view_bcc5a331e758a60ad298b4b18a26d0e0'] = 'Notre équipe est là pour vous aider. Contactez-nous dès maintenant !';
|
||||
$_MODULE['<{gamification}prestashop>view_bcc254b55c4a1babdf1dcb82c207506b'] = 'Téléphone';
|
||||
$_MODULE['<{gamification}prestashop>view_4b566d4e657c8c4f133057c73d1c6860'] = 'Téléphone : +33 (0)1 40 18 30 04';
|
||||
$_MODULE['<{gamification}prestashop>view_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail';
|
||||
$_MODULE['<{gamification}prestashop>view_7d6d8e6610fd23b684be7e95a6cc5c39'] = 'Remplir le formulaire de contact';
|
||||
$_MODULE['<{gamification}prestashop>view_6b6ac7834d96afefbca5677814769109'] = 'Progrès';
|
||||
$_MODULE['<{gamification}prestashop>view_82338dd23ce2fd2f6d3606c20f4ee96e'] = 'Pas de badge dans cette section';
|
||||
$_MODULE['<{gamification}prestashop>notification_bt_a0db49ba470c1c9ae2128c3470339153'] = 'Niveau';
|
||||
$_MODULE['<{gamification}prestashop>notification_bt_6153e612347ad743d65e4bbf06a2e404'] = 'Voulez-vous vraiment cacher ce conseil ?';
|
||||
$_MODULE['<{gamification}prestashop>notification_bt_ca96b4f8d13722aac99da25f94ea1711'] = 'Votre Expertise PrestaShop';
|
||||
$_MODULE['<{gamification}prestashop>notification_bt_16a1daea9e8873542aec1e820798aa44'] = 'Dernier badge gagné :';
|
||||
$_MODULE['<{gamification}prestashop>notification_bt_15377177c0259c6f79341cc57da13f19'] = 'Prochain badge :';
|
||||
$_MODULE['<{gamification}prestashop>notification_bt_f8978f781f97e6f851e9c8f7059c37b2'] = 'Voir mon profil complet';
|
||||
$_MODULE['<{gamification}prestashop>notification_a0db49ba470c1c9ae2128c3470339153'] = 'Niveau';
|
||||
$_MODULE['<{gamification}prestashop>notification_ca96b4f8d13722aac99da25f94ea1711'] = 'Votre Expertise PrestaShop';
|
||||
$_MODULE['<{gamification}prestashop>notification_16a1daea9e8873542aec1e820798aa44'] = 'Dernier badge gagné :';
|
||||
$_MODULE['<{gamification}prestashop>notification_15377177c0259c6f79341cc57da13f19'] = 'Prochain badge :';
|
||||
$_MODULE['<{gamification}prestashop>notification_f8978f781f97e6f851e9c8f7059c37b2'] = 'Voir mon profil complet';
|
||||
|
||||
|
||||
return $_MODULE;
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{gamification}prestashop>gamification_3d4aafb2eedeba2fbf92e852f0af745a'] = 'Esperienza Commerciante';
|
||||
$_MODULE['<{gamification}prestashop>gamification_bacc1bf300527bad9c6ac2d3b875a8d8'] = 'Diventa un esperto di e-commerce in un batter d\'occhio!';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_ca96b4f8d13722aac99da25f94ea1711'] = 'La tua Esperienza Commerciante';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_98f770b0af18ca763421bac22b4b6805'] = 'Caratteristiche';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_f5c7922da355fd289ec1d6469e0583a7'] = 'Obiettivi';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8189ecf686157db0c0274c1f49373318'] = 'Internazionale';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_851f12a0c936baace7f0e734d5c624e7'] = '1. Principiante';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_583981a16ea761fe852b64094d8a887e'] = '2. Pro';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_38f7af7416ffcd1524d8a4acda756cbf'] = '3. Esperto';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e7613fe56cdbeddfc9bb6276fd0f0d12'] = '4. Mago';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8d03eaad7ff7babdd33c2c74fe479ed0'] = '5. Guru';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e4be4f3e3ae4ee9dda6b60815bf774c1'] = '6. Leggenda';
|
||||
$_MODULE['<{gamification}prestashop>filters_b1c94ca2fbc3e78fc30069c8d0f01680'] = 'Tutti';
|
||||
$_MODULE['<{gamification}prestashop>filters_5364259abab90e94890f2ed2481b9824'] = 'Validato';
|
||||
$_MODULE['<{gamification}prestashop>filters_dc450ba947e6adecbdbe68c25de03a1b'] = 'Non validato';
|
||||
$_MODULE['<{gamification}prestashop>filters_07ad815187b53dc2ceaf5ad6e0a12bb1'] = 'Livello:';
|
||||
$_MODULE['<{gamification}prestashop>view_a0db49ba470c1c9ae2128c3470339153'] = 'Livello';
|
||||
$_MODULE['<{gamification}prestashop>view_2a0ab6a9172272d54f0d601b0ac157f3'] = 'Diventa un esperto di e-commerce in passi da gigante!';
|
||||
$_MODULE['<{gamification}prestashop>view_cb3d475bd997e38c100704631dbab020'] = 'Con tutte le grandi caratteristiche e benefici che PrestaShop offre, è importante tenere il passo!';
|
||||
$_MODULE['<{gamification}prestashop>view_2c3193c85bb2555c333adfcfb824804a'] = 'L\'obiettivo principale di tutte le caratteristiche che offriamo è quello di far avere successo nel mondo dell\'e-commerce. Per realizzare questo, abbiamo creato un sistema di medaglie e punti che lo rendono facile per monitorare i tuoi progressi come un commerciante. Abbiamo suddiviso il sistema in tre livelli, ognuno dei quali sono parte integrante del successo nel mondo dell\'e-commerce: (I) L\'utilizzo delle funzionalità di e-commerce chiave sul tuo negozio, (II) le prestazioni del fatturato, (III) la presenza sui mercati internazionali.';
|
||||
$_MODULE['<{gamification}prestashop>view_6b766dc388ad21053bde0f8fd95d1e04'] = 'Il più progressi fai con il tuo negozio, più medaglie e punti si guadagnano. Non c\'è bisogno di fornire alcuna informazione o compilare alcun modulo, sappiamo quanto vi siete impegnati, tutto è automatico!';
|
||||
$_MODULE['<{gamification}prestashop>view_21dc1cfc9ef1cdfbb665cab323d5e1a9'] = 'Ora, con un click, si sarà in grado di vedere le migliorie di vendita che si potrebbero essere mancante. Approfitta e controlla qui sotto!';
|
||||
$_MODULE['<{gamification}prestashop>view_8ba134cf899d862079bbf3964bc7d7d4'] = 'Il nostro Team è disponibile ad aiutare il tuo progresso... Contattaci Ora!';
|
||||
$_MODULE['<{gamification}prestashop>view_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefono';
|
||||
$_MODULE['<{gamification}prestashop>view_b39131f9b4f81406be4f9cca784f99c8'] = 'Per telefono: +1 (888) 947.6543';
|
||||
$_MODULE['<{gamification}prestashop>view_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email';
|
||||
$_MODULE['<{gamification}prestashop>view_119c7e70192829bf606e3774254c6167'] = 'Per email';
|
||||
$_MODULE['<{gamification}prestashop>view_6b6ac7834d96afefbca5677814769109'] = 'Livello di completamento';
|
||||
$_MODULE['<{gamification}prestashop>view_82338dd23ce2fd2f6d3606c20f4ee96e'] = 'Nessuna medaglia in questa sezione';
|
||||
$_MODULE['<{gamification}prestashop>notification_a0db49ba470c1c9ae2128c3470339153'] = 'Livello';
|
||||
$_MODULE['<{gamification}prestashop>notification_ca96b4f8d13722aac99da25f94ea1711'] = 'La tua Esperienza Commerciante';
|
||||
$_MODULE['<{gamification}prestashop>notification_16a1daea9e8873542aec1e820798aa44'] = 'Ultima medaglia:';
|
||||
$_MODULE['<{gamification}prestashop>notification_15377177c0259c6f79341cc57da13f19'] = 'Prossima Medaglia:';
|
||||
$_MODULE['<{gamification}prestashop>notification_f8978f781f97e6f851e9c8f7059c37b2'] = 'Vedi il mio profilo completo';
|
||||
$_MODULE['<{gamification}prestashop>filters_e659b52eba1f0299b2d8ca3483919e72'] = 'Tipo:';
|
||||
$_MODULE['<{gamification}prestashop>filters_18325105de95083e4a1d10b78f29c2bc'] = 'Stato:';
|
@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{gamification}prestashop>gamification_3d4aafb2eedeba2fbf92e852f0af745a'] = 'Umiejętności sprzedawcy';
|
||||
$_MODULE['<{gamification}prestashop>gamification_bacc1bf300527bad9c6ac2d3b875a8d8'] = 'Zostań ekspertem e-commerce w mgnieniu oka!';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_ca96b4f8d13722aac99da25f94ea1711'] = 'Twoje umiejętności sprzedawcy';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_98f770b0af18ca763421bac22b4b6805'] = 'Cechy';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_f5c7922da355fd289ec1d6469e0583a7'] = 'Osiągnięcia';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8189ecf686157db0c0274c1f49373318'] = 'Międzynarodowy';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_851f12a0c936baace7f0e734d5c624e7'] = '1. Poczatkujący';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_583981a16ea761fe852b64094d8a887e'] = '2. Profesjonalista';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_38f7af7416ffcd1524d8a4acda756cbf'] = '3. Ekspert';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e7613fe56cdbeddfc9bb6276fd0f0d12'] = '4. Magik';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8d03eaad7ff7babdd33c2c74fe479ed0'] = '5. Guru';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e4be4f3e3ae4ee9dda6b60815bf774c1'] = '6. Legenda';
|
||||
$_MODULE['<{gamification}prestashop>filters_b1c94ca2fbc3e78fc30069c8d0f01680'] = 'Wszystko';
|
||||
$_MODULE['<{gamification}prestashop>filters_5364259abab90e94890f2ed2481b9824'] = 'Zatwierdzony';
|
||||
$_MODULE['<{gamification}prestashop>filters_dc450ba947e6adecbdbe68c25de03a1b'] = 'Nie zatwierdzony';
|
||||
$_MODULE['<{gamification}prestashop>filters_07ad815187b53dc2ceaf5ad6e0a12bb1'] = 'Poziom:';
|
||||
$_MODULE['<{gamification}prestashop>view_a0db49ba470c1c9ae2128c3470339153'] = 'Poziom';
|
||||
$_MODULE['<{gamification}prestashop>view_2a0ab6a9172272d54f0d601b0ac157f3'] = 'Zostań ekspertem e-commerce w podskokach!';
|
||||
$_MODULE['<{gamification}prestashop>view_cb3d475bd997e38c100704631dbab020'] = 'Bardzo ważne jest bycie na czasie ze wszystkimi wspaniałymi funkcjami i korzyściami oferowanymi przez PrestaShop!';
|
||||
$_MODULE['<{gamification}prestashop>view_2c3193c85bb2555c333adfcfb824804a'] = 'Głównym celem wszystkich oferowanych przez nas funkcji jest pozwolić Ci robić postępy w świecie e-commerce. Aby to osiągnąć, stworzyliśmy system odznaczeń i punktów które ułatwiają monitorowanie twoich postępów jako sprzedawcy. Rozdzieliliśmy system na trzy poziomy, z których każdy jest integralną częścią sukcesu w świecie e-commerce: (i) Twoje użycie kluczowych funkcji e-commerce w Twoim sklepie; (ii) Twoje wyniki sprzedaży; (iii) Twoja obecność na rynkach międzynarodowych.';
|
||||
$_MODULE['<{gamification}prestashop>view_6b766dc388ad21053bde0f8fd95d1e04'] = 'Im większe postępy robi Twój sklep, tym więcej odznaczeń i punktów dostaniesz. Nie trzeba wysyłać żadnych informacji lub wypełniać żadnych formularzy; wiemy jak bardzo jesteś zajęty, wszystko dzieje się automatycznie!';
|
||||
$_MODULE['<{gamification}prestashop>view_21dc1cfc9ef1cdfbb665cab323d5e1a9'] = 'Teraz, za pomocą jednego kliknięcia, będziesz mógł zobaczyć funkcje wspomagające sprzedaż, które mogłeś pomijać do tej pory. Wykorzystaj to i sprawdź te informacje poniżej!';
|
||||
$_MODULE['<{gamification}prestashop>view_8ba134cf899d862079bbf3964bc7d7d4'] = 'Nasz Zespół pomoże Ci zrobić postępy... Skontaktuj się z nami teraz!';
|
||||
$_MODULE['<{gamification}prestashop>view_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefon';
|
||||
$_MODULE['<{gamification}prestashop>view_b39131f9b4f81406be4f9cca784f99c8'] = 'Telefonicznie: +1 (888) 947.6543';
|
||||
$_MODULE['<{gamification}prestashop>view_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail';
|
||||
$_MODULE['<{gamification}prestashop>view_119c7e70192829bf606e3774254c6167'] = 'Za pomocą e-maila';
|
||||
$_MODULE['<{gamification}prestashop>view_6b6ac7834d96afefbca5677814769109'] = 'Poziom wykonania';
|
||||
$_MODULE['<{gamification}prestashop>view_82338dd23ce2fd2f6d3606c20f4ee96e'] = 'Brak odznaki w tej sekcji';
|
||||
$_MODULE['<{gamification}prestashop>notification_a0db49ba470c1c9ae2128c3470339153'] = 'Poziom';
|
||||
$_MODULE['<{gamification}prestashop>notification_ca96b4f8d13722aac99da25f94ea1711'] = 'Twoje doświadczenie sprzedawcy';
|
||||
$_MODULE['<{gamification}prestashop>notification_16a1daea9e8873542aec1e820798aa44'] = 'Ostatnia odznaka:';
|
||||
$_MODULE['<{gamification}prestashop>notification_15377177c0259c6f79341cc57da13f19'] = 'Następna odznaka:';
|
||||
$_MODULE['<{gamification}prestashop>notification_f8978f781f97e6f851e9c8f7059c37b2'] = 'Zobacz mój kompletny profil';
|
||||
$_MODULE['<{gamification}prestashop>filters_e659b52eba1f0299b2d8ca3483919e72'] = 'Typ:';
|
||||
$_MODULE['<{gamification}prestashop>filters_18325105de95083e4a1d10b78f29c2bc'] = 'Stan:';
|
@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{gamification}prestashop>gamification_3d4aafb2eedeba2fbf92e852f0af745a'] = 'Опыт продавца';
|
||||
$_MODULE['<{gamification}prestashop>gamification_bacc1bf300527bad9c6ac2d3b875a8d8'] = 'Станьте экспертом в области электронной коммерции в мгновение ока!';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_ca96b4f8d13722aac99da25f94ea1711'] = 'Опыт продавца';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_98f770b0af18ca763421bac22b4b6805'] = 'Свойства';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_f5c7922da355fd289ec1d6469e0583a7'] = 'Достижения';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8189ecf686157db0c0274c1f49373318'] = 'География';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_851f12a0c936baace7f0e734d5c624e7'] = '1. Новичек';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_583981a16ea761fe852b64094d8a887e'] = '2. Профи';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_38f7af7416ffcd1524d8a4acda756cbf'] = '3. Эксперт';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e7613fe56cdbeddfc9bb6276fd0f0d12'] = '4. Чародей';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_8d03eaad7ff7babdd33c2c74fe479ed0'] = '5. Гуру';
|
||||
$_MODULE['<{gamification}prestashop>admingamificationcontroller_e4be4f3e3ae4ee9dda6b60815bf774c1'] = '6. Легенда';
|
||||
$_MODULE['<{gamification}prestashop>filters_b1c94ca2fbc3e78fc30069c8d0f01680'] = 'Все';
|
||||
$_MODULE['<{gamification}prestashop>filters_5364259abab90e94890f2ed2481b9824'] = 'Получено';
|
||||
$_MODULE['<{gamification}prestashop>filters_dc450ba947e6adecbdbe68c25de03a1b'] = 'Не получено';
|
||||
$_MODULE['<{gamification}prestashop>filters_07ad815187b53dc2ceaf5ad6e0a12bb1'] = 'Уровень:';
|
||||
$_MODULE['<{gamification}prestashop>view_a0db49ba470c1c9ae2128c3470339153'] = 'Уровень';
|
||||
$_MODULE['<{gamification}prestashop>view_2a0ab6a9172272d54f0d601b0ac157f3'] = 'станьте экспертом в электронной коммерции максимально быстро!';
|
||||
$_MODULE['<{gamification}prestashop>view_cb3d475bd997e38c100704631dbab020'] = 'PrestaShop постоянно предлагает множество новых возможностей, постарайтесь не отстать!';
|
||||
$_MODULE['<{gamification}prestashop>view_2c3193c85bb2555c333adfcfb824804a'] = 'Основной целью этого модуля является помощь вам в достижении успеха в мире электронной коммерции. Для того, что бы облегчить вам задачу, мы создали систему значков и балов, которая будет отображать успех вашего магазина. Мы разделили всю систему на три уровня, каждый из которых важен в достижении успеха: 1 - базовые функции вашего магазина, 2 - эффективность ваших продаж, 3 - ваше присутствие на международном рынке.';
|
||||
$_MODULE['<{gamification}prestashop>view_6b766dc388ad21053bde0f8fd95d1e04'] = 'Чем лучше работает ваш магазин, тем больше значков вы получите. Вам не нужно указывать никакой информации или заполнять формы. Мы знаем, что у вас много работы, и поэтому все автоматизировано.';
|
||||
$_MODULE['<{gamification}prestashop>view_21dc1cfc9ef1cdfbb665cab323d5e1a9'] = 'Теперь, нажав на кнопку, вы увидите список возможностей улучшить работу вашего магазина. Воспользуйтесь преимуществами, которые они могут вам дать!';
|
||||
$_MODULE['<{gamification}prestashop>view_8ba134cf899d862079bbf3964bc7d7d4'] = 'Наша команда будет рада помочь вам развиваться.. Напишите нам!';
|
||||
$_MODULE['<{gamification}prestashop>view_bcc254b55c4a1babdf1dcb82c207506b'] = 'Телефон';
|
||||
$_MODULE['<{gamification}prestashop>view_b39131f9b4f81406be4f9cca784f99c8'] = 'По телефону +1 (888) 947.6543';
|
||||
$_MODULE['<{gamification}prestashop>view_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail';
|
||||
$_MODULE['<{gamification}prestashop>view_119c7e70192829bf606e3774254c6167'] = 'По Email';
|
||||
$_MODULE['<{gamification}prestashop>view_6b6ac7834d96afefbca5677814769109'] = 'Уровень конкуренции';
|
||||
$_MODULE['<{gamification}prestashop>view_82338dd23ce2fd2f6d3606c20f4ee96e'] = 'Нет значков подходящих под такой выбор';
|
||||
$_MODULE['<{gamification}prestashop>notification_a0db49ba470c1c9ae2128c3470339153'] = 'Уровень';
|
||||
$_MODULE['<{gamification}prestashop>notification_ca96b4f8d13722aac99da25f94ea1711'] = 'Ваш опsn продавца';
|
||||
$_MODULE['<{gamification}prestashop>notification_16a1daea9e8873542aec1e820798aa44'] = 'Предыдущий значок:';
|
||||
$_MODULE['<{gamification}prestashop>notification_15377177c0259c6f79341cc57da13f19'] = 'Следующий значок:';
|
||||
$_MODULE['<{gamification}prestashop>notification_f8978f781f97e6f851e9c8f7059c37b2'] = 'Посмотреть все данные';
|
||||
$_MODULE['<{gamification}prestashop>filters_e659b52eba1f0299b2d8ca3483919e72'] = 'Тип:';
|
||||
$_MODULE['<{gamification}prestashop>filters_18325105de95083e4a1d10b78f29c2bc'] = 'Регион:';
|
@ -1,38 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
function upgrade_module_1_4_9($object)
|
||||
{
|
||||
return Db::getInstance()->execute(
|
||||
'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'tab_advice` (
|
||||
`id_tab` int(11) NOT NULL,
|
||||
`id_advice` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id_tab`, `id_advice`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;');
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
function upgrade_module_1_6_6($object)
|
||||
{
|
||||
return Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'advice` ADD `start_day` INT NULL DEFAULT 0 , ADD `stop_day` INT NULL DEFAULT 0');
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
function upgrade_module_1_7_3($object)
|
||||
{
|
||||
return Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'advice` ADD `hide` TINYINT NOT NULL DEFAULT \'0\' AFTER `validated`');
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
function upgrade_module_1_7_7($object)
|
||||
{
|
||||
$cols = array(
|
||||
'start_day' => array('exist' => false, 'sql' => 'ALTER TABLE `'._DB_PREFIX_.'advice` ADD `start_day` INT NULL DEFAULT 0 '),
|
||||
'stop_day' => array('exist' => false, 'sql' => 'ALTER TABLE `'._DB_PREFIX_.'advice` ADD `stop_day` INT NULL DEFAULT 0 '),
|
||||
'start_date' => array('exist' => false, 'sql' => 'ALTER TABLE `'._DB_PREFIX_.'advice` DROP `start_date`'),
|
||||
'stop_date' => array('exist' => false, 'sql' => 'ALTER TABLE `'._DB_PREFIX_.'advice` DROP `stop_date`'),
|
||||
);
|
||||
|
||||
$columns = Db::getInstance()->executeS('SHOW COLUMNS FROM `'._DB_PREFIX_.'advice` ');
|
||||
foreach ($columns as $c)
|
||||
if (in_array($c['Field'], array_keys($cols)))
|
||||
$cols[$c['Field']]['exist'] = true;
|
||||
|
||||
foreach ($cols as $name => $co)
|
||||
if (in_array($name, array('start_day', 'stop_day')))
|
||||
{
|
||||
if (!$co['exist'])
|
||||
Db::getInstance()->execute($co['sql']);
|
||||
}
|
||||
elseif ($co['exist'])
|
||||
Db::getInstance()->execute($co['sql']);
|
||||
|
||||
return true;
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
function upgrade_module_1_8_0($object)
|
||||
{
|
||||
Configuration::updateValue('GF_INSTALL_CALC', 0);
|
||||
|
||||
return true;
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
#advice-16 .hide { display: none; }
|
||||
#advice-16 .text-right { text-align: right; }
|
||||
#advice-16 .text-left { text-align: left; }
|
||||
#advice-16 .text-center { text-align: center; }
|
||||
#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;}
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; }
|
||||
|
||||
.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; }
|
||||
#wrap_id_advice_321 hr { margin: 0!important; }
|
@ -1,27 +0,0 @@
|
||||
#advice-16 .hide { display: none; }
|
||||
#advice-16 .text-right { text-align: right; }
|
||||
#advice-16 .text-left { text-align: left; }
|
||||
#advice-16 .text-center { text-align: center; }
|
||||
#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;}
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; }
|
||||
|
||||
.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; }
|
||||
#wrap_id_advice_352 hr { margin: 0!important; }
|
@ -1,27 +0,0 @@
|
||||
#advice-16 .hide { display: none; }
|
||||
#advice-16 .text-right { text-align: right; }
|
||||
#advice-16 .text-left { text-align: left; }
|
||||
#advice-16 .text-center { text-align: center; }
|
||||
#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;}
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; }
|
||||
|
||||
.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; }
|
||||
#wrap_id_advice_500 hr { margin: 0!important; }
|
@ -1,27 +0,0 @@
|
||||
#advice-16 .hide { display: none; }
|
||||
#advice-16 .text-right { text-align: right; }
|
||||
#advice-16 .text-left { text-align: left; }
|
||||
#advice-16 .text-center { text-align: center; }
|
||||
#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;}
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; }
|
||||
|
||||
.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; }
|
||||
#wrap_id_advice_534 hr { margin: 0!important; }
|
@ -1,27 +0,0 @@
|
||||
#advice-16 .hide { display: none; }
|
||||
#advice-16 .text-right { text-align: right; }
|
||||
#advice-16 .text-left { text-align: left; }
|
||||
#advice-16 .text-center { text-align: center; }
|
||||
#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;}
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; }
|
||||
|
||||
.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; }
|
||||
#wrap_id_advice_541 hr { margin: 0!important; }
|
@ -1,27 +0,0 @@
|
||||
#advice-16 .hide { display: none; }
|
||||
#advice-16 .text-right { text-align: right; }
|
||||
#advice-16 .text-left { text-align: left; }
|
||||
#advice-16 .text-center { text-align: center; }
|
||||
#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; }
|
||||
#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;}
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; }
|
||||
#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; }
|
||||
|
||||
.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; }
|
||||
.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; }
|
||||
#wrap_id_advice_602 hr { margin: 0!important; }
|
@ -1,85 +0,0 @@
|
||||
/*
|
||||
|
||||
jQuery Bubble Popup v.3.0
|
||||
http://www.maxvergelli.com/jquery-bubble-popup/
|
||||
|
||||
Copyright (c) 2012 Max Vergelli
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
*/
|
||||
|
||||
/* Layout Settings */
|
||||
.jquerybubblepopup{width:auto;height:auto;margin:0px;padding:0px;position:absolute;border:0px;z-index:100;text-align:center;background-color:transparent;}
|
||||
.jquerybubblepopup-ie{filter:progid:DXImageTransform.Microsoft.Shadow(color="#666666", Direction=135, Strength=3);} /* the plugin adds this class only if browser is IE; if IE9, it's added to main <DIV> else to <TABLE> */
|
||||
.jquerybubblepopup table{width:auto;height:auto;margin:0px;padding:0px;display:table;border-collapse:collapse;border-spacing:0px;border:0px;empty-cells:show;background-color:transparent;}
|
||||
.jquerybubblepopup tbody{display:table-row-group;vertical-align:middle;border:0px;background-color:transparent;}
|
||||
.jquerybubblepopup td{margin:0px;padding:0px;background-color:transparent;}
|
||||
.jquerybubblepopup-top-left, .jquerybubblepopup-top-right,
|
||||
.jquerybubblepopup-bottom-left, .jquerybubblepopup-bottom-right{width:21px;height:21px;overflow:hidden;background-repeat:no-repeat;}
|
||||
.jquerybubblepopup-top-middle, .jquerybubblepopup-bottom-middle{overflow:hidden;background-repeat:repeat-x;}
|
||||
.jquerybubblepopup-middle-left, .jquerybubblepopup-middle-right{overflow:hidden;background-repeat:repeat-y;}
|
||||
.jquerybubblepopup-tail{border:0px;margin:0px;padding:0px;display:inline;}
|
||||
|
||||
/*
|
||||
Themes:
|
||||
|
||||
The plugin adds the class of the theme (for example ".jquerybubblepopup-azure")
|
||||
to the main <DIV> container, then you can edit the style of any element inside the
|
||||
Bubble Popup markup for each theme.
|
||||
|
||||
The following code defines fonts and backgrounds of the "innerHtml" for each theme:
|
||||
*/
|
||||
.jquerybubblepopup-azure .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-black .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-blue .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-green .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-grey .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-orange .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-violet .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-yellow .jquerybubblepopup-innerHtml
|
||||
{
|
||||
font-family:'Trebuchet MS',Arial;
|
||||
font-size:11px;
|
||||
font-weight:normal;
|
||||
color:#000000;
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.jquerybubblepopup-all-azure .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-all-black .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-all-blue .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-all-green .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-all-grey .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-all-orange .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-all-violet .jquerybubblepopup-innerHtml,
|
||||
.jquerybubblepopup-all-yellow .jquerybubblepopup-innerHtml
|
||||
{
|
||||
font-family:'Trebuchet MS',Arial;
|
||||
font-size:11px;
|
||||
font-weight:normal;
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.jquerybubblepopup-all-azure .jquerybubblepopup-innerHtml{background-color:#0099FF;}
|
||||
.jquerybubblepopup-all-black .jquerybubblepopup-innerHtml{background-color:#000000;}
|
||||
.jquerybubblepopup-all-blue .jquerybubblepopup-innerHtml{background-color:#0066CC;}
|
||||
.jquerybubblepopup-all-green .jquerybubblepopup-innerHtml{background-color:#66FF00;}
|
||||
.jquerybubblepopup-all-grey .jquerybubblepopup-innerHtml{background-color:#666666;}
|
||||
.jquerybubblepopup-all-orange .jquerybubblepopup-innerHtml{background-color:#FF9933;}
|
||||
.jquerybubblepopup-all-violet .jquerybubblepopup-innerHtml{background-color:#FF33FF;}
|
||||
.jquerybubblepopup-all-yellow .jquerybubblepopup-innerHtml{background-color:#FFCC00;}
|
@ -1,312 +0,0 @@
|
||||
#notifs_icon_wrapper {
|
||||
width: 115px !important
|
||||
}
|
||||
|
||||
#gamification_notif {
|
||||
background: url('../img/notif_gadges.png') no-repeat center top;
|
||||
}
|
||||
|
||||
#gamification_notif_wrapper {
|
||||
width:340px
|
||||
}
|
||||
|
||||
#gamification_notif.open_notifs {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #000000;
|
||||
position: relative;
|
||||
display: block;
|
||||
background-position:center bottom;
|
||||
}
|
||||
|
||||
.gamification_badges_title {
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
margin-top:10px
|
||||
}
|
||||
|
||||
#gamification_see_more {
|
||||
border-top: 1px solid #E5E5E5;
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
padding-top: 7px;
|
||||
text-align: right;
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gamification_badges_img{
|
||||
text-align: center;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.gamification_badges_name{
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
#gamification_top h3 {
|
||||
border:none
|
||||
}
|
||||
|
||||
#gamification_top {
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
}
|
||||
|
||||
#gamification_badges_container{float:left;margin-top:10px}
|
||||
|
||||
ul#gamification_badges_list {
|
||||
list-style-type:none;
|
||||
height: 300px;
|
||||
width: 315px;
|
||||
padding-top:10px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
ul#gamification_badges_list li {
|
||||
display: block;
|
||||
min-height: 165px;
|
||||
padding: 5px;
|
||||
width: 132px;
|
||||
margin-bottom:10px;
|
||||
margin-left: 10px;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
ul#gamification_badges_list li span{
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
ul#gamification_badges_list li.unlocked {
|
||||
background:#fffbe2;
|
||||
border:1px solid #ebdfab;
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
ul#gamification_badges_list li.unlocked span{
|
||||
color:#a88417;
|
||||
font-size:11px;
|
||||
font-weight:bold;
|
||||
text-shadow: 1px 1px 1px #fff;
|
||||
text-transform:uppercase
|
||||
}
|
||||
|
||||
ul#gamification_badges_list li.unlocked span.unlocked_img{
|
||||
background:url(../img/badge_unlocked.png) no-repeat 0 0;
|
||||
display: block;
|
||||
height: 15px;
|
||||
width: 109px;
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
width: 109px;
|
||||
left:24px
|
||||
}
|
||||
|
||||
ul#gamification_badges_list li.locked {
|
||||
background:url(../img/bg_locked_badge.png) repeat;
|
||||
border:1px solid #acaeb5;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
ul#gamification_badges_list li.locked span{
|
||||
color:#343943;
|
||||
font-size:11px;
|
||||
font-weight:bold;
|
||||
text-shadow: 1px 1px 1px #fff;
|
||||
text-transform:uppercase
|
||||
}
|
||||
|
||||
ul#gamification_badges_list li.locked span.locked_img{
|
||||
background:url(../img/badge_locked.png) no-repeat 0 0;
|
||||
display: block;
|
||||
height: 15px;
|
||||
width: 109px;
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
width: 109px;
|
||||
left:18px
|
||||
}
|
||||
|
||||
ul#gamification_badges_list li.locked .gamification_badges_name{
|
||||
color:#acaeb5
|
||||
}
|
||||
|
||||
|
||||
#gamification_progressbar {
|
||||
height: 20px;
|
||||
margin-top: 5px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#gamification_progressbar {
|
||||
height: 19px;
|
||||
position: relative;
|
||||
-moz-border-radius: 15px;
|
||||
-o-border-radius: 15px;
|
||||
-webkit-border-radius: 15px;
|
||||
border-radius: 15px;
|
||||
background-image:url(../img/bg_bar_global.png)
|
||||
}
|
||||
|
||||
#gamification_progressbar .gamification_progress-label {
|
||||
top: 2px;
|
||||
font-size:14px
|
||||
}
|
||||
|
||||
#gamification_progressbar .ui-progressbar-value{
|
||||
-moz-border-radius: 15px;
|
||||
-o-border-radius: 15px;
|
||||
-webkit-border-radius: 15px;
|
||||
border-radius: 15px;
|
||||
border:1px solid #8aa96d
|
||||
}
|
||||
|
||||
#gamification_progressbar .ui-widget-header{
|
||||
background-image:url(../img/gamification-bar-bg.png);
|
||||
margin-top: -18px;
|
||||
}
|
||||
|
||||
#gamification_progressbar_tab {
|
||||
-moz-border-radius: 15px;
|
||||
-o-border-radius: 15px;
|
||||
-webkit-border-radius: 15px;
|
||||
border-radius: 15px;
|
||||
background-image:url(../img/bg_bar_global.png);
|
||||
float: left;
|
||||
height: 25px;
|
||||
position: relative;
|
||||
width: 87%;
|
||||
}
|
||||
|
||||
#completion_gamification #gamification_progress-label_tab{
|
||||
float:left;
|
||||
width:10%;
|
||||
margin-left: 15px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#gamification_progressbar_tab .ui-progressbar-value{
|
||||
-moz-border-radius: 15px;
|
||||
-o-border-radius: 15px;
|
||||
-webkit-border-radius: 15px;
|
||||
border-radius: 15px;
|
||||
border:1px solid #8aa96d;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#gamification_progressbar_tab .ui-widget-header{
|
||||
background-image:url(../img/gamification-bar-bg.png);
|
||||
}
|
||||
|
||||
/******* intro gamification *******/
|
||||
|
||||
#intro_gamification{
|
||||
border-bottom:1px solid #CCCED7;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#intro_gamification h4, #completion_gamification h4{
|
||||
margin-top:10px;
|
||||
font-weight:bold;
|
||||
font-size:18px;
|
||||
color:#343943;
|
||||
text-shadow: 1px 1px 1px #fff
|
||||
}
|
||||
#intro_gamification h4 {
|
||||
margin-top:0;
|
||||
}
|
||||
|
||||
#intro_gamification #left_intro{
|
||||
float:left;
|
||||
width:67%;
|
||||
padding-right:20px;
|
||||
border-right:1px solid #CCCED7;
|
||||
}
|
||||
|
||||
#intro_gamification #left_intro p{
|
||||
text-align:justify;
|
||||
float: left;
|
||||
width:100%;
|
||||
margin-bottom: 20px
|
||||
}
|
||||
#intro_gamification #right_intro{
|
||||
float:left;
|
||||
padding-left:20px;
|
||||
border-left:1px solid #ffffff;
|
||||
width:23%
|
||||
}
|
||||
|
||||
#intro_gamification #right_intro a{
|
||||
color:#268ccd;
|
||||
font-size:15px;
|
||||
font-weight:bold
|
||||
|
||||
}
|
||||
#intro_gamification #right_intro li{
|
||||
color:#343943;
|
||||
font-size:15px;
|
||||
font-weight:bold
|
||||
}
|
||||
|
||||
#intro_gamification #right_intro li span, #intro_gamification #right_intro li a{
|
||||
line-height:22px
|
||||
}
|
||||
|
||||
#completion_gamification{border-top:1px solid #ffffff;clear:both}
|
||||
|
||||
.gamification_progress-label , .gamification_progress-label_tab {
|
||||
text-align: center;
|
||||
display: block;
|
||||
top: 3px;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 0 #fff;
|
||||
position: relative;
|
||||
z-index: 1000;
|
||||
color:#68737f;
|
||||
font-size:17px
|
||||
}
|
||||
|
||||
#gamification_progress-label {
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
ul.badge_list
|
||||
{
|
||||
list-style-type:none;
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
li.badge_square{
|
||||
display:block;
|
||||
float:left;
|
||||
height:110px;
|
||||
width:100px;
|
||||
background-color: transparent;
|
||||
border:none;
|
||||
padding: 5px 10px 5px 10px;
|
||||
border-radius: 3px;
|
||||
margin-right:10px;
|
||||
}
|
||||
/*li.validated {
|
||||
background: url('../img/validated.png') no-repeat 100px 0 transparent;
|
||||
}
|
||||
*/
|
||||
li.not_validated {
|
||||
/*background: url('../img/not_validated.png') transparent no-repeat 100px 0;*/
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.badges_filters div{
|
||||
float: left;
|
||||
margin-bottom: 30px
|
||||
}
|
||||
.badges_filters select{
|
||||
margin-right: 30px;
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
/* Start: Recommended Isotope styles */
|
||||
|
||||
/**** Isotope Filtering ****/
|
||||
|
||||
.isotope-item {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.isotope-hidden.isotope-item {
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/**** Isotope CSS3 transitions ****/
|
||||
|
||||
.isotope,
|
||||
.isotope .isotope-item {
|
||||
-webkit-transition-duration: 0.8s;
|
||||
-moz-transition-duration: 0.8s;
|
||||
-ms-transition-duration: 0.8s;
|
||||
-o-transition-duration: 0.8s;
|
||||
transition-duration: 0.8s;
|
||||
}
|
||||
|
||||
.isotope {
|
||||
-webkit-transition-property: height, width;
|
||||
-moz-transition-property: height, width;
|
||||
-ms-transition-property: height, width;
|
||||
-o-transition-property: height, width;
|
||||
transition-property: height, width;
|
||||
}
|
||||
|
||||
.isotope .isotope-item {
|
||||
-webkit-transition-property: -webkit-transform, opacity;
|
||||
-moz-transition-property: -moz-transform, opacity;
|
||||
-ms-transition-property: -ms-transform, opacity;
|
||||
-o-transition-property: -o-transform, opacity;
|
||||
transition-property: transform, opacity;
|
||||
}
|
||||
|
||||
/**** disabling Isotope CSS3 transitions ****/
|
||||
|
||||
.isotope.no-transition,
|
||||
.isotope.no-transition .isotope-item,
|
||||
.isotope .isotope-item.no-transition {
|
||||
-webkit-transition-duration: 0s;
|
||||
-moz-transition-duration: 0s;
|
||||
-ms-transition-duration: 0s;
|
||||
-o-transition-duration: 0s;
|
||||
transition-duration: 0s;
|
||||
}
|
||||
|
||||
/* End: Recommended Isotope styles */
|
||||
|
||||
|
||||
|
||||
/* disable CSS transitions for containers with infinite scrolling*/
|
||||
.isotope.infinite-scrolling {
|
||||
-webkit-transition: none;
|
||||
-moz-transition: none;
|
||||
-ms-transition: none;
|
||||
-o-transition: none;
|
||||
transition: none;
|
||||
}
|
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1018 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 655 B |
Before Width: | Height: | Size: 754 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 316 B |
Before Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 311 B |
Before Width: | Height: | Size: 102 B |
Before Width: | Height: | Size: 52 B |
Before Width: | Height: | Size: 100 B |
Before Width: | Height: | Size: 52 B |
Before Width: | Height: | Size: 52 B |
Before Width: | Height: | Size: 89 B |
Before Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 97 B |
Before Width: | Height: | Size: 87 B |
Before Width: | Height: | Size: 98 B |
Before Width: | Height: | Size: 52 B |
Before Width: | Height: | Size: 100 B |
Before Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 308 B |
@ -1,140 +0,0 @@
|
||||
$(document).ready( function () {
|
||||
gamificationTasks();
|
||||
});
|
||||
|
||||
function gamificationTasks()
|
||||
{
|
||||
$('#gamification_notif').remove();
|
||||
$('#notifs_icon_wrapper').append('<div id="gamification_notif" class="notifs"></div>');
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: admin_gamification_ajax_url,
|
||||
dataType: 'json',
|
||||
data: {
|
||||
controller : 'AdminGamification',
|
||||
action : 'gamificationTasks',
|
||||
ajax : true,
|
||||
id_tab : current_id_tab,
|
||||
ids_ps_advice : ids_ps_advice,
|
||||
},
|
||||
success: function(jsonData)
|
||||
{
|
||||
for (var i in jsonData.advices_to_display.advices)
|
||||
{
|
||||
ok = false;
|
||||
selector = jsonData.advices_to_display.advices[i].selector.split(',');
|
||||
for (var j in selector)
|
||||
{
|
||||
if (!ok)
|
||||
{
|
||||
if (jsonData.advices_to_display.advices[i].location == 'after')
|
||||
$(selector[j]).after(jsonData.advices_to_display.advices[i].html);
|
||||
else
|
||||
$(selector[j]).before(jsonData.advices_to_display.advices[i].html);
|
||||
|
||||
if ($(selector[j]).length)
|
||||
ok = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
initHeaderNotification(jsonData.header_notification);
|
||||
|
||||
$('.gamification_fancybox').fancybox();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function initHeaderNotification(html)
|
||||
{
|
||||
$('#gamification_notif').remove();
|
||||
$('#notifs_icon_wrapper').append(html);
|
||||
$('#gamification_notif').click(function () {
|
||||
if ($('#gamification_notif_wrapper').css('display') == 'block')
|
||||
{
|
||||
$('#gamification_notif_wrapper').hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
disabledGamificationNotification();
|
||||
$('.notifs_wrapper').hide();
|
||||
$('#gamification_notif_number_wrapper').hide();
|
||||
$('#gamification_notif_wrapper').show();
|
||||
if (typeof(admintab_gamification) != "undefined")
|
||||
{
|
||||
$('#gamification_progressbar').progressbar({
|
||||
change: function() {
|
||||
if (current_level_percent)
|
||||
$( ".gamification_progress-label" ).html( gamification_level+' '+current_level+' : '+$('#gamification_progressbar').progressbar( "value" ) + "%" );
|
||||
else
|
||||
$( ".gamification_progress-label" ).html('');
|
||||
},
|
||||
});
|
||||
$('#gamification_progressbar').progressbar("value", current_level_percent );
|
||||
}
|
||||
}
|
||||
});
|
||||
if ($('.dropdown-toggle').length)
|
||||
$('.dropdown-toggle').dropdown();
|
||||
}
|
||||
|
||||
function disabledGamificationNotification()
|
||||
{
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: admin_gamification_ajax_url,
|
||||
data: {
|
||||
controller : 'AdminGamification',
|
||||
action : 'disableNotification',
|
||||
ajax : true
|
||||
},
|
||||
success: function(jsonData)
|
||||
{
|
||||
$('#gamification_notif_number_wrapper').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function initBubbleDescription()
|
||||
{
|
||||
$('.badge_square').each( function () {
|
||||
if ($(this).children('.gamification_badges_description').text().length)
|
||||
{
|
||||
$(this).CreateBubblePopup({
|
||||
position : 'top',
|
||||
openingDelay:0,
|
||||
alwaysVisible: false,
|
||||
align : 'center',
|
||||
innerHtml: $(this).children('.gamification_badges_description').text(),
|
||||
innerHtmlStyle: { color:'#000', 'text-align':'center' },
|
||||
themeName: 'black',
|
||||
themePath: '../modules/gamification/views/jquerybubblepopup-themes'
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function filterBadge(type)
|
||||
{
|
||||
group = '.'+$('#group_select_'+type+' option:selected').val();
|
||||
status = '.'+$('#status_select_'+type+' option:selected').val();
|
||||
level = '.'+$('#level_select_'+type+' option:selected').val();
|
||||
|
||||
if (group == '.undefined')
|
||||
group = '';
|
||||
if (status == '.undefined')
|
||||
status = '';
|
||||
if (level == '.undefined')
|
||||
level = '';
|
||||
|
||||
$('#list_'+type).isotope({filter: '.badge_square'+group+status+level, animationEngine : 'css'});
|
||||
|
||||
if (!$('#list_'+type+' li').not('.isotope-hidden').length)
|
||||
$('#no_badge_'+type).fadeIn();
|
||||
else
|
||||
$('#no_badge_'+type).fadeOut();
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,200 +0,0 @@
|
||||
$(document).ready( function () {
|
||||
gamificationTasks();
|
||||
});
|
||||
|
||||
function gamificationTasks()
|
||||
{
|
||||
if (typeof ids_ps_advice == 'undefined')
|
||||
ids_ps_advice = new Array();
|
||||
$('#gamification_notif').remove();
|
||||
$('#header_notifs_icon_wrapper').append('<div id="gamification_notif" class="notifs"></div>');
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: admin_gamification_ajax_url,
|
||||
dataType: 'json',
|
||||
data: {
|
||||
controller : 'AdminGamification',
|
||||
action : 'gamificationTasks',
|
||||
ajax : true,
|
||||
id_tab : current_id_tab,
|
||||
ids_ps_advice : ids_ps_advice,
|
||||
},
|
||||
success: function(jsonData)
|
||||
{
|
||||
if (jsonData.advices_to_display.advices.length)
|
||||
{
|
||||
for (var i in jsonData.advices_to_display.advices)
|
||||
{
|
||||
ok = false;
|
||||
selector = jsonData.advices_to_display.advices[i].selector.split(',');
|
||||
for (var j in selector)
|
||||
{
|
||||
if (!ok)
|
||||
{
|
||||
if (jsonData.advices_to_display.advices[i].location == 'after')
|
||||
$(selector[j]).after(jsonData.advices_to_display.advices[i].html);
|
||||
else
|
||||
$(selector[j]).before(jsonData.advices_to_display.advices[i].html);
|
||||
|
||||
if ($(selector[j]).length)
|
||||
ok = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
//display close button only for last version of the module
|
||||
$('.gamification_close').show();
|
||||
|
||||
$('.gamification_close').on('click', function () {
|
||||
if (confirm(hide_advice))
|
||||
adviceCloseClick($(this).attr('id'));
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
if (typeof jsonData.advices_premium_to_display != 'undefined')
|
||||
{
|
||||
$('#hookDashboardZoneTwo section:eq(0)').after('<div id="premium_advice_container" class="row"></div>');
|
||||
for (var p in jsonData.advices_premium_to_display.advices)
|
||||
if (jsonData.advices_premium_to_display.advices[p] != null && typeof jsonData.advices_premium_to_display.advices[p].html != 'undefined')
|
||||
$('#premium_advice_container').append(jsonData.advices_premium_to_display.advices[p].html);
|
||||
|
||||
$('.gamification_premium_close').on('click', function () {
|
||||
var $adviceContainer = $(this).parent();
|
||||
var $btn = $(this);
|
||||
$adviceContainer.find('.gamification-close-confirmation').removeClass('hide');
|
||||
$adviceContainer.find('button').on('click',function(e){
|
||||
e.preventDefault();
|
||||
if ($(this).data('advice') == 'cancel' ) {
|
||||
$adviceContainer.find('.gamification-close-confirmation').addClass('hide');
|
||||
}
|
||||
else if ($(this).data('advice') == 'delete' ) {
|
||||
adviceCloseClick($btn.attr('id'));
|
||||
}
|
||||
});
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
initHeaderNotification(jsonData.header_notification);
|
||||
|
||||
$('.gamification_fancybox').fancybox();
|
||||
|
||||
$(".preactivationLink").on('click', function(e) {
|
||||
e.preventDefault();
|
||||
preactivationLinkClick($(this).attr('rel'), $(this).attr('href'));
|
||||
});
|
||||
|
||||
$('.gamification_badges_img').tooltip();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function initHeaderNotification(html)
|
||||
{
|
||||
$('#gamification_notif').remove();
|
||||
$('#header_notifs_icon_wrapper').append(html);
|
||||
$('.gamification_notif').click(function () {
|
||||
if ($('#gamification_notif_wrapper').parent().css('display') == 'none')
|
||||
{
|
||||
disabledGamificationNotification();
|
||||
$('#gamification_notif_value').html(0);
|
||||
$('#gamification_notif_number_wrapper').hide();
|
||||
|
||||
if (typeof(admintab_gamification) != "undefined")
|
||||
{
|
||||
$('#gamification_progressbar').progressbar({
|
||||
change: function() {
|
||||
if (current_level_percent)
|
||||
$( ".gamification_progress-label" ).html( gamification_level+' '+current_level+' : '+$('#gamification_progressbar').progressbar( "value" ) + "%" );
|
||||
else
|
||||
$( ".gamification_progress-label" ).html('');
|
||||
},
|
||||
});
|
||||
$('#gamification_progressbar').progressbar("value", current_level_percent );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (parseInt($('#gamification_notif_value').html()) == 0)
|
||||
$('#gamification_notif_number_wrapper').hide();
|
||||
|
||||
if ($('.dropdown-toggle').length)
|
||||
$('.dropdown-toggle').dropdown();
|
||||
}
|
||||
|
||||
function disabledGamificationNotification()
|
||||
{
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: admin_gamification_ajax_url,
|
||||
data: {
|
||||
controller : 'AdminGamification',
|
||||
action : 'disableNotification',
|
||||
ajax : true
|
||||
},
|
||||
success: function(jsonData)
|
||||
{
|
||||
$('#gamification_notif_value').html(0);
|
||||
$('#gamification_notif_number_wrapper').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
function filterBadge(type)
|
||||
{
|
||||
group = '.'+$('#group_select_'+type+' option:selected').val();
|
||||
status = '.'+$('#status_select_'+type+' option:selected').val();
|
||||
level = '.'+$('#level_select_'+type+' option:selected').val();
|
||||
|
||||
if (group == '.undefined')
|
||||
group = '';
|
||||
if (status == '.undefined')
|
||||
status = '';
|
||||
if (level == '.undefined')
|
||||
level = '';
|
||||
|
||||
$('#list_'+type).isotope({filter: '.badge_square'+group+status+level, animationEngine : 'css'});
|
||||
|
||||
if (!$('#list_'+type+' li').not('.isotope-hidden').length)
|
||||
$('#no_badge_'+type).fadeIn();
|
||||
else
|
||||
$('#no_badge_'+type).fadeOut();
|
||||
}
|
||||
|
||||
|
||||
function preactivationLinkClick(module, href) {
|
||||
$.ajax({
|
||||
url : admin_gamification_ajax_url,
|
||||
data : {
|
||||
ajax : "1",
|
||||
controller : "AdminGamification",
|
||||
action : "savePreactivationRequest",
|
||||
module : module,
|
||||
},
|
||||
type: 'POST',
|
||||
success : function(jsonData){
|
||||
window.location.href = href;
|
||||
},
|
||||
error : function(jsonData){
|
||||
window.location.href = href;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function adviceCloseClick(id_advice) {
|
||||
$.ajax({
|
||||
url : admin_gamification_ajax_url,
|
||||
data : {
|
||||
ajax : "1",
|
||||
controller : "AdminGamification",
|
||||
action : "closeAdvice",
|
||||
id_advice : id_advice,
|
||||
},
|
||||
type: 'POST'
|
||||
});
|
||||
|
||||
$('#wrap_id_advice_'+id_advice).fadeOut();
|
||||
$('#wrap_id_advice_'+id_advice).html('<img src="'+advice_hide_url+id_advice+'.png"/>');
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
<div class="badges_filters">
|
||||
{if $type == 'badges_feature' || $type == 'badges_achievement'}
|
||||
<div>{l s='Type:' mod='gamification'}
|
||||
<select id="group_select_{$type}" onchange="filterBadge('{$type}');">
|
||||
<option value="badge_all">{l s='All' mod='gamification'}</option>
|
||||
{foreach from=$groups.$type key=id_group item=group}
|
||||
<option value="group_{$id_group}">{$group}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
{/if}
|
||||
<div>{l s='Status:' mod='gamification'}
|
||||
<select id="status_select_{$type}" onchange="filterBadge('{$type}');">
|
||||
<option value="badge_all">{l s='All' mod='gamification'}</option>
|
||||
<option value="validated">{l s='Validated' mod='gamification'}</option>
|
||||
<option value="not_validated">{l s='Not Validated' mod='gamification'}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{if $type == 'badges_feature' || $type == 'badges_achievement'}
|
||||
<div>{l s="Level:" mod='gamification'}
|
||||
<select id="level_select_{$type}" onchange="filterBadge('{$type}');">
|
||||
<option value="badge_all">{l s='All' mod='gamification'}</option>
|
||||
{foreach from=$levels key=id_level item=level}
|
||||
<option value="level_{$id_level}">{$level}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
|
@ -1,39 +0,0 @@
|
||||
{if isset($type)}
|
||||
<form class="form-horizontal well" role="form">
|
||||
{if $type == 'badges_feature' || $type == 'badges_achievement'}
|
||||
<div class="form-group">
|
||||
<label>{l s='Type:' mod='gamification'}</label>
|
||||
<select id="group_select_{$type}" onchange="filterBadge('{$type}');">
|
||||
<option value="badge_all">{l s='All' mod='gamification'}</option>
|
||||
{if isset($groups.$type)}
|
||||
{foreach from=$groups.$type key=id_group item=group}
|
||||
<option value="group_{$id_group}">{$group}</option>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</select>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="form-group">
|
||||
<label>{l s='Status:' mod='gamification'}</label>
|
||||
<select id="status_select_{$type}" onchange="filterBadge('{$type}');">
|
||||
<option value="badge_all">{l s='All' mod='gamification'}</option>
|
||||
<option value="validated">{l s='Validated' mod='gamification'}</option>
|
||||
<option value="not_validated">{l s='Not Validated' mod='gamification'}</option>
|
||||
</select>
|
||||
</div>
|
||||
{if $type == 'badges_feature' || $type == 'badges_achievement'}
|
||||
<div class="form-group">
|
||||
<label>{l s='Level:' mod='gamification'}</label>
|
||||
<select id="level_select_{$type}" onchange="filterBadge('{$type}');">
|
||||
<option value="badge_all">{l s='All' mod='gamification'}</option>
|
||||
{if isset($levels)}
|
||||
{foreach from=$levels key=id_level item=level}
|
||||
<option value="level_{$id_level}">{$level}</option>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</select>
|
||||
</div>
|
||||
{/if}
|
||||
</form>
|
||||
<div class="clear"></div>
|
||||
{/if}
|
@ -1,100 +0,0 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<script>
|
||||
var current_level_percent_tab = {$current_level_percent|intval};
|
||||
var current_level_tab = '{$current_level|intval}';
|
||||
var gamification_level_tab = '{l s='Level' mod='gamification' js=1}';
|
||||
$(document).ready( function () {
|
||||
$('#gamification_progressbar_tab').progressbar({
|
||||
change: function() {
|
||||
if ({$current_level_percent})
|
||||
$( "#gamification_progress-label_tab" ).html( '{l s='Level' mod='gamification' js=1}'+' '+{$current_level|intval}+' : '+$('#gamification_progressbar_tab').progressbar( "value" ) + "%" );
|
||||
else
|
||||
$( "#gamification_progress-label_tab" ).html('');
|
||||
},
|
||||
});
|
||||
$('#gamification_progressbar_tab').progressbar("value", {$current_level_percent|intval} );
|
||||
initBubbleDescription();
|
||||
});
|
||||
var admintab_gamification = true;
|
||||
|
||||
</script>
|
||||
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn toolbar_scroll=$toolbar_scroll title=$title}
|
||||
<fieldset>
|
||||
<div id="intro_gamification">
|
||||
<div id="left_intro">
|
||||
<h4>{l s="Become an e-commerce expert in leaps and bounds!" mod='gamification'}</h4><br/>
|
||||
<p>
|
||||
{l s="With all of the great features and benefits that PrestaShop offers, it's important to keep up!" mod='gamification'}<br/><br/>
|
||||
{l s="The main goal of all of the features we offer is to make you succeed in the e-commerce world. In order to accomplish this, we have created a system of badges and points that make it easy to monitor your progress as a merchant. We have broken down the system into three levels, all of which are integral to success in the e-commerce world: (i) Your use of key e-commerce features on your store; (ii) Your sales performance; (iii) Your presence in international markets." mod='gamification'}<br/><br/>
|
||||
{l s="The more progress your store makes, the more badges and points you earn. No need to submit any information or fill out any forms; we know how busy you are, everything is automatic!" mod='gamification'}<br/><br/>
|
||||
{l s="Now, with the click of a button, you will be able to see sales-enhancing features that you may be missing out on. Take advantage and check it out below!" mod='gamification'}
|
||||
</p>
|
||||
</div>
|
||||
<div id="right_intro">
|
||||
<h4>{l s="Our team is available to help. Contact us today!" mod='gamification'}</h4><br/>
|
||||
<ul>
|
||||
<li>
|
||||
<img src="../modules/gamification/views/img/phone_icon.png" alt="{l s="Phone" mod='gamification'}" />
|
||||
<span>{l s="Call us: +1 (888) 947-6543" mod='gamification'}</span>
|
||||
</li>
|
||||
<li>
|
||||
<img src="../modules/gamification/views/img/mail_icon.png" alt="{l s="Email" mod='gamification' mod='gamification'}" />
|
||||
<a href="http://www.prestashop.com/en/contact-us?utm_source=gamification">{l s="Fill out a contact form" mod='gamification'}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="completion_gamification">
|
||||
<h4>{l s='Completion level' mod='gamification'}</h4>
|
||||
<div id="gamification_progressbar_tab"></div>
|
||||
<span class="gamification_progress-label" id="gamification_progress-label_tab">{l s="Level" mod='gamification' mod='gamification'} {$current_level|intval} : {$current_level_percent|intval} %</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clear"><br/></div>
|
||||
|
||||
|
||||
{foreach from=$badges_type key=key item=type}
|
||||
<fieldset>
|
||||
<legend><img src="../modules/gamification/views/img/{$key}.png" alt="{$type.name|escape:html:'UTF-8'}" /> {$type.name|escape:html:'UTF-8'}</legend>
|
||||
{include file='./filters.tpl' type=$key}
|
||||
<ul class="badge_list" id="list_{$key}" style="">
|
||||
{foreach from=$type.badges item=badge}
|
||||
<li class="badge_square badge_all {if $badge->validated}validated {else} not_validated{/if} group_{$badge->id_group} level_{$badge->group_position} " id="{$badge->id|intval}">
|
||||
<div class="gamification_badges_img"><img src="{$badge->getBadgeImgUrl()}" alt="" /></div>
|
||||
<div class="gamification_badges_name">{$badge->name|escape:html:'UTF-8'}</div>
|
||||
<div class="gamification_badges_description" style="display:none">{$badge->description|escape:html:'UTF-8'}</div>
|
||||
</li>
|
||||
{foreachelse}
|
||||
<li>
|
||||
<div class="gamification_badges_name">{l s="No badge in this section" mod='gamification'}</div>
|
||||
<li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
<p id="no_badge_{$key}" class="gamification_badges_name" style="display:none;text-align:center">{l s="No badge in this section" mod='gamification'}</p>
|
||||
</fieldset>
|
||||
<div class="clear"><br/></div>
|
||||
{/foreach}
|
@ -1,104 +0,0 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<script>
|
||||
var current_level_percent_tab = {$current_level_percent|intval};
|
||||
var current_level_tab = '{$current_level|intval}';
|
||||
var gamification_level_tab = '{l s='Level' mod='gamification' js=1}';
|
||||
$(document).ready( function () {
|
||||
$('.gamification_badges_img').tooltip();
|
||||
$('#gamification_progressbar_tab').progressbar({
|
||||
change: function() {
|
||||
if ({$current_level_percent})
|
||||
$( "#gamification_progress-label_tab" ).html( '{l s='Level' mod='gamification' js=1}'+' '+{$current_level|intval}+' : '+$('#gamification_progressbar_tab').progressbar( "value" ) + "%" );
|
||||
else
|
||||
$( "#gamification_progress-label_tab" ).html('');
|
||||
},
|
||||
});
|
||||
$('#gamification_progressbar_tab').progressbar("value", {$current_level_percent|intval} );
|
||||
});
|
||||
var admintab_gamification = true;
|
||||
|
||||
</script>
|
||||
|
||||
<div class="panel">
|
||||
<div id="intro_gamification">
|
||||
<div id="left_intro">
|
||||
<h4>{l s="Become an e-commerce expert in leaps and bounds!" mod='gamification'}</h4><br/>
|
||||
<p>
|
||||
{l s="With all of the great features and benefits that PrestaShop offers, it's important to keep up!" mod='gamification'}<br/><br/>
|
||||
{l s="The main goal of all of the features we offer is to make you succeed in the e-commerce world. In order to accomplish this, we have created a system of badges and points that make it easy to monitor your progress as a merchant. We have broken down the system into three levels, all of which are integral to success in the e-commerce world: (i) Your use of key e-commerce features on your store; (ii) Your sales performance; (iii) Your presence in international markets." mod='gamification'}<br/><br/>
|
||||
{l s="The more progress your store makes, the more badges and points you earn. No need to submit any information or fill out any forms; we know how busy you are, everything is automatic!" mod='gamification'}<br/><br/>
|
||||
{l s="Now, with the click of a button, you will be able to see sales-enhancing features that you may be missing out on. Take advantage and check it out below!" mod='gamification'}
|
||||
</p>
|
||||
</div>
|
||||
<div id="right_intro">
|
||||
<h4>{l s="Our team is available to help. Contact us today!" mod='gamification'}</h4><br/>
|
||||
<ul>
|
||||
<li>
|
||||
<img src="../modules/gamification/views/img/phone_icon.png" alt="{l s="Phone" mod='gamification'}" />
|
||||
<span>{l s="Call us: +1 (888) 947-6543" mod='gamification'}</span>
|
||||
</li>
|
||||
<li>
|
||||
<img src="../modules/gamification/views/img/mail_icon.png" alt="{l s="Email" mod='gamification' mod='gamification'}" />
|
||||
<a href="http://www.prestashop.com/en/contact-us?utm_source=gamification">{l s="Fill out a contact form" mod='gamification'}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="completion_gamification">
|
||||
<h4>{l s='Completion level' mod='gamification'}</h4>
|
||||
<div id="gamification_progressbar_tab"></div>
|
||||
<span class="gamification_progress-label" id="gamification_progress-label_tab">{l s="Level" mod='gamification' mod='gamification'} {$current_level|intval} : {$current_level_percent|intval} %</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="clear"><br/></div>
|
||||
|
||||
{foreach from=$badges_type key=key item=type}
|
||||
<div class="panel">
|
||||
<h3><i class="icon-bookmark"></i> {$type.name|escape:html:'UTF-8'}</h3>
|
||||
<div class="row">
|
||||
<div class="col-lg-2">
|
||||
{include file='./filters_bt.tpl' type=$key}
|
||||
</div>
|
||||
<div class="col-lg-10">
|
||||
<ul class="badge_list" id="list_{$key}" style="">
|
||||
{foreach from=$type.badges item=badge}
|
||||
<li class="badge_square badge_all {if $badge->validated}validated {else} not_validated{/if} group_{$badge->id_group} level_{$badge->group_position} " id="{$badge->id|intval}">
|
||||
<div class="gamification_badges_img" data-placement="top" data-toggle="tooltip" data-original-title="{$badge->description|escape:html:'UTF-8'}"><img src="{$badge->getBadgeImgUrl()}" alt="{$badge->name|escape:html:'UTF-8'}" /></div>
|
||||
<div class="gamification_badges_name">{$badge->name|escape:html:'UTF-8'}</div>
|
||||
</li>
|
||||
{foreachelse}
|
||||
<li>
|
||||
<div class="gamification_badges_name">{l s="No badge in this section" mod='gamification'}</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<p id="no_badge_{$key}" class="gamification_badges_name" style="display:none;text-align:center">{l s="No badge in this section" mod='gamification'}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"><br/></div>
|
||||
{/foreach}
|
@ -1,45 +0,0 @@
|
||||
<script>
|
||||
var current_id_tab = {$current_id_tab|intval};
|
||||
var current_level_percent = {$current_level_percent|intval};
|
||||
var current_level = {$current_level|intval};
|
||||
var gamification_level = '{l s='Level' mod='gamification' js=1}';
|
||||
</script>
|
||||
<style>
|
||||
{literal}.gamification_progress-label {top:-1px!important;-moz-border-radius: 15px;-o-border-radius: 15px;-webkit-border-radius: 15px;border-radius: 15px;height:19px;background-image: url(../modules/gamification/views/img/gamification-bar-bg.png) ;width: {/literal}{$current_level_percent}{literal}%}{/literal}
|
||||
</style>
|
||||
<div id="gamification_notif" class="notifs">
|
||||
{if $notification}
|
||||
<span id="gamification_notif_number_wrapper" class="number_wrapper" style="display: inline;">
|
||||
<span id="gamification_notif_value">{$notification|intval}</span>
|
||||
</span>
|
||||
{/if}
|
||||
<div id="gamification_notif_wrapper" class="notifs_wrapper" style="width:340px">
|
||||
<div id="gamification_top">
|
||||
<h3>{l s='Your Merchant Expertise' mod='gamification'}</h3>
|
||||
</div>
|
||||
<span style="font-size: 15px;color: #585A69;text-shadow: 0 1px 0 #fff;">{l s='Level' mod='gamification'} {$current_level|intval} : {$current_level_percent|intval} %</span>
|
||||
<div id="gamification_progressbar">
|
||||
<span class="gamification_progress-label"></span>
|
||||
</div>
|
||||
<div id="gamification_badges_container">
|
||||
<ul id="gamification_badges_list" style="{if $badges_to_display|count <= 2} height:140px;{/if}">
|
||||
{foreach from=$badges_to_display name=badge_list item=badge}
|
||||
{if $badge->id}
|
||||
<li class="{if $badge->validated} unlocked {else} locked {/if}" style="float:left;">
|
||||
<span class="{if $badge->validated} unlocked_img {else} locked_img {/if}"></span>
|
||||
<div class="gamification_badges_title"><span>{if $badge->validated} {l s='Last badge :' mod='gamification'} {else} {l s='Next badge :' mod='gamification'} {/if}</span></div>
|
||||
<div class="gamification_badges_img"><img src="{$badge->getBadgeImgUrl()}"></div>
|
||||
<div class="gamification_badges_name">{$badge->name|escape:html:'UTF-8'}</div>
|
||||
</li>
|
||||
{else}
|
||||
<li style="height:130px"></li>
|
||||
{/if}
|
||||
{if $smarty.foreach.badge_list.iteration is not odd && $badges_to_display|count > 2}
|
||||
<div class="clear"> </div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<a id="gamification_see_more" href="{$link->getAdminLink('AdminGamification')}">{l s='View my complete profile' mod='gamification'}</a>
|
||||
</div>
|
||||
</div>
|
@ -1,96 +0,0 @@
|
||||
<script>
|
||||
var current_id_tab = {$current_id_tab|intval};
|
||||
var current_level_percent = {$current_level_percent|intval};
|
||||
var current_level = {$current_level|intval};
|
||||
var gamification_level = '{l s='Level' mod='gamification' js=1}';
|
||||
var advice_hide_url = '{$advice_hide_url}';
|
||||
var hide_advice = '{l s='Do you really want to hide this advice?' mod='gamification' js=1}';
|
||||
|
||||
$('#dropdown_gamification .notifs_panel_header, #dropdown_gamification .tab-content').click(function () {
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#dropdown_gamification .panel-footer').click(function (elt) {
|
||||
window.location.href = '{$link->getAdminLink('AdminGamification')}';
|
||||
});
|
||||
|
||||
$('#gamification_tab li').click(function () {
|
||||
gamificationDisplayTab($(this).children('a'));
|
||||
return false;
|
||||
});
|
||||
|
||||
function gamificationDisplayTab(elt)
|
||||
{
|
||||
$('#gamification_tab li, .gamification-tab-pane').removeClass('active');
|
||||
$(elt).parent('li').addClass('active');
|
||||
$('#'+$(elt).data('target')).addClass('active');
|
||||
}
|
||||
|
||||
</script>
|
||||
<li id="gamification_notif" style="background:none" class="dropdown">
|
||||
<a href="javascript:void(0);" class="dropdown-toggle gamification_notif" data-toggle="dropdown">
|
||||
<i class="icon-trophy"></i>
|
||||
<span id="gamification_notif_number_wrapper" class="notifs_badge">
|
||||
<span id="gamification_notif_value">{$notification|intval}</span>
|
||||
</span>
|
||||
</a>
|
||||
<div class="dropdown-menu notifs_dropdown" id="dropdown_gamification">
|
||||
<section id="gamification_notif_wrapper" class="notifs_panel" style="width:325px">
|
||||
<header class="notifs_panel_header">
|
||||
<h3>{l s='Your Merchant Expertise' mod='gamification'}
|
||||
<span class="label label-default" style="float:right">{l s='Level' mod='gamification'} {$current_level|intval} : {$current_level_percent|intval} %</span>
|
||||
</h3>
|
||||
</header>
|
||||
<div class="progress" style="margin: 10px">
|
||||
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="{$current_level_percent|intval}" aria-valuemin="0" aria-valuemax="100" style="width: {$current_level_percent|intval}%;">
|
||||
<span style="color:#FFF">{l s='Level' mod='gamification'} {$current_level|intval} : {$current_level_percent|intval} %</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Nav tabs -->
|
||||
<ul class="nav nav-tabs" id="gamification_tab" style="margin-left:10px">
|
||||
<li class="active">
|
||||
<a href="#home" data-toggle="tab" data-target="gamification_1" onclick="gamificationDisplayTab(this); return false;">{l s='Last badge :' mod='gamification'}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#profile" data-toggle="tab" data-target="gamification_2" onclick="gamificationDisplayTab(this); return false;">{l s='Next badge :' mod='gamification'}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane gamification-tab-pane active" id="gamification_1">
|
||||
<ul id="gamification_badges_list" style="{if $badges_to_display|count <= 2} height:170px;{/if} padding-left:0">
|
||||
{foreach from=$unlock_badges name=badge_list item=badge key="i"}
|
||||
{if $badge->id}
|
||||
<li class="{if $badge->validated} unlocked {else} locked {/if}" style="float:left;">
|
||||
<span class="{if $badge->validated} unlocked_img {else} locked_img {/if}" {if $badge->validated}style="left: 12px;"{/if}></span>
|
||||
<div class="gamification_badges_title"><span>{if $badge->validated} {l s='Last badge :' mod='gamification'} {else} {l s='Next badge :' mod='gamification'} {/if}</span></div>
|
||||
<div class="gamification_badges_img" data-placement="{if $i <= 1}bottom{else}top{/if}" data-original-title="{$badge->description|escape:html:'UTF-8'}"><img src="{$badge->getBadgeImgUrl()}"></div>
|
||||
<div class="gamification_badges_name">{$badge->name|escape:html:'UTF-8'}</div>
|
||||
</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tab-pane gamification-tab-pane" id="gamification_2">
|
||||
<ul id="gamification_badges_list" style="{if $badges_to_display|count <= 2} height:170px;{/if} padding-left:0">
|
||||
{foreach from=$next_badges name=badge_list item=badge key="i"}
|
||||
{if $badge->id && !$badge->awb}
|
||||
<li class="{if $badge->validated} unlocked {else} locked {/if}" style="float:left;">
|
||||
<span class="{if $badge->validated} unlocked_img {else} locked_img {/if}" {if $badge->validated}style="left: 12px;"{/if}></span>
|
||||
<div class="gamification_badges_title"><span>{if $badge->validated} {l s='Last badge :' mod='gamification'} {else} {l s='Next badge :' mod='gamification'} {/if}</span></div>
|
||||
<div class="gamification_badges_img" data-placement="{if $i <= 1}bottom{else}top{/if}"data-toggle="tooltip" data-original-title="{$badge->description|escape:html:'UTF-8'}"><img src="{$badge->getBadgeImgUrl()}"></div>
|
||||
<div class="gamification_badges_name">{$badge->name|escape:html:'UTF-8'}</div>
|
||||
</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="panel-footer">
|
||||
<a href="{$link->getAdminLink('AdminGamification')}">{l s='View my complete profile' mod='gamification'}</a>
|
||||
</footer>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|