-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.php
127 lines (113 loc) · 4.37 KB
/
home.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?php
require 'script/php/header.php';
require 'script/php/universal.php';
$userdb=new db("user");
$cokie=new cookies($userdb);
$cokie->checkUnlogged();
$site= new db("site");
common($site);
//header("Access-Control-Allow-Origin");
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<?php
imports();
?>
<title>Home</title>
<script src="script/ajax/pump.js?45"></script>
<link href="script/css/styles.css" type="text/css" rel="stylesheet"/>
</head>
<body class="bodyMain text">
<?php
printHeader();
?>
<div id="searchboxa">
<input type="text" id="searchbox" class="text" onchange="loads()" placeholder="Search People"/>
<div id="searchresult"></div>
</div>
<?php
echo '</div>';
?>
<br/>
<div class="sideBar">
<div id="dmsg" class="sOption icon-email" onclick="triggermsg()" >
</div>
<div id="dimg" class="sOption icon-images" onclick="triggerPhoto()">
</div>
<div id="dvideo" class="sOption icon-video-camera" onclick="triggerVideo()">
</div>
<div id="dmusic" class="sOption icon-headphone" onclick="triggerMusic()">
</div>
</div>
<div id="maincontent" class="maincontent" style="visibility: hidden;">
<noscript>
<span style="padding: 10px;background-color: #ccdab9;">Please enable JavaScript on your browser to enjoy all the feature of this
website <b>Or</b> Go to our <a style="text-decoration: none;" href="www.m.cubebeans.com">mobile site</a>!</span><br/><br/>
</noscript>
<div id="feed">
<div id="feedsegment" style="background-color: #FCFBF7;" class="feedsegment commoncontent">
</div>
</div>
<div id="extra">
<div id="files">
<div id="upload" class="commoncontent">
<form action="#" method="post" >
<textarea id="update" name="update" style="max-width: 100%;"></textarea><br/>
<button id="updatebutton">Post</button>
</form>
</div>
<div id="media" class="commoncontent">
media
</div>
</div>
<div id="online" class="commoncontent">
online
</div>
</div>
</div>
<div id="frames">
<div id="msgframe" class="frame" style="visibility: hidden;margin-top: -490px;">
<div class="frametitle">Messages</div>
<hr/>
<div id="msgframebody">
<img class="loading" src="site/img/icons/loading.gif" width="66" height="17" alt="Loading"/>
</div>
</div>
<div id="photoframe" class="frame" style="visibility: hidden;margin-top: -440px;">
<div class="frametitle">
Photos
</div>
<hr/>
<div style="padding: 10px;">
No Data Available.
</div>
</div>
<div id="videoframe" class="frame" style="visibility: hidden;margin-top: -370px;">
<div class="frametitle">
Videos
</div>
<hr/>
<div style="padding: 10px;">
No Data Available.
</div>
</div>
<div id="musicframe" class="frame" style="visibility: hidden;margin-top: -300px;">
<div class="frametitle">
Musics
</div>
<hr/>
<div style="padding: 10px;">
No Data Available.
</div>
</div>
</div>
<?php
printFooter();
$userdb->close();
//terminates
$site->close();
?>
</body>
</html>