Location: PHPKode > projects > HikaShop > back/views/dashboard/tmpl/order.php
<?php
/**
 * @package		HikaShop for Joomla!
 * @version		1.4.3
 * @author		hikashop.com
 * @copyright	(C) 2010 HIKARI SOFTWARE. All rights reserved.
 * @license		GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?>
<div>
	<table class="adminlist" cellpadding="1">
		<thead>
			<tr>
				<th class="title">
				</th>
				<th class="title">
					<?php echo JText::_('CUSTOMER'); ?>
				</th>
				<th class="title">
					<?php echo JText::_('ORDER_STATUS'); ?>
				</th>
				<th class="title">
					<?php echo JText::_('HIKASHOP_TOTAL'); ?>
				</th>
			</tr>
		</thead>
		<tbody>
			<?php
				$k = 0;
				if(!empty($this->widget->elements)){
					for($i = 0,$a = count($this->widget->elements);$i<$a;$i++){
						$row =& $this->widget->elements[$i];
			?>
				<tr class="<?php echo "row$k"; ?>">
					<td align="center">
						<a href="<?php echo hikashop::completeLink('order&task=edit&cid[]='.$row->order_id.'&cancel_redirect='.urlencode(hikashop::completeLink('dashboard'))); ?>">
							<?php echo hikashop::encode($row); ?>
						</a>
					</td>
					<td>
						<?php
						 if(!empty($row->username)){
						 	echo $row->name.' ( '.$row->username.' )</a><br/>';
						 }
						 $url = hikashop::completeLink('user&task=edit&cid[]='.$row->user_id);
						 echo $row->user_email.'<a href="'.$url.'"><img src="'.HIKASHOP_IMAGES.'edit2.png" alt="edit"/></a>';
						 ?>
					</td>
					<td align="center">
						<?php echo $row->order_status; ?>
					</td>
					<td align="center">
						<?php echo $this->currencyHelper->format($row->order_full_price,$row->order_currency_id);?>
					</td>
				</tr>
			<?php
					$k = 1-$k;
				}
			}
			?>
		</tbody>
	</table>
</div>
Return current item: HikaShop