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();国产精品国产精品一区精品国产自在现偷99精品国产在热2019国产拍偷精品网国产精品视频全国免费观看,国产精品v欧美精品v日韩精品青青精品视频国产久久国产精品久久精品国产亚洲精品国产精品国产欧美精品一区二区三区,国产精品第一页国产亚洲精品国产福利国产精品自拍国产精品视频在线观看亚洲国产精品一区二区久久国产精品国产三级国产专不,国产精品视频大陆精大陆国产国语精品2019精品国产品对白在线65年香蕉精品国产高清自在自线隔壁老王国产在线精品在线观看精品国产福利片,国产三级精品三级在专区精品国产自在现偷国产精品一区二区三区国产日韩精品欧美一区喷水亚洲精品国产精品国自产国产在线精品一区二区不卡,gogo西西人体大尺寸大胆高清