-
Notifications
You must be signed in to change notification settings - Fork 1
/
deck_manager.php
33 lines (33 loc) · 1.04 KB
/
deck_manager.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
<?php
session_start();
require "include/require.php";
$stile = "deck_manager.css";
$javas[] = "deck_manager.js";
$javas[] = "include/jquery-ui.min.js";
$javas[] = "include/fabric.min.js";
require "menu.php";
require "include/functions.php";
$lista_mazzi = lista_mazzi($u_id);
echo "<br />
<div id=\"lista_mazzi\" >\n
<div class=\"deck_button\" onclick=\"crea_nuovo_mazzo()\" >Crea un nuovo mazzo</div>\n";
foreach ($lista_mazzi as $key => $value) {
echo "<div class=\"deck_button\" onclick=\"modifica_mazzo('$key');\" >".$value["deckname"]."</div>\n";
}
echo "</div>";
?>
<div >
<div id="deck_mod_title"></div>
<canvas class="tavolo" id="tavolo"></canvas>
<div id="deck_mod">
<div id="contenuto"></div>
<form name="ricerca" id="ricerca" onsubmit="return false" >
<input type="text" name="search" id="search" /><input type="button" onclick="avvia_ricerca()" value="cerca" />
<div id="search_result"></div>
<div id="image_card">
<img id="card" src="" /><br />
<button onclick="inserisci_carta()">ok</button>
</div>
</form>
</div>
</div>