This repository has been archived by the owner on Sep 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.php
120 lines (106 loc) · 5.14 KB
/
index.php
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<div class='content_box'>
<h3>Currency converter</h3>
<p><b>This site is strictly in alpha state.</b> We are currently negotiating with legal professionals in the pursuit of gaining international licensing. The software is new. Use at your own risk. We will do our best to prevent problems, but mistakes can happen. Only deposit amounts you feel comfortable with in regards to the aforementioned information. Please see the <a href='?page=help'>help</a> page for more info and our terms & conditions.</p>
<p>Every day the site will be down between 01:00-05:00 (AM) GMT as we analyse the site for potential issues. We are carefully monitoring our system.</p>
<form id='buy_form' action='?page=place_order' method='post'>
<table id='exchanger'>
<tr><td>
<p><b>Currency I have:</b></p>
<div class='currbox_wrapper'>
<div id='incurrency' class='currbox' onclick='javascript:rolldown_in();'>
<img class='currflag' src='images/gbp_flag.png' />
<span class='currname'>British Pound</span>
<div class='currbox_right'>
<b class='currcode'>GBP</b>
<img src='images/arrow_down.png' />
</div>
</div>
<div id='currsel_in'>
<div class='currsel_entry' onclick='javascript:select_currency_in(this, true);'>
<img class='currflag' src='images/gbp_flag.png' />
<span class='currname'>British Pound</span>
<div class='currbox_right'>
<b class='currcode'>GBP</b>
</div>
</div>
<div class='currsel_entry' onclick='javascript:select_currency_in(this, true);'>
<img class='currflag' src='images/btc_flag.png' />
<span class='currname'>Bitcoin</span>
<div class='currbox_right'>
<b class='currcode'>BTC</b>
</div>
</div>
</div>
</div>
</td>
<td>
<p><b>Currency I want:</b></p>
<div class='currbox_wrapper'>
<div id='outcurrency' class='currbox' onclick='javascript:rolldown_out();'>
<img class='currflag' src='images/btc_flag.png' />
<span class='currname'>Bitcoin</span>
<div class='currbox_right'>
<b class='currcode'>BTC</b>
<img src='images/arrow_down.png' />
</div>
</div>
<div id='currsel_out'>
<div class='currsel_entry' onclick='javascript:select_currency_out(this, true);'>
<img class='currflag' src='images/gbp_flag.png' />
<span class='currname'>British Pound</span>
<div class='currbox_right'>
<b class='currcode'>GBP</b>
</div>
</div>
<div class='currsel_entry' onclick='javascript:select_currency_out(this, true);'>
<img class='currflag' src='images/btc_flag.png' />
<span class='currname'>Bitcoin</span>
<div class='currbox_right'>
<b class='currcode'>BTC</b>
</div>
</div>
</div>
</div>
</td>
</tr>
<tr>
<td>
<input id='inamount' name='amount' class='curramount' type="text" size="20" value="" onkeyup='typed_amount_in();'>
</td>
<td>
<input id='outamount' name='want_amount' class='curramount' type="text" size="20" value="" onkeyup='typed_amount_out();'>
</td>
</tr>
<?php
if ($loggedin) { ?>
<tr><td></td><td>
<input type='hidden' name='type' value='' />
<input type='hidden' name='want_type' value='' />
<input type='submit' onclick='return buy_clicked();' value='Buy' />
</td></tr>
<?php } ?>
</table>
</form>
<?php
if ($loggedin) { ?>
<p>
Use the above to give you an indication of the current exchange rates.
</p>
<?php show_balances($indent=true); ?>
<p>
Select the currency you wish to buy on the left, then click Buy.
</p>
<?php }
else { ?>
<p>
To begin trading you will need an OpenID account.
</p>
<p>If you do not have an OpenID login then we recommend <a href="https://www.myopenid.com/">MyOpenID</a>.
<?php } ?>
</div>
<div class='content_box'>
<h3>What this is</h3>
<p>
<a href='http://bitcoin.org'>Bitcoin</a> is an emerging crypto-currency that offers many exciting possibilities.
</p>
</div>