-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontest2.php
78 lines (62 loc) · 1.91 KB
/
contest2.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
<?php
include 'header.php';
?>
<!-- Left Content Starts Here -->
<div id="left_content">
<p class="headings">Welcome To FOREX</p>
<?php
if (!isset($_SESSION['SESS_MEMBER_ID'])) {echo'
<p>
<br/>
HOW TO PLAY FOREX?<br/>
1. You will be provided a fixed amount of USD, EURO, INR (Indian rupees), GBP (Great Britain Pound) and JPY (Japanese yen).
<br/>
2. Select the currency, you want to start the transaction with.
<br/>
3. Select the amount of that currency to be converted.
<br/>
4. Choose the type of currency, you want the former to be converted to.
<br/>
5. Expected amount after the conversion will be displayed on the screen.
<br/>
6. Click on the convert button to implement the conversion.
<br/>
7. Conversion rates will continuously fluctuate at a time interval of 30 seconds.
<br/>
8. Carefully observe the changing rates and decide which conversion will take you up from rags to riches.
<br/>
9. Every time, USD equivalent of the dealing amount will be displayed.
<br/>
10. Winner will be decided on the basis of net maximum profit.
<br/>
</p> </ol>
';}
else {?>
<span id='cntst'>
<p><span id='lastTransaction'></span></p>
<p><span id='mrqe'>
<?php include 'marquee.php';?></span></p><br/>
<p>Current Amounts</p>
<p>
<span id="aT">
<?php
include 'update.php';
?></p>
</span>
<p><span id="timeOut"></p>
<p><span id = "toTable"></span></p>
<br/>
<p><span id="fromJS" onchange="validateSourceValue();"></span><br/>
<input type= "text" id="sourceValue" onkeypress="return isNumberKey(event)" onkeyup="validateSourceValue();" /></p><br/><br/>
<label><input id ='confirm' type="checkbox" onclick='confirmNow();' />Lock Transaction</label><br /><br/><br/>
</br>
<p><span id = "expTable"></span></p>
<p><button id='conv' type="button" onclick="convertNow()" >Convert</button>
</p>
</span>
<?php}?>
</div>
<!-- Left Content Ends Here -->
<?php
include 'footer.php'
?>