-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.php
44 lines (32 loc) · 1.49 KB
/
site.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Notes</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/ui-lightness/jquery-ui-1.8.8.custom.css"/>
<link rel="stylesheet" type="text/css" href="css/notes.css"/>
<link rel="icon" type="image/png" href="img/icon.png"/>
<script type="text/javascript" src="js/notes.js"></script>
</head>
<body>
<img id="spinner" src="img/spinner.gif"/>
<div id="add">+</div>
<div id="content">
<? foreach ($notes AS $note) { ?>
<div class="note ui-widget-content" noteID="<?=$note['id']?>" style="top: <?=$note['posY']?>; left: <?=$note['posX']?>;">
<div class="noteContent">
<div class="time"><?=$note['time']?></div>
<div class="slider"></div>
<!-- delete link -->
<img class="delete" src="img/delete.png"/>
<!-- textarea with note content, height/width/fontSize -->
<textarea style="width: <?=$note['width']?>;
height: <?=$note['height']?>;
font-size: <?=$note['fontSize']?>;"><?=htmlentities($note['note'])?></textarea>
</div>
</div>
<? } ?>
</div>
</body>
</html>