예제 #1
0
	<?php 
if ($itemsCount == 0) {
    ?>
		<tr>
			<td colspan="13" class="emptyListInfo"><?php 
    echo JText::_('No reservations.');
    ?>
</td>
		</tr>
		<?php 
}
?>
		<?php 
for ($i = 0; $i < $itemsCount; $i++) {
    $subject = $this->items[$i];
    $tour = TourHelper::getBookedTour($subject->id);
    $orderlink = JUri::root() . 'index.php?option=com_bookpro&view=orderdetail&order_number=' . $subject->order_number . '&email=' . $subject->email;
    ?>

		<tr class="row<?php 
    echo $i % 2;
    ?>
">
			<td style="text-align: right; white-space: nowrap;"><?php 
    echo number_format($pagination->getRowOffset($i), 0, '', ' ');
    ?>
</td>
			<td class="checkboxCell"><?php 
    echo JHTML::_('grid.checkedout', $subject, $i);
    ?>
</td>
예제 #2
0
			</thead>
			<tfoot>
				<tr>
					<td colspan="11"><?php 
echo $this->pagination->getListFooter();
?>
					</td>
				</tr>
			</tfoot>
			<tbody>
				<?php 
if (count($this->items)) {
    foreach ($this->items as $i => $item) {
        $link = JRoute::_('index.php?option=com_bookpro&view=passenger&task=passenger.edit&id=' . $item->id);
        $checked = JHTML::_('grid.id', $i, $item->id);
        $tour = TourHelper::getBookedTour($item->order_id);
        $orderlink = JUri::root() . 'index.php?option=com_bookpro&view=orderdetail&order_number=' . $item->order_number . '&email=' . $item->email;
        ?>
				<tr class="row<?php 
        echo $i % 2;
        ?>
">
					<td><?php 
        echo $checked;
        ?>
</td>					
					
					<td><a href="<?php 
        echo $link;
        ?>
"><?php