亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tag.php

?? 網站代碼
?? PHP
字號:
<?php
/*
*####################################################
* PHPCMS v3.0.0 - Advanced Content Manage System.
* Copyright (c) 2005-2006 phpcms.cn
*
* For further information go to http://www.phpcms.cn/
* This copyright notice MUST stay intact for use.
*####################################################
*/

//圖片標題列表
function picturelist($templateid,$channelid,$catid=0,$child=1,$specialid=0,$page=0,$picturenum=10,$titlelen=30,$descriptionlen=0,$iselite=0,$datenum=0,$ordertype=1,$datetype=0,$showcatname=0,$showauthor=0,$showhits=0,$target=0,$cols=1) {
	global $db,$p,$timestamp,$_CAT,$_CHA,$js_path;
	if($channelid != $_CHA['channelid'])
	{
		@include PHPCMS_CACHEDIR."channel_".$channelid.".php";
		@include PHPCMS_CACHEDIR."category_".$channelid.".php";
		$_CHA = $_MYCHANNEL[$channelid];
		$_CAT = $_CATEGORY[$channelid];
		$p->urlpath($_CHA,$_CAT);
	}
	$ordertypes = array('1'=>' pictureid DESC ','2'=>' pictureid ','3'=>' edittime DESC ','4'=>' edittime ','5'=>' hits DESC ','6'=>' hits ');
	$datetypes = array('1'=>'Y-m-d','2'=>'m-d','3'=>'Y/m/d','4'=>'Y.m.d');
	$condition = '';
	$pictures = array();
	$target = $target ? "_blank" : "_self";
	$offset = $page ? ($page-1)*$picturenum : 0;
	$limit = $picturenum ? ' LIMIT '.$offset.','.$picturenum : '';
	$width = ceil(100/$cols).'%';
	$catids = $catid ;
	if($child && $catid && is_numeric($catid)) 
	{
		$catids = $_CAT[$catid][arrchildid];
	}
	$condition .= $catids ? " and catid IN ($catids) " : "";
	$condition .= $specialid ? " and specialid IN ($specialid) " : "";
	$condition .= $iselite ? " and elite=1 " : "";
	$condition .= $datenum ? " and addtime>$timestamp-86400*$datenum " : "";
	$ordertype = $ordertype ? $ordertypes[$ordertype] : $ordertypes[1];
	if($page && $picturenum && is_numeric($catid))
	{
		$r=$db->get_one("SELECT count(*) AS number FROM ".TABLE_PICTURE." WHERE channelid=$channelid and status=3 and recycle=0 $condition ");
		$pages = listpages($r[number], $page, $picturenum, $catid);
	}

	$content = $descriptionlen ? ",content" : "";
	$result=$db->query("SELECT pictureid,catid,title,includepic,titlefontcolor,titlefonttype,thumb,author,hits,username,addtime,edittime,ontop,elite $content FROM ".TABLE_PICTURE." WHERE channelid=$channelid and status=3 and recycle=0 $condition ORDER BY ontop DESC, $ordertype $limit ","CACHE");
	while($r=$db->fetch_array($result))
	{
		$picture = $r;
		$picture[adddate] = $datetype ? date($datetypes[$datetype],$r[addtime]) : '';
		$picture[url] = $picture[linkurl] ? $picture[linkurl] : $js_path.$p->get_itemurl($r[pictureid],$r[addtime]);
		$picture[alt] = $r[title];
		$r[title] = $titlelen ? wordscut($r[title],$titlelen,0) : '';
		$picture[title] = titleformat($r[title],$r[titlefontcolor],$r[titlefonttype],'');
		$picture[content] = $descriptionlen ? wordscut(strip_tags($r[content]),$descriptionlen,1) : '';
		$picture[author] = $showauthor ? $r[author] : '';
		$picture[hits] = $showhits ? $r[hits] : '';
		$picture[target] = $target;
		$p->set_catid($r[catid]);
		$picture[catname] = $showcatname ? "[<a href=\"".$js_path.$p->get_listurl(0)."\" target=\"_blank\" class=\"tag_cat_link\">".$_CAT[$r[catid]][catname]."</a>]" : "";
		$picturetype = $r[elite] ? 'elite' : ($r[ontop] ? 'ontop' : 'common');
		$picture[img] = "<img src=\"".$js_path.PHPCMS_PATH."images/picture_".$picturetype.".gif\" border=\"0\" />";
		$pictures[]=$picture;
	}
	unset($r);
	$db->free_result($result);
	$templateid = $templateid ? $templateid : "tag_picturelist";
	include template('picture',$templateid);
}

//圖片縮略圖列表
function picpicture($templateid,$channelid,$catid=0,$child=1,$specialid=0,$page=0,$picturenum=10,$titlelen=30,$descriptionlen=100,$iselite=0,$datenum=0,$ordertype=1,$showtype=1,$showalt=1,$imgwidth=100,$imgheight=100,$cols=1) {
	global $db,$p,$timestamp,$_CAT,$_CHA,$js_path;
	if($channelid != $_CHA['channelid'])
	{
		@include PHPCMS_CACHEDIR."channel_".$channelid.".php";
		@include PHPCMS_CACHEDIR."category_".$channelid.".php";
		$_CHA = $_MYCHANNEL[$channelid];
		$_CAT = $_CATEGORY[$channelid];
		$p->urlpath($_CHA,$_CAT);
	}
	$ordertypes = array('1'=>' pictureid DESC ','2'=>' pictureid ','3'=>' edittime DESC ','4'=>' edittime ','5'=>' hits DESC ','6'=>' hits ');
	$datetypes = array('1'=>'Y-m-d','2'=>'m-d','3'=>'Y/m/d','4'=>'Y.m.d');
	$condition = '';
	$pictures = array();
	$offset = $page ? ($page-1)*$picturenum : 0;
	$limit = $picturenum ? ' LIMIT '.$offset.','.$picturenum : '';
	$catids = $catid ;
	if($child && $catid && is_numeric($catid)) 
	{
		$catids = $_CAT[$catid][arrchildid];
	}
	$condition .= $catids ? " and catid IN ($catids) " : "";
	$condition .= $specialid ? " and specialid IN ($specialid) " : "";
	$condition .= $iselite ? " and elite=1 " : "";
	$condition .= $datenum ? " and addtime>$timestamp-86400*$datenum " : "";
	$condition .= " ORDER BY ".$ordertypes[$ordertype];
	if($page && $picturenum && is_numeric($catid))
	{
		$r = $db->get_one("SELECT count(*) AS number FROM ".TABLE_PICTURE." WHERE channelid=$channelid and status=3 and recycle=0 and thumb!='' $condition ");
		$pages = listpages($r[number],$page, $picturenum,$catid);
	}
	$content = $descriptionlen ? ",content" : "";
	$result=$db->query("SELECT pictureid,catid,title,includepic,titlefontcolor,titlefonttype,author,hits,thumb,username,addtime,edittime,ontop,elite $content FROM ".TABLE_PICTURE." WHERE channelid=$channelid and status=3 and recycle=0 and thumb!='' $condition $limit ","CACHE");
	while($r=$db->fetch_array($result))
	{
		$picture = $r;
		$picture[url] = $picture[linkurl] ? $picture[linkurl] : $js_path.$p->get_itemurl($r[pictureid],$r[addtime]);
		$length = $titlelen ? $titlelen-6 : $titlelen;
		$r[title] = $titlelen ? wordscut(strip_tags($r[title]),$titlelen,0) : '';
		$picture[alt] = "標 題:".$r[title]."&#10作 者:".$r[author]."&#10日 期:".date('Y-m-d H:i:s',$r[addtime])."&#10點 擊:".$r[hits];
		$picture[title] = titleformat($r[title],$r[titlefontcolor],$r[titlefonttype],'');
		$picture[content] = $descriptionlen ? wordscut(strip_tags($r[content]),$descriptionlen,1) : '';
		$p->set_catid($r[catid]);
		$picture[catname] = $showcatname ? "[<a href=\"".$js_path.$p->get_listurl(0)."\" target=\"_blank\" class=\"tag_cat_link\">".$_CAT[$r[catid]][catname]."</a>]" : "";
		$picturetype = $r[elite] ? 'elite' : ($r[ontop] ? 'ontop' : 'common');
		$picture[img] = "<img src=\"".$js_path.PHPCMS_PATH."images/picture_".$picturetype.".gif\" border=\"0\" />";
		$picture[thumb] = get_imgurl($r['thumb']);
		$pictures[]=$picture;
	}
	unset($r);
	$db->free_result($result);
	$templateid = $templateid ? $templateid : "tag_picpicture";
	include template('picture',$templateid);
}

//圖片列表幻燈片
function slidepicpicture($templateid,$channelid,$catid=0,$child=1,$specialid=0,$picturenum=10,$titlelen=30,$iselite=0,$datenum=0,$ordertype=1,$imgwidth=100,$imgheight=100,$timeout=5000,$effectid=-1) {
	global $db,$p,$timestamp,$_CAT,$_CHA,$js_path;
	if($channelid != $_CHA['channelid'])
	{
		@include PHPCMS_CACHEDIR."channel_".$channelid.".php";
		@include PHPCMS_CACHEDIR."category_".$channelid.".php";
		$_CHA = $_MYCHANNEL[$channelid];
		$_CAT = $_CATEGORY[$channelid];
		$p->urlpath($_CHA,$_CAT);
	}
	$ordertypes = array('1'=>' pictureid DESC ','2'=>' pictureid ','3'=>' edittime DESC ','4'=>' edittime ','5'=>' hits DESC ','6'=>' hits ');
	$condition = '';
	$pictures = array();
	$limit = $picturenum ? ' LIMIT 0,'.$picturenum : '';
	if($child && $catid && is_numeric($catid)) 
	{
		$catid = $_CAT[$catid]['arrchildid'];
	}
	
	$k=0;
	$flash_pics="imgUrl0";
	$flash_links="imgLink0";
	$flash_texts="imgtext0";

	$condition .= $catid ? " and catid IN ($catid) " : "";
	$condition .= $specialid ? " and specialid IN ($specialid) " : "";
	$condition .= $iselite ? " and elite=1 " : "";
	$condition .= $datenum ? " and addtime>$timestamp-86400*$datenum " : "";
	$condition .= " ORDER BY ".$ordertypes[$ordertype];
	$result=$db->query("SELECT pictureid,catid,title,includepic,titlefontcolor,titlefonttype,author,hits,thumb,username,addtime,edittime,ontop,elite FROM ".TABLE_PICTURE." WHERE channelid=$channelid AND status=3 AND recycle=0 AND thumb!='' $condition $limit ","CACHE");
	while($r=$db->fetch_array($result))
	{
		$picture = $r;
		$picture[url] = $picture[linkurl] ? $picture[linkurl] : $js_path.$p->get_itemurl($r[pictureid],$r[addtime]);
		$picture[title] = $titlelen ? wordscut($r[title],$titlelen) : $r[title];
		$picture[title] = addslashes($picture[title]);
		$picture[thumb] = get_imgurl($r[thumb]);
		$picture[flashpic] = preg_match("/\.(jpg|jpeg)$/i",$r[thumb]) ? $picture[thumb] : PHPCMS_PATH.'images/focus.jpg';
		if($k)
		{
			$flash_pics.="+\"|\"+imgUrl".$k;
			$flash_links.="+\"|\"+imgLink".$k;
			$flash_texts.="+\"|\"+imgtext".$k;
		}
		$k++;
		$pictures[]=$picture;
	}
	if(!count($pictures))
	{
		$pictures[0][thumb] = $js_path.PHPCMS_PATH.'images/nopic.gif';
		$pictures[0][url]= '#';
		$pictures[0][title] = '';
	}
	unset($r);
	$db->free_result($result);
	$templateid = $templateid ? $templateid : "tag_slidepicpicture";
	include template('picture',$templateid);
}
?>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91 com成人网| 亚洲国产另类精品专区| 亚洲精品日日夜夜| 毛片一区二区三区| 97久久精品人人做人人爽| 91精品免费观看| 最好看的中文字幕久久| 精品制服美女久久| 欧美日韩激情一区二区三区| 久久久久久麻豆| 日本在线播放一区二区三区| 色欧美片视频在线观看| 久久久久国产一区二区三区四区| 日韩综合小视频| 一本久道中文字幕精品亚洲嫩| 精品国产成人在线影院| 午夜a成v人精品| 在线观看国产一区二区| 国产精品视频看| 国产剧情av麻豆香蕉精品| 91精品午夜视频| 日韩精品一二三四| 欧美性色黄大片| 一区二区三区免费网站| www.综合网.com| 欧美国产成人在线| 高清成人在线观看| 久久精品亚洲国产奇米99| 国模大尺度一区二区三区| 欧美妇女性影城| 午夜精品久久久久久久蜜桃app | 国产精品毛片a∨一区二区三区| 免费成人美女在线观看.| 欧美顶级少妇做爰| 亚洲大尺度视频在线观看| 91久久久免费一区二区| 亚洲另类中文字| 日本精品一区二区三区高清| 亚洲精品成人天堂一二三| 色综合久久中文字幕综合网| 亚洲日本va在线观看| 一本高清dvd不卡在线观看| 亚洲精品免费看| 欧美性大战久久久久久久| 亚洲午夜电影在线| 欧美精品777| 男女男精品视频网| 国产亚洲精品精华液| 成人一区在线看| 一级特黄大欧美久久久| 欧美日韩精品系列| 狠狠色狠狠色综合日日91app| 日韩精品一区二区三区中文精品| 国产在线精品免费| 国产精品女主播在线观看| 色婷婷综合在线| 日韩电影免费在线观看网站| 欧美精品第1页| 久久99精品一区二区三区三区| 国产亚洲一区字幕| 91免费国产在线观看| 亚洲一区二区三区四区在线| 日韩一卡二卡三卡| 高清国产一区二区| 亚洲午夜三级在线| 久久久欧美精品sm网站| 99re这里只有精品首页| 日日夜夜一区二区| 国产精品麻豆久久久| 欧美另类久久久品| 国产成人精品午夜视频免费| 亚洲免费视频中文字幕| 欧美videos中文字幕| 91小宝寻花一区二区三区| 日本中文字幕一区二区视频| 国产精品天美传媒| 91精品婷婷国产综合久久竹菊| 国产超碰在线一区| 亚洲成av人片在线| 国产精品女上位| 欧美成人性战久久| 在线视频国产一区| 国产不卡视频一区| 日本亚洲三级在线| 亚洲人成7777| 久久综合狠狠综合久久综合88| 色综合久久久久久久久久久| 国产一区二区伦理| 日韩电影在线一区二区三区| 综合在线观看色| 国产亚洲一区字幕| 日韩美女在线视频| 欧美精品第一页| 日本精品视频一区二区| 成人av资源下载| 国产精品一二三在| 久久超碰97中文字幕| 日韩电影一区二区三区| 亚洲一二三区不卡| 有坂深雪av一区二区精品| 国产精品久久久久影院亚瑟 | 欧美性猛交xxxx乱大交退制版 | 欧美日韩精品专区| 在线观看av一区| 91麻豆自制传媒国产之光| 国产成人久久精品77777最新版本| 蜜臀久久久久久久| 亚洲va韩国va欧美va精品| 一区二区在线观看免费| 中文字幕中文字幕在线一区 | 一区二区三区精密机械公司| 国产精品美女一区二区在线观看| 久久综合狠狠综合| 国产网站一区二区| 欧美高清一级片在线观看| 国产亚洲欧美在线| 国产亚洲1区2区3区| 国产欧美一区二区精品忘忧草| 久久午夜电影网| 久久久久高清精品| 国产精品情趣视频| 亚洲理论在线观看| 亚洲一区中文在线| 香蕉成人伊视频在线观看| 日韩高清在线电影| 久久99久久99小草精品免视看| 精品在线一区二区三区| 国产福利电影一区二区三区| 国产福利视频一区二区三区| 成人午夜在线免费| 色婷婷国产精品| 6080午夜不卡| 久久精品欧美一区二区三区麻豆| 中文字幕一区二区三区在线不卡 | 国产欧美综合在线观看第十页| 国产精品美女一区二区| 亚洲美女淫视频| 日韩电影免费一区| 国产黄色91视频| 欧美在线免费观看亚洲| 91精品国产黑色紧身裤美女| 久久久久综合网| 亚洲精品日产精品乱码不卡| 爽好久久久欧美精品| 国产综合色在线视频区| 色哟哟国产精品| 欧美一区二区私人影院日本| 久久久久久久电影| 亚洲免费av在线| 免费成人在线影院| 精品一区二区三区在线播放| 盗摄精品av一区二区三区| 91免费观看在线| 91精品中文字幕一区二区三区| 成人av在线网| 欧美人xxxx| 久久综合资源网| 国产精品久久久久精k8| 亚洲欧洲制服丝袜| 激情综合色播激情啊| 91丨九色porny丨蝌蚪| 欧美老肥妇做.爰bbww| 日韩三级.com| 一区二区不卡在线视频 午夜欧美不卡在| 三级欧美韩日大片在线看| 国产精一区二区三区| 99九九99九九九视频精品| 日韩午夜激情av| 自拍偷拍国产精品| 蜜桃视频一区二区三区在线观看| 国产精品18久久久久久久久久久久| 91在线视频18| 欧美刺激午夜性久久久久久久| 亚洲综合色丁香婷婷六月图片| 成熟亚洲日本毛茸茸凸凹| 91精品国产91久久久久久一区二区 | 国产精品久久久久婷婷二区次| 亚洲图片欧美视频| 丰满岳乱妇一区二区三区| 欧美大片日本大片免费观看| 国产精品久久久久久久蜜臀 | 国产精品污网站| 蜜芽一区二区三区| 欧美日韩高清影院| 国产精品久久久久久久裸模| 奇米影视在线99精品| 日韩精品每日更新| 欧美日韩日日骚| 国产精品欧美精品| 蜜臀av性久久久久蜜臀av麻豆| 欧美日韩综合一区| 亚洲欧洲www| 成人激情av网| 国产亚洲精品bt天堂精选| 亚洲在线观看免费| 在线观看网站黄不卡| 中文字幕一区av| 懂色av一区二区夜夜嗨| 精品国产青草久久久久福利| 婷婷国产在线综合|