2 require('includes/header.php');
3 update_activity('back_up_id');
6 $page_title = 'Back up ID';
8 if($_GET['action'] === 'generate_id_card')
10 header('Content-type: text/plain');
11 header('Content-Disposition: attachment; filename="ATBBS_ID.crd"');
12 echo $_SESSION['UID'] . "\n" . $_COOKIE['password'];
22 <th
class="minimal">Your unique ID
</th
>
23 <td
><code
><?php
echo $_SESSION['UID'] ?
></code
></td
>
26 <th
class="minimal">Your password
</th
>
27 <td
><code
><?php
echo $_COOKIE['password'] ?
></code
></td
>
31 <p
>You may want to
<a href
="/generate_ID_card">download your ID card
as a file
</a
>.</p
>
36 require('includes/footer.php');