GetOne("SELECT arc.title,arc.senddate,arc.arcrank,arc.ismake,arc.money,arc.typeid,tp.topid,tp.typedir,tp.namerule, tp.moresite,tp.siteurl,tp.sitepath FROM `#@__archives` arc LEFT JOIN `#@__arctype` tp ON tp.id=arc.typeid WHERE arc.id='$aid'"); if(is_array($arcRow)) { $arctitle = $arcRow['title']; $topid = $arcRow['topid']; $arcurl = @GetFileUrl($aid,$arcRow['typeid'],$arcRow['senddate'],$arctitle,$arcRow['ismake'],$arcRow['arcrank'], $arcRow['namerule'],$arcRow['typedir'],$arcRow['money'],$arcRow['filename'],$arcRow['moresite'],$arcRow['siteurl'],$arcRow['sitepath']); } else { ShowMsg('無法瀏覽未知文檔!','-1'); exit(); } if(empty($mx)) $mx = $cfg_album_width; $pageGuide = ""; //獲取上下幅圖片鏈接 $row = $dsql->GetOne("SELECT imgurls FROM `#@__addonimages` WHERE aid='{$aid}'"); $i = 0; $nextSrc = ''; $preSrc = ''; $dtp = new DedeTagParse(); $dtp->LoadSource($row['imgurls']); foreach($dtp->CTags as $ctag) { if($ctag->GetName()=="img") { if($i==($npos-1)) $preSrc = trim($ctag->GetInnerText()); if($i==($npos+1)) $nextSrc = trim($ctag->GetInnerText()); $i++; } } unset($dtp); if($cfg_multi_site == 'Y'){ if(!preg_match("/^http:/i",$preSrc) && !empty( $preSrc)) $preSrc = $cfg_basehost.$preSrc; if(!preg_match("/^http:/i",$nextSrc) && !empty($nextSrc)) $nextSrc = $cfg_basehost.$nextSrc; } if($preSrc!='') { $pageGuide .= "<<上一幅圖片 "; } else { $pageGuide .= "這是開始"; } $nextlink = 'javascript:;'; if($nextSrc!='') { $nextlink = "showphoto.php?aid={$aid}&src=".urlencode($nextSrc)."&npos=".($npos+1); if($pageGuide!="") $pageGuide .= " | "; $pageGuide .= "下一幅圖片>>"; } else { $pageGuide .= " | 沒有了"; } require_once(DEDETEMPLATE.'/plus/showphoto.htm'); exit();欧美黄色视频特黄,炮机全自动伸缩真人,韩国电影三级中文版d,国产亚洲欧洲国产综合一区,黄片AV三级片免费在线观看