-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
113 lines (113 loc) · 4.37 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
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
<?php
include ('./inc/aik.config.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="cache-control" content="no-siteapp">
<title><?php echo $aik['title'];?></title>
<link rel='stylesheet' id='main-css' href='css/style.css' type='text/css' media='all' />
<link rel='stylesheet' id='main-css' href='css/index.css' type='text/css' media='all' />
<script type='text/javascript' src='http://apps.bdimg.com/libs/jquery/2.0.0/jquery.min.js?ver=0.5'></script>
<meta name="keywords" content="<?php echo $aik['keywords'];?>">
<meta name="description" content="<?php echo $aik['description'];?>">
<!--[if lt IE 9]><script src="js/html5.js"></script><![endif]-->
</head>
<body class="home blog">
<?php include 'header.php';?>
<div id="homeso">
<form method="post" id="soform" style="text-align: center;float: none" action="./seacher.php">
<img id="imgsrc" src="images/sologo.png"><br><br>
<input tabindex="2" class="homesoin" id="sos" name="wd" type="text" placeholder="输入你要观看的视频" value="">
<button id="button" tabindex="3" class="homesobtn" type="submit"><i class="fa">观看</i></button>
</form>
</div>
<section class="container">
<div class="single-strong">最新热门电影推荐<span class="chak"><a href="./movie.php?m=http://www.360kan.com/dianying/list.php?cat=all%26pageno=1">查看更多</a></span></div>
<div class="b-listtab-main">
<div class="s-tab-main">
<ul class="list g-clear">
<?php
include './data/dyjx.php';
foreach ($namearr[1] as $key => $value)
{
$gul=$yuming.$listarr[1][$key];//取出播放链接
$cd=$host.'/alist.php?id='.$gul;
$guq=$listarr[1][$key];
$_GET['id']=$gul;
//echo $guq;
$zimg=$imgarr[1][$key];//取出图片链接
$zname=$namearr[1][$key];//取出影片名字
$fname=$fnamearr[1][$key];//取出影片评分
$nname=$nnamearr[1][$key];//取出影片年份
$zstar=$stararr[1][$key];
$jiami=base64_encode($gul);
$tok=base64_encode($gul);
//echo $zname;
//echo $gul;//取出播放链接
$chuandi=$host.'/inc/b.php?id='.$jiami;
echo "
<li class='item'><a class='js-tongjic' href='./play.php?play=$tok' title='$zname' target='_blank'>
<div class='cover g-playicon'>
<img src='$zimg' alt='$zname' />
<span class='pay'>推荐</span><span class='hint'>$nname</span>
</div>
<div class='detail'>
<p class='title g-clear'>
<span class='s1'>$zname</span>
<span class='s2'>$fname</span></p>
<p class='star'>$zstar</p>
</div>
</a></li>";
}
?>
</ul>
</div>
</div>
<div class="single-strong">最新热门电视剧推荐<span class="chak"><a href="./movie.php?m=http://www.360kan.com/dianshi/list.php?cat=all%26pageno=1">查看更多</a></span></div>
<div class="b-listtab-main">
<div class="s-tab-main">
<ul class="list g-clear">
<?php
include './data/tvjx.php';
foreach ($namearr[1] as $key => $value)
{
$gul=$yuming.$listarr[1][$key];//取出播放链接
$cd=$host.'/alist.php?id='.$gul;
$guq=$listarr[1][$key];
$_GET['id']=$gul;
//echo $guq;
$zimg=$imgarr[1][$key];//取出图片链接
$zname=$namearr[1][$key];//取出影片名字
$nname=$nnamearr[1][$key];//取出影片年份
$zstar=$stararr[1][$key];
$jiami=base64_encode($gul);
//echo $zname;
//echo $gul;//取出播放链接
$chuandi='./play.php?play='.$jiami;
echo "<li class='item'><a class='js-tongjic' href='$chuandi' title='$zname'>
<div class='cover g-playicon'>
<img src='$zimg' alt='$zname' />
<span class='hint'>$nname</span>
</div>
<div class='detail'>
<p class='title g-clear'>
<span class='s1'>$zname</span>
<span class='s2'></span></p>
<p class='star'>$zstar</p>
</div>
</a></li>";
}
?>
</ul>
</div>
</div>
</section>
<?php include 'footer.php';?>
</body>
</html>