好!欢迎访问迷津渡口 现在时间是: 天气 °C ~ °C

迷津渡口

越感到迷惑 越接近真理

小指分享-emlog文章点赞插件

插件效果

插件开发2016年4月26日。

采用mysql数据库保存数据,jquery和ajax非刷新实现点赞和取消赞。

利用cookie配置24小时内一篇文章只能点赞一次,且判断实现点赞和取消赞的功能。

点赞后图标修改并利用jquery实现+1和-1特效,输出文字可以按要求修改。

最重要的特点是可以在文章列表页输出点赞数,样式可自行设置,输出方便。


插件使用

说明:

本插件自行添加了Font Awesome和jQuery,若造成冲突,请到qingzz_zan.php删除两行引用~

添加自定义钩子

找到echo_log.php或自定义的页面page.php等文件的这一行:

<?php echo $log_content; ?>

在这一行下面添加:

<?php doAction('qingzz_zan_plugin',$logid); ?>

完成最主要的点赞模块,这个模块一个页面只能有一个~

内容页输出点赞数并可触发点赞,可选

找到echo_log.php或自定义的页面page.php等文件,

找到输出文章浏览数等数据的一行,或者自己找个合适的地方,插入:

<span class="qingzz_zan_static"><i class="fa fa-heart-o"></i> <span class="qingzz_zan_num"></span> 赞</span>

这个模块一个页面可以有多个,看个人需要,也可以不要~


列表页输出点赞数并可点赞,可选

找到列表页log_list.php等文件,

找到输出文章浏览数等数据的一行,或者自己找个合适的地方,插入:

<span class="qingzz_zan_dynamic" id="qingzz_zan<?php echo $value['logid']; ?>"><i class="fa fa-heart-o"></i><span class="qingzz_zan_num"></span>赞</span>

这个模块一个页面只能有一个,即列表里的每篇文章输出一个点赞数,并可点赞~


可选的两个模块里面的id和class不能变之外,其余都可变~

例如你觉得赞不好,改为喜欢,没问题^_^


插件下载:

好用就回复支持一下小指吧^_^

百度云盘下载

提取码:2smc

点赞167
 标签: emlog 点赞
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
xgaajgeg
 xgaajgeg 2019-05-21 08:11回复
#220
<a href="http://www.htpmimoza.com/cleveland-indians-gray-jersey-nfli">cleveland indians gray jersey</a> <a href="http://www.ayakkabiyeri.com/nike-magista-opus-tpu-fg-dark-citron-verde-zapatosh">nike magista opus tpu fg dark citron verde</a> <a href="http://www.sozoteki.com/nike-free-5.0-hombres-gris-fluorescent-amarillo-zapatosk">nike free 5.0 hombres gris fluorescent amarillo</a> <a href="http://www.njforward.com/the-north-face-womens-venture-jacket-sale-northfaceh">the north face womens venture jacket sale</a> <a href="http://www.crimediainc.com/converse-turnschuhe-gr%C3%BCn-schuhek">converse turnschuhe gr眉n</a> <a href="http://www.claybrookpenn.com/nike-air-max-2017-m%C3%A6nd-sort-hvid-skoi">nike air max 2017 m忙nd sort hvid</a>
xgaajgeg http://www.xgaajgeg.com/
msignworx
 msignworx 2019-05-20 16:03回复
#219
<a href="http://www.avantajreyonu.com/nike-air-max-95-20th-anniversary-grau-wei%C3%9F-lila-schuheh">nike air max 95 20th anniversary grau wei脽 lila</a> <a href="http://www.oranjeskishop.com/nike-air-max-90-em-women-engineered-mesh-pink-silver-shoesk">nike air max 90 em women engineered mesh pink silver</a> <a href="http://www.johannafrost.com/michael-kors-brown-leather-crossbody-mkh">michael kors brown leather crossbody</a> <a href="http://www.rolandviet.com/adidas-15.1-ic-svart-gul-lilla-obuvi">adidas 15.1 ic svart gul lilla</a> <a href="http://www.classmedya.com/tutti-nero-nike-cortez-maschio-scarpek">tutti nero nike cortez maschio</a> <a href="http://www.anteageserums.com/air-jordan-eclipse-blue-shoesi">air jordan eclipse blue</a>
msignworx http://www.msignworx.com/
maplebeyond
 maplebeyond 2019-05-20 04:11回复
#218
<a href="http://www.keleric.com/kvinners-asics-gel-noosa-tri-7-rosa-lilla-obuvk">kvinners asics gel noosa tri 7 rosa lilla</a> <a href="http://www.jeffreya.com/nike-lunar-gato-2-black-shoesi">nike lunar gato 2 black</a> <a href="http://www.vuduchoan.com/adidas-harden-lyser%C3%B8d-hvid-skoj">adidas harden lyser酶d hvid</a> <a href="http://www.gmfamilylaw.com/air-jordan-retro-13-kvinners-gr%C3%B8nn-obuvi">air jordan retro 13 kvinners gr酶nn</a> <a href="http://www.clubephytus.com/air-jordan-retro-6-kvinners-svart-gull-obuvk">air jordan retro 6 kvinners svart gull</a> <a href="http://www.findnewcoupon.com/mennns-nike-air-max-tn-oransje-gr%C3%A5-obuvi">mennns nike air max tn oransje gr氓</a>
maplebeyond http://www.maplebeyond.com/
animalpainvet
 animalpainvet 2019-05-19 10:35回复
#217
<a href="http://www.egyptmaritime.com/hommes-adidas-gazelle-boost-rouge-chaussuresl">hommes adidas gazelle boost rouge</a> <a href="http://www.erstube.com/nike-zoom-pegasus-33-femmes-blanc-oranger-chaussuresq">nike zoom pegasus 33 femmes blanc oranger</a> <a href="http://www.thecardplayer.com/air-jordan-retro-5-wei%C3%9F-royal-blau-schuhei">air jordan retro 5 wei脽 royal blau</a> <a href="http://www.theweedaddict.com/dam%C3%A4nner-air-jordan-retro-11-rot-gr%C3%BCn-schuheh">dam盲nner air jordan retro 11 rot gr眉n</a> <a href="http://www.thecampingman.com/nike-kd-7-kvinners-gr%C3%B8nn-rosa-obuvj">nike kd 7 kvinners gr酶nn rosa</a> <a href="http://www.otuzbircek.com/maschio-asics-gel-quantum-360-grigio-rosso-scarpep">maschio asics gel quantum 360 grigio rosso</a>
animalpainvet http://www.animalpainvet.com/
zeneventsja
 zeneventsja 2019-05-19 07:10回复
#216
<a href="http://www.mandydugan.com/nike-air-max-bw-oransje-s%C3%B8lv-obuvk">nike air max bw oransje s酶lv</a> <a href="http://www.dxnkofe.com/nike-kobe-9-high-gul-gr%C3%B8nn-obuvi">nike kobe 9 high gul gr酶nn</a> <a href="http://www.yurasmirnov.com/adidas-neo-leisure-blanco-zapatosk">adidas neo leisure blanco</a> <a href="http://www.blovese.com/large-coach-purse-coachh">large coach purse</a> <a href="http://www.ztsurfboards.com/adidas-neo-leather-silver-black-shoesj">adidas neo leather silver black</a> <a href="http://www.visheshcap.com/air-jordan-retro-13-hvid-gr%C3%B8n-skoq">air jordan retro 13 hvid gr酶n</a>
zeneventsja http://www.zeneventsja.com/
neuroassocpc
 neuroassocpc 2019-05-18 17:50回复
#215
<a href="http://www.rondamice.com/kvinners-air-jordan-13-r%C3%B8d-foota">kvinners air jordan 13 r酶d</a> <a href="http://www.neuroassocpc.com/adidas-zx-gr%C3%A5-oransje-runninga">adidas zx gr氓 oransje</a> <a href="http://www.rohanchougule.com/herre-asics-gel-noosa-tri-7-gr%C3%B8n-bl%C3%A5-scarpef">herre asics gel noosa tri 7 gr酶n bl氓</a> <a href="http://www.tgpmusic.com/nike-air-force-1-low-blazer-university-rot-runningf">nike air force 1 low blazer university rot</a> <a href="http://www.bigcbigcard.com/nike-one-roshe-schwarz-schuhei">nike one roshe schwarz</a> <a href="http://www.jbsbruxelles.com/diamond-dad-cap-hath">diamond dad cap</a>
neuroassocpc http://www.neuroassocpc.com/
trianglescion
 trianglescion 2019-05-18 03:53回复
#214
<a href="http://www.tvpropria.com/nike-mercurial-victory-negro-rosado-zapatosk">nike mercurial victory negro rosado</a> <a href="http://www.cvpekerjaan.com/nike-free-run-3-5.0-dam%C3%A4nner-gelb-rosa-runningc">nike free run 3 5.0 dam盲nner gelb rosa</a> <a href="http://www.onoglobal.com/hot-rosado-nike-air-max-2015-zapatosj">hot rosado nike air max 2015</a> <a href="http://www.tvbrandenburg.com/adidas-nitrocharge-footballe-hvid-gul-chaussuresa">adidas nitrocharge footballe hvid gul</a> <a href="http://www.coderthetyler.com/nike-internationalist-vert-jaune-foota">nike internationalist vert jaune</a> <a href="http://www.sadnauka.com/nike-air-max-90-b%C3%B8rn-gr%C3%A5-lyser%C3%B8d-runningd">nike air max 90 b酶rn gr氓 lyser酶d</a>
[url=http://www.trianglescion.com/]trianglescion[/url]
akhbarsanaye
 akhbarsanaye 2019-05-15 02:21回复
#213
<a href="http://www.soopsip.com/nike-air-presto-ultra-flyknit-wolf-gris-zapatosi">nike air presto ultra flyknit wolf gris</a> <a href="http://www.laodikyahaber.com/m%C3%A6nd-nike-sock-dart-sp-fragm%C3%A6ndt-gr%C3%B8n-ink-skoh">m忙nd nike sock dart sp fragm忙ndt gr酶n ink</a> <a href="http://www.dateplannerz.com/nike-air-max-98-grigio-scarpei">nike air max 98 grigio</a> <a href="http://www.ultimumbaby.com/nike-mercurial-superfly-fg-high-tops-arancia-gituttio-nero-scarpej">nike mercurial superfly fg high tops arancia gituttio nero</a> <a href="http://www.cksholdings.com/white-cincinnati-bengals-jersey-nflh">white cincinnati bengals jersey</a> <a href="http://www.rosebasil.com/dark-brown-leather-coach-purse-coachh">dark brown leather coach purse</a>
akhbarsanaye http://www.akhbarsanaye.com/
waybeyondeli
 waybeyondeli 2019-05-14 11:41回复
#212
<a href="http://www.bowtieorg.com/nike-foamposite-rouge-and-noir-chaussuresh">nike foamposite rouge and noir</a> <a href="http://www.shaneboothmx.com/nike-lunarglide-8-gr%C3%BCn-schuheh">nike lunarglide 8 gr眉n</a> <a href="http://www.basarancarpet.com/nike-flyknit-air-max-blue-and-purple-shoesk">nike flyknit air max blue and purple</a> <a href="http://www.freedhamaal.com/converse-sort-hi-l%C3%A6der-skoj">converse sort hi l忙der</a> <a href="http://www.borbonecoffe.com/adidas-adizero-f50-dragon-fg-footballe-fluorescent-gr%C3%BCn-schwarz-schuheh">adidas adizero f50 dragon fg footballe fluorescent gr眉n schwarz</a> <a href="http://www.cammaara.com/black-converse-womens-sale-shoesk">black converse womens sale</a>
waybeyondeli http://www.waybeyondeli.com/
danieladirosa
 danieladirosa 2019-05-14 06:00回复
#211
<a href="http://www.sousoushop.com/iowa-hawkeyes-top-of-the-world-ncaa-life-stretch-cap-hath">iowa hawkeyes top of the world ncaa life stretch cap</a> <a href="http://www.rcfitcamp.com/air-jordan-retro-7-brouge-vert-chaussuresh">air jordan retro 7 brouge vert</a> <a href="http://www.milajerdchat.com/nike-sb-lunar-janoski-nero-anthracite-scarpel">nike sb lunar janoski nero anthracite</a> <a href="http://www.girisweb.com/air-jordan-reveal-white-sky-blue-shoesj">air jordan reveal white sky blue</a> <a href="http://www.abcmovieplot.com/nike-air-max-tailwind-8-himmelbl%C3%A5-hvid-skoi">nike air max tailwind 8 himmelbl氓 hvid</a> <a href="http://www.oldhalliwell.com/air-jordan-retro-4-femminile-cielo-blu-argento-scarpeq">air jordan retro 4 femminile cielo blu argento</a>
danieladirosa http://www.danieladirosa.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸