| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/icd/modules/mod_jsn_imageshow_free/tmpl/ |
Upload File : |
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
// Begin output
echo '<div id="jsn-is'.$is_id.'" class="jsn-imageshow'.$moduleclass_sfx.'" style="overflow: hidden; width:'.($width.(strrpos($width, "%")==strlen($width)-1?"":"px")).'; height:'.($height.(strrpos($height, "%")==strlen($height)-1?"":"px")).';'.(($background_url != '')?' background-image: url('.$background_url.')':'').'">';
if($enable_alternative == 1 && $alternative_param != ''){
echo '<div'.(($display_alternative == 0)?' style="margin: 0 0 0 -9999em;"':'').'>'.$jsn_contents.'</div>';
}
echo '</div>';
if ($load_swfobject) echo '<script type="text/javascript" src="'.$module_url.'/swfobject.js"></script>';
echo '<script type="text/javascript" src="'.$module_url.'/swfobject_addon.js"></script>';
?>
<script type="text/javascript">
// <![CDATA[
var soImageShow = new SWFObject("<?php echo $module_url.'/loader.swf'; ?>", "imageshow", "<?php echo $width; ?>", "<?php echo $height; ?>", "8", "<?php echo $background_color; ?>");
soImageShow.addParam("wmode", "<?php echo ($background_type == 'color')?'transparent':'transparent'; ?>");
soImageShow.addVariable("dataXml", "<?php echo $module_url.'/xmldata'.$module_id.'.xml'.$extra_xml; ?>");
soImageShow.addVariable("imageshowUrl", "<?php echo $module_url.'/imageshow.swf'; ?>");
soImageShow.addVariable("slideTiming", <?php echo $slide_timing; ?>);
soImageShow.addVariable("repeatCount", "<?php echo $repeat_count; ?>");
soImageShow.addVariable("processOrder", "<?php echo $process_order; ?>");
soImageShow.addVariable("shadowImageUrl", "<?php echo $shadow_image_url; ?>");
soImageShow.addVariable("captionText", "<?php echo $caption_text; ?>");
soImageShow.addVariable("captionFont", "<?php echo $caption_font; ?>");
soImageShow.addVariable("captionSize", "<?php echo $caption_size; ?>");
soImageShow.addVariable("captionColor", "0x<?php echo $caption_color; ?>");
soImageShow.addVariable("captionAlignment", "<?php echo $caption_alignment; ?>");
soImageShow.addVariable("captionPosition", "<?php echo $caption_position; ?>");
soImageShow.addVariable("captionPadding", "<?php echo $caption_padding; ?>");
soImageShow.addVariable("captionBgOpacity", "<?php echo $caption_bg_opacity; ?>");
soImageShow.addVariable("captionBgColor", "0x<?php echo $caption_bg_color; ?>");
soImageShow.addVariable("showProgress", "<?php echo $show_progress; ?>");
soImageShow.addVariable("overlayEffectName", "<?php echo $overlay_effect_name; ?>");
soImageShow.addVariable("overlayImageUrl", "<?php echo $overlay_image_url; ?>");
soImageShow.addVariable("overlayImageOpacity", "<?php echo $overlay_image_opacity; ?>");
soImageShow.addVariable("overlayImageX", "<?php echo $overlay_image_position[0]; ?>");
soImageShow.addVariable("overlayImageY", "<?php echo $overlay_image_position[1]; ?>");
soImageShow.addVariable("motionTiming", "<?php echo $motion_timing; ?>");
soImageShow.addVariable("motionEase", "<?php echo $motion_ease; ?>");
soImageShow.addVariable("moveRange", "<?php echo $move_range; ?>");
soImageShow.addVariable("scaleRange", "<?php echo $scale_range; ?>");
soImageShow.addVariable("rotationRange", "<?php echo $rotation_range; ?>");
soImageShow.addVariable("transitionType", "<?php echo $transition_type; ?>");
soImageShow.addVariable("transitionTiming", "<?php echo $transition_timing; ?>");
soImageShow.addVariable("transitionEase", "<?php echo $transition_ease; ?>");
soImageShow.addVariable("enableLink", "<?php echo $enable_link; ?>");
soImageShow.addVariable("linkUrl", "<?php echo urlencode($link_url); ?>");
soImageShow.addVariable("linkOpen", "<?php echo $link_open; ?>");
registerSWFObject( soImageShow, "jsn-is<?php echo $is_id; ?>" );
// ]]>
</script>