Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{if $staff == TRUE}
{if $mode == 'error'}
<div class='errorbar'>
<strong>Error: </strong> {$error_text}
</div>
{/if}
{if $mode == 'renew'}
<div class='errorbar'>
<strong>Error: </strong> Not implemented yet
</div>
{elseif $mode == 'renewals'}
<div class='errorbar'>
<strong>Error: </strong> Not implemented yet
</div>
{elseif $mode == 'search'}
<div style='text-align: center'>
<div class='cbb' style='text-align: left'>
Student {$sid} appears to have paid, and a signup slip has been generated.<br />
The details are:<br />
<strong>Slip ID: </strong> {$slipid}<br />
<strong>Slip Password: </strong> {$slippass} <br />
<form action="https://sucs.org/signup/" method="post">
<input type=hidden name="signupid" id="id" value="{$slipid}" />
<input type=hidden name="signuppw" id="pass" value="{$slippass}" />
<input type=submit name="submit" value="Proceed" />
</form>
</div>
</div>
{elseif $mode == 'menu' || $mode == 'error'}
<p>
This component allows staff members to sort out memberships and renewals that have been paid for via the SU payments system. </p>
<p>Renew an individual member, generate a list of members that look like they've paid via the SU system or begin the signup process for a newbie who doesn't have their transaction ID by selecting the appropriate option below.
</p>
<div style='text-align: center'>
<div class='susignup-admin-menu cbb'>
<h3>Renew existing account:</h3>
Username selector
Submit Button
</div>
<div class='susignup-admin-menu cbb'>
<h3>Suggest probable renewals</h3>
Submit Button
</div>
<div class='susignup-admin-menu cbb'>
<h3>Signup a newbie</h3>
<form action='{$componentpath}' method='post'>
<label for='sid'>Student Number:</label>
<input type='text' name='sid' id='sid' maxlength=6 />
<input type='hidden' name='mode' id='mode' value="search" />
<input type='submit' name='snsubmit' id='snsubmit' value="Start" />
</form>
</div>
</div>
{else}
<div class="errorbar">
Invalid mode - {$mode}
</div>
{/if}
{else}
<div class="errorbar">
<div><div><div>
You must be logged in and be a staff member to use this component;
</div></div></div>
</div>
{/if}