<?php if ($status == 'VERIFY' && $req_type == 'WITHDR') { ?> <p> <form action='' class='indent_form' method='post'> <input type='hidden' name='csrf_token' value="<?php echo $_SESSION['csrf_token']; ?> " /> <input type='hidden' name='cancel_request' value='true' /> <input type='submit' value='Cancel request' /> </form> </p> <?php if (isset($_GET['show_finish']) && $is_admin && $curr_type == CURRENCY) { echo " <p>" . sprintf(_("Clicking 'Finish request' will mark this request as being %s"), translate_request_code("FINAL")) . ":</p>\n"; ?> <p><?php echo _("Click 'Finish', check to see that it worked (and that the order wasn't cancelled), then make the bank transfer."); ?> </p> <p> <form action='' class='indent_form' method='post'> <input type='hidden' name='csrf_token' value="<?php echo $_SESSION['csrf_token']; ?> " /> <input type='hidden' name='finish_request' value='true' /> <input type='submit' value='<?php echo _("Finish request"); ?>
</th> <th><?php echo _("Status"); ?> </th> <th></th> </tr><?php do { $reqid = $row['reqid']; $req_type = $row['req_type']; $req_type = translate_request_type($req_type); $amount = internal_to_numstr($row['amount']); $curr_type = $row['curr_type']; $timest = $row['timest']; $status = $row['status']; $status = translate_request_code($status); echo " <tr>\n"; echo " <td>{$req_type} {$amount} {$curr_type}</td>\n"; echo " <td>{$timest}</td>\n"; echo " <td>{$status}</td>\n"; echo " <td><a href='?page=view_request&reqid={$reqid}'>" . _("View request") . "</a></td>\n"; echo " </tr>\n"; } while ($row = mysql_fetch_assoc($result)); echo "</table></div>"; } try { $needed_conf = CONFIRMATIONS_FOR_DEPOSIT; $balance = bitcoin_get_balance($uid, $needed_conf); if ($balance != bitcoin_get_balance($uid, 0)) { ?> <div class='content_box'>