⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 system.mv.php

📁 网站源码 网络编程 视频系统 转载自网络 无需解压密码
💻 PHP
字号:
<?php


@extract($db->get_one(" SELECT name AS fname FROM {$pre}mv_sort WHERE fid='$fid' "));
@extract($db->get_one(" SELECT $TB[uid] AS uid FROM $TB[table] WHERE $TB[username]='$username' "));
$copyfrom="采集所得";
$yz=1;

list($title,$pic_url)=explode("@@",$title);

$pic_url && $picurl=$pic_url;

if($GetFile&&$pic_url){
	$dir_id=$file_dir?$file_dir:$fid;
	$picurl="$dir_id/".rands(6).basename($pic_url);
	copy($pic_url,PHP168_PATH."$webdb[updir]/$picurl");
	if(!is_file(PHP168_PATH."$webdb[updir]/$picurl")){
		$picurl=$pic_url;
	}
}
echo "$picurl=$videourl";



$title=@preg_replace('/<([^>]*)>/is',"",$title);	//把HTML代码过滤掉

$title=filtrate($title);

$videourl=filtrate($videourl);

$content=filtrate($content);

/*判断是否有重复*/
$rs=$db->get_one("SELECT id FROM {$pre}mv_video WHERE videourl='$videourl'");

$title=get_word($title,90);

if($picurl){
	$ispic=1;
}
if(!$rs&&$videourl){
	$db->query("INSERT INTO `{$pre}mv_video` (`title` , `albumid` , `albumname` , `fid` , `fname` , `posttime` , `list` , `uid` , `username` , `titlecolor` , `fonttype` , `picurl` , `ispic` , `yz` , `keywords`, `ishtml` , `ip` , `content` , `videourl` ,`playtype`) VALUES ('$title','$albumid','$albumname','$fid','$fname','$timestamp','$timestamp','$uid','$username','$titlecolor','$fonttype','$picurl','$ispic','$yz','$keywords','1','$onlineip','$content','$videourl','$playtype')");
}
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -