<?php include_once '../scripts/conf.php'; include_once '../scripts/check_auth.php'; include_once '../scripts/function.inc.php'; ?> <?php $url = $_SERVER['PHP_SELF']; $user = $_SESSION['login_user']; $check = new mysql(); $mysqli = new mysqli_my(); switch ($_POST['action']) { case 'change': $mysqli->balance_change($connection, $user); break; case 'transfer': $mysqli->money_transfer($connection, $user); break; case 'add_account': $mysqli->add_account($connection, $user); break; default: break; } ?> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="../css/style.css">