{ $slide['product_2'] = array('title' => 'Product #2', 'image' => dirname(__FILE__) . '/images/product_default.png', 'slider' => array('generatorgroup' => 1), 'slide' => array('title' => '{|title-1|}', 'slide' => '<div data-phonewidth="30%" data-phoneleft="70%" data-desktopheight="100%" data-desktopwidth="50%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="eef3f6ff" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #1" data-desktoptop="0.000%" data-desktopleft="50%" class="smart-slider-layer" style="top: 0%; left: 50%; width: 50%; height: 100%; position: absolute; z-index: 1; display: block; background-color: rgb(238, 243, 246);" data-animation="slide">[html values="eyJodG1sIjoiPGRpdiBjbGFzcz1cImNlbnRlcmJvcmRlclwiPjwvZGl2PiIsImNzcyI6Ii5jZW50ZXJib3JkZXJ7XG5ib3JkZXItbGVmdDogMXB4IHNvbGlkICNkNGQ0ZDQ7XG5oZWlnaHQ6IDEwMCU7XG5taW4taGVpZ2h0OiA1MDBweDtcbn0iLCJvbm1vdXNlZW50ZXIiOiIiLCJvbm1vdXNlY2xpY2siOiIiLCJvbm1vdXNlbGVhdmUiOiIifQ=="]</div> <div data-phonewidth="30%" data-phoneleft="70%" data-desktopheight="80%" data-desktopwidth="50%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="00000000" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #2" data-desktoptop="10%" data-desktopleft="50%" class="smart-slider-layer" style="top: 10%; left: 50%; width: 50%; height: 80%; position: absolute; z-index: 2; display: block;" data-animation="slide">[image values="eyJpbWFnZSI6Int8aW1hZ2UtMXx9IiwiYWx0IjoiSW1hZ2Ugbm90IGF2YWlsYWJsZSIsInRpdGxlIjoiIiwibGluayI6Int8dXJsLTF8fXwqfF9zZWxmIiwic2l6ZSI6IjgwJXwqfGF1dG8iLCJjc3MiOiJtYXJnaW46IDAgYXV0bzsiLCJvbm1vdXNlZW50ZXIiOiIiLCJvbm1vdXNlY2xpY2siOiIiLCJvbm1vdXNlbGVhdmUiOiIiLCJrZW5idXJucyI6IjB8KnwxMDAwMHwqfDExNXwqfDAtNTAlIDUwJSJ9"]</div> <div data-phoneheight="74.8%" data-phonewidth="66.5%" data-phonetop="5.000%" data-phoneleft="2.000%" data-tabletheight="32%" data-tabletwidth="46.072%" data-tablettop="5.000%" data-tabletleft="2.000%" data-desktopheight="22%" data-desktopwidth="46%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="00000000" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #3" data-desktoptop="5.000%" data-desktopleft="2.000%" class="smart-slider-layer" style="top: 5%; left: 2%; width: 46%; height: 22%; position: absolute; z-index: 3; display: block;" data-animation="slide">[heading values="eyJwcmlvcml0eSI6IjEiLCJoZWFkaW5nIjoie3x0aXRsZS0xfH0iLCJsaW5rIjoie3x1cmwtMXx9fCp8X3NlbGYiLCJmb250Y2xhc3MiOiJzbGlkZXJmb250Y3VzdG9tMTciLCJmb250c2l6ZSI6ImF1dG8iLCJmb250Y29sb3IiOiIwfCp8MDAwMDAwIiwic2tpbnMiOiIiLCJjc3MiOiJwYWRkaW5nOiAwO1xubWFyZ2luOiAwO1xuYmFja2dyb3VuZDogbm9uZTtcbmJveC1zaGFkb3c6IG5vbmU7IiwiY2xhc3MiOiIiLCJvbm1vdXNlZW50ZXIiOiIiLCJvbm1vdXNlY2xpY2siOiIiLCJvbm1vdXNlbGVhdmUiOiIifQ=="][heading values="eyJwcmlvcml0eSI6IjEiLCJoZWFkaW5nIjoie3xwcmljZS0xfH0iLCJsaW5rIjoiI3wqfF9zZWxmIiwiZm9udGNsYXNzIjoic2xpZGVyZm9udGN1c3RvbTIyIiwiZm9udHNpemUiOiJhdXRvIiwiZm9udGNvbG9yIjoiMHwqfDAwMDAwMCIsInNraW5zIjoiIiwiY3NzIjoicGFkZGluZzogMDtcbm1hcmdpbjogMDtcbmJhY2tncm91bmQ6IG5vbmU7XG5ib3gtc2hhZG93OiBub25lOyIsImNsYXNzIjoiIiwib25tb3VzZWVudGVyIjoiIiwib25tb3VzZWNsaWNrIjoiIiwib25tb3VzZWxlYXZlIjoiIn0="][html values="eyJodG1sIjoiPGhyIGNsYXNzPVwidjJcIiAvPiIsImNzcyI6ImhyLnYyIHtcbiAgICBiYWNrZ3JvdW5kOiBub25lIHJlcGVhdCBzY3JvbGwgMCAwIHJnYigyMzIsIDIzMiwgMjMyKTtcbiAgICBib3JkZXI6IG1lZGl1bSBub25lO1xuICAgIGhlaWdodDogMXB4O1xuICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XG4gICAgbWFyZ2luLXRvcDogNXB4O1xuICAgIHdpZHRoOiAxMDAlO1xufSIsIm9ubW91c2VlbnRlciI6IiIsIm9ubW91c2VjbGljayI6IiIsIm9ubW91c2VsZWF2ZSI6IiJ9"]</div><div data-tabletheight="39.715%" data-tabletwidth="46.072%" data-tablettop="38.000%" data-tabletleft="2.000%" data-desktopheight="58%" data-desktopwidth="46%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="00000000" data-showphone="0" data-showtablet="1" data-showdesktop="1" data-name="Layer #4" data-desktoptop="28.600%" data-desktopleft="2.000%" class="smart-slider-layer" style="top: 28.6%; left: 2%; width: 46%; height: 58%; position: absolute; z-index: 5; display: block;" data-animation="slide">[paragraph values="eyJjb250ZW50Ijoie3xzaG9ydF9kZXNjcmlwdGlvbi0xfH0iLCJmb250Y2xhc3MiOiJzbGlkZXJmb250Y3VzdG9tNyIsImZvbnRzaXplIjoiYXV0byIsImZvbnRjb2xvciI6IjB8KnwwMDAwMDAiLCJjc3MiOiIiLCJjbGFzcyI6IiIsIm9ubW91c2VlbnRlciI6IiIsIm9ubW91c2VjbGljayI6IiIsIm9ubW91c2VsZWF2ZSI6IiJ9"]</div><div data-phoneheight="17.2%" data-phonewidth="45.75%" data-phonetop="82.400%" data-phoneleft="22.750%" data-tabletheight="15.715%" data-tabletwidth="46.072%" data-tablettop="80.000%" data-tabletleft="2.000%" data-desktopheight="9.4%" data-desktopwidth="22%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="00000000" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #5" data-desktoptop="90%" data-desktopleft="2.000%" class="smart-slider-layer" style="top: 90%; left: 2%; width: 22%; height: 9.4%; position: absolute; z-index: 4; display: block;" data-animation="slide">[button values="eyJjb250ZW50Ijoie3xhZGR0b2NhcnRfbGFiZWwtMXx9IiwibGluayI6Int8YWRkdG9jYXJ0LTF8fXwqfF9zZWxmIiwic2tpbnMiOiIiLCJidXR0b25jbGFzcyI6ImJsdWUtdHJhbnNpdGlvbi1idXR0b24iLCJjc3MiOiJwYWRkaW5nOiA1JSAyJTtcbnRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4td2Via2l0LWJvcmRlci1yYWRpdXM6IDIwcHg7XG4tbW96LWJvcmRlci1yYWRpdXM6IDIwcHg7XG5ib3JkZXItcmFkaXVzOiAyMHB4O1xuYmFja2dyb3VuZDogIzQxOTNiZjtcbi13ZWJraXQtdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjRzIGVhc2Utb3V0IDBzO1xuLW1vei10cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuNHMgZWFzZS1vdXQgMHM7XG4tbXMtdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjRzIGVhc2Utb3V0IDBzO1xuLW8tdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjRzIGVhc2Utb3V0IDBzO1xudHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjRzIGVhc2Utb3V0IDBzO1xuIiwiY3NzaG92ZXIiOiJiYWNrZ3JvdW5kOiAjM2Q5ZmQzOyIsImZvbnRjbGFzcyI6InNsaWRlcmZvbnQxMSIsImNsYXNzIjoiIiwib25tb3VzZWVudGVyIjoiIiwib25tb3VzZWNsaWNrIjoiIiwib25tb3VzZWxlYXZlIjoiIn0="]</div>', 'description' => '{|short_description-1|}', 'thumbnail' => '{|thumbnail-1|}', 'background' => '00000000|*|', 'published' => 1, 'publish_up' => '', 'publish_down' => '', 'first' => 0, 'link' => '|*|_self', 'generator' => 0)); } static function product_3(&$slide) { $slide['product_3'] = array('title' => 'Product #3', 'image' => dirname(__FILE__) . '/images/product_default.png', 'slider' => array('generatorgroup' => 1), 'slide' => array('title' => '{|title-1|}', 'slide' => '<div data-desktopheight="80%" data-desktopwidth="50%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="eef3f600" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #1" data-desktoptop="0.000%" data-desktopleft="50%" class="smart-slider-layer" style="top: 0%; left: 50%; width: 50%; height: 80%; position: absolute; z-index: 1; display: block;" data-animation="slide">[image values="eyJpbWFnZSI6Int8aW1hZ2UtMXx9IiwiYWx0IjoiSW1hZ2Ugbm90IGF2YWlsYWJsZSIsInRpdGxlIjoiIiwibGluayI6Int8dXJsLTF8fXwqfF9zZWxmIiwic2l6ZSI6IjEwMCV8KnxhdXRvIiwiY3NzIjoibWFyZ2luOiAwIGF1dG87Iiwib25tb3VzZWVudGVyIjoiIiwib25tb3VzZWNsaWNrIjoiIiwib25tb3VzZWxlYXZlIjoiIiwia2VuYnVybnMiOiIwfCp8MTAwMDB8KnwxMTV8KnwwLTUwJSA1MCUifQ=="]</div> <div data-tabletheight="32%" data-tabletwidth="46.072%" data-tablettop="5.000%" data-tabletleft="2.000%" data-desktopheight="22%" data-desktopwidth="46%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="00000000" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #3" data-desktoptop="5.000%" data-desktopleft="2.000%" class="smart-slider-layer" style="top: 5%; left: 2%; width: 46%; height: 22%; position: absolute; z-index: 3; display: block;" data-animation="slide">[heading values="eyJwcmlvcml0eSI6IjEiLCJoZWFkaW5nIjoie3x0aXRsZS0xfH0iLCJsaW5rIjoie3x1cmwtMXx9fCp8X3NlbGYiLCJmb250Y2xhc3MiOiJzbGlkZXJmb250Y3VzdG9tMjEiLCJmb250c2l6ZSI6ImF1dG8iLCJmb250Y29sb3IiOiIwfCp8MDAwMDAwIiwic2tpbnMiOiIiLCJjc3MiOiJwYWRkaW5nOiAwO1xubWFyZ2luOiAwO1xuYmFja2dyb3VuZDogbm9uZTtcbmJveC1zaGFkb3c6IG5vbmU7IiwiY2xhc3MiOiIiLCJvbm1vdXNlZW50ZXIiOiIiLCJvbm1vdXNlY2xpY2siOiIiLCJvbm1vdXNlbGVhdmUiOiIifQ=="][heading values="eyJwcmlvcml0eSI6IjIiLCJoZWFkaW5nIjoiQ2F0ZWdvcnk6IHt8Y2F0ZWdvcnlfbmFtZS0xfH0iLCJsaW5rIjoie3xjYXRlZ29yeV91cmwtMXx9fCp8X3NlbGYiLCJmb250Y2xhc3MiOiJzbGlkZXJmb250Y3VzdG9tMjUiLCJmb250c2l6ZSI6ImF1dG8iLCJmb250Y29sb3IiOiIwfCp8MDAwMDAwIiwic2tpbnMiOiIiLCJjc3MiOiJwYWRkaW5nOiAwO1xubWFyZ2luOiAwO1xuYmFja2dyb3VuZDogbm9uZTtcbmJveC1zaGFkb3c6IG5vbmU7IiwiY2xhc3MiOiIiLCJvbm1vdXNlZW50ZXIiOiIiLCJvbm1vdXNlY2xpY2siOiIiLCJvbm1vdXNlbGVhdmUiOiIifQ=="][html values="eyJodG1sIjoiPGhyIGNsYXNzPVwidjJcIiAvPiIsImNzcyI6ImhyLnYyIHtcbiAgICBiYWNrZ3JvdW5kOiBub25lIHJlcGVhdCBzY3JvbGwgMCAwIHJnYigyMzIsIDIzMiwgMjMyKTtcbiAgICBib3JkZXI6IG1lZGl1bSBub25lO1xuICAgIGhlaWdodDogMXB4O1xuICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XG4gICAgbWFyZ2luLXRvcDogNXB4O1xuICAgIHdpZHRoOiAxMDAlO1xufSIsIm9ubW91c2VlbnRlciI6IiIsIm9ubW91c2VjbGljayI6IiIsIm9ubW91c2VsZWF2ZSI6IiJ9"]</div><div data-tabletheight="39.715%" data-tabletwidth="46.072%" data-tablettop="38.000%" data-tabletleft="2.000%" data-desktopheight="48.4%" data-desktopwidth="46%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="00000000" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #4" data-desktoptop="28.600%" data-desktopleft="2.000%" class="smart-slider-layer" style="top: 28.6%; left: 2%; width: 46%; height: 48.4%; position: absolute; z-index: 5; display: block;" data-animation="slide">[paragraph values="eyJjb250ZW50Ijoie3xzaG9ydF9kZXNjcmlwdGlvbi0xfH0iLCJmb250Y2xhc3MiOiJzbGlkZXJmb250Y3VzdG9tNyIsImZvbnRzaXplIjoiYXV0byIsImZvbnRjb2xvciI6IjB8KnwwMDAwMDAiLCJjc3MiOiIiLCJjbGFzcyI6IiIsIm9ubW91c2VlbnRlciI6IiIsIm9ubW91c2VjbGljayI6IiIsIm9ubW91c2VsZWF2ZSI6IiJ9"]</div> <div data-phoneheight="20%" data-phonetop="80.000%" data-phoneleft="0.000%" data-phonewidth="100%" data-desktopheight="20%" data-desktopwidth="100%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="f2f2f2ff" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #5 - copy" data-desktoptop="80.000%" data-desktopleft="0.000%" class="smart-slider-layer" style="top: 80%; left: 0%; width: 100%; height: 20%; position: absolute; z-index: 4; display: block; background-color: rgb(242, 242, 242);" data-animation="slide">[html values="eyJodG1sIjoiPGhyIGNsYXNzPVwidjNcIiAvPiIsImNzcyI6ImhyLnYze1xuYmFja2dyb3VuZDogI2U1ZTRlMjtcbmhlaWdodDogMXB4O1xuYm9yZGVyOiBub25lO1xud2lkdGg6IDEwMCU7XG5tYXJnaW46MDtcbn0iLCJvbm1vdXNlZW50ZXIiOiIiLCJvbm1vdXNlY2xpY2siOiIiLCJvbm1vdXNlbGVhdmUiOiIifQ=="]</div><div data-phoneheight="17.6%" data-phonewidth="43.75%" data-phonetop="82.400%" data-phoneleft="3.500%" data-tabletheight="16.858%" data-tabletwidth="43.75%" data-tablettop="82.857%" data-tabletleft="3.500%" data-desktopheight="14.6%" data-desktopwidth="43.75%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="00000000" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #6" data-desktoptop="85.400%" data-desktopleft="3.500%" class="smart-slider-layer" style="top: 85.4%; left: 3.5%; width: 43.75%; height: 14.6%; position: absolute; z-index: 6; display: block;" data-animation="slide">[heading values="eyJwcmlvcml0eSI6IjEiLCJoZWFkaW5nIjoie3xwcmljZS0xfH0iLCJsaW5rIjoiI3wqfF9zZWxmIiwiZm9udGNsYXNzIjoic2xpZGVyZm9udGN1c3RvbTI0IiwiZm9udHNpemUiOiJhdXRvIiwiZm9udGNvbG9yIjoiMHwqfDAwMDAwMCIsInNraW5zIjoiIiwiY3NzIjoicGFkZGluZzogMDtcbm1hcmdpbjogMDtcbmJhY2tncm91bmQ6IG5vbmU7XG5ib3gtc2hhZG93OiBub25lOyIsImNsYXNzIjoiIiwib25tb3VzZWVudGVyIjoiIiwib25tb3VzZWNsaWNrIjoiIiwib25tb3VzZWxlYXZlIjoiIn0="]</div> <div data-phoneheight="17.2%" data-phonewidth="44.5%" data-phonetop="82.800%" data-phoneleft="52.496%" data-tabletheight="16.572%" data-tabletwidth="44.465%" data-tablettop="83.429%" data-tabletleft="52.497%" data-desktopwidth="44.5%" data-desktopheight="15.4%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="00000000" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #6 - copy" data-desktoptop="84.600%" data-desktopleft="52.498%" class="smart-slider-layer" style="top: 84.6%; left: 52.498%; width: 44.5%; height: 15.4%; position: absolute; z-index: 7; display: block;" data-animation="slide">[button values="eyJjb250ZW50Ijoie3xhZGR0b2NhcnRfbGFiZWwtMXx9IiwibGluayI6Int8YWRkdG9jYXJ0LTF8fXwqfF9zZWxmIiwic2tpbnMiOiIiLCJidXR0b25jbGFzcyI6InBsdW0tdHJhbnNpdGlvbi1idXR0b24iLCJjc3MiOiJwYWRkaW5nOiA1JSAyJTtcbmJveC1zaGFkb3c6IDAgMXB4IDFweCBSR0JBKDAsMCwwLDAuMik7XG50ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuLXdlYmtpdC1ib3JkZXItcmFkaXVzOiAycHg7XG4tbW96LWJvcmRlci1yYWRpdXM6IDJweDtcbmJvcmRlci1yYWRpdXM6IDJweDtcbmJhY2tncm91bmQ6ICNhYzcyOWM7XG4td2Via2l0LXRyYW5zaXRpb246IGJhY2tncm91bmQtY29sb3IgMC40cyBlYXNlLW91dCAwcztcbi1tb3otdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjRzIGVhc2Utb3V0IDBzO1xuLW1zLXRyYW5zaXRpb246IGJhY2tncm91bmQtY29sb3IgMC40cyBlYXNlLW91dCAwcztcbi1vLXRyYW5zaXRpb246IGJhY2tncm91bmQtY29sb3IgMC40cyBlYXNlLW91dCAwcztcbnRyYW5zaXRpb246IGJhY2tncm91bmQtY29sb3IgMC40cyBlYXNlLW91dCAwcztcbiIsImNzc2hvdmVyIjoiYmFja2dyb3VuZDogI2Y1ODcwMDsiLCJmb250Y2xhc3MiOiJzbGlkZXJmb250MTEiLCJjbGFzcyI6IiIsIm9ubW91c2VlbnRlciI6IiIsIm9ubW91c2VjbGljayI6IiIsIm9ubW91c2VsZWF2ZSI6IiJ9"]</div>', 'description' => '{|short_description-1|}', 'thumbnail' => '{|thumbnail-1|}', 'background' => '00000000|*|', 'published' => 1, 'publish_up' => '', 'publish_down' => '', 'first' => 0, 'link' => '|*|_self', 'generator' => 0)); } static function product_4(&$slide) { $slide['product_4'] = array('title' => 'Product #4', 'image' => dirname(__FILE__) . '/images/product_default.png', 'slider' => array('generatorgroup' => 1), 'slide' => array('title' => '{|title-1|}', 'slide' => '<div data-phoneheight="22.4%" data-phonewidth="100%" data-phonetop="77.600%" data-phoneleft="0.000%" data-tabletheight="18.858%" data-tabletwidth="100%" data-tablettop="81.143%" data-tabletleft="0.000%" data-desktopheight="16.2%" data-desktopwidth="100%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="c370b3e0" data-showphone="1" data-showtablet="1" data-showdesktop="1" data-name="Layer #2" data-desktoptop="83.800%" data-desktopleft="0.000%" class="smart-slider-layer" style="top: 83.8%; left: 0%; width: 100%; height: 16.2%; position: absolute; z-index: 6; display: block; background-color: rgba(195, 112, 179, 0.88);" data-animation="slide">[heading values="eyJwcmlvcml0eSI6IjEiLCJoZWFkaW5nIjoie3x0aXRsZS0xfH0iLCJsaW5rIjoie3x1cmwtMXx9fCp8X3NlbGYiLCJmb250Y2xhc3MiOiJzbGlkZXJmb250Y3VzdG9tMjYiLCJmb250c2l6ZSI6ImF1dG8iLCJmb250Y29sb3IiOiIwfCp8MDAwMDAwIiwic2tpbnMiOiIiLCJjc3MiOiJwYWRkaW5nOiAwO1xubWFyZ2luOiAyLjUlO1xuYmFja2dyb3VuZDogbm9uZTtcbmJveC1zaGFkb3c6IG5vbmU7IiwiY2xhc3MiOiIiLCJvbm1vdXNlZW50ZXIiOiIiLCJvbm1vdXNlY2xpY2siOiIiLCJvbm1vdXNlbGVhdmUiOiIifQ=="]</div><div data-phoneheight="22.4%" data-phonewidth="43.75%" data-phonetop="77.600%" data-phoneleft="56.250%" data-tabletheight="17.715%" data-tabletwidth="40.358%" data-tablettop="82.286%" data-tabletleft="59.625%" data-desktopheight="14.8%" data-desktopwidth="40.375%" data-parallaxout="0.45" data-delayout="0" data-easingout="linear" data-durationout="500" data-animationout="0" data-playoutafter="0" data-parallaxin="0.45" data-delayin="0" data-easingin="linear" data-durationin="500" data-animationin="0" data-layerbackgroundcolor="00000000" data-showphone="0" data-showtablet="1" data-showdesktop="1" data-name="Layer #3 - copy" data-desktoptop="85.200%" data-desktopleft="59.625%" class="smart-slider-layer" style="top: 85.2%; left: 59.625%; width: 40.375%; height: 14.8%; position: absolute; z-index: 7; display: block;" data-animation="slide">[heading values="eyJwcmlvcml0eSI6IjEiLCJoZWFkaW5nIjoie3xwcmljZS0xfH0iLCJsaW5rIjoiI3wqfF9zZWxmIiwiZm9udGNsYXNzIjoic2xpZGVyZm9udGN1c3RvbTI3IiwiZm9udHNpemUiOiJhdXRvIiwiZm9udGNvbG9yIjoiMHwqfDAwMDAwMCIsInNraW5zIjoiIiwiY3NzIjoicGFkZGluZzogMDtcbm1hcmdpbjogMi41JTtcbmJhY2tncm91bmQ6IG5vbmU7XG5ib3gtc2hhZG93OiBub25lOyIsImNsYXNzIjoiIiwib25tb3VzZWVudGVyIjoiIiwib25tb3VzZWNsaWNrIjoiIiwib25tb3VzZWxlYXZlIjoiIn0="]</div>', 'description' => '{|short_description-1|}', 'thumbnail' => '{|thumbnail-1|}', 'background' => '00000000|*|{|image-1|}', 'published' => 1, 'publish_up' => '', 'publish_down' => '', 'first' => 0, 'link' => '{|url-1|}|*|_self', 'generator' => 0)); } function onNextendSliderGeneratorSlider(&$sliders, $size = '700|*|400|*|1') { $sliders['default'] = array('title' => 'Simple - Arrows & bullets', 'image' => dirname(__FILE__) . '/images/slider_simple.png', 'slider' => array('type' => 'simple', 'params' => '{"size":"' . $size . '","responsive":"1|*|0","globalfontsize":"12|*|16|*|20","margin":"0|*|0|*|0|*|0|*|px","simplebackgroundimage":"","simplebackgroundimagesize":"auto","simplepadding":"0|*|0|*|0|*|0","simpleborder":"0|*|3E3E3Eff","simpleborderradius":"0|*|0|*|0|*|0","simpleresponsivemaxwidth":"3000","improvedtouch":"horizontal","simpleskins":"","simpleslidercss":"","simpleanimation":"horizontal","simpleanimationproperties":"800|*|0|*|easeInOutQuad|*|1","simplebackgroundanimation":"0|*|bars||blocks","fadeonload":"1|*|0","playfirstlayer":"0","mainafterout":"0","inaftermain":"1","controls":"0|*|horizontal|*|0","blockrightclick":"0","randomize":"0","autoplay":"1|*|8000","autoplayfinish":"0|*|loop|*|current","stopautoplay":"1|*|1|*|1","resumeautoplay":"0|*|1|*|0","widgetarrow":"transition","widgetarrowdisplay":"1|*|always|*|0|*|0","previousposition":"left|*|0|*|%|*|top|*|height\\/2-previousheight\\/2|*|%","previous":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/previous\\/my-test.png","nextposition":"right|*|0|*|%|*|top|*|height\\/2-nextheight\\/2|*|%","next":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/next\\/my-test.png","arrowbackground":"00000080","arrowbackgroundhover":"7670c7ff","widgetbullet":"numbers","widgetbulletdisplay":"1|*|always|*|0|*|0","bulletposition":"left|*|0|*|%|*|bottom|*|5|*|%","bulletwidth":"100%","bulletorientation":"horizontal","bulletalign":"center","bullet":"plugins\\/nextendsliderwidgetbullet\\/numbers\\/numbers\\/bullets\\/square.png","bulletbackground":"00000060","bulletbackgroundhover":"7670C7ff","fontclassnumber":"sliderfont7","bulletbar":"none","bulletshadow":"none","bulletbarcolor":"00000060","bullethumbnail":"0|*|top","thumbnailsizebullet":"100|*|60","bulletthumbnail":"00000060","widgetautoplay":"image","widgetautoplaydisplay":"0|*|always|*|0|*|0","autoplayimageposition":"left|*|0|*|%|*|top|*|50|*|%","autoplayimage":"plugins\\/nextendsliderwidgetautoplay\\/image\\/image\\/play\\/cream-button-minii.png","widgetindicator":"pie","widgetindicatordisplay":"0|*|always|*|0|*|0","indicatorposition":"right|*|5|*|%|*|top|*|5|*|%","indicatorskin":"plugins\\/nextendsliderwidgetindicator\\/pie\\/pie\\/pie\\/default.png","indicatorcolor":"ffffffff|*|00000080","indicatorsize":"25","indicatorthickness":"0.5","indicatorlinecap":"butt","widgetbar":"colored","widgetbardisplay":"0|*|always|*|0|*|0","barcoloredposition":"left|*|0|*|%|*|top|*|0|*|%","barcolored":"plugins\\/nextendsliderwidgetbar\\/colored\\/colored\\/colored\\/colored.png","barcoloredwidth":"200","barcoloredpadding":"1","barcoloredborderradius":"0|*|0|*|0|*|0","barcoloredtitlefont":"sliderfont5","barcoloreddescriptionfont":"sliderfont7","barbackground":"00000080","widgetthumbnail":"gallery","widgetthumbnaildisplay":"0|*|always|*|0|*|0","thumbnailgalleryposition":"left|*|0|*|%|*|bottom|*|0|*|px","thumbnailgalleryoutersize":"100%|*|auto","thumbnailgallerypadding":"5|*|5|*|5|*|5","thumbnailgalleryborderradius":"0|*|0|*|0|*|0","thumbnailgallerybackground":"EEEEEEFF","thumbnailgallerysize":"100|*|60","thumbnailgallerymargin":"0|*|1|*|1|*|0","thumbnail":"plugins\\/nextendsliderwidgetthumbnail\\/gallery\\/gallery\\/thumbnails\\/aligncenter.png","widgetshadow":"shadow","widgetshadowdisplay":"0|*|always|*|0|*|0","shadowposition":"left|*|0|*|%|*|top|*|height|*|%","shadowwidth":"width","shadowcss":"","widgethtml":"html","widgethtmldisplay":"0|*|always|*|0|*|0","htmlposition":"left|*|0|*|px|*|top|*|0|*|px","widgethtmlcontent":"","widgets":"arrow","backgroundresize":"cover"}')); $sliders['parallax'] = array('title' => 'Parallax - Arrows & bullets', 'image' => dirname(__FILE__) . '/images/slider_parallax.png', 'slider' => array('type' => 'simple', 'params' => '{"size":"' . $size . '","responsive":"1|*|0","globalfontsize":"12|*|16|*|20","margin":"0|*|0|*|50|*|0|*|px","simplebackgroundimage":"","simplebackgroundimagesize":"auto","simplepadding":"0|*|0|*|0|*|0","simpleborder":"0|*|3E3E3Eff","simpleborderradius":"0|*|0|*|0|*|0","simpleresponsivemaxwidth":"3000","improvedtouch":"horizontal","simpleskins":"","simpleslidercss":"","simpleanimation":"horizontal","simpleanimationproperties":"800|*|0|*|easeInOutQuad|*|0.4","simplebackgroundanimation":"0|*|bars||blocks","fadeonload":"1|*|0","playfirstlayer":"0","mainafterout":"0","inaftermain":"1","controls":"0|*|horizontal|*|0","blockrightclick":"0","randomize":"0","autoplay":"1|*|8000","autoplayfinish":"0|*|loop|*|current","stopautoplay":"1|*|1|*|1","resumeautoplay":"0|*|1|*|0","widgetarrow":"transition","widgetarrowdisplay":"1|*|hover|*|0|*|0","previousposition":"left|*|0|*|%|*|top|*|0|*|px","previous":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/previous\\/thick.png","nextposition":"right|*|0|*|%|*|top|*|0|*|px","next":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/next\\/thick.png","arrowbackground":"00000061","arrowbackgroundhover":"000000b5","widgetbullet":"transition","widgetbulletdisplay":"1|*|always|*|0|*|0","bulletposition":"left|*|0|*|%|*|bottom|*|-30|*|px","bulletwidth":"100%","bulletorientation":"horizontal","bulletalign":"center","bullet":"plugins\\/nextendsliderwidgetbullet\\/transition\\/transition\\/bullets\\/simple-scale.png","bulletbackground":"00000060","bulletbackgroundhover":"000000b5","bulletborder":"00000060","bulletborderhover":"000000b5","bulletshadow":"none","bulletbar":"none","bulletbarcolor":"00000060","bullethumbnail":"0|*|top","thumbnailsizebullet":"100|*|60","bulletthubmnail":"00000060","widgetautoplay":"image","widgetautoplaydisplay":"0|*|always|*|0|*|0","autoplayimageposition":"left|*|0|*|%|*|top|*|50|*|%","autoplayimage":"plugins\\/nextendsliderwidgetautoplay\\/image\\/image\\/play\\/cream-button-minii.png","widgetindicator":"pie","widgetindicatordisplay":"0|*|always|*|0|*|0","indicatorposition":"right|*|5|*|%|*|top|*|5|*|%","indicatorskin":"plugins\\/nextendsliderwidgetindicator\\/pie\\/pie\\/pie\\/default.png","indicatorcolor":"ffffffff|*|00000080","indicatorsize":"25","indicatorthickness":"0.5","indicatorlinecap":"butt","widgetbar":"colored","widgetbardisplay":"0|*|always|*|0|*|0","barcoloredposition":"left|*|0|*|%|*|top|*|0|*|%","barcolored":"plugins\\/nextendsliderwidgetbar\\/colored\\/colored\\/colored\\/colored.png","barcoloredwidth":"200","barcoloredpadding":"1","barcoloredborderradius":"0|*|0|*|0|*|0","barcoloredtitlefont":"sliderfont5","barcoloreddescriptionfont":"sliderfont7","barbackground":"00000080","widgetthumbnail":"gallery","widgetthumbnaildisplay":"0|*|always|*|0|*|0","thumbnailgalleryposition":"left|*|0|*|%|*|bottom|*|0|*|px","thumbnailgalleryoutersize":"100%|*|auto","thumbnailgallerypadding":"5|*|5|*|5|*|5","thumbnailgalleryborderradius":"0|*|0|*|0|*|0","thumbnailgallerybackground":"EEEEEEFF","thumbnailgallerysize":"100|*|60","thumbnailgallerymargin":"0|*|1|*|1|*|0","thumbnail":"plugins\\/nextendsliderwidgetthumbnail\\/gallery\\/gallery\\/thumbnails\\/aligncenter.png","widgetshadow":"shadow","widgetshadowdisplay":"0|*|always|*|0|*|0","shadowposition":"left|*|0|*|%|*|top|*|height|*|%","shadowwidth":"width","shadowcss":"","widgethtml":"html","widgethtmldisplay":"0|*|always|*|0|*|0","htmlposition":"left|*|0|*|px|*|top|*|0|*|px","widgethtmlcontent":"","widgets":"arrow","backgroundresize":"cover"}')); if (smartsliderIsFull()) { $sliders['backgroundanimation'] = array('title' => 'Background animation - Arrows', 'image' => dirname(__FILE__) . '/images/slider_bganimation.png', 'slider' => array('type' => 'simple', 'params' => '{"size":"' . $size . '","responsive":"1|*|0","globalfontsize":"12|*|16|*|20","margin":"0|*|0|*|50|*|0|*|px","simplebackgroundimage":"","simplebackgroundimagesize":"auto","simplepadding":"0|*|0|*|0|*|0","simpleborder":"0|*|3E3E3Eff","simpleborderradius":"5|*|5|*|5|*|5","simpleresponsivemaxwidth":"3000","improvedtouch":"horizontal","simpleskins":"0","simpleslidercss":"","simpleanimation":"horizontal","simpleanimationproperties":"800|*|0|*|easeInOutQuad|*|1","simplebackgroundanimation":"1|*|dissolve||bars||zip||blinds||blocks||blocks2||concentric||warp||cube||bars3d||tiles3d||turn","fadeonload":"1|*|0","playfirstlayer":"0","mainafterout":"0","inaftermain":"1","controls":"0|*|horizontal|*|0","blockrightclick":"0","randomize":"0","autoplay":"1|*|8000","autoplayfinish":"0|*|loop|*|current","stopautoplay":"1|*|1|*|1","resumeautoplay":"0|*|1|*|0","widgetarrow":"transition","widgetarrowdisplay":"1|*|always|*|0|*|0","previousposition":"left|*|10|*|px|*|top|*|height\\/2-previousheight\\/2|*|px","previous":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/previous\\/rectangle.png","nextposition":"right|*|10|*|px|*|top|*|height\\/2-nextheight\\/2|*|px","next":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/next\\/rectangle.png","arrowbackground":"000000ab","arrowbackgroundhover":"000000c4","widgetbullet":"transition","widgetbulletdisplay":"0|*|always|*|0|*|0","bulletposition":"left|*|0|*|%|*|bottom|*|-30|*|px","bulletwidth":"100%","bulletorientation":"horizontal","bulletalign":"center","bullet":"plugins\\/nextendsliderwidgetbullet\\/transition\\/transition\\/bullets\\/simple-scale.png","bulletbackground":"00000060","bulletbackgroundhover":"000000b5","bulletborder":"00000060","bulletborderhover":"000000b5","bulletshadow":"none","bulletbar":"none","bulletbarcolor":"00000060","bullethumbnail":"0|*|top","thumbnailsizebullet":"100|*|60","bulletthubmnail":"00000060","widgetautoplay":"image","widgetautoplaydisplay":"0|*|always|*|0|*|0","autoplayimageposition":"left|*|0|*|%|*|top|*|50|*|%","autoplayimage":"plugins\\/nextendsliderwidgetautoplay\\/image\\/image\\/play\\/cream-button-minii.png","widgetindicator":"pie","widgetindicatordisplay":"0|*|always|*|0|*|0","indicatorposition":"right|*|5|*|%|*|top|*|5|*|%","indicatorskin":"plugins\\/nextendsliderwidgetindicator\\/pie\\/pie\\/pie\\/default.png","indicatorcolor":"ffffffff|*|00000080","indicatorsize":"25","indicatorthickness":"0.5","indicatorlinecap":"butt","widgetbar":"colored","widgetbardisplay":"0|*|always|*|0|*|0","barcoloredposition":"left|*|0|*|%|*|top|*|0|*|%","barcolored":"plugins\\/nextendsliderwidgetbar\\/colored\\/colored\\/colored\\/colored.png","barcoloredwidth":"200","barcoloredpadding":"1","barcoloredborderradius":"0|*|0|*|0|*|0","barcoloredtitlefont":"sliderfont5","barcoloreddescriptionfont":"sliderfont7","barbackground":"00000080","widgetthumbnail":"gallery","widgetthumbnaildisplay":"0|*|always|*|0|*|0","thumbnailgalleryposition":"left|*|0|*|%|*|bottom|*|0|*|px","thumbnailgalleryoutersize":"100%|*|auto","thumbnailgallerypadding":"5|*|5|*|5|*|5","thumbnailgalleryborderradius":"0|*|0|*|0|*|0","thumbnailgallerybackground":"EEEEEEFF","thumbnailgallerysize":"100|*|60","thumbnailgallerymargin":"0|*|1|*|1|*|0","thumbnail":"plugins\\/nextendsliderwidgetthumbnail\\/gallery\\/gallery\\/thumbnails\\/aligncenter.png","widgetshadow":"shadow","widgetshadowdisplay":"0|*|always|*|0|*|0","shadowposition":"left|*|0|*|%|*|top|*|height|*|%","shadowwidth":"width","shadowcss":"","widgethtml":"html","widgethtmldisplay":"0|*|always|*|0|*|0","htmlposition":"left|*|0|*|px|*|top|*|0|*|px","widgethtmlcontent":"","widgets":"arrow","backgroundresize":"cover"}')); } else { $sliders['backgroundanimation'] = array('title' => 'Background animation - Arrows', 'image' => dirname(__FILE__) . '/images/slider_bganimation.png', 'slider' => array('type' => 'simple', 'params' => '{"size":"' . $size . '","responsive":"1|*|0","globalfontsize":"12|*|16|*|20","margin":"0|*|0|*|50|*|0|*|px","simplebackgroundimage":"","simplebackgroundimagesize":"auto","simplepadding":"0|*|0|*|0|*|0","simpleborder":"0|*|3E3E3Eff","simpleborderradius":"5|*|5|*|5|*|5","simpleresponsivemaxwidth":"3000","improvedtouch":"horizontal","simpleskins":"0","simpleslidercss":"","simpleanimation":"horizontal","simpleanimationproperties":"800|*|0|*|easeInOutQuad|*|1","simplebackgroundanimation":"1|*|bars","fadeonload":"1|*|0","playfirstlayer":"0","mainafterout":"0","inaftermain":"1","controls":"0|*|horizontal|*|0","blockrightclick":"0","randomize":"0","autoplay":"1|*|8000","autoplayfinish":"0|*|loop|*|current","stopautoplay":"1|*|1|*|1","resumeautoplay":"0|*|1|*|0","widgetarrow":"transition","widgetarrowdisplay":"1|*|always|*|0|*|0","previousposition":"left|*|10|*|px|*|top|*|height\\/2-previousheight\\/2|*|px","previous":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/previous\\/rectangle.png","nextposition":"right|*|10|*|px|*|top|*|height\\/2-nextheight\\/2|*|px","next":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/next\\/rectangle.png","arrowbackground":"000000ab","arrowbackgroundhover":"000000c4","widgetbullet":"transition","widgetbulletdisplay":"0|*|always|*|0|*|0","bulletposition":"left|*|0|*|%|*|bottom|*|-30|*|px","bulletwidth":"100%","bulletorientation":"horizontal","bulletalign":"center","bullet":"plugins\\/nextendsliderwidgetbullet\\/transition\\/transition\\/bullets\\/simple-scale.png","bulletbackground":"00000060","bulletbackgroundhover":"000000b5","bulletborder":"00000060","bulletborderhover":"000000b5","bulletshadow":"none","bulletbar":"none","bulletbarcolor":"00000060","bullethumbnail":"0|*|top","thumbnailsizebullet":"100|*|60","bulletthubmnail":"00000060","widgetautoplay":"image","widgetautoplaydisplay":"0|*|always|*|0|*|0","autoplayimageposition":"left|*|0|*|%|*|top|*|50|*|%","autoplayimage":"plugins\\/nextendsliderwidgetautoplay\\/image\\/image\\/play\\/cream-button-minii.png","widgetindicator":"pie","widgetindicatordisplay":"0|*|always|*|0|*|0","indicatorposition":"right|*|5|*|%|*|top|*|5|*|%","indicatorskin":"plugins\\/nextendsliderwidgetindicator\\/pie\\/pie\\/pie\\/default.png","indicatorcolor":"ffffffff|*|00000080","indicatorsize":"25","indicatorthickness":"0.5","indicatorlinecap":"butt","widgetbar":"colored","widgetbardisplay":"0|*|always|*|0|*|0","barcoloredposition":"left|*|0|*|%|*|top|*|0|*|%","barcolored":"plugins\\/nextendsliderwidgetbar\\/colored\\/colored\\/colored\\/colored.png","barcoloredwidth":"200","barcoloredpadding":"1","barcoloredborderradius":"0|*|0|*|0|*|0","barcoloredtitlefont":"sliderfont5","barcoloreddescriptionfont":"sliderfont7","barbackground":"00000080","widgetthumbnail":"gallery","widgetthumbnaildisplay":"0|*|always|*|0|*|0","thumbnailgalleryposition":"left|*|0|*|%|*|bottom|*|0|*|px","thumbnailgalleryoutersize":"100%|*|auto","thumbnailgallerypadding":"5|*|5|*|5|*|5","thumbnailgalleryborderradius":"0|*|0|*|0|*|0","thumbnailgallerybackground":"EEEEEEFF","thumbnailgallerysize":"100|*|60","thumbnailgallerymargin":"0|*|1|*|1|*|0","thumbnail":"plugins\\/nextendsliderwidgetthumbnail\\/gallery\\/gallery\\/thumbnails\\/aligncenter.png","widgetshadow":"shadow","widgetshadowdisplay":"0|*|always|*|0|*|0","shadowposition":"left|*|0|*|%|*|top|*|height|*|%","shadowwidth":"width","shadowcss":"","widgethtml":"html","widgethtmldisplay":"0|*|always|*|0|*|0","htmlposition":"left|*|0|*|px|*|top|*|0|*|px","widgethtmlcontent":"","widgets":"arrow","backgroundresize":"cover"}')); } if (smartsliderIsFull()) { $sliders['showcase'] = array('title' => 'Showcase - Arrows', 'image' => dirname(__FILE__) . '/images/slider_showcase.png', 'slider' => array('type' => 'showcase', 'params' => '{"size":"' . $size . '","responsive":"1|*|0","globalfontsize":"12|*|16|*|20","margin":"0|*|0|*|50|*|0|*|px","showcaseslidesize":"400|*|300","showcasebackgroundimage":"","showcasebackgroundimagesize":"auto","showcasepadding":"0|*|0|*|0|*|0","showcaseborder":"0|*|3E3E3Eff","showcaseborderradius":"0|*|0|*|0|*|0","showcaseresponsivemaxwidth":"3000","showcaseskins":"","showcaseslidercss":"","showcaseslideskins":"0","showcaseslidecss":"","showcaseanimationskins":"0","showcaseanimationproperties":"800|*|0|*|easeInOutQuad","showcasedirection":"horizontal","showcasedistance":"60","showcaseperspective":"1000","showcaseopacity":"0|*|100|*|100|*|100","showcasescale":"0|*|100|*|100|*|100","showcasetranslatex":"0|*|0|*|0|*|0","showcasetranslatey":"0|*|0|*|0|*|0","showcasetranslatez":"0|*|0|*|0|*|0","showcaserotatex":"0|*|0|*|0|*|0","showcaserotatey":"0|*|0|*|0|*|0","showcaserotatez":"0|*|0|*|0|*|0","fadeonload":"1|*|0","playfirstlayer":"0","mainafterout":"0","inaftermain":"1","controls":"0|*|horizontal|*|0","blockrightclick":"0","randomize":"0","autoplay":"1|*|8000","autoplayfinish":"0|*|loop|*|current","stopautoplay":"1|*|1|*|1","resumeautoplay":"0|*|1|*|0","widgetarrow":"transition","widgetarrowdisplay":"1|*|always|*|0|*|0","previousposition":"left|*|10|*|px|*|top|*|height\\/2-previousheight\\/2|*|px","previous":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/previous\\/rectangle.png","nextposition":"right|*|10|*|px|*|top|*|height\\/2-nextheight\\/2|*|px","next":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/next\\/rectangle.png","arrowbackground":"000000ab","arrowbackgroundhover":"000000c4","widgetbullet":"transition","widgetbulletdisplay":"0|*|always|*|0|*|0","bulletposition":"left|*|0|*|%|*|bottom|*|-30|*|px","bulletwidth":"100%","bulletorientation":"horizontal","bulletalign":"center","bullet":"plugins\\/nextendsliderwidgetbullet\\/transition\\/transition\\/bullets\\/simple-scale.png","bulletbackground":"00000060","bulletbackgroundhover":"000000b5","bulletborder":"00000060","bulletborderhover":"000000b5","bulletshadow":"none","bulletbar":"none","bulletbarcolor":"00000060","bullethumbnail":"0|*|top","thumbnailsizebullet":"100|*|60","bulletthubmnail":"00000060","widgetautoplay":"image","widgetautoplaydisplay":"0|*|always|*|0|*|0","autoplayimageposition":"left|*|0|*|%|*|top|*|50|*|%","autoplayimage":"plugins\\/nextendsliderwidgetautoplay\\/image\\/image\\/play\\/cream-button-minii.png","widgetindicator":"pie","widgetindicatordisplay":"0|*|always|*|0|*|0","indicatorposition":"right|*|5|*|%|*|top|*|5|*|%","indicatorskin":"plugins\\/nextendsliderwidgetindicator\\/pie\\/pie\\/pie\\/default.png","indicatorcolor":"ffffffff|*|00000080","indicatorsize":"25","indicatorthickness":"0.5","indicatorlinecap":"butt","widgetbar":"colored","widgetbardisplay":"0|*|always|*|0|*|0","barcoloredposition":"left|*|0|*|%|*|top|*|0|*|%","barcolored":"plugins\\/nextendsliderwidgetbar\\/colored\\/colored\\/colored\\/colored.png","barcoloredwidth":"200","barcoloredpadding":"1","barcoloredborderradius":"0|*|0|*|0|*|0","barcoloredtitlefont":"sliderfont5","barcoloreddescriptionfont":"sliderfont7","barbackground":"00000080","widgetthumbnail":"gallery","widgetthumbnaildisplay":"0|*|always|*|0|*|0","thumbnailgalleryposition":"left|*|0|*|%|*|bottom|*|0|*|px","thumbnailgalleryoutersize":"100%|*|auto","thumbnailgallerypadding":"5|*|5|*|5|*|5","thumbnailgalleryborderradius":"0|*|0|*|0|*|0","thumbnailgallerybackground":"EEEEEEFF","thumbnailgallerysize":"100|*|60","thumbnailgallerymargin":"0|*|1|*|1|*|0","thumbnail":"plugins\\/nextendsliderwidgetthumbnail\\/gallery\\/gallery\\/thumbnails\\/aligncenter.png","widgetshadow":"shadow","widgetshadowdisplay":"0|*|always|*|0|*|0","shadowposition":"left|*|0|*|%|*|top|*|height|*|%","shadowwidth":"width","shadowcss":"","widgethtml":"html","widgethtmldisplay":"0|*|always|*|0|*|0","htmlposition":"left|*|0|*|px|*|top|*|0|*|px","widgethtmlcontent":"","widgets":"arrow","backgroundresize":"cover"}')); $sliders['barwidget'] = array('title' => 'Bar widget', 'image' => dirname(__FILE__) . '/images/slider_bar.png', 'slider' => array('type' => 'simple', 'params' => '{"size":"' . $size . '","responsive":"1|*|0","globalfontsize":"12|*|16|*|20","margin":"0|*|0|*|50|*|0|*|px","simplebackgroundimage":"","simplebackgroundimagesize":"auto","simplepadding":"0|*|0|*|0|*|0","simpleborder":"0|*|3E3E3Eff","simpleborderradius":"0|*|0|*|0|*|0","simpleresponsivemaxwidth":"3000","improvedtouch":"horizontal","simpleskins":"","simpleslidercss":"","simpleanimation":"horizontal","simpleanimationproperties":"800|*|0|*|easeInOutQuad|*|1","simplebackgroundanimation":"0|*|bars||blocks","fadeonload":"1|*|0","playfirstlayer":"0","mainafterout":"0","inaftermain":"1","controls":"0|*|horizontal|*|0","blockrightclick":"0","randomize":"0","autoplay":"1|*|8000","autoplayfinish":"0|*|loop|*|current","stopautoplay":"1|*|0|*|1","resumeautoplay":"0|*|1|*|0","widgetarrow":"image","widgetarrowdisplay":"1|*|always|*|0|*|0","previousposition":"right|*|64|*|px|*|bottom|*|5|*|px","previous":"plugins\\/nextendsliderwidgetarrow\\/image\\/image\\/previous\\/rounded-button-dark.png","nextposition":"right|*|4|*|px|*|bottom|*|5|*|px","next":"plugins\\/nextendsliderwidgetarrow\\/image\\/image\\/next\\/rounded-button-dark.png","widgetbullet":"transition","widgetbulletdisplay":"0|*|always|*|0|*|0","bulletposition":"left|*|0|*|%|*|bottom|*|-30|*|px","bulletwidth":"100%","bulletorientation":"horizontal","bulletalign":"center","bullet":"plugins\\/nextendsliderwidgetbullet\\/transition\\/transition\\/bullets\\/simple-scale.png","bulletbackground":"00000060","bulletbackgroundhover":"000000b5","bulletborder":"00000060","bulletborderhover":"000000b5","bulletshadow":"none","bulletbar":"none","bulletbarcolor":"00000060","bullethumbnail":"0|*|top","thumbnailsizebullet":"100|*|60","bulletthubmnail":"00000060","widgetautoplay":"image","widgetautoplaydisplay":"1|*|always|*|0|*|0","autoplayimageposition":"right|*|34|*|px|*|bottom|*|5|*|px","autoplayimage":"plugins\\/nextendsliderwidgetautoplay\\/image\\/image\\/play\\/dark-button-opacity.png","widgetindicator":"stripe","widgetindicatordisplay":"1|*|always|*|0|*|0","indicatorposition":"left|*|0|*|px|*|bottom|*|barheight|*|px","indicatorwidth":"100%","indicatorstripe":"plugins\\/nextendsliderwidgetindicator\\/stripe\\/stripe\\/stripe\\/dark.png","indicatorstripeheight":"6","indicatorstripecolor":"7670c780","backgroundstripecolor":"00000080","widgetbar":"gradient","widgetbardisplay":"1|*|always|*|0|*|0","bargradientposition":"left|*|0|*|%|*|bottom|*|0|*|px","bargradient":"plugins\\/nextendsliderwidgetbar\\/gradient\\/gradient\\/gradient\\/dark.png","bargradientwidth":"100%","bargradientheight":"35","bargradienttitlefont":"sliderfont7","bargradientdescriptionfont":"sliderfont7","widgetthumbnail":"gallery","widgetthumbnaildisplay":"0|*|always|*|0|*|0","thumbnailgalleryposition":"left|*|0|*|%|*|bottom|*|0|*|px","thumbnailgalleryoutersize":"100%|*|auto","thumbnailgallerypadding":"5|*|5|*|5|*|5","thumbnailgalleryborderradius":"0|*|0|*|0|*|0","thumbnailgallerybackground":"EEEEEEFF","thumbnailgallerysize":"100|*|60","thumbnailgallerymargin":"0|*|1|*|1|*|0","thumbnail":"plugins\\/nextendsliderwidgetthumbnail\\/gallery\\/gallery\\/thumbnails\\/aligncenter.png","widgetshadow":"shadow","widgetshadowdisplay":"0|*|always|*|0|*|0","shadowposition":"left|*|0|*|%|*|top|*|height|*|%","shadowwidth":"width","shadowcss":"","widgethtml":"html","widgethtmldisplay":"0|*|always|*|0|*|0","htmlposition":"left|*|0|*|px|*|top|*|0|*|px","widgethtmlcontent":"","widgets":"bar","backgroundresize":"cover"}')); $sliders['thumbnailwidget'] = array('title' => 'Thumbnail widget', 'image' => dirname(__FILE__) . '/images/slider_thumbnail.png', 'slider' => array('type' => 'simple', 'params' => '{"size":"' . $size . '","responsive":"1|*|0","globalfontsize":"12|*|16|*|20","margin":"0|*|0|*|50|*|0|*|px","simplebackgroundimage":"","simplebackgroundimagesize":"auto","simplepadding":"0|*|0|*|0|*|0","simpleborder":"0|*|3E3E3Eff","simpleborderradius":"0|*|0|*|0|*|0","simpleresponsivemaxwidth":"3000","improvedtouch":"horizontal","simpleskins":"","simpleslidercss":"","simpleanimation":"horizontal","simpleanimationproperties":"800|*|0|*|easeInOutQuad|*|1","simplebackgroundanimation":"0|*|bars||blocks","fadeonload":"1|*|0","playfirstlayer":"0","mainafterout":"0","inaftermain":"1","controls":"0|*|horizontal|*|0","blockrightclick":"0","randomize":"0","autoplay":"1|*|8000","autoplayfinish":"0|*|loop|*|current","stopautoplay":"1|*|1|*|1","resumeautoplay":"1|*|1|*|0","widgetarrow":"image","widgetarrowdisplay":"0|*|always|*|0|*|0","previousposition":"right|*|64|*|px|*|bottom|*|5|*|px","previous":"plugins\\/nextendsliderwidgetarrow\\/image\\/image\\/previous\\/rounded-button-dark.png","nextposition":"right|*|4|*|px|*|bottom|*|5|*|px","next":"plugins\\/nextendsliderwidgetarrow\\/image\\/image\\/next\\/rounded-button-dark.png","widgetbullet":"transition","widgetbulletdisplay":"0|*|always|*|0|*|0","bulletposition":"left|*|0|*|%|*|bottom|*|-30|*|px","bulletwidth":"100%","bulletorientation":"horizontal","bulletalign":"center","bullet":"plugins\\/nextendsliderwidgetbullet\\/transition\\/transition\\/bullets\\/simple-scale.png","bulletbackground":"00000060","bulletbackgroundhover":"000000b5","bulletborder":"00000060","bulletborderhover":"000000b5","bulletshadow":"none","bulletbar":"none","bulletbarcolor":"00000060","bullethumbnail":"0|*|top","thumbnailsizebullet":"100|*|60","bulletthubmnail":"00000060","widgetautoplay":"image","widgetautoplaydisplay":"0|*|always|*|0|*|0","autoplayimageposition":"right|*|34|*|px|*|bottom|*|5|*|px","autoplayimage":"plugins\\/nextendsliderwidgetautoplay\\/image\\/image\\/play\\/dark-button-opacity.png","widgetindicator":"pie","widgetindicatordisplay":"1|*|always|*|0|*|0","indicatorposition":"left|*|20|*|px|*|top|*|20|*|px","indicatorskin":"plugins\\/nextendsliderwidgetindicator\\/pie\\/pie\\/pie\\/tron.png","indicatorcolor":"000000b5|*|ffffffb5","indicatorsize":"30","indicatorthickness":"0.5","indicatorlinecap":"butt","widgetbar":"gradient","widgetbardisplay":"0|*|always|*|0|*|0","bargradientposition":"left|*|0|*|%|*|bottom|*|0|*|px","bargradient":"plugins\\/nextendsliderwidgetbar\\/gradient\\/gradient\\/gradient\\/dark.png","bargradientwidth":"100%","bargradientheight":"35","bargradienttitlefont":"sliderfont7","bargradientdescriptionfont":"sliderfont7","widgetthumbnail":"vertical","widgetthumbnaildisplay":"1|*|hover|*|0|*|0","thumbnailposition":"right|*|0|*|%|*|top|*|0|*|px","thumbnailsize":"200","thumbnailcolumn":"30","thumbnailperpage":"4","thumbnailanimation":"700","thumbnail":"plugins\\/nextendsliderwidgetthumbnail\\/vertical\\/vertical\\/thumbnails\\/vertical1.png","thumbnailfontclasstitle":"sliderfont7","thumbnailfontclassdescription":"sliderfont7","thumbnailactivebackground":"00000080","widgetshadow":"shadow","widgetshadowdisplay":"0|*|always|*|0|*|0","shadowposition":"left|*|0|*|%|*|top|*|height|*|%","shadowwidth":"width","shadowcss":"","widgethtml":"html","widgethtmldisplay":"0|*|always|*|0|*|0","htmlposition":"left|*|0|*|px|*|top|*|0|*|px","widgethtmlcontent":"","widgets":"indicator","backgroundresize":"cover"}')); $sliders['fullwidth'] = array('title' => 'Full width', 'image' => dirname(__FILE__) . '/images/slider_fullwidth.png', 'slider' => array('type' => 'simple', 'params' => '{"size":"1920|*|700|*|1","responsive":"1|*|1","globalfontsize":"12|*|16|*|20","margin":"0|*|0|*|0|*|0|*|px","simplebackgroundimage":"","simplebackgroundimagesize":"auto","simplepadding":"0|*|0|*|0|*|0","simpleborder":"0|*|3E3E3Eff","simpleborderradius":"0|*|0|*|0|*|0","simpleresponsivemaxwidth":"3000","improvedtouch":"horizontal","simpleskins":"0","simpleslidercss":"","simpleanimation":"horizontal","simpleanimationproperties":"800|*|0|*|easeInOutQuad|*|1","simplebackgroundanimation":"1|*|dissolve||bars||zip||blinds||blocks||blocks2||concentric||warp||cube||bars3d||tiles3d||turn","fadeonload":"1|*|0","playfirstlayer":"0","mainafterout":"0","inaftermain":"1","controls":"0|*|horizontal|*|0","blockrightclick":"0","randomize":"0","autoplay":"1|*|8000","autoplayfinish":"0|*|loop|*|current","stopautoplay":"1|*|1|*|1","resumeautoplay":"0|*|1|*|0","widgetarrow":"transition","widgetarrowdisplay":"1|*|always|*|0|*|0","previousposition":"left|*|10|*|px|*|top|*|height\\/2-previousheight\\/2|*|px","previous":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/previous\\/rectangle.png","nextposition":"right|*|10|*|px|*|top|*|height\\/2-nextheight\\/2|*|px","next":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/next\\/rectangle.png","arrowbackground":"000000ab","arrowbackgroundhover":"000000c4","widgetbullet":"transition","widgetbulletdisplay":"0|*|always|*|0|*|0","bulletposition":"left|*|0|*|%|*|bottom|*|-30|*|px","bulletwidth":"100%","bulletorientation":"horizontal","bulletalign":"center","bullet":"plugins\\/nextendsliderwidgetbullet\\/transition\\/transition\\/bullets\\/simple-scale.png","bulletbackground":"00000060","bulletbackgroundhover":"000000b5","bulletborder":"00000060","bulletborderhover":"000000b5","bulletshadow":"none","bulletbar":"none","bulletbarcolor":"00000060","bullethumbnail":"0|*|top","thumbnailsizebullet":"100|*|60","bulletthubmnail":"00000060","widgetautoplay":"image","widgetautoplaydisplay":"0|*|always|*|0|*|0","autoplayimageposition":"left|*|0|*|%|*|top|*|50|*|%","autoplayimage":"plugins\\/nextendsliderwidgetautoplay\\/image\\/image\\/play\\/cream-button-minii.png","widgetindicator":"pie","widgetindicatordisplay":"0|*|always|*|0|*|0","indicatorposition":"right|*|5|*|%|*|top|*|5|*|%","indicatorskin":"plugins\\/nextendsliderwidgetindicator\\/pie\\/pie\\/pie\\/default.png","indicatorcolor":"ffffffff|*|00000080","indicatorsize":"25","indicatorthickness":"0.5","indicatorlinecap":"butt","widgetbar":"colored","widgetbardisplay":"0|*|always|*|0|*|0","barcoloredposition":"left|*|0|*|%|*|top|*|0|*|%","barcolored":"plugins\\/nextendsliderwidgetbar\\/colored\\/colored\\/colored\\/colored.png","barcoloredwidth":"200","barcoloredpadding":"1","barcoloredborderradius":"0|*|0|*|0|*|0","barcoloredtitlefont":"sliderfont5","barcoloreddescriptionfont":"sliderfont7","barbackground":"00000080","widgetthumbnail":"gallery","widgetthumbnaildisplay":"0|*|always|*|0|*|0","thumbnailgalleryposition":"left|*|0|*|%|*|bottom|*|0|*|px","thumbnailgalleryoutersize":"100%|*|auto","thumbnailgallerypadding":"5|*|5|*|5|*|5","thumbnailgalleryborderradius":"0|*|0|*|0|*|0","thumbnailgallerybackground":"EEEEEEFF","thumbnailgallerysize":"100|*|60","thumbnailgallerymargin":"0|*|1|*|1|*|0","thumbnail":"plugins\\/nextendsliderwidgetthumbnail\\/gallery\\/gallery\\/thumbnails\\/aligncenter.png","widgetshadow":"shadow","widgetshadowdisplay":"0|*|always|*|0|*|0","shadowposition":"left|*|0|*|%|*|top|*|height|*|%","shadowwidth":"width","shadowcss":"","widgethtml":"html","widgethtmldisplay":"0|*|always|*|0|*|0","htmlposition":"left|*|0|*|px|*|top|*|0|*|px","widgethtmlcontent":"","widgets":"arrow","backgroundresize":"cover"}')); $sliders['fullwidth980'] = array('title' => 'Full width - 980px canvas', 'image' => dirname(__FILE__) . '/images/slider_fullwidthcanvas.png', 'slider' => array('type' => 'simple', 'params' => '{"size":"980|*|500|*|1","responsive":"1|*|1","globalfontsize":"12|*|16|*|20","margin":"0|*|0|*|0|*|0|*|px","simplebackgroundimage":"","simplebackgroundimagesize":"auto","simplepadding":"0|*|0|*|0|*|0","simpleborder":"0|*|3E3E3Eff","simpleborderradius":"0|*|0|*|0|*|0","simpleresponsivemaxwidth":"980","improvedtouch":"horizontal","simpleskins":"0","simpleslidercss":"","simpleanimation":"horizontal","simpleanimationproperties":"800|*|0|*|easeInOutQuad|*|1","simplebackgroundanimation":"1|*|dissolve||bars||zip||blinds||blocks||blocks2||concentric||warp||cube||bars3d||tiles3d||turn","fadeonload":"1|*|0","playfirstlayer":"0","mainafterout":"0","inaftermain":"1","controls":"0|*|horizontal|*|0","blockrightclick":"0","randomize":"0","autoplay":"1|*|8000","autoplayfinish":"0|*|loop|*|current","stopautoplay":"1|*|1|*|1","resumeautoplay":"0|*|1|*|0","widgetarrow":"transition","widgetarrowdisplay":"1|*|always|*|0|*|0","previousposition":"left|*|10|*|px|*|top|*|height\\/2-previousheight\\/2|*|px","previous":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/previous\\/rectangle.png","nextposition":"right|*|10|*|px|*|top|*|height\\/2-nextheight\\/2|*|px","next":"plugins\\/nextendsliderwidgetarrow\\/transition\\/transition\\/next\\/rectangle.png","arrowbackground":"000000ab","arrowbackgroundhover":"000000c4","widgetbullet":"transition","widgetbulletdisplay":"0|*|always|*|0|*|0","bulletposition":"left|*|0|*|%|*|bottom|*|-30|*|px","bulletwidth":"100%","bulletorientation":"horizontal","bulletalign":"center","bullet":"plugins\\/nextendsliderwidgetbullet\\/transition\\/transition\\/bullets\\/simple-scale.png","bulletbackground":"00000060","bulletbackgroundhover":"000000b5","bulletborder":"00000060","bulletborderhover":"000000b5","bulletshadow":"none","bulletbar":"none","bulletbarcolor":"00000060","bullethumbnail":"0|*|top","thumbnailsizebullet":"100|*|60","bulletthubmnail":"00000060","widgetautoplay":"image","widgetautoplaydisplay":"0|*|always|*|0|*|0","autoplayimageposition":"left|*|0|*|%|*|top|*|50|*|%","autoplayimage":"plugins\\/nextendsliderwidgetautoplay\\/image\\/image\\/play\\/cream-button-minii.png","widgetindicator":"pie","widgetindicatordisplay":"0|*|always|*|0|*|0","indicatorposition":"right|*|5|*|%|*|top|*|5|*|%","indicatorskin":"plugins\\/nextendsliderwidgetindicator\\/pie\\/pie\\/pie\\/default.png","indicatorcolor":"ffffffff|*|00000080","indicatorsize":"25","indicatorthickness":"0.5","indicatorlinecap":"butt","widgetbar":"colored","widgetbardisplay":"0|*|always|*|0|*|0","barcoloredposition":"left|*|0|*|%|*|top|*|0|*|%","barcolored":"plugins\\/nextendsliderwidgetbar\\/colored\\/colored\\/colored\\/colored.png","barcoloredwidth":"200","barcoloredpadding":"1","barcoloredborderradius":"0|*|0|*|0|*|0","barcoloredtitlefont":"sliderfont5","barcoloreddescriptionfont":"sliderfont7","barbackground":"00000080","widgetthumbnail":"gallery","widgetthumbnaildisplay":"0|*|always|*|0|*|0","thumbnailgalleryposition":"left|*|0|*|%|*|bottom|*|0|*|px","thumbnailgalleryoutersize":"100%|*|auto","thumbnailgallerypadding":"5|*|5|*|5|*|5","thumbnailgalleryborderradius":"0|*|0|*|0|*|0","thumbnailgallerybackground":"EEEEEEFF","thumbnailgallerysize":"100|*|60","thumbnailgallerymargin":"0|*|1|*|1|*|0","thumbnail":"plugins\\/nextendsliderwidgetthumbnail\\/gallery\\/gallery\\/thumbnails\\/aligncenter.png","widgetshadow":"shadow","widgetshadowdisplay":"0|*|always|*|0|*|0","shadowposition":"left|*|0|*|%|*|top|*|height|*|%","shadowwidth":"width","shadowcss":"","widgethtml":"html","widgethtmldisplay":"0|*|always|*|0|*|0","htmlposition":"left|*|0|*|px|*|top|*|0|*|px","widgethtmlcontent":"","widgets":"arrow","backgroundresize":"cover"}')); } } } NextendPlugin::addPlugin('nextendslidergeneratorlayouts', 'plgNextendSliderGeneratorlayoutsDefaultlayouts');
$css->addCssFile(' #' . $id . ' .nextend-bullet-container .nextend-bullet-numbers.nextend-bullet{ background:' . $rgbacss . '; } #' . $id . ' .nextend-bullet-container .nextend-bullet-numbers.nextend-bullet.active, #' . $id . ' .nextend-bullet-container .nextend-bullet-numbers.nextend-bullet:HOVER{ background:' . $rgbacsshover . '; } #' . $id . ' .nextend-bullet-container.nextend-bullet.nextend-bullet-numbers.bullet-bar-simple-rounded, #' . $id . ' .nextend-bullet-container.nextend-bullet.nextend-bullet-numbers.bullet-bar-elegant-rounded, #' . $id . ' .nextend-bullet-container.nextend-bullet.nextend-bullet-numbers.bullet-bar-simple, #' . $id . ' .nextend-bullet-container.nextend-bullet.nextend-bullet-numbers.bullet-bar-elegant{ background:' . $rgbacssborderbar . '; } #' . $id . ' .nextend-bullet-numbers-thumbnail .qtip-content{ width:' . $thumbnailsize[0] . 'px; height:' . $thumbnailsize[1] . 'px; padding: 4px; } #' . $id . ' .nextend-bullet-numbers-thumbnail .qtip-content img{ box-shadow: 0 0px 0px 1px RGBA(255,255,255,.2); } #' . $id . ' .nextend-bullet-numbers-thumbnail{ background: ' . $rgbacssthumbnail . '; }', $id); } return $html; } } NextendPlugin::addPlugin('nextendsliderwidgetbullet', 'plgNextendSliderWidgetBulletNumbers');
<?php nextendimport('nextend.plugin.plugin'); class plgNextendMenuWordpress { var $_name = 'wordpress'; function onNextendMenuList(&$list) { $list[$this->_name] = $this->getPath(); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . 'wordpress' . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendmenu', 'plgNextendMenuWordpress');
function onNextendGeneratorConfigurationList(&$list) { $list[] = array('id' => self::$_group, 'title' => NextendText::_('Flickr generator')); } function onNextendGeneratorConfiguration(&$group, &$path) { if ($group == self::$_group) { $path = $this->getPath(); } } } /** * @return phpFlickr */ function getNextendFlickr() { $flickr = null; NextendPlugin::callPlugin('nextendslidergenerator', 'onNextendFlickr', array(&$flickr)); if ($flickr->auth_checkToken() === false) { if (NextendSmartSliderSettings::get('debugmessages', 1)) { global $smartslidercontroller; echo "<span style='line-height: 24px; padding: 0 10px;'>"; echo NextendText::_('There_are_some_configuration_issues_with_Flickr_API_Please_check_the_settings') . ' <a href="' . $smartslidercontroller->route('controller=settings&view=sliders_settings&action=flickr') . '">' . NextendText::_('settings') . '</a>!<br />'; echo "</span>"; } return false; } return $flickr; } NextendPlugin::addPlugin('nextendslidergenerator', 'plgNextendSliderGeneratorFlickr');
<?php nextendimportsmartslider2('nextend.smartslider.settings'); nextendimportsmartslider2('nextend.smartslider.check'); class plgNextendSliderGeneratorFacebook extends NextendPluginBase { public static $_group = 'facebook'; function onNextendSliderGeneratorList(&$group, &$list, $showall = false) { if ($showall || smartsliderIsFull()) { $group[self::$_group] = 'Facebook'; if (!isset($list[self::$_group])) { $list[self::$_group] = array(); } $configured = is_string(NextendSmartSliderStorage::get(self::$_group)); $list[self::$_group][self::$_group . '_postsbypage'] = array(NextendText::_('Posts_by_page'), $this->getPath() . 'postsbypage' . DIRECTORY_SEPARATOR, $configured, true, true); $list[self::$_group][self::$_group . '_albumbypage'] = array(NextendText::_('Photos_by_page_album'), $this->getPath() . 'albumbypage' . DIRECTORY_SEPARATOR, $configured, true, true); $list[self::$_group][self::$_group . '_albumbyuser'] = array(NextendText::_('Photos_by_user_album'), $this->getPath() . 'albumbyuser' . DIRECTORY_SEPARATOR, $configured, true, true); } } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslidergenerator', 'plgNextendSliderGeneratorFacebook');
<?php nextendimportsmartslider2('nextend.smartslider.settings'); nextendimportsmartslider2('nextend.smartslider.check'); class plgNextendSliderGeneratorTwitter extends NextendPluginBase { public static $_group = 'twitter'; function onNextendSliderGeneratorList(&$group, &$list, $showall = false) { if ($showall || smartsliderIsFull()) { $group[self::$_group] = 'Twitter'; if (!isset($list[self::$_group])) { $list[self::$_group] = array(); } $configured = is_string(NextendSmartSliderStorage::get(self::$_group)); $list[self::$_group][self::$_group . '_timeline'] = array(NextendText::_('Timeline'), $this->getPath() . 'twittertimeline' . DIRECTORY_SEPARATOR, $configured, true, true); } } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslidergenerator', 'plgNextendSliderGeneratorTwitter');
if ($group == self::$_group) { $path = $this->getPath(); } } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR; } } /** * @return array(Google_Client,Google_Client_YouTube) */ function getNextendYoutube() { static $google = null, $youtube = null; if ($google === null) { NextendPlugin::callPlugin('nextendslidergenerator', 'onNextendYoutube', array(&$google, &$youtube)); } if ($google->isAccessTokenExpired()) { if (NextendSmartSliderSettings::get('debugmessages', 1)) { global $smartslidercontroller; echo "<span style='line-height: 24px; padding: 0 10px;'>"; echo NextendText::_('There are some configuration issues with Youtube API. Please check the') . ' <a href="' . $smartslidercontroller->route('controller=settings&view=sliders_settings&action=youtube') . '">' . NextendText::_('settings') . '</a>!<br />'; echo "</span>"; } return false; } return array($google, $youtube); } NextendPlugin::addPlugin('nextendslidergenerator', 'plgNextendSliderGeneratorYoutube');
{ if ($group == self::$_group) { $path = $this->getPath(); } } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR; } } /** * @return Instagram */ function getNextendInstagram() { $instagram = null; NextendPlugin::callPlugin('nextendslidergenerator', 'onNextendInstagram', array(&$instagram)); $test = json_decode($instagram->getUserFeed(), true); if ($test['meta']['code'] != 200) { if (NextendSmartSliderSettings::get('debugmessages', 1)) { global $smartslidercontroller; echo "<span style='line-height: 24px; padding: 0 10px;'>"; echo NextendText::_('There_are_some_configuration_issues_with_Instagram_API_Please_check_the') . ' <a href="' . $smartslidercontroller->route('controller=settings&view=sliders_settings&action=instagram') . '">' . NextendText::_('settings') . '</a>!<br />'; echo "</span>"; } return false; } return $instagram; } NextendPlugin::addPlugin('nextendslidergenerator', 'plgNextendSliderGeneratorInstagram');
/* # author Roland Soos # copyright Copyright (C) Nextendweb.com. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-3.0.txt GNU/GPL */ defined('_JEXEC') or die('Restricted access'); nextendimportsmartslider2('nextend.smartslider.check'); class plgNextendSliderGeneratorJoomShopping extends NextendPluginBase { var $_group = 'joomshopping'; function onNextendSliderGeneratorList(&$group, &$list, $showall = false) { if ($showall || smartsliderIsFull()) { $installed = NextendFilesystem::existsFile(JPATH_ADMINISTRATOR . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_jshopping' . DIRECTORY_SEPARATOR . 'jshopping.php'); if ($showall || $installed) { $group[$this->_group] = 'JoomShopping'; if (!isset($list[$this->_group])) { $list[$this->_group] = array(); } $list[$this->_group][$this->_group . '_products'] = array(NextendText::_('Products'), $this->getPath() . 'products' . DIRECTORY_SEPARATOR, true, true, $installed ? true : 'http://extensions.joomla.org/extensions/e-commerce/shopping-cart/5378', 'product'); } } } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslidergenerator', 'plgNextendSliderGeneratorJoomShopping');
$cssfile = NextendFilesystem::translateToMediaPath(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'gradient' . DIRECTORY_SEPARATOR . 'style.less'); $css->addCssFile(array($cssfile, $cssfile, array('id' => '~"#' . $id . '"')), $id); list($style, $data) = self::getPosition($params->get('bargradientposition', '')); $width = NextendParse::parse($params->get('bargradientwidth', '100%')); if (is_numeric($width) || $width == 'auto' || substr($width, -1) == '%') { $style .= 'width:' . $width . ';'; } else { $data .= 'data-sswidth="' . $width . '" '; } $height = $params->get('bargradientheight', '30'); $style .= 'height: ' . $height . 'px;'; $style .= 'font-size: ' . intval($slider->_sliderParams->get('globalfontsize', '12')) . 'px;'; $info = pathinfo($bargradient); $class = 'nextend-bar nextend-bar-g nextend-bar-g-' . basename($bargradient, '.' . $info['extension']); $html .= '<div class="' . $displayclass . $class . '" style="' . $style . '" ' . $data . '>'; $html .= '<div class="inner" style="height:' . ($height - 2) . 'px;">'; for ($i = 0; $i < count($slider->_slides); $i++) { $html .= '<div class="nextend-bar-slide ' . ($slider->_slides[$i]['first'] ? ' active' : '') . '">'; $html .= '<h6 class="' . $params->get('bargradienttitlefont', '') . '" style="line-height: ' . $height . 'px;">' . $slider->_slides[$i]['title'] . '</h6>'; if ($slider->_slides[$i]['description']) { $html .= '<p class="' . $params->get('bargradientdescriptionfont', '') . '" style="line-height: ' . $height . 'px;"> - ' . $slider->_slides[$i]['description'] . '</p>'; } $html .= '</div>'; } $html .= '</div></div>'; } return $html; } } NextendPlugin::addPlugin('nextendsliderwidgetbar', 'plgNextendSliderWidgetBarGradient');
$html .= '<div class="nextend-thumbnail-strip-hider"><div class="nextend-thumbnail-strip">'; for ($i = 0; $i < count($slider->_slides); $i++) { if (!$slider->_slides[$i]['thumbnail'] && $slider->_slides[$i]['bg']['desktop']) { $im = new NextendImage(); $slider->_slides[$i]['thumbnail'] = $im->resizeImage($slider->_slides[$i]['bg']['desktop'], $thumbnailsize[0], $thumbnailsize[1]); } $html .= '<div onclick="njQuery(\'#' . $id . '\').smartslider(\'goto\',' . $i . ',false);" class="' . $class . ($slider->_slides[$i]['first'] ? ' active' : '') . '" style="' . $style . 'background-image: url(\'' . $slider->_slides[$i]['thumbnail'] . '\')"></div>'; } $html .= '</div></div>'; $html .= '<div class="nextend-arrow-right" style="height:' . $thumbnailsize[1] . 'px"></div> </div> <style> .nextend-thumbnail-container.nextend-thumbnail-horizontal-horizontal1 .nextend-thumbnail:HOVER, .nextend-thumbnail-container.nextend-thumbnail-horizontal-horizontal1 .nextend-thumbnail.active{ box-shadow: inset 0 0 0 6px ' . $rgbacssthumbnailactivebackground . '; } .nextend-thumbnail-container.nextend-thumbnail-horizontal-horizontal-dark .nextend-thumbnail:HOVER, .nextend-thumbnail-container.nextend-thumbnail-horizontal-horizontal-dark .nextend-thumbnail.active{ box-shadow: 0 0 3px 1px RGBA(0,0,0,0.6), 0 0 0 6px ' . $rgbacssthumbnailactivebackground . ' inset; } </style> '; $html .= '</div>'; $html .= "\r\n <script type='text/javascript'>\r\n njQuery(document).ready(function () {\r\n window['" . $id . "-thumbnail'] = new smartSliderHorizontal({\r\n id: '" . $id . "',\r\n node: window.njQuery('#" . $id . "-thumbnail'),\r\n thumbnailperpage: '" . $thumbnailperpage . "',\r\n thumbnailanimation: '" . $params->get('thumbnailanimation', 700) . "'\r\n });\r\n });\r\n </script>\r\n "; } return $html; } } NextendPlugin::addPlugin('nextendsliderwidgetthumbnail', 'plgNextendSliderWidgetThumbnailHorizontal');
<?php /* # author Roland Soos # copyright Copyright (C) Nextendweb.com. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-3.0.txt GNU/GPL */ defined('_JEXEC') or die('Restricted access'); class plgNextendSliderWidgetIndicator extends NextendPluginBase { var $_group = 'indicator'; function onNextendSliderWidgetList(&$list) { $list[$this->_group] = array(NextendText::_('Indicator'), $this->getPath(), 4); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . 'indicator' . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendsliderwidget', 'plgNextendSliderWidgetIndicator');
# @license - http://www.gnu.org/licenses/gpl-3.0.txt GNU/GPL */ defined('_JEXEC') or die('Restricted access'); nextendimportsmartslider2('nextend.smartslider.plugin.slideritem'); class plgNextendSliderItemJoomlaModule extends plgNextendSliderItemAbstract { var $_identifier = 'joomlamodule'; var $_title = 'Joomla_module'; function getTemplate() { return '<div>{{positiontype} {positionvalue}}</div>'; } function _render($data, $id, $sliderid) { return '<div>{' . $data->get('positiontype', '') . ' ' . $data->get('positionvalue', '') . '}</div>'; } function _renderAdmin($data, $id, $sliderid) { return $this->_render($data, $id, $sliderid); } function getValues() { return array('positiontype' => 'loadposition', 'positionvalue' => ''); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . $this->_identifier . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslideritem', 'plgNextendSliderItemJoomlaModule');
} else { $data .= 'data-sswidth="' . $thumbnailgalleryoutersize[0] . '" '; } if (is_numeric($thumbnailgalleryoutersize[1]) || $thumbnailgalleryoutersize[1] == 'auto' || substr($thumbnailgalleryoutersize[1], -1) == '%') { $positionstyle .= 'height:' . $thumbnailgalleryoutersize[1] . ';'; } else { $data .= 'data-ssheight="' . $thumbnailgalleryoutersize[1] . '" '; } list($colorhexthumbnailgallerybackground, $rgbacssthumbnailgallerybackground) = NextendColor::colorToCss($params->get('thumbnailgallerybackground', 'eeeeeefff')); $positionstyle .= 'background: #' . $colorhexthumbnailgallerybackground . '; background: ' . $rgbacssthumbnailgallerybackground . ';'; $br = NextendParse::parse($params->get('thumbnailgalleryborderradius', '0|*|0|*|0|*|0')); $positionstyle .= 'border-radius: ' . $br[0] . 'px ' . $br[1] . 'px ' . $br[2] . 'px ' . $br[3] . 'px; overflow: auto;'; $html .= '<div id="' . $id . '-thumbnail" class="' . $displayclass . '" style="opacity: 0.9999; ' . $positionstyle . '" ' . $data . '>'; $p = NextendParse::parse($params->get('thumbnailgallerypadding', '5|*|5|*|5|*|5')); $html .= '<div class="nextend-thumbnail-container ' . $class . '" style="padding: ' . $p[0] . 'px ' . $p[1] . 'px ' . $p[2] . 'px ' . $p[3] . 'px;">'; $m = NextendParse::parse($params->get('thumbnailgallerymargin', '0|*|1|*|1|*|0')); for ($i = 0; $i < count($slider->_slides); $i++) { if (!$slider->_slides[$i]['thumbnail'] && $slider->_slides[$i]['bg']) { $im = new NextendImage(); $slider->_slides[$i]['thumbnail'] = $im->resizeImage($slider->_slides[$i]['bg'], $thumbnailsize[0], $thumbnailsize[1]); } $html .= '<div onclick="njQuery(\'#' . $id . '\').smartslider(\'goto\',' . $i . ',false);" class="' . $class . ($slider->_slides[$i]['first'] ? ' active' : '') . '" style="' . $style . 'background-image: url(\'' . $slider->_slides[$i]['thumbnail'] . '\'); margin: ' . $m[0] . 'px ' . $m[1] . 'px ' . $m[2] . 'px ' . $m[3] . 'px;"></div>'; } $html .= '</div></div>'; $html .= "\r\n <script type='text/javascript'>\r\n njQuery(document).ready(function () {\r\n window['" . $id . "-thumbnail'] = new smartSliderGallery({\r\n id: '" . $id . "',\r\n node: window.njQuery('#" . $id . "-thumbnail')\r\n });\r\n });\r\n </script>\r\n "; } return $html; } } NextendPlugin::addPlugin('nextendsliderwidgetthumbnail', 'plgNextendSliderWidgetThumbnailGallery');
div#' . $id . ' .nextend-smartslider-caption:HOVER .img-scale-top{ -moz-transform: scale(1.4); -o-transform: scale(1.4); -webkit-transform: scale(1.4); transform: scale(1.4); } div#' . $id . ' .nextend-smartslider-caption:HOVER .caption.nextend-smartslider-caption-scale-top{ top: 0; }'; case 'fade': return 'div#' . $id . ' .nextend-smartslider-caption .caption.nextend-smartslider-caption-fade{ opacity: 0; } div#' . $id . ' .nextend-smartslider-caption:HOVER .caption.nextend-smartslider-caption-fade{ opacity: 1; }'; } } function getValues() { return array('image' => NextendSmartSliderSettings::get('placeholder'), 'alt' => 'Image not available', 'link' => '#|*|_self', 'size' => '130|*|130', 'content' => 'Title', 'description' => 'Here comes the description text.', 'captionclass' => 'simple-bottom', 'fontclasstitle' => 'sliderfont1', 'fontclass' => 'sliderfont11', 'color' => '00000080', 'customcaptionclass' => '', 'onmouseclick' => '', 'onmouseenter' => '', 'onmouseleave' => ''); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . $this->_identifier . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslideritem', 'plgNextendSliderItemCaption');
} static function render($slider, $id, $params) { $html = ''; $indicatorstripe = $params->get('indicatorstripe', false); if ($indicatorstripe && $indicatorstripe != -1) { $displayclass = self::getDisplayClass($params->get('widgetindicatordisplay', '0|*|always|*|0|*|0'), true) . 'nextend-indicator '; $css = NextendCss::getInstance(); $css->addCssFile(NextendFilesystem::translateToMediaPath(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'stripe' . DIRECTORY_SEPARATOR . 'style.css')); list($style, $data) = self::getPosition($params->get('indicatorposition', '')); $style .= 'z-index:10;'; $width = NextendParse::parse($params->get('indicatorwidth', '100%')); if (is_numeric($width) || $width == 'auto' || substr($width, -1) == '%') { $style .= 'width:' . $width . ';'; } else { $data .= 'data-sswidth="' . $width . '" '; } $size = intval($params->get('indicatorsize', 50)); list($colorhex, $rgbacss) = NextendColor::colorToCss($params->get('indicatorstripecolor', '000000cc')); list($colorhexbg, $rgbacssbg) = NextendColor::colorToCss($params->get('backgroundstripecolor', '7670c7ff')); $height = $params->get('indicatorstripeheight', '6'); $info = pathinfo($indicatorstripe); $class = 'nextend-indicator nextend-indicator-stripe nextend-indicator-stripe-' . basename($indicatorstripe, '.' . $info['extension']); $html = '<div class="' . $displayclass . 'nextend-indicator-stripe-container" style="' . $style . 'background-color:' . $colorhexbg . '; background-color:' . $rgbacssbg . '; height: ' . $height . 'px;" ' . $data . '><div class="' . $class . '" style="width: 0%; background-color:' . $colorhex . '; background-color:' . $rgbacss . '; height: ' . $height . 'px;"></div></div>'; $html .= "\r\n <script type='text/javascript'>\r\n njQuery(document).ready(function () {\r\n var stripe = window.njQuery('#" . $id . " .nextend-indicator-stripe');\r\n window['" . $id . "-indicator'] = {\r\n hide: function(){\r\n stripe.hide();\r\n },\r\n show: function(){\r\n stripe.show();\r\n },\r\n refresh: function(val){\r\n stripe.css('width', val+'%');\r\n }\r\n };\r\n });\r\n </script>\r\n "; } return $html; } } NextendPlugin::addPlugin('nextendsliderwidgetindicator', 'plgNextendSliderWidgetIndicatorStripe');
} $html .= '<div class="nextend-thumbnail-vertical-content" style="width:' . (100 - $thumbnailcolumn) . '%;">'; $link = NextendParse::parse($slider->_slides[$i]['params']->get('link')); if ($thumbnailtitlelink && $link[0] != '' && $link[0] != '#') { $html .= '<h4 class="' . $params->get('thumbnailfontclasstitle') . '"><a href="' . $link[0] . '" target="' . $link[1] . '">' . $slider->_slides[$i]['title'] . '</a></h4>'; } else { $html .= '<h4 class="' . $params->get('thumbnailfontclasstitle') . '">' . $slider->_slides[$i]['title'] . '</h4>'; } $html .= '<p class="' . $params->get('thumbnailfontclassdescription') . '">' . $slider->_slides[$i]['description'] . '</p> </div></div>'; } $html .= '</div></div></td>'; $html .= '<div class="nextend-arrow-bottom"></div></div></div>'; $html .= "\n <script type='text/javascript'>\n njQuery(document).ready(function () {\n window['" . $id . "-thumbnail'] = new smartSliderVertical({\n id: '" . $id . "',\n node: window.njQuery('#" . $id . "-thumbnail'),\n thumbnailperpage: '" . $thumbnailperpage . "',\n thumbnailanimation: '" . $params->get('thumbnailanimation', 700) . "'\n });\n });\n </script>\n "; $css->addCssFile(' #' . $id . ' .nextend-thumbnail-container .nextend-thumbnail-vertical-vertical1:HOVER, #' . $id . ' .nextend-thumbnail-container .nextend-thumbnail-vertical-vertical1.active, #' . $id . ' .nextend-thumbnail-container.nextend-thumbnail-vertical-vertical1 .nextend-arrow-top:HOVER, #' . $id . ' .nextend-thumbnail-container.nextend-thumbnail-vertical-vertical1 .nextend-arrow-bottom:HOVER, #' . $id . ' .nextend-thumbnail-container .nextend-thumbnail-vertical-vertical-light:HOVER, #' . $id . ' .nextend-thumbnail-container .nextend-thumbnail-vertical-vertical-light.active, #' . $id . ' .nextend-thumbnail-container.nextend-thumbnail-vertical-vertical-light .nextend-arrow-top:HOVER, #' . $id . ' .nextend-thumbnail-container.nextend-thumbnail-vertical-vertical-light .nextend-arrow-bottom:HOVER{ background-color:' . $rgbacssthumbnailactivebackground . '; }', $id); } return $html; } } NextendPlugin::addPlugin('nextendsliderwidgetthumbnail', 'plgNextendSliderWidgetThumbnailVertical');
<?php class plgNextendSliderWidgetShadow extends NextendPluginBase { var $_group = 'shadow'; function onNextendSliderWidgetList(&$list) { $list[$this->_group] = array(NextendText::_('Shadows'), $this->getPath(), 7); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . 'shadow' . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendsliderwidget', 'plgNextendSliderWidgetShadow');
<?php class plgNextendSliderWidgetHTML extends NextendPluginBase { var $_group = 'html'; function onNextendSliderWidgetList(&$list) { $list[$this->_group] = array(NextendText::_('HTML'), $this->getPath(), 10); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . 'html' . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendsliderwidget', 'plgNextendSliderWidgetHTML');
100%{ opacity:0; -webkit-transform:scale3d(2,2,1); -moz-transform:scale3d(2,2,1); -ms-transform:scale3d(2,2,1); -o-transform:scale3d(2,2,1); transform:scale3d(2,2,1)}} @keyframes glow{0%,20%{ opacity:.6; -webkit-transform:scale3d(1,1,1); -moz-transform:scale3d(1,1,1); -ms-transform:scale3d(1,1,1); -o-transform:scale3d(1,1,1); transform:scale3d(1,1,1)} 100%{opacity:0; -webkit-transform:scale3d(2,2,1); -moz-transform:scale3d(2,2,1); -ms-transform:scale3d(2,2,1); -o-transform:scale3d(2,2,1); transform:scale3d(2,2,1)}} ', 'onmouseclick' => '', 'onmouseenter' => '', 'onmouseleave' => ''); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . $this->_identifier . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslideritem', 'plgNextendSliderItemSpecial');
var $_title = 'Vimeo'; function getTemplate() { return '<img src="//secure-a.vimeocdn.com/images_v6/logo.png" style="width:100%;" />'; } function _render($data, $id, $sliderid, $items) { $js = NextendJavascript::getInstance(); $js->addLibraryJsFile('jquery', dirname(__FILE__) . '/vimeo/vimeo.js'); return '<div id="' . $id . '" data-vimeocode="' . $data->get('vimeourl') . '" data-autoplay="' . $data->get('autoplay', 0) . '" data-reset="' . $data->get('reset', 0) . '" data-title="' . $data->get('title', 1) . '" data-byline="' . $data->get('byline', 1) . '" data-portrait="' . $data->get('portrait', 1) . '" data-loop="' . $data->get('loop', 0) . '" data-color="' . $data->get('color', '00adef') . '" ></div> <script type="text/javascript"> njQuery(document).ready(function () { ssCreateVimeoPlayer("' . $id . '", "' . $sliderid . '"); }); </script>'; } function _renderAdmin($data, $id, $sliderid, $items) { return '<img src="//secure-a.vimeocdn.com/images_v6/logo.png" style="width:100%;" />'; } function getValues() { return array('code' => '75251217', 'autoplay' => 0, 'title' => 1, 'byline' => 1, 'portrait' => 0, 'color' => '00adef', 'loop' => 0); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . $this->_identifier . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslideritem', 'plgNextendSliderItemVimeo');
nextendimportsmartslider2('nextend.smartslider.plugin.widget'); class plgNextendSliderWidgetAutoplayImage extends plgNextendSliderWidgetAbstract { var $_name = 'image'; function onNextendAutoplayList(&$list) { $list[$this->_name] = $this->getPath(); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . 'image' . DIRECTORY_SEPARATOR; } static function render($slider, $id, $params) { $html = ''; $autoplayimage = $params->get('autoplayimage', false); if ($autoplayimage && $autoplayimage != -1) { $displayclass = self::getDisplayClass($params->get('widgetautoplaydisplay', '0|*|always|*|0|*|0'), true); $css = NextendCss::getInstance(); $css->addCssFile(NextendFilesystem::translateToMediaPath(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'image' . DIRECTORY_SEPARATOR . 'style.css')); list($style, $data) = self::getPosition($params->get('autoplayimageposition', '')); $info = pathinfo($autoplayimage); $class = 'nextend-autoplay-button nextend-autoplay-image nextend-autoplay-' . basename($autoplayimage, '.' . $info['extension']); $html .= '<div onclick="njQuery(this).hasClass(\'paused\') ? njQuery(\'#' . $id . '\').smartslider(\'startautoplay\') : njQuery(\'#' . $id . '\').smartslider(\'pauseautoplay\');" class="' . $displayclass . $class . '" style="' . $style . '" ' . $data . '></div>'; } return $html; } } NextendPlugin::addPlugin('nextendsliderwidgetautoplay', 'plgNextendSliderWidgetAutoplayImage');
if (!empty($leave)) { $attr .= ' data-leave="' . htmlspecialchars($leave) . '"'; } return '<p class="' . $data->get('fontclass', '') . ' ' . $data->get('class', '') . '" style="' . $fontsize . $fontcolor . htmlspecialchars($data->get('css', '')) . '" ' . $attr . '>' . $data->get('content', '') . '</p>'; } function _renderAdmin($data, $id, $sliderid, $items) { $fontsize = $data->get('fontsize', ''); if (!empty($fontsize)) { $fontsize = 'font-size:' . $fontsize . '%;'; } $fontcolors = (array) NextendParse::parse($data->get('fontcolor', '')); $fontcolor = ''; if (isset($fontcolors[0]) && $fontcolors[0]) { if (!empty($fontcolors[1])) { $fontcolor = 'color:#' . $fontcolors[1] . ';'; } } return '<p class="' . $data->get('fontclass', '') . ' ' . $data->get('class', '') . '" style="' . $fontsize . $fontcolor . htmlspecialchars($data->get('css', '')) . '">' . $data->get('content', '') . '</p>'; } function getValues() { return array('content' => NextendText::_('Empty_paragraph'), 'fontclass' => 'sliderfont6', 'fontsize' => 'auto', 'fontcolor' => '0|*|000000', 'css' => '', 'class' => '', 'onmouseclick' => '', 'onmouseenter' => '', 'onmouseleave' => ''); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . $this->_identifier . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslideritem', 'plgNextendSliderItemParagraph');
} function parseYoutubeUrl($youtubeurl) { preg_match('/^.*((youtu.be\\/)|(v\\/)|(\\/u\\/\\w\\/)|(embed\\/)|(watch\\?))\\??v?=?([^#\\&\\?]*).*/', $youtubeurl, $matches); if ($matches && isset($matches[7]) && strlen($matches[7]) == 11) { return $matches[7]; } return $youtubeurl; } function getValues() { return array('code' => 'qesNtYIBDfs', 'youtubeurl' => 'http://www.youtube.com/watch?v=qesNtYIBDfs', 'autoplay' => 0, 'defaultimage' => 'maxresdefault', 'related' => '1', 'vq' => 'default'); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . $this->_identifier . DIRECTORY_SEPARATOR; } function onNextendSliderRender(&$slider, $id) { preg_match_all('/<!\\-\\-smartslideryoutubeitem,([a-zA-Z0-9\\-]*?),([a-zA-Z0-9\\-_]*?)\\-\\->/', $slider, $out, PREG_SET_ORDER); if (count($out)) { $js = NextendJavascript::getInstance(); $js->addLibraryJsFile('jquery', dirname(__FILE__) . '/youtube/youtube.js'); foreach ($out as $o) { $slider .= "<script type='text/javascript'>\r\n njQuery(document).ready(function () {\r\n ssCreateYouTubePlayer('" . $o[1] . $o[2] . "', '" . $id . "');\r\n });\r\n </script>"; } } } } NextendPlugin::addPlugin('nextendslideritem', 'plgNextendSliderItemYoutube');
<?php nextendimportsmartslider2('nextend.smartslider.plugin.slideritem'); class plgNextendSliderItemFade extends plgNextendSliderItemAbstract { var $_identifier = 'fade'; var $_title = 'Fade - full'; function getTemplate() { return "\r\n <div>\r\n Only in full version!\r\n </div>\r\n "; } function getValues() { return array('imagefront' => NextendSmartSliderSettings::get('placeholder'), 'imageback' => NextendSmartSliderSettings::get('placeholder'), 'alt' => 'Image not available', 'link' => '#|*|_self', 'url' => '', 'target' => '_self', 'width' => '100%', 'fadeclass' => 'myfade', 'css' => '', 'class' => ''); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . $this->_identifier . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslideritem', 'plgNextendSliderItemFade');
<?php nextendimportsmartslider2('nextend.smartslider.check'); class plgNextendSliderGeneratorImageFromFolder extends NextendPluginBase { var $_group = 'imagefromfolder'; function onNextendSliderGeneratorList(&$group, &$list, $showall = false) { $group[$this->_group] = 'Image'; if (!isset($list[$this->_group])) { $list[$this->_group] = array(); } $list[$this->_group][$this->_group . '_fromfolder'] = array(NextendText::_('From_folder'), $this->getPath() . 'fromfolder' . DIRECTORY_SEPARATOR, true, false, true, 'image'); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslidergenerator', 'plgNextendSliderGeneratorImageFromFolder');
} $fontsize = $data->get('fontsize', ''); if (!empty($fontsize)) { $fontsize = 'font-size:' . $fontsize . '%;'; } $fontcolors = (array) NextendParse::parse($data->get('fontcolor', '')); $fontcolor = ''; if (isset($fontcolors[0]) && $fontcolors[0]) { if (!empty($fontcolors[1])) { $fontcolor = 'color:#' . $fontcolors[1] . ';'; } } return ' <h' . $data->get('priority', 1) . ' class="' . $data->get('fontclass', 'sliderfont2') . ' ' . $data->get('class', '') . '" style="' . $fontsize . $fontcolor . htmlspecialchars($data->get('css', '')) . '"> ' . ($link[0] != '#' ? '<a href="' . $link[0] . '" target="' . $link[1] . '" style="' . $fontcolor . '">' : '') . ' ' . $data->get('heading', '') . ' ' . ($link[0] != '#' ? '</a>' : '') . ' </h' . $data->get('priority', 1) . '> '; } function getValues() { return array('priority' => '1', 'heading' => NextendText::_('Heading'), 'link' => '#|*|_self', 'fontclass' => 'sliderfont2', 'fontsize' => 'auto', 'fontcolor' => '0|*|000000', 'css' => "padding: 0;\nmargin: 0;\nbackground: none;\nbox-shadow: none;", 'class' => '', 'onmouseenter' => '', 'onmouseclick' => '', 'onmouseleave' => ''); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . $this->_identifier . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslideritem', 'plgNextendSliderItemHeading');
<?php class plgNextendSliderWidgetThumbnail extends NextendPluginBase { var $_group = 'thumbnail'; function onNextendSliderWidgetList(&$list) { $list[$this->_group] = array(NextendText::_('Thumbnails'), $this->getPath(), 6); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . 'thumbnail' . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendsliderwidget', 'plgNextendSliderWidgetThumbnail');
-webkit-transform: perspective(800px) rotateY(-179.9deg); -moz-transform: perspective(800px) rotateY(-179.9deg); transform: perspective(800px) rotateY(-179.9deg); } div#' . $id . ' .nextend-smartslider-flip .nextend-smartslider-flip-back-img{ position:absolute; top:0; left:0; -moz-transform: perspective(800px) rotateY(180deg); -webkit-transform: perspective(800px) rotateY(180deg); transform: perspective(800px) rotateY(180deg); } div#' . $id . ' .nextend-smartslider-flip-container:hover .nextend-smartslider-flip-back-img{ -moz-transform: perspective(800px) rotateY(0deg); -webkit-transform: perspective(800px) rotateY(0deg); transform: perspective(800px) rotateY(0deg); }'; } function getValues() { return array('imagefront' => NextendSmartSliderSettings::get('placeholder'), 'imageback' => NextendSmartSliderSettings::get('placeholder'), 'alt' => NextendText::_('Image_not_available'), 'link' => '#|*|_self', 'width' => '100%', 'css' => '', 'flipclass' => 'myflip', 'onmouseclick' => '', 'onmouseenter' => '', 'onmouseleave' => ''); } function getPath() { return dirname(__FILE__) . DIRECTORY_SEPARATOR . $this->_identifier . DIRECTORY_SEPARATOR; } } NextendPlugin::addPlugin('nextendslideritem', 'plgNextendSliderItemFlipper');
} #' . $id . ' .nextend-bullet-container .nextend-bullet-transition.nextend-bullet.active, #' . $id . ' .nextend-bullet-container .nextend-bullet-transition.nextend-bullet:HOVER{ border-color: #' . $colorhexborderhover . '; border-color:' . $rgbacssborderhover . '; } #' . $id . ' .nextend-bullet-container.nextend-bullet.nextend-bullet-transition.bullet-bar-simple-rounded, #' . $id . ' .nextend-bullet-container.nextend-bullet.nextend-bullet-transition.bullet-bar-elegant-rounded, #' . $id . ' .nextend-bullet-container.nextend-bullet.nextend-bullet-transition.bullet-bar-simple, #' . $id . ' .nextend-bullet-container.nextend-bullet.nextend-bullet-transition.bullet-bar-elegant{ background:#' . $colorhexborderbar . '; background:' . $rgbacssborderbar . '; } #' . $id . ' .nextend-bullet-transition-thumbnail .qtip-content{ width:' . $thumbnailsize[0] . 'px; height:' . $thumbnailsize[1] . 'px; padding: 4px; } #' . $id . ' .nextend-bullet-transition-thumbnail .qtip-content img{ box-shadow: 0 0px 0px 1px RGBA(255,255,255,.2); } #' . $id . ' .nextend-bullet-transition-thumbnail{ background: #' . $colorhexthumbnail . '; background: ' . $rgbacssthumbnail . '; }', $id); } return $html; } } NextendPlugin::addPlugin('nextendsliderwidgetbullet', 'plgNextendSliderWidgetBulletTransition');