-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
example.php
49 lines (46 loc) · 1.13 KB
/
example.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
<?php
require_once "vendor/autoload.php";
use Irfa\Gatcha\Roll;
?>
<!DOCTYPE html>
<html>
<head>
<title>Basic Usage Example</title>
<meta name="viewport" content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0'>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12" align="center">
<div class="alert alert-primary">
<h2>Congratulations you get
<?= Roll::put(['SSR ITEM' => 0.1,
'SSR ITEM 2' => 0.2,
'SSR ITEM 3' => 0.3,
'SSR ITEM 4' => 0.4,
'SR ITEM 1' => 0.5,
'SR ITEM 2' => 0.6,
'SR ITEM 3' => 1.2,
'item 8' => 2,
'item 9' => 2.8,
'item 10' => 3.6,
'item 11' => 4.4,
'item 12' => 5.2,
'item 13' => 6,
'item 14' => 6.8,
'item 15' => 7.6,
'item 16' => 8.4,
'item 17' => 9.2,
'item 18' => 10,
'item 19' => 10.8,
'item 20' => 11.6,
'item 21' => 8.3,
])->spin()."</h2>" ?>
</h2>
</div>
</div>
</div>
</div>
</body>
</html>