/[projects]/misc/horsensspejder-web/mobile/personer.php
ViewVC logotype

Contents of /misc/horsensspejder-web/mobile/personer.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2126 - (show annotations) (download)
Thu Mar 13 22:19:31 2014 UTC (10 years, 2 months ago) by torben
File size: 2025 byte(s)
first iteration on meeting protocol
1 <?php
2 require "../inc/mysql.php";
3 header("Content-Type: text/html; charset=iso-8859-1");
4 session_start();
5
6 ?>
7
8 <html>
9 <head>
10
11 <meta name="viewport" content="width=device-width, initial-scale=1" />
12
13 <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" />
14 <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
15 <script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
16 </head>
17
18
19
20
21 <body>
22
23
24 <!-- Home -->
25 <div data-role="page" id="page2">
26 <div data-theme="a" data-role="header">
27 <h3>
28 Horsens Spejder
29 </h3>
30 </div>
31 <div data-role="navbar" data-iconpos="top">
32 <ul>
33 <li>
34 <a href="moedeprotokol.php" data-transition="fade" data-theme="" data-icon="check">
35 M&oslash;de<br>Protokol
36 </a>
37 </li>
38
39 <li>
40 <a href="inbox.php" data-transition="fade" data-theme="" data-icon="grid">
41 Inbox<br>&nbsp;
42 </a>
43 </li>
44 <li>
45 <a href="#page2" data-transition="fade" data-theme="" data-icon="bars"
46 class="ui-btn-active ui-state-persist">
47 Kontakter<br>&nbsp;
48 </a>
49 </li>
50 </ul>
51 </div>
52
53
54 <div data-role="content">
55 <ul data-role="listview" data-filter="true" data-divider-theme="b" data-inset="true">
56 <li data-role="list-divider" role="heading">
57 Kontakter
58 </li>
59
60 <?php
61
62 $rows = cached_query("
63 select id,fornavn,efternavn
64 from stamdata
65 order by fornavn, efternavn
66 ");
67
68 foreach($rows as $row) {
69
70 echo "<li data-theme='c'>\n";
71 echo "<a href='kontaktinfo.php?id={$row->id}' data-rel='dialog'>";
72 echo $row->fornavn . " " . $row->efternavn . "<br>";
73 echo "</a>";
74 echo "</li>\n";
75 }
76
77 ?>
78 </ul>
79 </div>
80
81 </div>
82
83 </body>
84 </html>

  ViewVC Help
Powered by ViewVC 1.1.20