__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\SmartSlider3\Parser\Link;
use Nextend\Framework\Parser\Link\ParserInterface;
class ToSlide implements ParserInterface {
public function parse($argument, &$attributes) {
preg_match('/([0-9]+)(,([0-1]))?/', $argument, $matches);
if (!isset($matches[3])) {
$attributes['role'] = 'button';
$attributes['onclick'] = "n2ss.applyActionWithClick(event, 'slide', " . (intval($matches[1]) - 1) . ");";
} else {
$attributes['onclick'] = "n2ss.applyActionWithClick(event, 'slide', " . (intval($matches[1]) - 1) . ", " . intval($matches[3]) . ");";
}
return '#';
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| NextSlide.php | File | 352 B | 0664 |
|
| PreviousSlide.php | File | 360 B | 0664 |
|
| SlideEvent.php | File | 359 B | 0664 |
|
| ToSlide.php | File | 670 B | 0664 |
|
| ToSlideID.php | File | 669 B | 0664 |
|