<?php if ($this->_rootref['B_COUNTDOWN']) {  ?>
<script type="text/javascript">
$(document).ready(function() {
	var currenttime = '<?php echo (isset($this->_rootref['ENDS_IN'])) ? $this->_rootref['ENDS_IN'] : ''; ?>';
	function padlength(what)
	{
		return (what.toString().length == 1)? '0' + what : what;
	}
	function displaytime()
	{
		currenttime -= 1;
		if (currenttime > 0)
		{
			var hours = Math.floor(currenttime / 3600);
			var mins = Math.floor((currenttime - (hours * 3600)) / 60);
			var secs = Math.floor(currenttime - (hours * 3600) - (mins * 60));
			var timestring = padlength(hours) + ':' + padlength(mins) + ':' + padlength(secs);
			$("#ending_counter").html(timestring);
			setTimeout(displaytime, 1000);
		}
		else
		{
			$("#ending_counter").html('<div class="error-box"><?php echo ((isset($this->_rootref['L_911'])) ? $this->_rootref['L_911'] : ((isset($MSG['911'])) ? $MSG['911'] : '{ L_911 }')); ?></div>');
		}
	}
	setTimeout(displaytime, 1000);
});
</script>
<?php } ?>
<div class="content">
	<div class="tableContent2">
		<div class="padding"><b><?php echo ((isset($this->_rootref['L_041'])) ? $this->_rootref['L_041'] : ((isset($MSG['041'])) ? $MSG['041'] : '{ L_041 }')); ?>:</b> <?php echo (isset($this->_rootref['TOPCATSPATH'])) ? $this->_rootref['TOPCATSPATH'] : ''; ?></div>
		<div class="titTable2 rounded-top rounded-bottom">
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td>
						<?php echo (isset($this->_rootref['TITLE'])) ? $this->_rootref['TITLE'] : ''; ?>
<?php if ($this->_rootref['SUBTITLE'] != ('')) {  ?>
						<p class="smallspan"><?php echo (isset($this->_rootref['SUBTITLE'])) ? $this->_rootref['SUBTITLE'] : ''; ?></p>
<?php } ?>
					</td>
					<td align="right"><?php echo ((isset($this->_rootref['L_113'])) ? $this->_rootref['L_113'] : ((isset($MSG['113'])) ? $MSG['113'] : '{ L_113 }')); ?>: <?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?></td>
				</tr>
<?php if ($this->_rootref['B_CANEDIT']) {  ?>
				<tr>
					<td colspan="2">
						[<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>edit_active_auction.php?id=<?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>"><?php echo ((isset($this->_rootref['L_30_0069'])) ? $this->_rootref['L_30_0069'] : ((isset($MSG['30_0069'])) ? $MSG['30_0069'] : '{ L_30_0069 }')); ?></a>]
					</td>
				</tr>
<?php } ?>
			</table>
		</div>
		<div class="titTable3">
			<?php echo (isset($this->_rootref['VIEW_HISTORY1'])) ? $this->_rootref['VIEW_HISTORY1'] : ''; ?>
			<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>friend.php?id=<?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>"><?php echo ((isset($this->_rootref['L_106'])) ? $this->_rootref['L_106'] : ((isset($MSG['106'])) ? $MSG['106'] : '{ L_106 }')); ?></a> |
<?php if ($this->_rootref['B_CANCONTACTSELLER']) {  ?>
			<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>send_email.php?auction_id=<?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>"><?php echo ((isset($this->_rootref['L_922'])) ? $this->_rootref['L_922'] : ((isset($MSG['922'])) ? $MSG['922'] : '{ L_922 }')); ?></a> |
<?php } if ($this->_rootref['B_LOGGED_IN']) {  ?>
			<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>item_watch.php?<?php echo (isset($this->_rootref['WATCH_VAR'])) ? $this->_rootref['WATCH_VAR'] : ''; ?>=<?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>"><?php echo (isset($this->_rootref['WATCH_STRING'])) ? $this->_rootref['WATCH_STRING'] : ''; ?></a>
<?php } else { ?>
			<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>user_login.php?"><?php echo ((isset($this->_rootref['L_5202'])) ? $this->_rootref['L_5202'] : ((isset($MSG['5202'])) ? $MSG['5202'] : '{ L_5202 }')); ?></a>
<?php } ?>
		</div>
<?php if ($this->_rootref['B_USERBID']) {  ?>
		<div class="<?php echo (isset($this->_rootref['YOURBIDCLASS'])) ? $this->_rootref['YOURBIDCLASS'] : ''; ?>">
			<?php echo (isset($this->_rootref['YOURBIDMSG'])) ? $this->_rootref['YOURBIDMSG'] : ''; ?>
		</div>
<?php } ?>
		<br>
		<div class="table2">
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td class="titTable5" valign="top">
						<table width="100%" border="0" cellpadding="5" cellspacing="0">
							<tr>
<?php if ($this->_rootref['B_HASIMAGE']) {  ?>
								<td width="10%" valign="top">
									<table bgcolor="#ffffff">
										<tr>
											<td align='center'>
												<img src="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>getthumb.php?w=<?php echo (isset($this->_rootref['THUMBWIDTH'])) ? $this->_rootref['THUMBWIDTH'] : ''; ?>&fromfile=<?php echo (isset($this->_rootref['PIC_URL'])) ? $this->_rootref['PIC_URL'] : ''; ?>" border="0" align="center"><br>
	<?php if ($this->_rootref['B_HASGALELRY']) {  ?>
												<a href="#gallery"><img src="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>images/gallery.gif" border="0" alt="gallery"> <?php echo ((isset($this->_rootref['L_694'])) ? $this->_rootref['L_694'] : ((isset($MSG['694'])) ? $MSG['694'] : '{ L_694 }')); ?></a>
	<?php } ?>
											</td>
										</tr>
									</table>
								</td>
<?php } ?>
								<td width="60%" valign="top">
									<table width="100%" align="center" cellpadding="0" cellspacing="0" valign="top" border="0">
										<tr>
											<td>&nbsp;</td>
											<td align="left" valign="top">
												<?php echo ((isset($this->_rootref['L_611'])) ? $this->_rootref['L_611'] : ((isset($MSG['611'])) ? $MSG['611'] : '{ L_611 }')); ?> <font color="#ff3300"><b><?php echo (isset($this->_rootref['AUCTION_VIEWS'])) ? $this->_rootref['AUCTION_VIEWS'] : ''; ?></b></font> <?php echo ((isset($this->_rootref['L_612'])) ? $this->_rootref['L_612'] : ((isset($MSG['612'])) ? $MSG['612'] : '{ L_612 }')); ?><br>
												<a href="#description"><img src="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>images/info.gif" border='0'></a>
												<a href="#description"><?php echo ((isset($this->_rootref['L_018'])) ? $this->_rootref['L_018'] : ((isset($MSG['018'])) ? $MSG['018'] : '{ L_018 }')); ?></a> &nbsp;&nbsp;&nbsp;
												<table border='0' width="100%" cellspacing="0" cellpadding="1">
						<!-- auction type -->
													<tr>
														<td width="50%" align="left"><?php echo ((isset($this->_rootref['L_261'])) ? $this->_rootref['L_261'] : ((isset($MSG['261'])) ? $MSG['261'] : '{ L_261 }')); ?>: </td>
														<td align="left"><?php echo (isset($this->_rootref['AUCTION_TYPE'])) ? $this->_rootref['AUCTION_TYPE'] : ''; ?></td>
													</tr>
						<!-- higher bidder --><?php if ($this->_rootref['B_HASBUYER'] && $this->_rootref['B_NOTBNONLY']) {  ?>
													<tr>
														<td width='50%' valign="top">
															<?php echo ((isset($this->_rootref['L_117'])) ? $this->_rootref['L_117'] : ((isset($MSG['117'])) ? $MSG['117'] : '{ L_117 }')); ?>:
														</td>
														<td>
	<?php $_high_bidders_count = (isset($this->_tpldata['high_bidders'])) ? sizeof($this->_tpldata['high_bidders']) : 0;if ($_high_bidders_count) {for ($_high_bidders_i = 0; $_high_bidders_i < $_high_bidders_count; ++$_high_bidders_i){$_high_bidders_val = &$this->_tpldata['high_bidders'][$_high_bidders_i]; ?>
															<p>
		<?php if ($this->_rootref['B_BIDDERPRIV']) {  ?>
																<b><?php echo $_high_bidders_val['BUYER_NAME']; ?></b>
		<?php } else { ?>
																<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>profile.php?user_id=<?php echo $_high_bidders_val['BUYER_ID']; ?>&auction_id=<?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>"><b><?php echo $_high_bidders_val['BUYER_NAME']; ?></b></a>
																<b>(<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>feedback.php?id=<?php echo $_high_bidders_val['BUYER_ID']; ?>&faction=show"><?php echo $_high_bidders_val['BUYER_FB']; ?></a>)</b>
		<?php } ?>
																<?php echo $_high_bidders_val['BUYER_FB_ICON']; ?>
															</p>
	<?php }} ?>
														</td>
													</tr>
<?php } if ($this->_rootref['QTY'] > (1)) {  ?>
													<tr>
														<td width="50%" align="left"><?php echo ((isset($this->_rootref['L_901'])) ? $this->_rootref['L_901'] : ((isset($MSG['901'])) ? $MSG['901'] : '{ L_901 }')); ?>: </td>
														<td align="left"><?php echo (isset($this->_rootref['QTY'])) ? $this->_rootref['QTY'] : ''; ?></td>
													</tr>
<?php } ?>
													<tr>
														<td width="50%" align="left"><?php echo ((isset($this->_rootref['L_923'])) ? $this->_rootref['L_923'] : ((isset($MSG['923'])) ? $MSG['923'] : '{ L_923 }')); ?>: </td>
														<td align="left"><?php echo (isset($this->_rootref['COUNTRY'])) ? $this->_rootref['COUNTRY'] : ''; ?></td>
													</tr>
													<tr>
														<td width="50%" align="left"><?php echo ((isset($this->_rootref['L_118'])) ? $this->_rootref['L_118'] : ((isset($MSG['118'])) ? $MSG['118'] : '{ L_118 }')); ?>: </td>
														<td align="left" valign="top">
<?php if ($this->_rootref['B_COUNTDOWN']) {  ?>
															<span id="ending_counter"><?php echo (isset($this->_rootref['ENDS'])) ? $this->_rootref['ENDS'] : ''; ?></span>
<?php } else { ?>
															<?php echo (isset($this->_rootref['ENDS'])) ? $this->_rootref['ENDS'] : ''; if ($this->_rootref['B_SHOWENDTIME']) {  ?><br><span class="smallspan">(<?php echo (isset($this->_rootref['ENDTIME'])) ? $this->_rootref['ENDTIME'] : ''; ?>)</span><?php } } ?>
														</td>
													</tr>
<?php if ($this->_rootref['B_NOTBNONLY']) {  ?>
													<tr>
														<td width="50%" align="left"><?php echo ((isset($this->_rootref['L_119'])) ? $this->_rootref['L_119'] : ((isset($MSG['119'])) ? $MSG['119'] : '{ L_119 }')); ?>: </td>
														<td align="left"><?php echo (isset($this->_rootref['NUMBIDS'])) ? $this->_rootref['NUMBIDS'] : ''; ?> <?php echo (isset($this->_rootref['VIEW_HISTORY2'])) ? $this->_rootref['VIEW_HISTORY2'] : ''; ?></td>
													</tr>
	<?php if ($this->_rootref['ATYPE'] == (2)) {  ?>
													<tr>
														<td width="50%" align="left">
															<?php echo ((isset($this->_rootref['L_038'])) ? $this->_rootref['L_038'] : ((isset($MSG['038'])) ? $MSG['038'] : '{ L_038 }')); ?>:
														</td>
														<td align="left"><?php echo (isset($this->_rootref['MINBID'])) ? $this->_rootref['MINBID'] : ''; ?></td>
													</tr>
	<?php } ?>
													<tr>
														<td width="50%" align="left"><?php echo ((isset($this->_rootref['L_116'])) ? $this->_rootref['L_116'] : ((isset($MSG['116'])) ? $MSG['116'] : '{ L_116 }')); ?>: </td>
														<td align="left" valign="middle"><?php echo (isset($this->_rootref['MAXBID'])) ? $this->_rootref['MAXBID'] : ''; if ($this->_rootref['B_HASRESERVE']) {  ?>&nbsp;<span class="smallspan"><?php echo ((isset($this->_rootref['L_514'])) ? $this->_rootref['L_514'] : ((isset($MSG['514'])) ? $MSG['514'] : '{ L_514 }')); ?></span><?php } ?></td>
													</tr>
<?php } if ($this->_rootref['B_SHIPPING']) {  ?>
													<tr>
														<td width="50%" align="left"><?php echo ((isset($this->_rootref['L_023'])) ? $this->_rootref['L_023'] : ((isset($MSG['023'])) ? $MSG['023'] : '{ L_023 }')); ?>: </td>
														<td align="left"><?php echo (isset($this->_rootref['SHIPPING_COST'])) ? $this->_rootref['SHIPPING_COST'] : ''; ?></td>
													</tr>
<?php } if (( $this->_rootref['B_ADDITIONAL_SHIPPING_COST'] || $this->_rootref['B_BUY_NOW_ONLY'] ) && $this->_rootref['B_SHOW_ADDITIONAL_SHIPPING_COST']) {  ?>
													<tr>
														<td width="50%" align="left"><?php echo ((isset($this->_rootref['L_350_1008'])) ? $this->_rootref['L_350_1008'] : ((isset($MSG['350_1008'])) ? $MSG['350_1008'] : '{ L_350_1008 }')); ?>: </td>
														<td align="left"><?php echo (isset($this->_rootref['ADDITIONAL_SHIPPING_COST'])) ? $this->_rootref['ADDITIONAL_SHIPPING_COST'] : ''; ?></td>
													</tr>
<?php } if ($this->_rootref['B_BUY_NOW']) {  ?>
													<tr>
														<td width="50%" align="left"><?php echo ((isset($this->_rootref['L_496'])) ? $this->_rootref['L_496'] : ((isset($MSG['496'])) ? $MSG['496'] : '{ L_496 }')); ?>:</td>
														<td align="left"><?php echo (isset($this->_rootref['BUYNOW2'])) ? $this->_rootref['BUYNOW2'] : ''; ?></td>
													</tr>
<?php } if ($this->_rootref['B_HASENDED']) {  ?>
													<tr>
														<td colspan="2" align="left"><b><?php echo ((isset($this->_rootref['L_904'])) ? $this->_rootref['L_904'] : ((isset($MSG['904'])) ? $MSG['904'] : '{ L_904 }')); ?></b></td>
													</tr>
<?php } ?>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
					<td width="2%">&nbsp;</td>
					<td width="37%" valign="top" bgcolor="#ffffff" align="left">
						<div class="titTable1">
							<b><?php echo ((isset($this->_rootref['L_30_0209'])) ? $this->_rootref['L_30_0209'] : ((isset($MSG['30_0209'])) ? $MSG['30_0209'] : '{ L_30_0209 }')); ?></b>
						</div>
						<table width="100%" cellspacing="0" cellpadding="4" border="0" bgcolor="#ffffff">
							<tr>
								<td width="3%" class='table2'>&nbsp;</td>
								<td class="table2" style="padding:10px;">
									<a href='<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>profile.php?user_id=<?php echo (isset($this->_rootref['SELLER_ID'])) ? $this->_rootref['SELLER_ID'] : ''; ?>&auction_id=<?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>'><b><?php echo (isset($this->_rootref['SELLER_NICK'])) ? $this->_rootref['SELLER_NICK'] : ''; ?></b></a>
									(<a href='<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>feedback.php?id=<?php echo (isset($this->_rootref['SELLER_ID'])) ? $this->_rootref['SELLER_ID'] : ''; ?>&faction=show'><?php echo (isset($this->_rootref['SELLER_TOTALFB'])) ? $this->_rootref['SELLER_TOTALFB'] : ''; ?></a>)
									<?php echo (isset($this->_rootref['SELLER_FBICON'])) ? $this->_rootref['SELLER_FBICON'] : ''; ?>
								</td>
							</tr>
							<tr>
								<td width="3%">&nbsp;</td>
								<td width="97%">
									<li><?php echo ((isset($this->_rootref['L_5509'])) ? $this->_rootref['L_5509'] : ((isset($MSG['5509'])) ? $MSG['5509'] : '{ L_5509 }')); echo (isset($this->_rootref['SELLER_NUMFB'])) ? $this->_rootref['SELLER_NUMFB'] : ''; echo ((isset($this->_rootref['L__0151'])) ? $this->_rootref['L__0151'] : ((isset($MSG['_0151'])) ? $MSG['_0151'] : '{ L__0151 }')); ?>
									<li><b><?php echo ((isset($this->_rootref['L_5506'])) ? $this->_rootref['L_5506'] : ((isset($MSG['5506'])) ? $MSG['5506'] : '{ L_5506 }')); echo (isset($this->_rootref['SELLER_FBPOS'])) ? $this->_rootref['SELLER_FBPOS'] : ''; ?></b>
<?php if ($this->_rootref['SELLER_FBNEG'] != 0) {  ?>
									<li><?php echo (isset($this->_rootref['SELLER_FBNEG'])) ? $this->_rootref['SELLER_FBNEG'] : ''; ?></li>
<?php } ?>
									<li><?php echo ((isset($this->_rootref['L_5508'])) ? $this->_rootref['L_5508'] : ((isset($MSG['5508'])) ? $MSG['5508'] : '{ L_5508 }')); echo (isset($this->_rootref['SELLER_REG'])) ? $this->_rootref['SELLER_REG'] : ''; ?></li>
								</td>
							</tr>
							<tr>
								<td width="3%">&nbsp;</td>
								<td width="97%">
									<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>active_auctions.php?user_id=<?php echo (isset($this->_rootref['SELLER_ID'])) ? $this->_rootref['SELLER_ID'] : ''; ?>"><?php echo ((isset($this->_rootref['L_213'])) ? $this->_rootref['L_213'] : ((isset($MSG['213'])) ? $MSG['213'] : '{ L_213 }')); ?></a>
									<br><br>
								</td>
							</tr>
						</table>
						<div class="titTable1">
<?php if ($this->_rootref['B_HASENDED'] == (false) && $this->_rootref['B_CAN_BUY']) {  if ($this->_rootref['B_NOTBNONLY']) {  ?>
							<table width="100%" border=0 cellpadding=2 cellspacing=0 border=1>
								<form name="bid" action="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>bid.php" method="post">
									<tr>
										<td width="65%">
											<table width=100% border=0 cellpadding=2 cellspacing=0>
												<tr>
													<td align="left">
														<b>
		<?php if ($this->_rootref['QTY'] > (1)) {  ?>
														<?php echo ((isset($this->_rootref['L_284'])) ? $this->_rootref['L_284'] : ((isset($MSG['284'])) ? $MSG['284'] : '{ L_284 }')); ?>: <input type="text" name="qty" size=15 /> <?php echo (isset($this->_rootref['QTY'])) ? $this->_rootref['QTY'] : ''; ?> <?php echo ((isset($this->_rootref['L_5408'])) ? $this->_rootref['L_5408'] : ((isset($MSG['5408'])) ? $MSG['5408'] : '{ L_5408 }')); ?><br>
		<?php } ?>
														<?php echo ((isset($this->_rootref['L_121'])) ? $this->_rootref['L_121'] : ((isset($MSG['121'])) ? $MSG['121'] : '{ L_121 }')); ?> <input type="text" name="bid" size="15">
		<?php if ($this->_rootref['ATYPE'] == (1)) {  ?>
														<?php echo ((isset($this->_rootref['L_124'])) ? $this->_rootref['L_124'] : ((isset($MSG['124'])) ? $MSG['124'] : '{ L_124 }')); ?>: <?php echo (isset($this->_rootref['NEXTBID'])) ? $this->_rootref['NEXTBID'] : ''; ?>
														<br>
		<?php } ?>
													</td>
												</tr>
											</table>
										</td>
										<td valign='center' align='center' class='tema' width="50%">
											<input type="hidden" name="seller_id" value="<?php echo (isset($this->_rootref['SELLER_ID'])) ? $this->_rootref['SELLER_ID'] : ''; ?>">
											<input type="hidden" name="title" value="<?php echo (isset($this->_rootref['TITLE'])) ? $this->_rootref['TITLE'] : ''; ?>" >
											<input type="hidden" name="category" value="<?php echo (isset($this->_rootref['CAT_ID'])) ? $this->_rootref['CAT_ID'] : ''; ?>" >
											<input type="hidden" name="id" value="<?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>">
											<input type="hidden" name="csrftoken" value="<?php echo (isset($this->_rootref['_CSRFTOKEN'])) ? $this->_rootref['_CSRFTOKEN'] : ''; ?>">
											<input type="submit" name="" value="<?php echo ((isset($this->_rootref['L_30_0208'])) ? $this->_rootref['L_30_0208'] : ((isset($MSG['30_0208'])) ? $MSG['30_0208'] : '{ L_30_0208 }')); ?>" class="button">
										</td>
									</tr>
								</form>
							</table>
	<?php } else { ?>
							<?php echo (isset($this->_rootref['BUYNOW'])) ? $this->_rootref['BUYNOW'] : ''; ?> <a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>buy_now.php?id=<?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>"><img border="0" align="absbottom" alt="<?php echo ((isset($this->_rootref['L_496'])) ? $this->_rootref['L_496'] : ((isset($MSG['496'])) ? $MSG['496'] : '{ L_496 }')); ?>" src="<?php echo (isset($this->_rootref['BNIMG'])) ? $this->_rootref['BNIMG'] : ''; ?>"></a>
	<?php } } if ($this->_rootref['B_CAN_BUY'] == (false)) {  ?>
							<p><?php echo ((isset($this->_rootref['L_5002'])) ? $this->_rootref['L_5002'] : ((isset($MSG['5002'])) ? $MSG['5002'] : '{ L_5002 }')); ?></p>
							<p><a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>user_login.php?"><?php echo ((isset($this->_rootref['L_221'])) ? $this->_rootref['L_221'] : ((isset($MSG['221'])) ? $MSG['221'] : '{ L_221 }')); ?></a></p>
<?php } ?>
						</div>
						<a class="report-item rightside" href='<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>item_report.php?id=<?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>'><?php echo ((isset($this->_rootref['L_report_this_item'])) ? $this->_rootref['L_report_this_item'] : ((isset($MSG['report_this_item'])) ? $MSG['report_this_item'] : '{ L_report_this_item }')); ?></a>
					</td>
				</tr>
			</table>
			<br>
			<div class="tableContent2">
				<div class="titTable4">
					<a name="description"></a><?php echo ((isset($this->_rootref['L_018'])) ? $this->_rootref['L_018'] : ((isset($MSG['018'])) ? $MSG['018'] : '{ L_018 }')); ?>
				</div>
				<div class="table2"><?php echo (isset($this->_rootref['AUCTION_DESCRIPTION'])) ? $this->_rootref['AUCTION_DESCRIPTION'] : ''; ?></div>
			</div>
<?php if ($this->_rootref['B_HAS_QUESTIONS']) {  ?>
			<div class="tableContent2">
				<div class="titTable4">
					<a name="questions"></a><?php echo ((isset($this->_rootref['L_552'])) ? $this->_rootref['L_552'] : ((isset($MSG['552'])) ? $MSG['552'] : '{ L_552 }')); ?>
				</div>
				<div class="table2">
	<?php $_questions_count = (isset($this->_tpldata['questions'])) ? sizeof($this->_tpldata['questions']) : 0;if ($_questions_count) {for ($_questions_i = 0; $_questions_i < $_questions_count; ++$_questions_i){$_questions_val = &$this->_tpldata['questions'][$_questions_i]; ?>
					<div class="smallspan padding">
		<?php $_conv_count = (isset($_questions_val['conv'])) ? sizeof($_questions_val['conv']) : 0;if ($_conv_count) {for ($_conv_i = 0; $_conv_i < $_conv_count; ++$_conv_i){$_conv_val = &$_questions_val['conv'][$_conv_i]; ?>
					<p><b><?php echo $_conv_val['BY_WHO']; ?></b>: <?php echo $_conv_val['MESSAGE']; ?></p>
<?php }} ?>
					</div>
<?php }} ?>
				</div>
			</div>
<?php } if ($this->_rootref['B_HASGALELRY']) {  ?>
			<div class="tableContent2">
				<div class="titTable4">
					<a name="gallery"></a><?php echo ((isset($this->_rootref['L_663'])) ? $this->_rootref['L_663'] : ((isset($MSG['663'])) ? $MSG['663'] : '{ L_663 }')); ?>
				</div>
				<div class="table2" style="text-align:center; overflow-y:auto;" id="gallery">
					<table>
						<tr>
	<?php $_gallery_count = (isset($this->_tpldata['gallery'])) ? sizeof($this->_tpldata['gallery']) : 0;if ($_gallery_count) {for ($_gallery_i = 0; $_gallery_i < $_gallery_count; ++$_gallery_i){$_gallery_val = &$this->_tpldata['gallery'][$_gallery_i]; ?>
							<td>
								<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; echo (isset($this->_rootref['UPLOADEDPATH'])) ? $this->_rootref['UPLOADEDPATH'] : ''; echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>/<?php echo $_gallery_val['V']; ?>" title="" data-lightbox="gallery">
									<img src="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>getthumb.php?w=<?php echo (isset($this->_rootref['THUMBWIDTH'])) ? $this->_rootref['THUMBWIDTH'] : ''; ?>&fromfile=<?php echo (isset($this->_rootref['UPLOADEDPATH'])) ? $this->_rootref['UPLOADEDPATH'] : ''; echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?>/<?php echo $_gallery_val['V']; ?>" border="0" hspace="10">
								</a>
							</td>
	<?php }} ?>
						</tr>
					</table>
				</div>
			</div>
<?php } if ($this->_rootref['B_SHOWHISTORY']) {  ?>
			<div class="tableContent2">
				<div class="titTable4">
					<?php echo ((isset($this->_rootref['L_26_0001'])) ? $this->_rootref['L_26_0001'] : ((isset($MSG['26_0001'])) ? $MSG['26_0001'] : '{ L_26_0001 }')); ?>
				</div>
				<div class="table2">
					<a name="history"></a>
					<table width="100%" border="0" cellpadding="4" cellspacing="1">
						<tr>
							<th width="33%" align="center"><?php echo ((isset($this->_rootref['L_176'])) ? $this->_rootref['L_176'] : ((isset($MSG['176'])) ? $MSG['176'] : '{ L_176 }')); ?></th>
							<th width="33%" align="center"><?php echo ((isset($this->_rootref['L_130'])) ? $this->_rootref['L_130'] : ((isset($MSG['130'])) ? $MSG['130'] : '{ L_130 }')); ?></th>
							<th width="33%" align="center"><?php echo ((isset($this->_rootref['L_175'])) ? $this->_rootref['L_175'] : ((isset($MSG['175'])) ? $MSG['175'] : '{ L_175 }')); ?></th>
	<?php if ($this->_rootref['ATYPE'] == (2)) {  ?>
							<th width="33%" align="center"><?php echo ((isset($this->_rootref['L_284'])) ? $this->_rootref['L_284'] : ((isset($MSG['284'])) ? $MSG['284'] : '{ L_284 }')); ?></th>
	<?php } ?>
						</tr>
	<?php $_bidhistory_count = (isset($this->_tpldata['bidhistory'])) ? sizeof($this->_tpldata['bidhistory']) : 0;if ($_bidhistory_count) {for ($_bidhistory_i = 0; $_bidhistory_i < $_bidhistory_count; ++$_bidhistory_i){$_bidhistory_val = &$this->_tpldata['bidhistory'][$_bidhistory_i]; ?>
						<tr valign="top" <?php echo $_bidhistory_val['BGCOLOUR']; ?>>
							<td>
		<?php if ($this->_rootref['B_BIDDERPRIV']) {  ?>
								<?php echo $_bidhistory_val['NAME']; ?>
		<?php } else { ?>
								<a href="<?php echo (isset($this->_rootref['SITEURL'])) ? $this->_rootref['SITEURL'] : ''; ?>profile.php?user_id=<?php echo $_bidhistory_val['ID']; ?>"><?php echo $_bidhistory_val['NAME']; ?></a>
		<?php } ?>
							</td>
							<td align="center">
								<?php echo $_bidhistory_val['BID']; ?>
							</td>
							<td align="center">
								<?php echo $_bidhistory_val['WHEN']; ?>
							</td>
		<?php if ($this->_rootref['ATYPE'] == (2)) {  ?>
							<td align="center">
								<?php echo $_bidhistory_val['QTY']; ?>
							</td>
		<?php } ?>
						</tr>
	<?php }} ?>
					</table>
				</div>
			</div>
<?php } ?>
			<br>
			<div class="titTable4"><?php echo ((isset($this->_rootref['L_724'])) ? $this->_rootref['L_724'] : ((isset($MSG['724'])) ? $MSG['724'] : '{ L_724 }')); ?></div>
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td>
						<div class="tableContent2">
							<div class="table2">
<?php if ($this->_rootref['CITY'] != ('') || $this->_rootref['COUNTRY'] != ('') || $this->_rootref['ZIP'] != ('')) {  ?>
								<b><?php echo ((isset($this->_rootref['L_014'])) ? $this->_rootref['L_014'] : ((isset($MSG['014'])) ? $MSG['014'] : '{ L_014 }')); ?>:</b> <?php if ($this->_rootref['CITY'] != ('')) {  echo (isset($this->_rootref['CITY'])) ? $this->_rootref['CITY'] : ''; } if ($this->_rootref['COUNTRY'] != ('')) {  echo (isset($this->_rootref['COUNTRY'])) ? $this->_rootref['COUNTRY'] : ''; } if ($this->_rootref['ZIP'] != ('')) {  ?>(<?php echo (isset($this->_rootref['ZIP'])) ? $this->_rootref['ZIP'] : ''; ?>)<?php } ?><br>
<?php } if ($this->_rootref['B_SHIPPING']) {  ?>
								<b><?php echo ((isset($this->_rootref['L_025'])) ? $this->_rootref['L_025'] : ((isset($MSG['025'])) ? $MSG['025'] : '{ L_025 }')); ?>:</b> <?php echo (isset($this->_rootref['SHIPPING'])) ? $this->_rootref['SHIPPING'] : ''; ?>, <?php echo (isset($this->_rootref['INTERNATIONAL'])) ? $this->_rootref['INTERNATIONAL'] : ''; ?><br>
<?php } if ($this->_rootref['SHIPPINGTERMS'] != ('')) {  ?>
								<table border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td valign="top"><b><?php echo ((isset($this->_rootref['L_25_0215'])) ? $this->_rootref['L_25_0215'] : ((isset($MSG['25_0215'])) ? $MSG['25_0215'] : '{ L_25_0215 }')); ?>:</b>&nbsp;</td>
										<td valign="top"><?php echo (isset($this->_rootref['SHIPPINGTERMS'])) ? $this->_rootref['SHIPPINGTERMS'] : ''; ?></td>
									</tr>
								</table>
<?php } ?>
								<br>
								<b><?php echo ((isset($this->_rootref['L_026'])) ? $this->_rootref['L_026'] : ((isset($MSG['026'])) ? $MSG['026'] : '{ L_026 }')); ?>:</b> <?php echo (isset($this->_rootref['PAYMENTS'])) ? $this->_rootref['PAYMENTS'] : ''; ?><br>
<?php if (! $this->_rootref['B_BUY_NOW_ONLY']) {  ?>
								<b><?php if ($this->_rootref['ATYPE'] == (1)) {  echo ((isset($this->_rootref['L_127'])) ? $this->_rootref['L_127'] : ((isset($MSG['127'])) ? $MSG['127'] : '{ L_127 }')); } else { echo ((isset($this->_rootref['L_038'])) ? $this->_rootref['L_038'] : ((isset($MSG['038'])) ? $MSG['038'] : '{ L_038 }')); } ?>:</b> <?php echo (isset($this->_rootref['MINBID'])) ? $this->_rootref['MINBID'] : ''; ?><br>
<?php } ?>
								<br>
								<b><?php echo ((isset($this->_rootref['L_111'])) ? $this->_rootref['L_111'] : ((isset($MSG['111'])) ? $MSG['111'] : '{ L_111 }')); ?>:</b> <?php echo (isset($this->_rootref['STARTTIME'])) ? $this->_rootref['STARTTIME'] : ''; ?><br>
								<b><?php echo ((isset($this->_rootref['L_112'])) ? $this->_rootref['L_112'] : ((isset($MSG['112'])) ? $MSG['112'] : '{ L_112 }')); ?>:</b> <?php echo (isset($this->_rootref['ENDTIME'])) ? $this->_rootref['ENDTIME'] : ''; ?><br>
								<b><?php echo ((isset($this->_rootref['L_113'])) ? $this->_rootref['L_113'] : ((isset($MSG['113'])) ? $MSG['113'] : '{ L_113 }')); ?>:</b> <?php echo (isset($this->_rootref['ID'])) ? $this->_rootref['ID'] : ''; ?><br>
								<br>
								<b><?php echo ((isset($this->_rootref['L_041'])) ? $this->_rootref['L_041'] : ((isset($MSG['041'])) ? $MSG['041'] : '{ L_041 }')); ?>:</b> <?php echo (isset($this->_rootref['CATSPATH'])) ? $this->_rootref['CATSPATH'] : ''; ?><br>
<?php if ($this->_rootref['SECCATSPATH'] != ('')) {  ?>
								<b><?php echo ((isset($this->_rootref['L_814'])) ? $this->_rootref['L_814'] : ((isset($MSG['814'])) ? $MSG['814'] : '{ L_814 }')); ?>:</b> <?php echo (isset($this->_rootref['SECCATSPATH'])) ? $this->_rootref['SECCATSPATH'] : ''; ?>
<?php } ?>
							</div>
						</div>
					</td>
				</tr>
			</table>
		<br>
		</div>
	</div>
</div>