exit now work
This commit is contained in:
parent
f271484f17
commit
a393f67ccd
8
bank.php
8
bank.php
@ -25,12 +25,8 @@ if (!$bank['id']) db::c()->query('INSERT INTO `bank` (`id`) VALUES (?i)', $_SESS
|
||||
<meta charset="utf-8">
|
||||
<link href="css/main.css" rel="stylesheet"/>
|
||||
<link href="css/secondary.css" rel="stylesheet"/>
|
||||
<script src="js/main.js"></script>
|
||||
<title>Банк</title>
|
||||
<script>
|
||||
function leave() {
|
||||
top.frames['main'].location = 'city.php?strah'
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Банк</h1>
|
||||
@ -46,7 +42,7 @@ if (isset($_POST['userlogin'])) {
|
||||
|
||||
if (!$_SESSION['bankid']) {
|
||||
?>
|
||||
<a href=# onclick=leave()> ← выйти из банка</a>
|
||||
<a href=# onclick=leave('city.php?strah')> ← выйти из банка</a>
|
||||
<form method="post"><input type="submit" name="userlogin" value="Управление счётом"></form>
|
||||
<?
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user