马上注册,免费下载更多dz插件网资源。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
- <div class="all-work-list"> <!--{if $photo['threadlist']}--> <div class="work-list-box"> <!--{loop $photo['threadlist'] $thread}--> <!--{eval $table='forum_attachment_'.substr($thread['tid'], -1);}--> <!--{eval $pic = DB::fetch_first("SELECT aid,tid FROM ".DB::table($table)." WHERE tid = '$thread[tid]' AND isimage != '0' "); }--> <!--{eval $photo = DB::fetch_all("SELECT aid FROM %t WHERE tid= %d AND isimage != '0' ", array("$table","$thread[tid]"), 'aid'); $pic_num = count($photo);}--> <div class="card-box"> <div class="card-img" style="position: relative;"> <a href="forum.php?mod=viewthread&tid=$thread[tid]" class="card-img-hover" title="$thread[subject]" target="_blank"> <img style="width:210px; height:310px;" src="{eval echo(getforumimg($thread[aid],0,400,600))}" title="$thread[subject]"> </a> <div class="readperm-price" style="position:absolute; right:50px; top:10px; z-index:2; font-size:12px;"> <!--{if $thread['readperm']}--><em class="readperm" title="阅读权限 $thread[readperm]" style="background-color:rgba(225,192,116,0.5); border-radius:5px; color:#000; padding:2px 5px;"><!--权限 <em style="color:#F00;">$thread[readperm]</em>--><img style="display: inline-block; vertical-align: middle;" src="{IMGDIR}/folder_lock.gif" /></em><!--{/if}--><!--阅读权限={lang readperm}--> <!--{if $thread['price'] > 0}--><em class="price" title="售价" style="background-color:rgba(236,0,74,1); border-radius:5px; color:#FFF; padding:2px 5px; margin-left:2px;"><em style="color:#FFF;">$thread[price] {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}</em></em><!--{/if}--><!--售价={lang price}--> </div> <div class="bkfenlei" style="position:absolute; left:5px; top:10px"> <a style="background:rgba(0,0,0,0.5); border-radius:10px; color:#FFF; padding:2px 5px;" href="forum.php?mod=forumdisplay&fid=$thread[fid]" target="_blank" class="xi1">{$_G['cache']['forums'][$thread[fid]][name]}</a> </div> {if $pic_num > 1} <div class="background:rgba(0,0,0,0.5); color:#fff; display: inline-block; border-radius:20px; font-size: 12px; padding:2px 5px;" style="position:absolute; right:10px; top:10px; font-size:12px;"><!--图片数量--> <em class="" title="图片数量" style="background:rgba(0,0,0,0.5); border-radius:10px; color:#FFF; padding:2px 5px;">{$pic_num}P</em> </div> {/if} <div class="tags" style="position:absolute; left:10px; bottom:5px; z-index:1; font-size:12px;"> <!--{eval}--> $post = DB::fetch_first("SELECT tags FROM ".DB::table(forum_post)." WHERE first=1 AND tid='$thread[tid]' "); $tagarray_all = $posttag_array = array(); $tagarray_all = explode("\t", $post['tags']); if($tagarray_all) { foreach($tagarray_all as $var) { if($var) { $tag = explode(',', $var); $posttag_array[] = $tag; $tagnames[] = $tag[1]; } } } $post['tags'] = $posttag_array; <!--{/eval}--> <!--{loop $post[tags] $var}--> <!--{eval $color1 = rand(1,255); $color2 = rand(1,255); $color3 = rand(1,255); $color4 = rand(1,255);}--> <li style="float:left; list-style:none;"> <a href="misc.php?mod=tag&id={$var[0]}&type=thread" class="" style="display:block; padding:2px 5px; margin:0px 5px 5px 0px; color:#FFF; border-radius:10px; background-color:rgba($color1,$color2,$color3,$color4); border:1px solid rgba($color1,$color2,$color3,$color4); text-shadow: 0 0 3px #000,0 0 3px #fd83f2;" target="_blank">{$var[1]}</a> </li> <!--{/loop}--> </div> </div> <div class="card-info" style="height:50px;"> <p class="card-info-title"> <a href="forum.php?mod=viewthread&tid=$thread[tid]" title="$thread[subject]" class="title-content" target="_blank">$thread[subject]</a> </p> <p class="card-info-item"> <span class="statistics-view" title="共{$thread[views]}人气">$thread[views]</span> <span class="statistics-comment" title="共{$thread[replies]}评论">$thread[replies]</span> <span class="statistics-tuijian" title="共{$thread[recommends]}推荐">$thread[recommends]</span> </p> </div> <div class="card-item"> <a href="home.php?mod=space&uid=$thread[authorid]" c=1 class="user-avatar" title="$thread[author]" target="_blank"> <img src="{echo avatar($thread[authorid],'big',1);}" width="30" height="30" alt=""> $thread[author] </a> <span class="time" title="创建时间:<!--{echo date('Y-m-d',$thread[dateline]);}-->"><!--{echo date('Y-m-d',$thread[dateline]);}--></span> </div> </div> <!--{/loop}--> </div> <!--{else}--> <div class="work-null"> <div class="work-null-inner" style="padding-top: 113.328px;"> <span class="null-images"></span> <div class="work-null-tips"> <p class="subject-title">没有找到符合条件的结果</p> </div> </div> </div> <!--{/if}--></div>
复制代码
我知道答案 回答被采纳将会获得1 贡献 已有1人回答
©DZ插件网所发布的一切资源仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。 网站部分内容来源于网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,得到更好的正版服务。 您在本站任何的赞助购买、下载、查阅、回复等行为等均表示接受并同意签订《DZ插件网免责声明协议》。 如有侵权请邮件与我们联系处理: discuzaddons@vip.qq.com 并出示相关证明以便删除。敬请谅解!
|
|