AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/plats-individuels/lyon/components/com_djclassifieds/views/userbids/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/plats-individuels/lyon/components/com_djclassifieds/views/userbids/tmpl/default.php
<?php
/**
 * @package DJ-Classifieds
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email: contact@dj-extensions.com
 */

defined ('_JEXEC') or die('Restricted access');

$app = JFactory::getApplication();
$par = $this->par;

$bid_type = $app->input->get('bid_type');

$order = $app->input->get('order', 'date_a');
$ord_t = $app->input->get('ord_t', 'desc');
$ord_t = $ord_t == 'desc' ? 'asc' : 'desc';

?>
<div id="dj-classifieds" class="clearfix djcftheme-<?php echo $par->get('theme', 'default');?> <?php echo $par->get('pageclass_sfx'); ?>">
<?php if($this->page_heading){ ?>
	<h1><?php echo $this->page_heading; ?></h1>
<?php } ?>
	<div class="dj-items userbids <?php echo $bid_type; ?>">
		<div class="dj-items-table-smart">	
			<div class="dj-items_order_by">
				<div class="dj-items_order_by_in">
					<div class="bid_type_box djfilterbox">
						<form method="get" name="userbids_form" id="userbids_form">
							<select name="bid_type" onchange="this.form.submit()">
								<option value=""><?php echo JText::_('COM_DJCLASSIFIEDS_USERBIDS_CURRENT'); ?></option>
								<option value="won"<?php if($bid_type == 'won') echo ' selected'; ?>><?php echo JText::_('COM_DJCLASSIFIEDS_USERBIDS_WON'); ?></option>
								<option value="ended"<?php if($bid_type == 'ended') echo ' selected'; ?>><?php echo JText::_('COM_DJCLASSIFIEDS_USERBIDS_ENDED'); ?></option>
							</select>
						</form>
					</div>
					<div class="dj-items_order_by_label"><?php echo JText::_('COM_DJCLASSIFIEDS_SORT_BY')?></div>															
					<div class="dj-items_order_by_values">
						<?php 
							$sort_opts_arr = array(
								'title' => JText::_('COM_DJCLASSIFIEDS_TITLE'),
								'date_a' => JText::_('COM_DJCLASSIFIEDS_DATE_ADDED'),
								'date_e' => JText::_('COM_DJCLASSIFIEDS_DATE_EXPIRATION')
							);
						?>
						<?php foreach($sort_opts_arr as $sort_opt => $sort_text){ ?>
							<?php 
								$sort_class = '';
								if($order == $sort_opt){
									$sort_class = $ord_t == 'asc' ? 'active active_asc' : 'active active_desc';
								}
							?>
							<a class="<?php echo $sort_class; ?>" href="<?php echo DJClassifiedsSEO::getViewUri('userbids'); ?>&order=<?php echo $sort_opt; ?>&ord_t=<?php echo $ord_t; ?><?php echo $bid_type && $bid_type != 'current' ? '&bid_type='.$bid_type : ''; ?>">
								<?php echo $sort_text ?>						
							</a>
							<?php if($sort_opts_arr[$sort_opt] != end($sort_opts_arr)){ ?>
								<span class="item_orderby_separator"></span>
							<?php } ?>
						<?php } ?>
					</div>
				</div>		
			</div>

			<div class="dj-items-rows">				
			<?php foreach($this->items as $i){ ?>
					<div class="item_row item_row">
						<div class="item_row_in">							
							<div class="item_outer">
								<div class="item_outer_in">
								<?php if($par->get('column_image','1')){ ?>
										<div class="item_img_box">
											<div class="item_img_box_in">					
												<a href="<?php echo $i->item_uri; ?>">
													<?php 
													if($i->images){ 
														echo '<img src="'.JURI::base(true).$i->images[0]->thumb_bids.'"';
														echo ' alt="'.str_ireplace('"', "'", $i->name).'" ';
														echo  '/>';
													}else{
														if($par->get('blank_img_source','0')==1){
															echo '<img style="'.DJClassifiedsImage::getThumbStyle(DJClassifiedsImage::getThumbType('bids'),$par).'" src="'.DJClassifiedsImage::getCatImage($i->cat_id).'" ';
														}else{
															echo '<img class="no-image" style="'.DJClassifiedsImage::getThumbStyle(DJClassifiedsImage::getThumbType('bids'),$par).'" src="'.JURI::base().DJClassifiedsTheme::getImgAssetPath('no-image.svg').'" ';
														}
														echo ' alt="'.str_ireplace('"', "'", $i->name).'" ';
														echo '/>';
													} ?>
												</a>
											</div>
										</div>				
									<?php } ?>
									<div class="item_content">
										<div class="item_content_in">
											<div class="item_title">
												<h3>
													<a class="title" href="<?php echo $i->item_uri; ?>">
														<?php echo $i->name; ?>
													</a>
												</h3>
											</div>
											<?php if($i->user_id){ ?>
												<div class="author item_custom_fields">
													<div>
														<span class="title"><?php echo JText::_('COM_DJCLASSIFIEDS_USERBIDS_FROM_USER'); ?></span> 
														<span class="value"><a href="<?php echo $i->profile_uri; ?>"><?php echo $i->authorname; ?></a></span>
													</div>
												</div>
											<?php } ?>
											<div class="details item_custom_fields">
												<div><span class="title"><?php echo JText::_($bid_type ? 'COM_DJCLASSIFIEDS_USERBIDS_TIME_ENDED' : 'COM_DJCLASSIFIEDS_USERBIDS_ENDING'); ?></span> <span class="value"><?php echo DJClassifiedsTheme::dateFormatFromTo(strtotime($i->date_exp)); ?></span></div>
												<div><span class="title"><?php echo JText::_('COM_DJCLASSIFIEDS_USERBIDS_USERS_BIDDING'); ?></span> <span class="value"><?php echo $i->bid_users; ?></span></div>
											</div>
										</div>
									</div>
									<div class="clear_both"></div>							
								</div>
							</div>
							<div class="item_details">
								<div class="item_details_in">
									<div class="item_price">
									<?php 	
										$price = $i->max_bid ? $i->max_bid : $i->price;
										if($price){
											echo DJClassifiedsTheme::priceFormat($price, $i->currency);
										}
										if($i->price_negotiable){ 		
											echo '<span class="row_negotiable">';
												echo JText::_('COM_DJCLASSIFIEDS_PRICE_IS_NEGOTIABLE'); 
											echo '</span>';
										}
									?>
									</div>
									<div class="user_max_bid<?php echo $price == $i->user_max_bid ? ' winning' : ''; ?>">
										<span class="title"><?php echo JText::_('COM_DJCLASSIFIEDS_USERBIDS_YOUR_MAX_BID'); ?></span> 
										<span class="value"><?php echo DJClassifiedsTheme::priceFormat($i->user_max_bid, $i->currency); ?></span>
									</div>
									<?php if($bid_type == 'ended' && $price == $i->user_max_bid){ ?>
										<div class="no_win_info">
											<b><?php echo JText::_('COM_DJCLASSIFIEDS_RESERVE_PRICE_NOT_REACHED'); ?></b>
										</div>
									<?php } ?>
								</div>
							</div>
							<div class="clear_both"></div>							
						</div>
					</div>	
				<?php } ?>		
			</div>			
			<?php if($this->pagination->getPagesLinks()){ ?>
				<div class="pagination">
					<?php echo $this->pagination->getPagesLinks(); ?> 
				</div>
			<?php } ?>
			<?php 
				if(!$this->items){
					echo '<div class="no_results">';
						echo JText::_('COM_DJCLASSIFIEDS_USERBIDS_NO_RESULTS');
					echo '</div>';
				}
			?>
		</div>
	</div>
</div>

Anon7 - 2022
AnonSec Team