blob: 495d6f49b68008ba139b6a421b4a11b66ce19b5f (
plain)
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
|
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="css/bootstrap.min.css"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="author" content="Alexandre Renoux,Pierre-Emmanuel Novac"/>
<title>CraftMine</title>
<script type="text/javascript" charset="utf-8" src="js/craftmine.js"></script>
<script type="text/javascript" charset="utf-8" src="js/guild.js"></script>
</head>
<body onload="init()">
<h1>CraftMine</h1>
<p>Gold : <span id="gold">0</span></p>
<p>Mine : <span id="mine">0</span></p>
<p>Miners : <span id="miners">0</span></p>
<span id="guild"></span>
<form class="form-horizontal" method="post" action="craftmine.php">
<button type="button" name="withdraw" onclick="withdrawMine()">Withdraw</button>
<span id="guildCreated">
<button type="button" name="CreateGuild" onclick="createGuild()">Create your guild</button>
</span>
<span id="minerHired">
<button type="button" name="HireMiner" onclick="hireMiner()">Hire one miner</button>
</span>
<div>
<h3>Items Shop</h3>
<div>wooden sword
<button type="button" name="epeeCuivre" onclick="buyItems()">buy</button>
</div>
<div>golden sword
<button type="button" name="goldenSword" onclick="buyItems()">buy</button>
</div>
<div>life bottle
<button type="button" name="lifeBottle" onclick="buyItems()">buy</button>
</div>
<div>strength bottle
<button type="button" name="strengthBottle" onclick="buyItems()">buy</button>
</div>
</div>
</form>
</body>
</html>
|