/**
     * 
     * put the slider slides
     */
    private function putSlides()
    {
        $slides = $this->slider->getSlides(true);
        if (empty($slides)) {
            UniteFunctionsBiz::throwError("No Slides Found, Please add some slides");
        }
        $templateHtml = $this->template->getContent();
        //$templateHtml = $this->getDemoTemplate();
        $this->slidesNumIndex = $this->slider->getSlidesNumbersByIDs(true);
        $hide_if_empty_img = $this->slider->getParam('hide_if_no_image', 'off');
        $image_source_type = $this->slider->getParam('img_source_type', 'full');
        $image_ratio = $this->slider->getParam('img_ratio', 'none');
        if (empty($slides)) {
            ?>
					<div class="no-slides-text">
						No items found, please add some items
					</div>
					<?php 
        }
        echo "<ul>";
        foreach ($slides as $slide) {
            $params = $slide->getParams();
            $text = $slide->getParam("slide_text", "");
            $title = $slide->getParam("title", "");
            $urlImage = $slide->getImageUrl();
            $urlImage = trim($urlImage);
            if (empty($urlImage) && $hide_if_empty_img == 'on') {
                continue;
            }
            $link = $slide->getParam("link", "");
            //get the html from the local or global template
            $templateID = $slide->getParam("template_id", "0");
            if (!empty($templateID) && $templateID != "0" && $templateID != 0) {
                $template = new ShowBizTemplate();
                $template->initById($templateID);
                $html = $template->getContent();
            } else {
                $html = $templateHtml;
            }
            $html = UniteFunctionsBiz::add_height_auto($html);
            $html = $slide->processTemplateHtml($html);
            //add height/width attribute
            $html = UniteFunctionsBiz::add_height_width($html, $image_source_type, $image_ratio);
            $customStyles = '';
            if ($this->slider->getParam("custom_offset_control", "false") == "true") {
                $customOffset = $this->slider->getParam("custom_offset", "0");
                $customStyles = ' style="margin-right: ' . $customOffset . 'px;"';
            }
            ?>
					<li<?php 
            echo $customStyles;
            ?>
>
						<?php 
            echo $html;
            ?>
					</li>
					
				<?php 
        }
        echo "</ul>";
    }