-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·56 lines (43 loc) · 1.62 KB
/
index.php
File metadata and controls
executable file
·56 lines (43 loc) · 1.62 KB
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
<?php
require_once 'common.inc.php';
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>DynamoSocialStream</title>
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script>
<script type="text/javascript" src="<?php echo $myWsUrl.'socket.io/socket.io.js'?>"></script>
<script type="text/javascript">
myWsUrl = "<?php echo $myWsUrl?>";
myUserId = "twitterUser";
</script>
<script src="client.js"></script>
</head>
<body>
<!-- Start of second page -->
<div data-role="page" id="main">
<div data-role="header">
<h1>Dynamo Social Stream</h1>
</div><!-- /header -->
<div data-role="content">
<a href="twitter_auth.php" rel="external"><img src="https://si0.twimg.com/images/dev/buttons/sign-in-with-twitter-d.png"></img></a>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<label for="slider1">
Public Twitter Stream (%)
</label>
<input type="range" name="slider" id="pubStreamRatio" value="0" min="0" max="100" data-highlight="true" />
</fieldset>
</div>
<ul id="feeds" style="margin-top: 10px" data-role="listview"></ul>
</div><!-- /content -->
<div data-role="footer">
</div><!-- /footer -->
</div><!-- /page -->
</body>
</html>