-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
66 lines (61 loc) · 2.21 KB
/
index.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
setcookie("credential", "", time() - 3600, "/");
include("common.php");
?>
<!DOCTYPE html>
<html>
<head>
<title>Share Service</title>
<link rel="stylesheet" href="style-columns.css">
<?php include("web-meta.php") ?>
</head>
<body class="login">
<div class="login-header"><a href="web-login.php">Login</a> </div>
<table width="100%" height="95%" style="padding-bottom: 20px;"><tr><td width="100%"align="center" valign="middle">
<div style='max-width: 520px; margin-bottom: 20px; margin-top: 10px; padding-left: 24px; padding-right: 24px;'>
<?php
//Show appropriate instructions for platform
$client = strtolower($_SERVER['HTTP_USER_AGENT']);
if (strpos($client, "hpwos") || strpos($client, "webos")) {
echo "Welcome webOS User! This sharing service was made with you in mind, but this web front-end doesn't work on your current device. Instead, you can <a href=' https://appcatalog.webosarchive.org/app/ShareSpace'>download the native webOS App called Share Space</a>, that works on Touchpad, Pre and all the other webOS phones!";
}
?>
</div>
<div id="container">
<div class="row">
<div class="column" >
<div class="columnContent">
<table width="360" height="100%" border="0" class="tableOption">
<tr>
<td colspan="3" align="center">
<a href="web-share-type.php">
<img src="images/share-plus.png" style="margin-top:8px;" id="imgIcon" border="0"/><br/><br/>
<b>Share with someone</b><br/>
</a>
</td>
</tr>
</table>
</div>
</div>
<div class="column">
<div class="columnContent">
<table width="360" height="100%" border="0" class="tableOption">
<tr>
<td colspan="3" align="center">
<a href="web-agreement.php">
<img src="images/share-new.png" style="margin-top:8px;" id="imgIcon" border="0"/><br/><br/>
<b>Create a Share space</b><br/>
</a>
</td>
</tr>
</table>
</div>
</div>
</td></tr>
</table>
</div>
</div>
</body>
</html>