| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/news/tmp/install_53213fb89605d/tmpl/ |
Upload File : |
<?php
/**
* @version $Id: default.php 00006 2010-10-30 00:00:00 umitkenan $
* @package Joomla
* @subpackage JT SlideShow Module
* @author Ümit Kenan Gönüllü
* @link http://www.jt.gen.tr
* @copyright Copyright (C) Joomla Türkçe Eğitim ve Destek Sitesi. http://www.jt.gen.tr
* @license GNU/GPL
* @information Based on jQuery Cycle Plugin
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<script type="text/javascript">
/* <![CDATA[ */
// jQuery Cycle Plugin
// Define default values
jQuery.fn.cycle.defaults.timeoutFn = <?php echo $list->timeoutFn; ?>;
jQuery.fn.cycle.defaults.prevNextClick = <?php echo $list->prevNextClick; ?>;
jQuery.fn.cycle.defaults.pagerClick = <?php echo $list->pagerClick; ?>;
jQuery.fn.cycle.defaults.pagerAnchorBuilder = '<?php echo $list->pagerAnchorBuilder; ?>';
jQuery.fn.cycle.defaults.end = <?php echo $list->end; ?>;
jQuery.fn.cycle.defaults.easing = <?php echo $list->easing; ?>;
jQuery.fn.cycle.defaults.easeIn = <?php echo $list->easeIn; ?>;
jQuery.fn.cycle.defaults.easeOut = <?php echo $list->easeOut; ?>;
jQuery.fn.cycle.defaults.animIn = <?php echo $list->animIn; ?>;
jQuery.fn.cycle.defaults.animOut = <?php echo $list->animOut; ?>;
jQuery.fn.cycle.defaults.cssBefore = <?php echo $list->cssBefore; ?>;
jQuery.fn.cycle.defaults.cssAfter = <?php echo $list->cssAfter; ?>;
jQuery.fn.cycle.defaults.fxFn = <?php echo $list->fxFn; ?>;
jQuery.fn.cycle.defaults.height = '<?php echo $list->height; ?>';
jQuery.fn.cycle.defaults.startingSlide = <?php echo $list->startingSlide; ?>;
jQuery.fn.cycle.defaults.sync = <?php echo $list->sync; ?>;
jQuery.fn.cycle.defaults.autostopCount = <?php echo $list->autostopCount; ?>;
jQuery.fn.cycle.defaults.slideExpr = <?php echo $list->slideExpr; ?>;
jQuery.fn.cycle.defaults.cleartype = !jQuery.support.opacity; // true if clearType corrections should be applied (for IE)
jQuery.fn.cycle.defaults.fastOnEvent = <?php echo $list->fastOnEvent; ?>;
jQuery.fn.cycle.defaults.manualTrump = <?php echo $list->manualTrump; ?>;
jQuery.fn.cycle.defaults.requeueOnImageNotLoaded = <?php echo $list->requeueOnImageNotLoaded; ?>;
jQuery.fn.cycle.defaults.requeueTimeout = <?php echo $list->requeueTimeout; ?>
// Main codes
jQuery(document).ready(function(){
// Show Footer (using css)
jQuery('#<?php echo $list->boxname; ?>footer').css({ display: 'block' });
// Show SlideShow box (using css)
jQuery('#<?php echo $list->boxname; ?>').css({ display: 'block' });
// Show navigation bar (using css)
jQuery('#<?php echo $list->boxname; ?>navigationbar').css({ display: 'block' });
// Show pagination bar (using css)
jQuery('#<?php echo $list->boxname; ?>nav').css({ display: 'block' });
// Checking the gallery
var showgallery = <?php echo $list->showgallery; ?>;
// If gallery is on
if(showgallery == 1) {
jQuery('#<?php echo $list->boxname; ?>') .before('<ul id="<?php echo $list->boxname; ?>gallery">') .cycle({
fx: '<?php echo $list->fx; ?>',
timeout: <?php echo $list->timeout; ?>,
continuous: <?php echo $list->continuous; ?>,
speed: <?php echo $list->speed; ?>,
speedIn: <?php echo $list->speedIn; ?>,
speedOut: <?php echo $list->speedOut; ?>,
next: '#<?php echo $list->next; ?>',
prev: '#<?php echo $list->prev; ?>',
pager: '#<?php echo $list->boxname; ?>gallery',
pagerEvent: '<?php echo $list->pagerEvent; ?>',
pagerAnchorBuilder: function(idx, slide) { var src = jQuery('img',slide).attr('src'); return '<li><a href="javascript:void(0);"><img src="' + src + '" width="<?php echo $list->gallerythumbnailwidth; ?>" height="<?php echo $list->gallerythumbnailheight; ?>" /><\/a><\/li>'; },
before: <?php echo $list->before; ?>,
after: <?php echo $list->after; ?>,
shuffle: <?php echo $list->shufflesetting; ?>,
random: <?php echo $list->random; ?>,
fit: <?php echo $list->fit; ?>,
containerResize: <?php echo $list->containerResize; ?>,
pause: <?php echo $list->pause; ?>,
pauseOnPagerHover: <?php echo $list->pauseOnPagerHover; ?>,
autostop: <?php echo $list->autostop; ?>,
delay: <?php echo $list->delay; ?>,
nowrap: <?php echo $list->nowrap; ?>,
randomizeEffects: <?php echo $list->randomizeEffects; ?>,
rev: <?php echo $list->rev; ?>
});
}
// If gallery is off
else {
jQuery('#<?php echo $list->boxname; ?>').cycle({
fx: '<?php echo $list->fx; ?>',
timeout: <?php echo $list->timeout; ?>,
continuous: <?php echo $list->continuous; ?>,
speed: <?php echo $list->speed; ?>,
speedIn: <?php echo $list->speedIn; ?>,
speedOut: <?php echo $list->speedOut; ?>,
next: '#<?php echo $list->next; ?>',
prev: '#<?php echo $list->prev; ?>',
pager: '#<?php echo $list->boxname; ?>nav',
pagerEvent: '<?php echo $list->pagerEvent; ?>',
before: <?php echo $list->before; ?>,
after: <?php echo $list->after; ?>,
shuffle: <?php echo $list->shufflesetting; ?>,
random: <?php echo $list->random; ?>,
fit: <?php echo $list->fit; ?>,
containerResize: <?php echo $list->containerResize; ?>,
pause: <?php echo $list->pause; ?>,
pauseOnPagerHover: <?php echo $list->pauseOnPagerHover; ?>,
autostop: <?php echo $list->autostop; ?>,
delay: <?php echo $list->delay; ?>,
nowrap: <?php echo $list->nowrap; ?>,
randomizeEffects: <?php echo $list->randomizeEffects; ?>,
rev: <?php echo $list->rev; ?>
});
};
});
/* ]]> */
</script>
<div class="JT-ClearBox"></div>
<?php if ( $list->pagination == 1 && $list->paginationbarposition == 'top' && $list->gallery == 0 ) echo $list->paginationbarcontent.'<div class="JT-ClearBox"></div>'; ?>
<?php if ( $list->showcaption == 1 && $list->captionposition == 'top') echo $list->caption.'<div class="JT-ClearBox"></div>'; ?>
<?php if ($list->pagination == 0 && $list->gallery == 1) echo $list->gallerycontent; ?>
<div style="position:relative;">
<div id="<?php echo $list->boxname; ?>">
<?php for ( $i=0 ; $i < count($list->image) ; $i++ ) echo $list->slideshowcontent[$i]; ?>
</div>
<?php if ( $list->navigationbar == 1 ) echo $list->navigationbarcontent; ?>
</div>
<div class="JT-ClearBox"></div>
<?php if ( $list->showcaption == 1 && $list->captionposition == 'bottom') echo $list->caption.'<div class="JT-ClearBox"></div>'; ?>
<?php if ( $list->pagination == 1 && $list->paginationbarposition == 'bottom' && $list->gallery == 0 ) echo $list->paginationbarcontent.'<div class="JT-ClearBox"></div>'; ?>
<?php echo $list->jtslideshowfooter; ?>
<script type="text/javascript">jQuery.noConflict();</script>