HEX
Server: Apache
System: Linux p3plzcpnl489526.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: vmasmheia229 (9244908)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/vmasmheia229/public_html/htmlCHRIS/old/dev2/wp-content/plugins/revslider/views/slides.php
<?php

	$operations = new RevOperations();

	$sliderID = self::getGetVar("id");
	
	if(empty($sliderID))
		UniteFunctionsRev::throwError("Slider ID not found"); 
	
	$slider = new RevSlider();
	$slider->initByID($sliderID);
	$sliderParams = $slider->getParams();
	
	$arrSliders = $slider->getArrSlidersShort($sliderID);
	$selectSliders = UniteFunctionsRev::getHTMLSelect($arrSliders,"","id='selectSliders'",true);
	
	$numSliders = count($arrSliders);
	
	//set iframe parameters	
	$width = $sliderParams["width"];
	$height = $sliderParams["height"];
	
	$iframeWidth = $width+60;
	$iframeHeight = $height+50;
	
	$iframeStyle = "width:{$iframeWidth}px;height:{$iframeHeight}px;";

	//handle wpml
	$isWpmlExists = UniteWpmlRev::isWpmlExists();
	$useWpml = $slider->getParam("use_wpml","off");
	
	$wpmlActive = false;
	if($isWpmlExists && $useWpml == "on"){
		$wpmlActive = true;
		
		//get langs floating menu
		$urlIconDelete = self::$url_plugin."images/icon-trash.png";
		$urlIconEdit = self::$url_plugin."images/icon-edit.png";
		$urlIconPreview = self::$url_plugin."images/preview.png";
		
		$textDelete = __("Delete Slide",REVSLIDER_TEXTDOMAIN);
		$textEdit = __("Edit Slide",REVSLIDER_TEXTDOMAIN);
		$textPreview = __("Preview Slide",REVSLIDER_TEXTDOMAIN);
		
		$htmlBefore = "";
		$htmlBefore .= "<li class='item_operation operation_delete'><a data-operation='delete' href='javascript:void(0)'>"."\n";
		$htmlBefore .= "<img src='{$urlIconDelete}'/> {$textDelete}"."\n";				
		$htmlBefore .= "</a></li>"."\n";
		
		$htmlBefore .= "<li class='item_operation operation_edit'><a data-operation='edit' href='javascript:void(0)'>"."\n";
		$htmlBefore .= "<img src='{$urlIconEdit}'/> {$textEdit}"."\n";				
		$htmlBefore .= "</a></li>"."\n";
		
		$htmlBefore .= "<li class='item_operation operation_preview'><a data-operation='preview' href='javascript:void(0)'>"."\n";
		$htmlBefore .= "<img src='{$urlIconPreview}'/> {$textPreview}"."\n";				
		$htmlBefore .= "</a></li>"."\n";
		
		$htmlBefore .= "<li class='item_operation operation_sap'>"."\n";
		$htmlBefore .= "<div class='float_menu_sap'></div>"."\n";				
		$htmlBefore .= "</a></li>"."\n";
		
		$langFloatMenu = UniteWpmlRev::getLangsWithFlagsHtmlList("id='slides_langs_float' class='slides_langs_float'",$htmlBefore);
	}	
	
	$arrSlides = $slider->getSlides(false);
	
	$numSlides = count($arrSlides);
	
	$linksSliderSettings = self::getViewUrl(RevSliderAdmin::VIEW_SLIDER,"id=$sliderID");
	
	$patternViewSlide = self::getViewUrl("slide","id=[slideid]");
	
	require self::getPathTemplate("slides");
	
?>