Пример #1
0
        ?>
</td>
			<td><?php 
        echo Date::forge($item->last_login);
        ?>
</td>
			<td><?php 
        echo $item->group;
        ?>
</td>
			<td><?php 
        echo $item->get_user_type()->name;
        ?>
</td>
                        <td><?php 
        echo Fuel\Core\Num::format_phone($item->phone);
        ?>
</td>
			<td nowrap>
				<?php 
        echo Html::anchor('admin/users/view/' . $item->id, 'View');
        ?>
 |
				<?php 
        echo Html::anchor('admin/users/edit/' . $item->id, 'Edit');
        ?>
 |
				<?php 
        echo Html::anchor('admin/users/delete/' . $item->id, 'Delete', array('onclick' => "return confirm('Are you sure?')"));
        ?>
Пример #2
0
            <span class="pull-right"><?php 
echo $supplier->description;
?>
</span>
    </p>
    <p>
            <strong>Contact person:</strong>
            <span class="pull-right"><?php 
echo $supplier->contact_person;
?>
</span>
    </p>
    <p>
            <strong>Phone:</strong>
            <span class="pull-right"><?php 
echo Fuel\Core\Num::format_phone($supplier->phone);
?>
</span>
    </p>
    <p>
            <strong>Email:</strong>
            <span class="pull-right"><?php 
echo $supplier->email;
?>
</span>
    </p>

    <p align="center">
        <?php 
echo Html::anchor('admin/suppliers', '&laquo; Suppliers', array('class' => 'btn btn-default'));
?>