├── L90_jingpinke.iml ├── README.md ├── aa.php ├── connect.php ├── fonts ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2 ├── footer.php ├── header.php ├── iamadmin ├── charpter_delete.php ├── charpter_edit.php ├── charpter_edit_handle.php ├── charpter_insert.php ├── charpter_show.php ├── comment_delete.php ├── comment_show.php ├── css │ ├── houtai.css │ ├── iconfont-bianji.png │ ├── iconfont-delete.png │ └── video_view.css ├── houtai_header.php ├── insert.php ├── insert_charpter.php ├── insert_handle.php ├── login.php ├── login_handle.php ├── logout.php ├── ppt_insert.php ├── ppt_insert_handle.php ├── ppt_show.php ├── user.php ├── user_delete.php ├── video_delete.php ├── video_edit.php └── video_show.php ├── icon ├── down.png └── right.png ├── image ├── background.jpg ├── logo.jpg ├── pic1.jpg ├── pic2.jpg ├── pic3.jpg ├── poster │ └── 1.PNG ├── t1.png ├── t2.png └── t3.png ├── index.php ├── login.php ├── login_handle.php ├── logout.php ├── ppt.php ├── ppt ├── hello.swf └── pfDesktop.exe ├── ppt_comment.php ├── ppt_leftnav.php ├── register.php ├── register_handle.php ├── script ├── bootstrap.min.css ├── bootstrap.min.js ├── carousel.css ├── jquery.min.js ├── mystyle.css └── video.css ├── sql ├── Connect.php ├── newSql.php └── sql.php ├── video.php ├── video ├── 1.HTML5开发前准备.mp4 ├── 1.什么是HTML5.mp4 ├── 2.mp4 ├── 2.开发前的准备-快捷键.mp4 ├── hello.swf ├── t.jpg ├── xueshengzhiyou.PNG ├── 备案.jpg ├── 捕获.PNG ├── 烫PNG.PNG └── 请假.jpg ├── video_comment.php └── video_leftnav.php /L90_jingpinke.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # jingpinke 2 | 视频网站(mysql+php开发)by yzj 3 | ======= 4 | # jingpinke 5 | 视频网站(mysql+php开发) 6 | -------------------------------------------------------------------------------- /aa.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Document 5 | 6 | 7 | 8 | 9 | 10 | alert('hello')"; 12 | require_once "fucntion.php"; 13 | connectDb(); 14 | $query = mysql_query("select * from catalog"); 15 | while($row=mysql_fetch_array($query)){ 16 | $Cat_Name = $row["Cat_Name"]; 17 | echo ""; 18 | echo "$Cat_Name"; 19 | } 20 | ?> -------------------------------------------------------------------------------- /connect.php: -------------------------------------------------------------------------------- 1 | alert("非法数据");'; 25 | exit(); 26 | }else{ 27 | return $Sql_Str; 28 | } 29 | } -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 9 |
10 | 11 | -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /iamadmin/charpter_delete.php: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 查看所有章节 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 33 |
34 |
35 |
36 | 37 | "> 38 |
39 | 40 | 41 |
42 |
43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /iamadmin/charpter_edit_handle.php: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 查看所有章节 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 27 | 28 | 29 | 30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | "; 46 | } 47 | ?> 48 |
章节id标题修改删除
$charpter_id$title
49 |
50 |
51 | 52 | 53 |
54 | 55 | 56 |
57 |
58 | 59 | 66 | 67 | -------------------------------------------------------------------------------- /iamadmin/comment_delete.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 查看所有评论 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 26 | 27 | 28 | 29 |
30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | "; 59 | } 60 | ?> 61 |
评论id视频/ppt id视频/ppt 标题用户id用户学号删除
$usercomment_id$video_id$title$user_id$user_xuehao
62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 |
71 | 72 | 79 | 80 | -------------------------------------------------------------------------------- /iamadmin/css/houtai.css: -------------------------------------------------------------------------------- 1 | /*main.php*/ 2 | .mycontainer{ 3 | margin-top: 70px; 4 | width: 450px; 5 | margin-left: 200px; 6 | } 7 | .mycontainer .form-group{ 8 | margin: 20px auto; 9 | width: 400px; 10 | } 11 | .mycontainer .form-control{ 12 | width: 400px; 13 | } 14 | .mycontainer .mybutton{ 15 | width: 150px; 16 | margin: 20px auto; 17 | } 18 | 19 | /*选择和新增章节的代码*/ 20 | .form-group .charpter-left{ 21 | width: 180px; 22 | } 23 | .mycontainer .charpter-group-left{ 24 | width: 180px; 25 | margin-right: 10px; 26 | } 27 | .mycontainer .charpter-group-right{ 28 | width: 150px; 29 | } 30 | .form-group .charpter-right{ 31 | width: 150px; 32 | float: left; 33 | } 34 | .charpter-btn{ 35 | margin-top: 43px; 36 | margin-left: 5px;; 37 | } -------------------------------------------------------------------------------- /iamadmin/css/iconfont-bianji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/iamadmin/css/iconfont-bianji.png -------------------------------------------------------------------------------- /iamadmin/css/iconfont-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/iamadmin/css/iconfont-delete.png -------------------------------------------------------------------------------- /iamadmin/css/video_view.css: -------------------------------------------------------------------------------- 1 | /*video_view.php*/ 2 | .mycontainer{ 3 | margin-top: 80px; 4 | } 5 | .mycontainer img{ 6 | width: 20px; 7 | height: 20px; 8 | } -------------------------------------------------------------------------------- /iamadmin/houtai_header.php: -------------------------------------------------------------------------------- 1 | 2 | window.location.href='login.php'"; 7 | // } 8 | session_start(); 9 | if($_SESSION['admin']==""){ 10 | echo ""; 11 | } 12 | ?> 13 | 14 | 15 | 16 |
17 | 63 | 64 |
65 | -------------------------------------------------------------------------------- /iamadmin/insert.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 后台主页面 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 21 | 22 | 23 |
24 | 25 | 26 |
27 | 28 |
29 | 30 | 31 |
32 |
33 | 34 | 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 | 87 | 88 | -------------------------------------------------------------------------------- /iamadmin/insert_charpter.php: -------------------------------------------------------------------------------- 1 | alert('$new_charpter')"; 12 | $query = mysql_query("insert into charpter (title) VALUES ($new_charpter)"); 13 | header("location:insert.php"); 14 | -------------------------------------------------------------------------------- /iamadmin/insert_handle.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Document 6 | 7 | 8 | 9 | 10 | 11 | 0){ 21 | // echo "Error: ".$_FILES["file"]["error"]."
"; 22 | //}else { 23 | // echo "upload name:" . $_FILES["file"]["name"]; 24 | // echo "type:" . $_FILES["file"]["type"]; 25 | // echo "size:" . ($_FILES["file"]["size"] / 1024) . "kb"; 26 | // echo "tmp_name" . $_FILES["file"]["tmp_name"]; 27 | //} 28 | //echo "
"."$_POST[Res_name]"; 29 | //echo $_FILES["file"]["name"]; 30 | 31 | $new_charpter = $_POST["new_charpter"]; 32 | if($new_charpter != ""){ 33 | echo ""; 34 | $query = mysql_query("insert into charpter (title) VALUES ('$new_charpter')"); 35 | header("location:insert.php"); 36 | }else{ 37 | $charpter_select = $_POST["charpter_select"]; 38 | //echo ""; 39 | //if ($charpter_select=='第一章') 40 | //{ 41 | // echo "ok"; 42 | //} 43 | //else 44 | //{ 45 | // echo "no"; 46 | //} 47 | $query = mysql_query("select * from charpter where title = '".$charpter_select."'"); 48 | $row = mysql_fetch_array($query); 49 | $id = $row["charpter_id"]; 50 | 51 | //echo ""; 52 | 53 | 54 | 55 | move_uploaded_file($_FILES["file"]["tmp_name"], iconv("UTF-8", "gb2312", "../video/".$_FILES["file"]["name"])); 56 | move_uploaded_file($_FILES["poster"]["tmp_name"], iconv("UTF-8", "gb2312", "../image/poster/".$_FILES["poster"]["name"])); 57 | mysql_query("insert into video (title, info, location, clicktime, charpter_id, poster) VALUES ('$_POST[title]', '$_POST[info]', '".$_FILES["file"]["name"]."', 0, '$id', '".$_FILES["poster"]["name"]."')"); 58 | 59 | echo ""; 60 | //$id = "video"; 61 | header("location:video_show.php"); 62 | } 63 | 64 | 65 | -------------------------------------------------------------------------------- /iamadmin/login.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 后台管理系统登录 11 | 12 | 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 | -------------------------------------------------------------------------------- /iamadmin/login_handle.php: -------------------------------------------------------------------------------- 1 | alert('登录成功!');window.location.href='video_show.php'"; 23 | }else{ 24 | echo ""; 25 | } -------------------------------------------------------------------------------- /iamadmin/logout.php: -------------------------------------------------------------------------------- 1 | window.location.href='video_show.php'"; -------------------------------------------------------------------------------- /iamadmin/ppt_insert.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 查看所有ppt 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 21 | 22 | 23 |
24 | 25 | 26 |
27 | 28 |
29 | 30 | 31 |
32 |
33 | 34 | 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 | 87 | 88 | -------------------------------------------------------------------------------- /iamadmin/ppt_insert_handle.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Document 6 | 7 | 8 | 9 | 10 | 11 | alert('成功添加章节:".$new_charpter."')"; 24 | $query = mysql_query("insert into charpter (title) VALUES ('$new_charpter')"); 25 | header("location:ppt_insert.php"); 26 | }else{ 27 | $charpter_select = $_POST["charpter_select"]; 28 | 29 | $query = mysql_query("select * from charpter where title = '".$charpter_select."'"); 30 | $row = mysql_fetch_array($query); 31 | $id = $row["charpter_id"]; 32 | 33 | //echo ""; 34 | 35 | 36 | 37 | move_uploaded_file($_FILES["file"]["tmp_name"], iconv("UTF-8", "gb2312", "../ppt/".$_FILES["file"]["name"])); 38 | mysql_query("insert into video (title, info, location, clicktime, charpter_id, ppt) VALUES ('$_POST[title]', '$_POST[info]', '".$_FILES["file"]["name"]."', 0, '$id', 1)"); 39 | 40 | echo ""; 41 | //$id = "video"; 42 | header("location:ppt_show.php"); 43 | } 44 | 45 | 46 | -------------------------------------------------------------------------------- /iamadmin/ppt_show.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 后台主页面 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 26 | 27 | 28 | 29 |
30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | "; 49 | } 50 | ?> 51 |
id标题介绍阅读次数修改删除
$video_id$title$info$clicktime
52 |
53 | 54 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /iamadmin/user.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 后台主页面 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 27 | 28 | 29 | 30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | "; 54 | } 55 | ?> 56 | 57 |
id学号姓名昵称修改(由于修改用户没多大意思,没做,能删)删除
$cnt$xuehao$username$nicheng
58 |
59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /iamadmin/user_delete.php: -------------------------------------------------------------------------------- 1 | window.location.href='user.php'"; -------------------------------------------------------------------------------- /iamadmin/video_delete.php: -------------------------------------------------------------------------------- 1 | confirm('确定要删除?');"; 11 | $video_id=$_GET['video_id']; 12 | $sql="delete from video where video_id=$video_id"; 13 | mysql_query($sql); 14 | 15 | $s="delete from usercomment where video_id=$video_id"; 16 | mysql_query($s); 17 | 18 | $sq="delete from uservideo where video_id=$video_id"; 19 | mysql_query($sq); 20 | //header("location:video_show.php"); 21 | echo ""; -------------------------------------------------------------------------------- /iamadmin/video_edit.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 后台主页面 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 28 | 29 | 30 |
31 | 32 | 33 |
34 | 35 |
36 | 37 | "> 38 |
39 |
40 | 41 | 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 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /iamadmin/video_show.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 后台主页面 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 26 | 27 | 28 | 29 |
30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | "; 49 | } 50 | ?> 51 |
id标题介绍阅读次数修改删除
$video_id$title$info$clicktime
52 |
53 | 54 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /icon/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/icon/down.png -------------------------------------------------------------------------------- /icon/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/icon/right.png -------------------------------------------------------------------------------- /image/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/image/background.jpg -------------------------------------------------------------------------------- /image/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/image/logo.jpg -------------------------------------------------------------------------------- /image/pic1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/image/pic1.jpg -------------------------------------------------------------------------------- /image/pic2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/image/pic2.jpg -------------------------------------------------------------------------------- /image/pic3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/image/pic3.jpg -------------------------------------------------------------------------------- /image/poster/1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/image/poster/1.PNG -------------------------------------------------------------------------------- /image/t1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/image/t1.png -------------------------------------------------------------------------------- /image/t2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/image/t2.png -------------------------------------------------------------------------------- /image/t3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/image/t3.png -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 精品课 参见:http://v3.bootcss.com/examples/carousel/ 10 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
67 |
68 |
69 | ... 70 |
71 |

课件

72 |

课件课件课件课件课件课件课件课件课件课件课件

73 |

More ››

74 |
75 |
76 |
77 | ... 78 |
79 |

视频

80 |

视频视频视频视频视频视频视频视频视频视频视频

81 |

More ››

82 |
83 |
84 |
85 | ... 86 |
87 |

资料

88 |

资料资料资料资料资料资料资料资料资料资料资料

89 |

More ››

90 |
91 |
92 |
93 | 94 | 95 | 96 | 97 | 98 | 99 |
100 | 101 | 102 | 103 | 106 | 107 | 108 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 登录 11 | 12 | 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 | 75 |
76 | 77 | -------------------------------------------------------------------------------- /login_handle.php: -------------------------------------------------------------------------------- 1 | alert('用户名不存在,请重新输入!');window.history.go(-1);"; 21 | }else{ 22 | $oldPassword=$row['password']; 23 | $username=$row['username']; 24 | $xuehao=$row['xuehao']; 25 | $user_id=$row['user_id']; 26 | if($oldPassword==$password){ 27 | $_SESSION['nicheng']=$nicheng; 28 | $_SESSION['username']=$username; 29 | $_SESSION['xuehao']=$xuehao; 30 | $_SESSION['user_id']=$user_id; 31 | echo ""; 32 | }else{ 33 | echo ""; 34 | } 35 | } -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | window.location.href='index.php';"; -------------------------------------------------------------------------------- /ppt.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 视频 10 | 11 | 12 | 13 | 16 | 17 | 18 |
19 | 20 | 23 | 24 | 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 | 暂无评论

"; 90 | }else{ 91 | while($row=mysql_fetch_array($query)){ 92 | $user_id=$row['user_id']; 93 | $s="select * from user where user_id=$user_id"; 94 | $q=mysql_query($s); 95 | $r=mysql_fetch_array($q); 96 | $xuehao=$r['xuehao']; 97 | $nicheng=$r['nicheng']; 98 | ?> 99 |
100 |
101 |

评论

102 |
103 |
104 |

105 | 106 |
107 |
108 | 109 | 113 | 114 | 115 | 116 | 117 |
118 |
119 | 120 | 121 |
122 | 123 |
124 |
125 |
126 |
127 | 128 |
129 | 130 | 133 | 134 | 135 | 136 | 137 | 138 | 157 | 158 | 159 | 160 | -------------------------------------------------------------------------------- /ppt/hello.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/ppt/hello.swf -------------------------------------------------------------------------------- /ppt/pfDesktop.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/ppt/pfDesktop.exe -------------------------------------------------------------------------------- /ppt_comment.php: -------------------------------------------------------------------------------- 1 | alert('请先登录!');window.location.href='index.php'"; 14 | }else{ 15 | $nicheng=$_SESSION['nicheng']; 16 | $sql="select user_id from user where nicheng='{$nicheng}'"; 17 | $query=mysql_query($sql); 18 | $row=mysql_fetch_array($query); 19 | $user_id=$row['user_id']; 20 | 21 | $video_id=$_SESSION['ppt_id']; 22 | $comment=$_POST['info']; 23 | // echo "$video_id"; 24 | // echo "$user_id"; 25 | // echo "$comment"; 26 | 27 | $s="insert into usercomment (content, user_id, video_id) VALUES ('$comment', '$user_id', '$video_id')"; 28 | mysql_query($s); 29 | header("location:ppt.php?ppt_id=$video_id"); 30 | } -------------------------------------------------------------------------------- /ppt_leftnav.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 |
15 | 23 |
24 |
25 | 32 |
">
33 | 34 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
44 | 47 | 48 | 49 |
50 |
51 | 52 | -------------------------------------------------------------------------------- /register.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 115 | 116 | 注册 117 | 118 | 119 | 120 | 121 |
122 |

欢迎注册精品课程网

123 |
124 | 125 |
126 | 127 | 128 |
129 | 130 |
131 | 132 | 133 |
134 | 135 |
136 | 137 | 138 |
139 | 140 |
141 | 142 | 143 |
144 | 145 |
146 | 147 | 148 |
149 | 150 |
151 |
152 | 153 | 154 |
155 |
156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | -------------------------------------------------------------------------------- /register_handle.php: -------------------------------------------------------------------------------- 1 | alert('注册成功!');window.location.href='index.php'"; 31 | }else{ 32 | echo "error!"; 33 | } 34 | 35 | $_SESSION['username']=$username; 36 | $_SESSION['nicheng']=$nicheng; 37 | $_SESSION['xuehao']=$xuehao; 38 | $_SESSION['user_id']=$user_id; 39 | } -------------------------------------------------------------------------------- /script/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.5 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under the MIT license 5 | */ 6 | if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.5",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.5",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.5",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.5",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.5",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.5",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); -------------------------------------------------------------------------------- /script/carousel.css: -------------------------------------------------------------------------------- 1 | /* GLOBAL STYLES 2 | -------------------------------------------------- */ 3 | /* Padding below the footer and lighter body text */ 4 | 5 | body { 6 | padding-bottom: 40px; 7 | color: #5a5a5a; 8 | } 9 | 10 | 11 | /* CUSTOMIZE THE NAVBAR 12 | -------------------------------------------------- */ 13 | 14 | /* Special class on .container surrounding .navbar, used for positioning it into place. */ 15 | .navbar-wrapper { 16 | position: absolute; 17 | top: 0; 18 | right: 0; 19 | left: 0; 20 | z-index: 20; 21 | } 22 | 23 | /* Flip around the padding for proper display in narrow viewports */ 24 | .navbar-wrapper > .container { 25 | padding-right: 0; 26 | padding-left: 0; 27 | } 28 | .navbar-wrapper .navbar { 29 | padding-right: 15px; 30 | padding-left: 15px; 31 | } 32 | .navbar-wrapper .navbar .container { 33 | width: auto; 34 | } 35 | 36 | 37 | /* CUSTOMIZE THE CAROUSEL 38 | -------------------------------------------------- */ 39 | 40 | /* Carousel base class */ 41 | .carousel { 42 | height: 500px; 43 | margin-bottom: 60px; 44 | } 45 | /* Since positioning the image, we need to help out the caption */ 46 | .carousel-caption { 47 | z-index: 10; 48 | } 49 | 50 | /* Declare heights because of positioning of img element */ 51 | .carousel .item { 52 | height: 500px; 53 | background-color: #777; 54 | } 55 | .carousel-inner > .item > img { 56 | position: absolute; 57 | top: 0; 58 | left: 0; 59 | min-width: 100%; 60 | height: 500px; 61 | } 62 | 63 | 64 | /* MARKETING CONTENT 65 | -------------------------------------------------- */ 66 | 67 | /* Center align the text within the three columns below the carousel */ 68 | .marketing .col-lg-4 { 69 | margin-bottom: 20px; 70 | text-align: center; 71 | } 72 | .marketing h2 { 73 | font-weight: normal; 74 | } 75 | .marketing .col-lg-4 p { 76 | margin-right: 10px; 77 | margin-left: 10px; 78 | } 79 | 80 | 81 | /* Featurettes 82 | ------------------------- */ 83 | 84 | .featurette-divider { 85 | margin: 80px 0; /* Space out the Bootstrap
more */ 86 | } 87 | 88 | /* Thin out the marketing headings */ 89 | .featurette-heading { 90 | font-weight: 300; 91 | line-height: 1; 92 | letter-spacing: -1px; 93 | } 94 | 95 | 96 | /* RESPONSIVE CSS 97 | -------------------------------------------------- */ 98 | 99 | @media (min-width: 768px) { 100 | /* Navbar positioning foo */ 101 | .navbar-wrapper { 102 | margin-top: 20px; 103 | } 104 | .navbar-wrapper .container { 105 | padding-right: 15px; 106 | padding-left: 15px; 107 | } 108 | .navbar-wrapper .navbar { 109 | padding-right: 0; 110 | padding-left: 0; 111 | } 112 | 113 | /* The navbar becomes detached from the top, so we round the corners */ 114 | .navbar-wrapper .navbar { 115 | border-radius: 4px; 116 | } 117 | 118 | /* Bump up size of carousel content */ 119 | .carousel-caption p { 120 | margin-bottom: 20px; 121 | font-size: 21px; 122 | line-height: 1.4; 123 | } 124 | 125 | .featurette-heading { 126 | font-size: 50px; 127 | } 128 | } 129 | 130 | @media (min-width: 992px) { 131 | .featurette-heading { 132 | margin-top: 120px; 133 | } 134 | } 135 | -------------------------------------------------------------------------------- /script/mystyle.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background-color: #F3F3F3; 3 | /*background: url(image/background.jpg);*/ 4 | background-image: url("image/background.jpg"); 5 | font: 13px/1.5 "microsoft yahei",Helvetica,Tahoma,Arial,"Microsoft jhengHei",sans-serif; 6 | color: #555; 7 | } 8 | .media-bottom{ 9 | margin-bottom: 20px; 10 | } 11 | .media-bottom .media-bottom-comment{ 12 | margin: 20px auto; 13 | } 14 | .media-bottom .media-bottom-comment .comment{ 15 | width: 100%; 16 | } 17 | .my_navbar{ 18 | color: #FFF; 19 | background-color: #2E77BD; 20 | border-bottom: 2px solid #1F5588; 21 | } 22 | .my_navbar .my_navbar-brand{ 23 | color: #FFFFFF; 24 | font-size: large; 25 | } 26 | .my_navbar .my_navbar-nav > ul>li > a{ 27 | color: #FFFFFF; 28 | font-size: large; 29 | } 30 | 31 | .my_navbar a{ 32 | font-size: large; 33 | } 34 | .my_navbar a:hover{ 35 | background-color: #1F5588; 36 | } 37 | 38 | .carousel{ 39 | height: 500px; 40 | margin-bottom: 50px; 41 | } 42 | 43 | 44 | 45 | .carousel .item{ 46 | height: 500px; 47 | } 48 | 49 | .carousel-inner > .item > img{ 50 | min-width: 100%; 51 | height: 500px; 52 | } 53 | 54 | 55 | .threePic{ 56 | margin-bottom: 50px; 57 | } 58 | .threePic .col-lg-4 { 59 | text-align: center; 60 | margin-bottom: 30px; 61 | } 62 | 63 | /*footer*/ 64 | .featurette img{ 65 | height: 300px; 66 | } 67 | .featurette-divider { 68 | margin: 80px 0; /* Space out the Bootstrap
more */ 69 | } 70 | 71 | /* Thin out the marketing headings */ 72 | .featurette-heading { 73 | font-weight: 300; 74 | line-height: 1; 75 | letter-spacing: -1px; 76 | } 77 | 78 | 79 | .footer{ 80 | /*height: 50px;*/ 81 | background-color: #2E77BD; 82 | color: #FFFFFF; 83 | font-size: 16px; 84 | } 85 | .footer a{ 86 | color: aqua; 87 | font-size: 16px; 88 | } 89 | .footer p{ 90 | padding: 12px 0px 0px 0px; 91 | } 92 | .myfooter{ 93 | /*position: absolute;*/ 94 | /*bottom: 0px;*/ 95 | /*width: 100%;*/ 96 | } 97 | /*.myfooter .myfooter-bottombar{*/ 98 | /*position: absolute;*/ 99 | /*}*/ 100 | 101 | 102 | /*以下是login.html和register.html的css*/ 103 | .form-group{ 104 | width: 300px; 105 | float: left; 106 | } 107 | .form-group .form-control{ 108 | width: 300px; 109 | } 110 | .container-register{ 111 | padding-left: 150px; 112 | width: 700px; 113 | margin-top: 30px; 114 | } 115 | .container-register .reset{ 116 | float:left; 117 | width: 100px; 118 | margin-top: 30px; 119 | } 120 | .container-register .login{ 121 | float: left; 122 | margin-left: 100px; 123 | width: 100px; 124 | margin-top: 30px; 125 | } 126 | .container-register h3{ 127 | color: #286090; 128 | padding-left: 30px; 129 | margin-bottom: 30px; 130 | } 131 | .container-register .stuinfo{ 132 | float: left; 133 | padding-top: 30px; 134 | padding-left: 10px; 135 | color: red; 136 | } 137 | 138 | /*login*/ 139 | 140 | .container-login h3{ 141 | padding-left: 30px; 142 | margin: 60px auto; 143 | } 144 | .container-login .reset,.login{ 145 | margin-top: 30px; 146 | } 147 | 148 | 149 | /*leftnav css*/ 150 | .leftnav-container{ 151 | width: 100%; 152 | background-color: #2E77BD; 153 | color: #FFFFFF; 154 | } 155 | .leftnav-container dt{ 156 | font-size: 1.2em; 157 | padding-bottom: 10px; 158 | position: relative; 159 | } 160 | .leftnav-container dt img{ 161 | margin-right: 20px; 162 | position: absolute; 163 | right: 0px; 164 | top: 10px; 165 | } 166 | .leftnav-container dd{ 167 | padding-left: 40px; 168 | } 169 | .leftnav-container dl{ 170 | margin-bottom: 0px; 171 | /*padding-bottom: 10px;*/ 172 | } 173 | .leftnav-container a:link,a:hover,a:active,a:visited{ 174 | color: #FFFFFF; 175 | text-decoration: none; 176 | /*background-color: #1b6d85;*/ 177 | /*-webkit-transition: all 0.7s;*/ 178 | /*-moz-transition: all 0.7s;*/ 179 | /*-ms-transition: all 0.7s;*/ 180 | /*-o-transition: all 0.7s;*/ 181 | /*transition: all 0.7s;*/ 182 | } 183 | .leftnav .leftnav-back{ 184 | width: 100%; 185 | height: 100%; 186 | min-height: 800px; 187 | position: relative; 188 | background-color: darkslategray; 189 | } 190 | -------------------------------------------------------------------------------- /script/video.css: -------------------------------------------------------------------------------- 1 | html,body{ 2 | font-size: 16px; 3 | } 4 | 5 | h1, 6 | h2{ 7 | color: #2E77BD; 8 | } 9 | 10 | .mycontainer{ 11 | margin-top: 100px; 12 | } 13 | .content-left{ 14 | /*margin: 40px 0px;*/ 15 | } 16 | 17 | /*左侧导航栏*/ 18 | .leftnav{ 19 | margin-top: 25px; 20 | } 21 | 22 | /*.video-info{*/ 23 | /*margin-top: 90px;*/ 24 | /*}*/ 25 | .video-info h1{ 26 | text-align: center; 27 | } 28 | .video-describe a{ 29 | color: #555555; 30 | text-decoration: dashed; 31 | } 32 | .video_meta{ 33 | padding: 30px; 34 | font-size: 1.2em; 35 | } 36 | .bdsharebuttonbox{ 37 | float: right; 38 | } 39 | .video-meta-left{ 40 | float: left; 41 | width: 70%; 42 | } 43 | .video-info-right{ 44 | float: right; 45 | width: 30%; 46 | } 47 | .video-info h1{ 48 | margin-bottom: 40px; 49 | } 50 | .video{ 51 | margin: 10px auto; 52 | width: 100%; 53 | height: 500px; 54 | } 55 | .video-main{ 56 | width: 100%; 57 | height: 500px; 58 | } 59 | .media img{ 60 | width: 64px; 61 | height: 64px; 62 | border-radius: 64px; 63 | } 64 | 65 | .content-right h2{ 66 | margin-bottom: 30px; 67 | } 68 | .content-right{ 69 | position: fixed; 70 | margin: 180px 0px; 71 | margin-left: 40px; 72 | } 73 | .content-right a{ 74 | color: #FFFFFF; 75 | padding: 10px; 76 | border-bottom: 2px solid #FFFFFF; 77 | /*margin: 5px auto;*/ 78 | text-decoration: none; 79 | display: block; 80 | transition: all 0.5s ease-in-out; 81 | } 82 | .content-right a:link, a:visited{ 83 | background-color: #2E77BD; 84 | } 85 | .content-right a:hover, a:active{ 86 | background-color: #1F5588; 87 | } 88 | 89 | /*footer*/ 90 | .footer{ 91 | /*height: 50px;*/ 92 | background-color: #2E77BD; 93 | color: #FFFFFF; 94 | font-size: 16px; 95 | } 96 | .footer a{ 97 | color: aqua; 98 | font-size: 16px; 99 | } 100 | .footer p{ 101 | padding: 12px 0px 0px 0px; 102 | } 103 | 104 | /*comment*/ 105 | .comment{ 106 | margin: 20px auto; 107 | } 108 | .comment .pleft{ 109 | margin-right: 20px; 110 | color: #2E77BD; 111 | } 112 | .comment .media-left{ 113 | display: block; 114 | } -------------------------------------------------------------------------------- /sql/Connect.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sql/newSql.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /video.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 视频 10 | 11 | 12 | 13 | 16 | 17 | 18 |
19 | 20 | 23 | 24 | 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 | 暂无评论

"; 90 | }else{ 91 | while($row=mysql_fetch_array($query)){ 92 | $user_id=$row['user_id']; 93 | $s="select * from user where user_id=$user_id"; 94 | $q=mysql_query($s); 95 | $r=mysql_fetch_array($q); 96 | $xuehao=$r['xuehao']; 97 | $nicheng=$r['nicheng']; 98 | ?> 99 |
100 |
101 |

评论

102 |
103 |
104 |

105 | 106 |
107 |
108 | 109 | 113 | 114 | 115 | 116 | 117 |
118 |
119 | 120 | 121 |
122 | 123 |
124 |
125 |
126 |
127 | 128 |
129 | 130 | 133 | 134 | 135 | 136 | 137 | 138 | 157 | 158 | 159 | 160 | -------------------------------------------------------------------------------- /video/1.HTML5开发前准备.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/1.HTML5开发前准备.mp4 -------------------------------------------------------------------------------- /video/1.什么是HTML5.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/1.什么是HTML5.mp4 -------------------------------------------------------------------------------- /video/2.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/2.mp4 -------------------------------------------------------------------------------- /video/2.开发前的准备-快捷键.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/2.开发前的准备-快捷键.mp4 -------------------------------------------------------------------------------- /video/hello.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/hello.swf -------------------------------------------------------------------------------- /video/t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/t.jpg -------------------------------------------------------------------------------- /video/xueshengzhiyou.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/xueshengzhiyou.PNG -------------------------------------------------------------------------------- /video/备案.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/备案.jpg -------------------------------------------------------------------------------- /video/捕获.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/捕获.PNG -------------------------------------------------------------------------------- /video/烫PNG.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/烫PNG.PNG -------------------------------------------------------------------------------- /video/请假.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmxklYzj/jingpinke/074e6d787ab04d06928c2d4867d4561846b8561e/video/请假.jpg -------------------------------------------------------------------------------- /video_comment.php: -------------------------------------------------------------------------------- 1 | alert('请先登录!');window.location.href='index.php'"; 14 | }else{ 15 | $nicheng=$_SESSION['nicheng']; 16 | $sql="select user_id from user where nicheng='{$nicheng}'"; 17 | $query=mysql_query($sql); 18 | $row=mysql_fetch_array($query); 19 | $user_id=$row['user_id']; 20 | 21 | $video_id=$_SESSION['video_id']; 22 | $comment=$_POST['info']; 23 | // echo "$video_id"; 24 | // echo "$user_id"; 25 | // echo "$comment"; 26 | 27 | $s="insert into usercomment (content, user_id, video_id) VALUES ('$comment', '$user_id', '$video_id')"; 28 | mysql_query($s); 29 | header("location:video.php?video_id=$video_id"); 30 | } -------------------------------------------------------------------------------- /video_leftnav.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |
8 | 16 |
17 |
18 | 25 |
">
26 | 27 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |
37 | 40 | 41 | 42 |
43 |
44 | 45 | --------------------------------------------------------------------------------