- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
phpcms get(PHPCMS得到)
phpcms get(PHPCMS得到)
GET tag is worthy of the Almighty, not only short Qiao, but also improve the efficiency of template production
Here to share their usual commonly used groups of GET tags, and I hope to help you
@7 hits list within days
ol
{get sql= SELECT * FROM `phpcms_content` C, `phpcms_content_count` n WHERE updatetime.TIME.-7*86400 and c.contentid=n.contentid AND c.`status`=99 and catid=$catid.get_sql_catid ($catid). ORDER BY n.hits DESC rows= 8}
lia href=, {$r[url]}, {str_cut ($r[title], 88),}/a/li
{/get}
/ol
@7 days of review rankings
ol
{get sql= SELECT * FROM `phpcms_content` C, `phpcms_content_count` n WHERE updatetime.TIME.-7*86400 and c.contentid=n.contentid AND c.`status`=99 and catid=$catid.get_sql_catid ($catid). ORDER BY ments DESC rows= 8}
lia href=, {$r[url]}, {str_cut ($r[title], 88),}/a/li
{/get}
/ol
@ images recommend the GET tag (calling the recommended ID for 10 with thumbnail information)
{get sql= SELECT * FROM `phpcms_content` a, `phpcms_c_news` B WHERE a.contentid=b.contentid AND `status`=99 AND `thumb` AND a.`contentid` IN! =(SELECT `contentid` FROM `phpcms_content_position` WHERE `posid`=10).Get_sql_catid ($catid). ORDER BY a.contentid DESC rows= 3}
div class= col
div, class=, IMG, width=, 134, a, href=, {$r[url]}, img, src=, {thumb ($r[thumb], 130, 90)}, alt=, {$r[title]}, border=, 0, //a/div
h6a, href=, {$r[url]}, {if, $r[style]}span, class=, {$r[style]}, {str_cut ($r[title], 800, ` ),}/span{else}{str_cut ($r[title], 800, )}{/if}/a/h6
/div
{/get}
@DIGG list of GET Tags
ol
{get, sql=, SELECT * FROM, phpcms_content, C, phpcms_digg, D, WHERE, c.contentid=d.contentid, AND, c.status=99, ORDER, BY, d.supports, DESC, rows=,,}
lispan{$r[supports]}/spana href=, {$r[url]}, {str_cut ($r[title], 88),}/a/li
{/get}
/ol
@ just call the news model and recommend ID 7 news
ul
{get sql= SELECT * FROM phpcms_content C, phpcms_c_news n, phpcms_content_position P WHERE c.contentid=n.contentid and c.contentid=p.contentid and posid=7 and `status`=99 ORDE
您可能关注的文档
- 2010年成人英语三级考试虚拟语气精讲(2010 adult English Test Band Three subjunctive).doc
- 2010年陕西省高考英语试题答案详细解析版(2010 Shaanxi college entrance examination English examination questions detailed analysis version).doc
- 2010年高考英语考点汇集(2010 college entrance examination center).doc
- 2010教师招聘考试心理学(中小学)试题(附答案)修改(2010 teacher recruitment examination Psychology (primary and secondary school) examination questions (attached to the answer) modify).doc
- 2010高考英语知识串讲5(2010 college entrance examination English knowledge Chuanjiang 5).doc
- 2011 有用的执医考试(2011 useful medical examination).doc
- 2011-2012学年度八年级生物上学期期中教学质量监测试题(无答案)人教新课标版(2011-2012 year of biology, grade eight biology semester teaching quality monitoring questions (no answer), people teach new curriculum version).doc
- 2011初中生转化技巧.ppt(2011 junior high school students conversion skills.Ppt).doc
- 2011前服务规范多选题1(The 2011 service specification multiple-choice questions 1).doc
- 2011届高考英语一轮复习单元专题配套精练必修5 unit 4(The 2011 session of the college entrance examination English unit review unit 5 unit 4).doc
- phpmyadmin各种方法拿webshell(PhpMyAdmin various ways to get webshell).doc
- phtoshop快捷键(phtoshop快捷键).doc
- pets2口语(2口语).doc
- pid就是比例微积分调节,具体你可以参照自动控制课程里 …(PID is the proportional calculus adjustment, and you can refer to the automatic control course...).doc
- ppc raga(PPC的拉格).doc
- ppt---硕士论文答辩(Ppt--- master's thesis defense).doc
- photoshopcs2快捷键(快捷键PhotoshopCS2).doc
- printf()详解(Printf () detailed explanation).doc
- proe各种曲线方程集合(Proe sets of various curve equations).doc
- ps cs5快捷键(PS CS5快捷键).doc
文档评论(0)