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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2125 - (hide annotations) (download)
Wed Mar 12 19:30:05 2014 UTC (10 years, 3 months ago) by torben
File size: 1768 byte(s)
initial import
1 torben 2125 <?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="inbox.php" data-transition="fade" data-theme="" data-icon="home">
35     Inbox
36     </a>
37     </li>
38     <li>
39     <a href="#page2" data-transition="fade" data-theme="" data-icon="bars"
40     class="ui-btn-active ui-state-persist">
41     Kontakter
42     </a>
43     </li>
44     </ul>
45     </div>
46    
47    
48     <div data-role="content">
49     <ul data-role="listview" data-filter="true" data-divider-theme="b" data-inset="true">
50     <li data-role="list-divider" role="heading">
51     Kontakter
52     </li>
53    
54     <?php
55    
56     $rows = cached_query("
57     select id,fornavn,efternavn
58     from stamdata
59     order by fornavn, efternavn
60     ");
61    
62     foreach($rows as $row) {
63    
64     echo "<li data-theme='c'>\n";
65     echo "<a href='kontaktinfo.php?id={$row->id}' data-rel='dialog'>";
66     echo $row->fornavn . " " . $row->efternavn . "<br>";
67     echo "</a>";
68     echo "</li>\n";
69     }
70    
71     ?>
72     </ul>
73     </div>
74    
75     </div>
76    
77     </body>
78     </html>

  ViewVC Help
Powered by ViewVC 1.1.20