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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2125 - (show annotations) (download)
Wed Mar 12 19:30:05 2014 UTC (10 years, 3 months ago) by torben
File size: 1136 byte(s)
initial import
1 <?php
2 require "../inc/mysql.php";
3 ?>
4
5 <html>
6 <head>
7
8 <meta name="viewport" content="width=device-width, initial-scale=1" />
9
10 <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" />
11 <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
12 <script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
13 </head>
14
15 <body>
16
17 <!-- Home -->
18 <div data-role="page" id="page1">
19 <div data-theme="a" data-role="header">
20 <h3>
21 Horsens Spejder
22 </h3>
23 </div>
24 <!-- Home -->
25 <div data-role="content">
26 <?php
27
28 $id = $_GET["id"];
29 $rows = cached_query("SELECT fornavn,efternavn,mobil,email FROM stamdata WHERE id='$id' ");
30
31 $row = $rows[0];
32
33 echo utf8_encode($row->fornavn) . " " . utf8_encode($row->efternavn);
34 echo "<br><br>";
35 echo "Tel: <a href='tel:{$row->mobil}'>{$row->mobil}</a> <br><br>";
36 echo "SMS: <a href='sms:{$row->mobil}'>{$row->mobil}</a> <br><br>";
37 echo "Mail: <a href='mailto:{$row->email}'>{$row->email}</a></br><br>";
38
39 echo "<a href='vcard.php?id=$id' data-ajax='false' >Download vCard</a>";
40
41 ?>
42 </div>
43
44 </div>
45
46 </body>
47 </html>

  ViewVC Help
Powered by ViewVC 1.1.20