/[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 2184 - (show annotations) (download)
Fri May 30 07:28:28 2014 UTC (9 years, 11 months ago) by torben
File size: 846 byte(s)
upgrade to jquery mobile 1.4.2
1 <?php
2 require "../inc/mysql.php";
3 ?>
4
5 <html>
6 <head>
7
8 <?php
9 include "jquery.html";
10 ?>
11
12 </head>
13
14 <body>
15
16 <!-- Home -->
17 <div data-role="page" id="page1">
18 <div data-theme="a" data-role="header">
19 <h3>
20 Horsens Spejder
21 </h3>
22 </div>
23 <!-- Home -->
24 <div data-role="content">
25 <?php
26
27 $id = $_GET["id"];
28 $rows = cached_query("SELECT fornavn,efternavn,mobil,email FROM stamdata WHERE id='$id' ");
29
30 $row = $rows[0];
31
32 echo utf8_encode($row->fornavn) . " " . utf8_encode($row->efternavn);
33 echo "<br><br>";
34 echo "Tel: <a href='tel:{$row->mobil}'>{$row->mobil}</a> <br><br>";
35 echo "SMS: <a href='sms:{$row->mobil}'>{$row->mobil}</a> <br><br>";
36 echo "Mail: <a href='mailto:{$row->email}'>{$row->email}</a></br><br>";
37
38 echo "<a href='vcard.php?id=$id' data-ajax='false' >Download vCard</a>";
39
40 ?>
41 </div>
42
43 </div>
44
45 </body>
46 </html>

  ViewVC Help
Powered by ViewVC 1.1.20