<?php // utf-8 check: äöü

if (!function_exists('sv') || preg_match('#plugins/multimediaslider/index.php#i', $_SERVER['SCRIPT_NAME']))
{
	die('no direct access');
}

/*
============================================================
CMSimple Plugin MultiMediaSlider
============================================================
Version:    MultiMediaSlider 1.2
Released:   2022-04
Copyright:  Gert Ebersbach
Internet:   www.ge-webdesign.de
Credit:     jQuery Plugin Fotorama - fotorama.io
============================================================ 
License: Commercial License (for commercial websites only)
see http://www.ge-webdesign.de/cmsimpleplugins/?Nutzungsbedingungen
============================================================ 
*/

$hjs.='
<link  href="' . $pth['folder']['base'] . 'plugins/multimediaslider/fotorama/fotorama.css" rel="stylesheet">
<script src="' . $pth['folder']['base'] . 'plugins/multimediaslider/fotorama/fotorama.js"></script>
';

/* 
################################
       Fotorama Slider
################################ 
*/

function mmslider($mmslFile)
{
	global $plugin_cf;
	
	if(!defined('CMSIMPLE_VERSION'))
	{
		return '<p>This plugin requires <b>CMSimple 4.2</b> or higher.</p><p><a href="http://www.cmsimple.org/">CMSimple Download & Updates &raquo;</a></p>';
	}
	
	$output = file_get_contents('./' . $plugin_cf['multimediaslider']['path_sliders'] . $mmslFile . '.txt');
	
	return str_replace('&print','&amp;print',$output);
}

?>