[joomext.ru] Плагин Tabs & Slider & Spoilers

Гражданин X

Пользователь
Регистрация
22.04.18
Сообщения
44.264
Реакции
0
Баллы
56
Название: Плагин Tabs & Slider & Spoilers
Автор: joomext.ru

Универсальный плагин контента, который объединяет в себе 3 функции - табы, спойлер и слайды (вид гармошки)
  • Теперь не нужно использовать по 3 плагина для разных эффектов - всё в одном!
  • Очень мало весит
  • Специальные теги для вставки
Табы, Спойлер и Аккордеон для Joomla
Joomla 2.5 - 3.x

В материале вставляем:

<h3>Tabs</h3>
{tab=first tab title here}
some text here
{tab=second tab title here}
some more text here
{tab=third tab title here}
some more text here and so on..
{/tabs}

<h3>Sliders</h3>
{slider=My first slider in Joomla!}
some slider text here
{slider=Joomla! is the best}
some slider more text here
{slider=Third one}
some slider more text here and so on...
{/sliders}

<h3>Spoilers</h3>
{spoiler=My first spoiler in Joomla!}
some spoiler text here
{spoiler= spoiler in Joomla!}
some spoiler text here
{/spoilers}

Продажник: http://joomext.ru/plugin-tabs-slider-spoilers

 

sxqzqws

Пользователь
Регистрация
21.10.12
Сообщения
2
Реакции
0
Баллы
1
Это мои текущие результаты с тем же кодом
Код:
<?PHP
class FGSimpleCaptcha extends FG_CaptchaHandler { var $error_str; var $captcha_varname; var $uniquekey; function FGSimpleCaptcha($captcha_var_name) { $this->captcha_varname='$captcha_var_name'; // ? $this->uniquekey='abc12fghijkl34mno'; }  function GetSimpleCaptcha() { $arrQuestions = array(
"Which of sock, library, cake or red is a color? "=>"red",
"Enter the number thirteen thousand three hundred and sixty eight in digits: "=>"13,368"); $question = array_rand($arrQuestions); $answer = $arrQuestions[$question]; $_SESSION['FGCF_Captcha_Answer'] = $this->Md5CaptchaAnswer($answer); return $question; } function SetFormKey($key) { $this->uniquekey = $key; } function GetKey() { return $this->uniquekey; } function Validate() { $ret=false; if(empty($_POST[$this->captcha_varname])) { $this->error_str = "Please answer the anti-spam question"; $ret = false; } else { $scaptcha = trim($_POST[$this->captcha_varname]); $scaptcha = strtolower($scaptcha); $user_answer = $this->Md5CaptchaAnswer($scaptcha); if($user_answer != $_SESSION['FGCF_Captcha_Answer']) { $this->error_str = "Failed the anti-spam check!"; $ret = false; } else { $ret = true; } } return $ret; } function Md5CaptchaAnswer($answer) { return md5($this->GetKey().$answer); } function GetError() { return $this->error_str; } }
?>
PHP:
 
Сверху Снизу