Ejemplo n.º 1
0
?>
</th>
				<th><?php 
echo sort_url('price', 'price', $order_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
				<th><?php 
echo sort_url('saleprice', 'saleprice', $order_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
				<th><?php 
echo sort_url('quantity', 'quantity', $order_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
				<th><?php 
echo sort_url('enabled', 'enabled', $order_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
				<th>
					<span class="btn-group pull-right">
						<button class="btn" href="#"><i class="icon-ok"></i> <?php 
echo lang('bulk_save');
?>
</button>
						<a class="btn" style="font-weight:normal;"href="<?php 
echo site_url($this->config->item('admin_folder') . '/products/form');
?>
"><i class="icon-plus-sign"></i> <?php 
echo lang('add_new_product');
?>
</a>
Ejemplo n.º 2
0
?>
">Bill To</a></th>
			<th><a href="<?php 
echo sort_url('ship_lastname', $sort_by, $sortorder, $code, $this->config->item('admin_folder'));
?>
">Ship To</a></th>
			<th><a href="<?php 
echo sort_url('ordered_on', $sort_by, $sortorder, $code, $this->config->item('admin_folder'));
?>
">Ordered On</a></th>
			<th><a href="<?php 
echo sort_url('status', $sort_by, $sortorder, $code, $this->config->item('admin_folder'));
?>
">Status</a></th>
			<th><a href="<?php 
echo sort_url('notes', $sort_by, $sortorder, $code, $this->config->item('admin_folder'));
?>
">Notes</a></th>
			<th class="gc_cell_right"></th>
	    </tr>
		<?php 
echo $pagination;
?>
	</thead>
 	<tfoot>
    <?php 
echo $pagination;
?>
	</tfoot>
    <tbody>
		<tr>
Ejemplo n.º 3
0
?>
</th>
				<th><?php 
echo sort_url('price', 'price', $order_by, $sort_order, $code, 'admin');
?>
</th>
				<th><?php 
echo sort_url('sale price', 'saleprice', $order_by, $sort_order, 'admin');
?>
</th>
				<th><?php 
echo sort_url('quantity', 'quantity', $order_by, $sort_order, $code, 'admin');
?>
</th>
				<th><?php 
echo sort_url('enabled', 'enabled', $order_by, $sort_order, $code, 'admin');
?>
</th>
				<th>
					<span class="btn-group pull-right">
						<button class="btn" href="#"><i class="icon-ok"></i> Bulk Save</button>
						
					</span>
				</th>
			</tr>
		</thead>
		<tbody>
		<?php 
echo count($products) < 1 ? '<tr><td style="text-align:center;" colspan="7">There are currently no products.</td></tr>' : '';
?>
                <?php 
Ejemplo n.º 4
0
?>
</th>
			<th><?php 
echo sort_url('ship_to', 'ship_lastname', $sort_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
			<th><?php 
echo sort_url('ordered_on', 'ordered_on', $sort_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
			<th><?php 
echo sort_url('status', 'status', $sort_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
			<th><?php 
echo sort_url('total', 'total', $sort_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
			<th></th>
	    </tr>
	</thead>

    <tbody>
	<?php 
echo count($orders) < 1 ? '<tr><td style="text-align:center;" colspan="8">' . lang('no_orders') . '</td></tr>' : '';
?>
    <?php 
foreach ($orders as $order) {
    ?>
	<tr>
		<td><input name="order[]" type="checkbox" value="<?php 
Ejemplo n.º 5
0
					<thead>
						<tr>
							<th><a href="<?php 
    echo sort_url(has_key(apc_ref(), 'key', 'info'));
    ?>
">Key</a></th>
							<th><a href="<?php 
    echo sort_url('nhits');
    ?>
">Hits</a></th>
							<th><a href="<?php 
    echo sort_url('mem_size');
    ?>
">Size</a></th>
							<th><a href="<?php 
    echo sort_url('ttl');
    ?>
">TTL</a></th>
							<th>Expires</th>
							<th>Action</th>
						</tr>
					</thead>

					<tfoot></tfoot>

					<tbody>
					<?php 
    foreach (sort_list($apc['cache']['cache_list']) as $item) {
        $expired = !isset($_GET['apc_show_expired']) && $item['ttl'] > 0 && get_key($item, 'mtime', 'modification_time') + $item['ttl'] < time();
        if (!preg_match(get_selector(), get_key($item, 'key', 'info')) || $expired) {
            continue;
Ejemplo n.º 6
0
function display_stat_header($total, $grandtotal = true)
{
    global $titles;
    $stat_head = " <tr>\n";
    if ($grandtotal) {
        $stat_head .= '  <th class="bug_header">Name</th>' . "\n";
    } else {
        $stat_head .= '  <th class="bug_header">&nbsp;</th>' . "\n";
    }
    $stat_head .= '  <th class="bug_header">&nbsp;</th>' . "\n";
    foreach ($titles as $key => $val) {
        $stat_head .= '  <th class="bug_header">' . sort_url($key) . "</th>\n";
    }
    $stat_head .= '</tr>' . "\n";
    return $stat_head;
}
Ejemplo n.º 7
0
?>
</th>
            <th><?php 
echo lang('bill_to');
?>
</th>
            <th><?php 
echo lang('ship_to');
?>
</th>
            <th><?php 
echo sort_url('status', 'status', $sort_by, $sort_order, $code);
?>
</th>
            <th><?php 
echo sort_url('total', 'total', $sort_by, $sort_order, $code);
?>
</th>
            <th></th>
        </tr>
    </thead>

    <tbody>
    <?php 
echo count($orders) < 1 ? '<tr><td style="text-align:center;">' . lang('no_orders') . '</td></tr>' : '';
?>
    <?php 
foreach ($orders as $order) {
    ?>
    <tr>
        <td style="white-space:nowrap">
Ejemplo n.º 8
0
?>
</th>
			<th><?php 
echo sort_url('branch_name', 'branch_name', $sort_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
			<th><?php 
echo sort_url('cost', 'cost', $sort_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
			<th><?php 
echo sort_url('point', 'point', $sort_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
			<th><?php 
echo sort_url('depoint', 'depoint', $sort_by, $sort_order, $code, $this->config->item('admin_folder'));
?>
</th>
			<!--th></th-->
	    </tr>
	</thead>

    <tbody>
	<?php 
echo count($points) < 1 ? '<tr><td style="text-align:center;" colspan="8">' . lang('no_points') . '</td></tr>' : '';
?>
    <?php 
foreach ($points as $point) {
    $info_url = '';
    if ($point->point > 0) {
        //future