-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patherror.php
More file actions
73 lines (73 loc) · 2.99 KB
/
error.php
File metadata and controls
73 lines (73 loc) · 2.99 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
66
67
68
69
70
71
72
73
<?php
include './config.php';
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>错误页</title>
<link rel="shortcut icon" href="./src/favicon.ico" type="image/x-icon">
<link rel="bookmark" href="./src/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="./src/css/d.css" type="text/css" />
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?<?php echo($baiduid); ?>";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<?php include_once("./src/baidu_js_push.php"); ?>
<a href="..">回到首页</a>
<?php
// 错误页
set_time_limit(0);
ob_implicit_flush();
if($_GET['error_code']=='1'){
echo '<h2>wd未搜索过</h2><p>请重新搜索 影视名称</p>
<form action="./dx.php" method="POST" onsubmit="return checkform();">
<p>本 站 在 线 影 视:<input id="ipt" type="text" name="wd" autofocus value='.$_GET['wd'].'>
<input type="submit" value="搜索"></p>
</form>';
}
if($_GET['error_code']=='2'){
echo '<h2>id不存在</h2><p>请检查 是第几个搜索结果</p>
<form action="./dx.php" method="POST" onsubmit="return checkform();">
<p>本 站 在 线 影 视:<input id="ipt" type="text" name="wd" autofocus value='.$_GET['wd'].'>
<input type="submit" value="搜索"></p>
</form>';
}
if($_GET['error_code']=='3'){
echo '<h2>js不存在</h2><p>请检查 是第几集</p>
<form action="./dx.php" method="POST" onsubmit="return checkform();">
<p>本 站 在 线 影 视:<input id="ipt" type="text" name="wd" autofocus value='.$_GET['wd'].'>
<input type="submit" value="搜索"></p>
</form>';
}
if($_GET['error_code']=='4'){
echo '<h2>url有误</h2><p>请检查 输入的是否是正确的url</p><p>可能是暂不支持,有问题请反馈</p>
<form action="./dx.php" method="POST" onsubmit="return checkform();">
<p>url解析:<input id="ipt" type="text" name="url" autofocus value='.$_GET['url'].'>
<input type="submit" value="搜索"></p>
</form>';
}
if($_GET['error_code']=='5'){
echo '<h2>url 不 支 持</h2><p>你输入的url 暂不支持</p><p>暂时只支持 腾讯视频、爱奇艺、优酷、PPTV</p>
<form action="./dx.php" method="POST" onsubmit="return checkform();">
<p>url解析:<input id="ipt" type="text" name="url" autofocus value='.$_GET['url'].'>
<input type="submit" value="搜索"></p>
</form>';
}
if($_GET['error_code']=='6'){
echo '<h2>未选择视频服务器</h2>
<p>1.未选择视频服务器</p>
<p>2.视频服务器不存在</p>
<p><a href="./fl.php?fw=0" target="_blank">视频服务器1 </a></p>
<p><a href="./fl.php?fw=1" target="_blank">视频服务器2 </a></p>';
}
?>
</body>
</html>