?> <div class="container-fluid"> <table> <tr> <td>ID</td> <td>Nombre:</td> <td>Descripción</td> <td>Fecha de creación</td> <td>Fecha de baja</td> <td>Modificar</td> <td>Eliminar</td> <td>Recuperar</td> </tr> <?php $wallet = get_all_wallet(); for ($x = 0; $x < count($wallet); $x++) { echo "<tr>"; echo "<td>" . $wallet[$x]->wallet_id . "</td>"; echo "<td>" . $wallet[$x]->name . "</td>"; echo "<td>" . $wallet[$x]->descr . "</td>"; echo "<td>" . date_mdy($wallet[$x]->date_up) . "</td>"; echo "<td>" . date_mdy($wallet[$x]->date_down) . "</td>"; echo "<td>" . "<a href='../update/wallet.php?wallet_id=" . $wallet[$x]->wallet_id . "'>Editar</a>" . "</td>"; echo "<td>" . "<a href='../../../../mio-wallet/update/disable.php?wallet_id=" . $wallet[$x]->wallet_id . "''>Eliminar</a>" . "</td>"; echo "<td>" . "<a href='../../../../mio-wallet/update/enable.php?wallet_id=" . $wallet[$x]->wallet_id . "'>Recuperar</a>" . "</td>"; } ?> </table> </div> <?php
* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * * */ require_once __DIR__ . "/../../../../session.php"; require_once __DIR__ . "/../../../../moneyio.php"; require_once __DIR__ . "/../../../../mio-wallet/show/wallet_func.php"; require_once __DIR__ . "/../../../../mio-wallet/update/wallet_func.php"; require_once __DIR__ . "/../../../../mio-lang/list.php"; require_once __DIR__ . "/../../../../mio-ingress/show/ingress_func.php"; require_once __DIR__ . "/../../../../mio-cost/show/cost_func.php"; open_session(); $user_id = $_SESSION["mio-username_id"]; $wallet = get_all_wallet($user_id); $balance = get_balance_data($wallet_id); if (isset($_SESSION) && !empty($_SESSION)) { ?> <h1>Balances</h1> <table class="table"> <tr> <th>ID</th> <th>Balance</th> <th>Fecha</th> <tr> <?php for ($x = 0; $x < count($balance); $x++) { echo "<tr>"; echo "<td>" . $balance[$x]->balance_id . "</td>";