-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathi.php
More file actions
65 lines (51 loc) · 1.83 KB
/
i.php
File metadata and controls
65 lines (51 loc) · 1.83 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
57
58
59
60
61
62
63
64
65
<?php
/**
* Created by PhpStorm.
* User: Ultra
* Date: 14-7-13
* Time: 下午5:51
*/
header("Content-type: text/html; charset=utf-8");
date_default_timezone_set("PRC");
session_start();
include_once('lib/mysql.class.php');
include_once('lib/user.class.php');
include_once('include/config.php');
//print_r($o);
if(!isset($o)) header("Location: http://{$_SERVER['HTTP_HOST']}/login?url={$_SERVER['HTTP_HOST']}/i");
$mysql = new mysql;
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><?php echo $person['realname']; ?> 的直播间</title>
<meta name="keywords" content="<?php echo $person['realname']; ?>,主播,主持人,直播,琦益" />
<meta name="description" content="<?php echo $person['desc']; ?>" />
<link href="css/head.css" rel="stylesheet" type="text/css">
<link href="css/index.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
</head>
<body>
<?php include_once('include/head.php'); ?>
<div class="background">
<div class="mian">
<div class="chat"></div>
<div class="player">
<embed src="http://yy.com/s/<?php echo $player1; ?>/0/yyscene.swf" type="application/x-shockwave-flash" style="width:400px; height: 660px";>
</div>
</div>
</div>
<div class="mian">
<ul>
<?php foreach($players as $key => $value) { ?>
<li>
<a target="player" href="/<?php echo $value['uid']; ?>"><img src="<?php echo $value['logo']; ?>" /></a>
<h1><a target="player" href="/<?php echo $value['uid']; ?>"><?php echo $value['title']; ?></a></h1>
</li>
<?php } ?>
</ul>
</div>
</body>
</html>