Example #1
0
    Redirect::to('index.php');
} else {
    $user = new User($username);
    if (!$user->exists()) {
        Redirect::to(404);
    } else {
        $data = $user->data();
    }
    ?>
    <div class="profilform">
        <h2><?php 
    echo escape($data->FirstName) . ' ' . escape($data->LastName);
    ?>
</h3>
        <h4>Egyenleg: <?php 
    echo escape($user->getAccAmount($user->getAccByUserID($data->ID)->ID)->Amount) . ' RON';
    ?>
</h5>
        <table class="table">
                <thead class="table-invers">
                    <tr>
                        <th>#</th>
                        <th>Irány</th>
                        <th>Ügyfél</th>
                        <th>Összeg</th>
                        <th>Leírás</th>
                    </tr>
                </thead>
                <tbody>
                    <?php 
    $accid = $user->getAccByUserID($user->data()->ID);