1 | <?php |
---|
2 | //Insert login check, dbi creation, etc... |
---|
3 | require "classes/master.php"; |
---|
4 | |
---|
5 | $dbDataSelectionWidget = new dbDataSelectionWidget(); |
---|
6 | ?> |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | <!DOCTYPE html> |
---|
11 | <html> |
---|
12 | <head> |
---|
13 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
---|
14 | <title></title> |
---|
15 | <?php new Stylesheet("visualEditors"); ?> |
---|
16 | |
---|
17 | <?php $dbDataSelectionWidget->Javascript(); ?> |
---|
18 | </head> |
---|
19 | <body> |
---|
20 | <div id="header"> |
---|
21 | <?php new Logo(); ?> |
---|
22 | </div> |
---|
23 | |
---|
24 | <div id="content"> |
---|
25 | <div id="wrapper"> |
---|
26 | |
---|
27 | <div id="leftColumn"> |
---|
28 | |
---|
29 | <div class="largeFrame C" id="dbDataSelector"> |
---|
30 | <div class="content"> |
---|
31 | |
---|
32 | <div style="float: left; clear: none;"> |
---|
33 | <div class="largeTitle">Instance data</div> |
---|
34 | <select id="dbSessionInstancesList" multiple class="dbDataList" size="15" onchange="infoPanelTimeout(event);"> |
---|
35 | <?php |
---|
36 | foreach ($dbDataSelectionWidget->sessions as $session) { |
---|
37 | // Fill list |
---|
38 | // First checkbox, then descriptor |
---|
39 | echo "<option value='$session->uid'>$session->title</option>"; |
---|
40 | } |
---|
41 | ?> |
---|
42 | </select> |
---|
43 | </div> |
---|
44 | |
---|
45 | <div style="float: left; clear:none;"> |
---|
46 | <div class="largeTitle">Game data</div> |
---|
47 | <select id="dbGamedataList" multiple class="dbDataList" size="15" onChange="infoPanelTimeout(event);"> |
---|
48 | <?php |
---|
49 | foreach ($dbDataSelectionWidget->gamedata as $gamedata) { |
---|
50 | // Fill list |
---|
51 | // First checkbox, then descriptor |
---|
52 | echo "<option value='$gamedata->uid'>$gamedata->title</option>"; |
---|
53 | } |
---|
54 | ?> |
---|
55 | </select> |
---|
56 | </div> |
---|
57 | </div> |
---|
58 | </div> |
---|
59 | |
---|
60 | |
---|
61 | <div class="largeFrame Cu" id="dbInfoPanel"> |
---|
62 | <div class='largeTitle'>Info panel</div> |
---|
63 | <div class="content" id="dbInfoPanelContent" style="height: 100px;"> |
---|
64 | |
---|
65 | </div> |
---|
66 | |
---|
67 | <div class="controls"> |
---|
68 | <input type="button" class="smallButton" id="btnAddToCart" value="Add to list" onClick="addDataToList();" /> |
---|
69 | </div> |
---|
70 | </div> |
---|
71 | </div> |
---|
72 | |
---|
73 | <div id="rightColumn"> |
---|
74 | <div class="largeFrame Cv" id="dbShoppingCart"> |
---|
75 | <div class="largeTitle">Shopping cart</div> |
---|
76 | <div class="content" id="shoppingCartContent"> |
---|
77 | fsdfsdfsd |
---|
78 | </div> |
---|
79 | </div> |
---|
80 | </div> |
---|
81 | </div> |
---|
82 | </div> |
---|
83 | </body> |
---|
84 | </html> |
---|