商务系统 SQL万能标签使用实例(含调商家LOGO)
2021-11-19
267
1.调热门关键字
SQL语句
SELECT * FROM `p8_keyword` WHERE `num` !=0 Order by list DESC LIMIT 15
参考风格样式:
<div style="background:url($webdb[www_url]/images/default/i/$i.gif) no-repeat 0px 2px;height:21px;text-indent:1.3em;"> <A HREF="$webdb[www_url]/do/search.php?type=keyword&keyword=$keywords" target='_blank' style="$fontcolor;$fontweight">$keywords</a></div>
2.调商家LOGO图片
SQL语句
SELECT A.*, A.rid AS id, concat( 'business/ico/', A.picurl ) AS picurlFROM p8_business_company A WHERE A.yz=1 ORDER BY A.yz DESC, A.posttime DESC LIMIT 10
参考风格样式:
<div style="float:left;margin-left:5px;margin-top:4px;"> <p class=img><a style="display:block;width:120px;height:120px;border:solid #ccc 2px;" HREF="/homepage.php?uid=$uid" target="_blank"> <img style="width:120px;height:120px;border:1px solid #fff;" src="$picurl" border="0"></a></p> <p class=title style="text-align:center;"><A HREF="/homepage.php?uid=$uid" title='$full_title' target="_blank">$title</A></p>
3.调人才招聘数据
SQL语句
SELECT * FROM p8_business_hr_jobs WHERE 1 order by posttime DESC LIMIT 10
参考风格样式:
<div style="line-height:180%;">·<A HREF="/jobsshow.php?id=$rs[jobs_id]" target='_blank' style="$fontcolor;$fontweight">$title</a> (<A HREF="">$username</A>)</div>
4.调求职数据
SQL语句
SELECT * FROM p8_business_hr_resume WHERE 1 order by posttime DESC LIMIT 10
参考风格样式:
<div style="background:url($webdb[www_url]/images/default/ico-3.gif) no-repeat 0px 3px;padding-left:10px;height:15px;border-bottom:1px dotted #E4E4E4;margin-top:3px;"> <A HREF="/resumeshow.php?id=$rs[re_id]" target="_blank" style="$fontcolor;$fontweight">$title</A></div>
赞一波!
相关文章
- 齐博X1基础标签数据调用方法
- 解决ueditor编辑器复制微信文章section标签丢失class和style样式问题
- 为了源代码美观,需要关闭标签调用
- 服务器SSH使用ossutil常用命令大全
- 让头部标签也能调用文章系统内容
- 标签或万能标签调用一周热门或评评最多的资讯
- 万能标签关键词能否使用or或and功能
- linux系统下的Apache伪静态规则
- 如何在标签中实现能调用会员发帖数量和积分的排序
- 发几个万能标签调用商务系统的实例
- 用标签或万能标签调用一周热门或热评最多的资讯
- 自定义字段灵活使用(背景图设置)方法
- 友情链接全站使用修改方法
- 新版评论框使用静态评论框架显示没登录的解决方式
- 万能表单全站调用方法
- 专题列表添加标签管理的方法
- 实现列表页大分类分页,万能文章大分类分页
- 独立页改成百度编辑器实例
- 使用万能标签调用关键词代码
- 添加整站核心系统(文章模型)自定义字段应用教程
文章评论
全部评论