-
Notifications
You must be signed in to change notification settings - Fork 0
/
connect.php
56 lines (48 loc) · 1.35 KB
/
connect.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
<?php include("__header.php"); ?>
<?php
$self = true;
$pageUser = $cuser;
if(isset($_GET['i'])){
if($cuser->id != intval($_GET['i'])){
$pageUser = new user(intval($_GET['i']));
$self = false;
}
}else if(isset($_GET['id'])){
if($cuser->id != intval($_GET['id'])){
$pageUser = new user(intval($_GET['id']));
$self = false;
}
}
define('THIS_PAGE', "connect-mi");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Logos</title>
<link href="./js/ui/src/jquery.ui.potato.menu.css" rel="stylesheet" type="text/css"/>
<link href="./css/popup.css" rel="stylesheet" type="text/css"/>
<link href="./css/connect.css" rel="stylesheet" type="text/css"/>
<link href="./css/menu.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<?php include "includes/menu.php"; ?>
<div id="body-con">
<div id="content-con">
<h2>Info Panel</h2>
<div id="content"></div>
</div>
<div id="list-con">
<h2>Friends List</h2>
<div id="list">
</div>
</div>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js"></script>
<script>
var thisuserid = <?php echo $cuser->id; ?>;
$("#<?php echo THIS_PAGE;?>").addClass("selected-mi");
</script>
<script src="./js/connect.js"></script>
</html>