Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. раскодировать /templates/имя_шаблона/icetools/helper.php
- при помощи http://www.tareeinternet.com/scripts/decrypt.php - eval gzinflate base64_decode PHP Decoder
- дописать айпишник своего сервера в список исключений (каждый раз при смене сервера)
- $white_list = array("localhost", "127.0.0.1", "Your ip here")
- 2. в /templates/имя_шаблона/icetools/default.php
- строку после // Please Dont change this (encoded for the security of the license key)
- заменить на:
- JHTML::_('behavior.framework', true);require_once JPATH_ROOT .
- "/templates/" . $this->template . '/icetools/helper.php';
- // get params
- $helper = $app = JFactory::getApplication();
- $templateparams = $app->getTemplate(true)->params;
- $logo = $this->params->get('logo');
- 3. НЕПРОВЕРЕННЫЙ
- в /templates/имя_шаблона/icetools/default.php
- строку после // Please Dont change this (encoded for the security of the license key)
- заменить на:
- JHTML::_('behavior.framework', true);require_once JPATH_ROOT .
- "/templates/" . $this->template . '/icetools/helper.php'; //
- get params$helper = new iceHelper( $this->template
- );$helper->renderTemplate( $this->params ); $app =
- JFactory::getApplication(); $templateparams =
- $app->getTemplate(true)->params;$logo=
- $this->params->get('logo');
- после этого очистить /templates/имя_шаблона/icetools/helper.php
- 4. ДЛЯ СТАРЫХ ШАБЛОНОВ
- раскодировать /templates/имя_шаблона/icetools/helper.php
- при помощи http://www.tareeinternet.com/scripts/decrypt.php
- из полученного кода вырезать:
- if(empty($license)){
- echo "<div style='background:#E6EFC2; border:1px solid #CEE086; padding:10px 15px; margin:10px auto; width:520px; border-radius:7px; font-family:Arial; font-size:14px'>";
- echo "<h2 style='margin:0 0 8px;'>";
- echo JText::_("No License Key!");
- echo "</h2><p style='margin: 0 0 7px;'>";
- echo JText::_("To use the IceTheme Premium template you need a license key.");
- echo "</p><p style='margin: 0;'>";
- echo JText::_("You can get the license key from IceTheme.com ");
- echo "<a href='http://www.icetheme.com/licenses.html'>Get the License Key!</a>";
- echo "</p></div>";
- exit();
- }
- и
- else{
- echo "<div style='background:#FFE2E0; border:1px solid #FF9A92; padding:10px 15px; margin:10px auto; width:520px; border-radius:7px; font-family:Arial; font-size:14px'>";
- echo "<h2 style='margin:0 0 8px;'>";
- echo JText::_("Invalid License Key!");
- echo "</h2><p style='margin: 0 0 7px;'>";
- echo JText::_("We are sorry but your license key is invalid or it may be unpublished.");
- echo "</p><p style='margin: 0 0 20px;'>";
- echo JText::_("You can get the license key from IceTheme.com - ");
- echo "<a href='http://www.icetheme.com/component/option,com_license/lang,en/view,licenses/'>Get the License Key!</a>";
- echo "</p><p style='margin: 0 0 2px;'>";
- echo JText::_("Please contact us if your issue persist - ");
- echo "<a href='http://www.icetheme.com/About/Contact.html'>Contact IceTheme</a>";
- echo "</p></div>";
- exit();
- }
- Будьте внимательны! Перед else{ будет стоять скобочка } ( }else{ ), так вот её удалять не стоит (она закрывает предыдущее условие)
Add Comment
Please, Sign In to add comment