好!欢迎访问迷津渡口 现在时间是: 天气 °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 点赞
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
midlandroofer
 midlandroofer 约 13 小时前回复
#182
<a href="http://www.theislandbody.com/adidas-neo-ventilation-grigio-nero-scarpeh">adidas neo ventilation grigio nero</a> <a href="http://www.zululeads.com/femmes-nike-zoom-pegasus-33-blanc-bleu-chaussuresp">femmes nike zoom pegasus 33 blanc bleu</a> <a href="http://www.notmyrichie.com/the-north-face-mountain-guide-jacket-northfaceh">the north face mountain guide jacket</a> <a href="http://www.mintyschoice.com/air-jordan-imminent-schwarz-gold-schuheq">air jordan imminent schwarz gold</a> <a href="http://www.mamapjblog.com/nike-hyperrev-jaune-noir-chaussuresl">nike hyperrev jaune noir</a> <a href="http://www.pdfunicorn.com/adidas-neo-high-naranja-p%C3%BArpura-zapatosq">adidas neo high naranja p煤rpura</a>
midlandroofer http://www.midlandroofer.com/
nike tn air max nero
 nike tn air max nero 2019-04-24 11:58回复
#181
<a href="http://www.dominiogold.com/ua-curry-3-lilla-gr%C3%B8n-skoh">ua curry 3 lilla gr酶n</a> <a href="http://www.saaqlabaie.com/nike-san-francisco-49ers-16-joe-montana-2014-red-hoodie-nfli">nike san francisco 49ers 16 joe montana 2014 red hoodie</a> <a href="http://www.acheidf.com/menn-adidas-springblade-drive-2.0-svartr%C3%B8d-2-obuvk">menn adidas springblade drive 2.0 svartr酶d 2</a> <a href="http://www.jrsmetalsinc.com/coach-gold-crossbody-bag-coachh">coach gold crossbody bag</a> <a href="http://www.kumowindham.com/nike-kaishi-femminile-nero-scarpej">nike kaishi femminile nero</a> <a href="http://www.waybeyondeli.com/adidas-uncaged-ultra-boost-tutti-nero-scarpei">adidas uncaged ultra boost tutti nero</a>
[url=http://www.followjacker.com/nike-tn-air-max-nero-scarpei]nike tn air max nero[/url]
dansdelas
 dansdelas 2019-04-24 07:43回复
#180
<a href="http://www.sidecisions.com/nike-lunar-tempo-gr%C3%B8n-gul-scarpec">nike lunar tempo gr酶n gul</a> <a href="http://www.htmlpast.com/ua-curry-3-viola-grigio-schuhed">ua curry 3 viola grigio</a> <a href="http://www.djdikkethomas.com/jordan-14-rosso-october-obuvf">jordan 14 rosso october</a> <a href="http://www.dumpthatdebt.com/jordan-3-night-stadium-total-arancia-butya">jordan 3 night stadium total arancia</a> <a href="http://www.syderagencys.com/air-max-97-or-for-toddlers-butya">air max 97 or for toddlers</a> <a href="http://www.atvhdizle.com/air-jordan-3-fire-rojo-junior-obuve">air jordan 3 fire rojo junior</a>
dansdelas http://www.dansdelas.com/
ezedcal
 ezedcal 2019-04-24 07:30回复
#179
<a href="http://www.setusoftware.com/air-jordan-5-supreme-low-gr%C3%B8n-r%C3%B8d-sort-skoj">air jordan 5 supreme low gr酶n r酶d sort</a> <a href="http://www.shopteamcubs.com/ralph-lauren-classic-fit-t-shirt-poloh">ralph lauren classic fit t shirt</a> <a href="http://www.danieldavinci.com/black-leather-slip-on-converse-shoesi">black leather slip on converse</a> <a href="http://www.lovirani.com/nike-sb-dunk-high-nero-bianca-scarpej">nike sb dunk high nero bianca</a> <a href="http://www.rosebites.com/air-jordan-retro-1-gelb-schwarz-schuhej">air jordan retro 1 gelb schwarz</a> <a href="http://www.webrushllc.com/alabama-camo-snapback-hath">alabama camo snapback</a>
ezedcal http://www.ezedcal.com/
gamekeyssale
 gamekeyssale 2019-04-22 05:06回复
#178
<a href="http://www.matrawildlife.com/nike-air-force-1-low-white-mens-shoesk">nike air force 1 low white mens</a> <a href="http://www.hiyawigs.com/ray-ban-new-wayfarer-large-polarized-sunglassesh">ray ban new wayfarer large polarized</a> <a href="http://www.fidgefingers.com/air-jordan-retro-5-noir-rouge-sup-chaussuresl">air jordan retro 5 noir rouge sup</a> <a href="http://www.lintvan.com/air-jordan-retro-7-gris-blanc-jade-chaussuresl">air jordan retro 7 gris blanc jade</a> <a href="http://www.pubgdust.com/le-coq-sportif-m%C3%A4nner-wei%C3%9F-schwarz-rot-schuhej">le coq sportif m盲nner wei脽 schwarz rot</a> <a href="http://www.ahtantalya.com/air-jordan-6-retro-kastanie-wei%C3%9F-schuhei">air jordan 6 retro kastanie wei脽</a>
gamekeyssale http://www.gamekeyssale.com/
erzurumihl
 erzurumihl 2019-04-21 06:43回复
#177
<a href="http://www.koreazp.com/adidas-harden-green-sky-blue-shoesj">adidas harden green sky blue</a> <a href="http://www.hiltonskyshop.com/nike-lebron-ambassador-9-guld-r%C3%B8d-skoi">nike lebron ambassador 9 guld r酶d</a> <a href="http://www.lavaforchange.com/maschio-nike-roshe-yeezy-boost-nero-blu-scarpel">maschio nike roshe yeezy boost nero blu</a> <a href="http://www.lifeonfilms.com/nike-free-run-3-light-blue-shoesj">nike free run 3 light blue</a> <a href="http://www.midlandroofer.com/michael-kors-black-and-silver-crossbody-bag-mkh">michael kors black and silver crossbody bag</a> <a href="http://www.pearsonchool.com/air-jordan-retro-7-kvinners-svart-gul-obuvi">air jordan retro 7 kvinners svart gul</a>
erzurumihl http://www.erzurumihl.com/
xaviersarrate
 xaviersarrate 2019-04-20 01:19回复
#176
<a href="http://www.dbievents.com/adidas-bbneo-skool-low-canvas-sort-skok">adidas bbneo skool low canvas sort</a> <a href="http://www.ilankocaeli.com/adidas-eqt-l%C3%B8ping-support-93-gr%C3%B8nn-obuvi">adidas eqt l酶ping support 93 gr酶nn</a> <a href="http://www.msignworx.com/nike-air-max-thea-oro-negro-zapatosl">nike air max thea oro negro</a> <a href="http://www.dianegrams.com/ray-ban-the-wayfarer-sunglassesh">ray ban the wayfarer</a> <a href="http://www.jobstodayng.com/oakland-raiders-new-era-nfl-fierce-fill-39thirty-cap-hatj">oakland raiders new era nfl fierce fill 39thirty cap</a> <a href="http://www.hardcoreboris.com/femminile-nike-dunk-high-argento-sabbia-scarpej">femminile nike dunk high argento sabbia</a>
xaviersarrate http://www.xaviersarrate.com/
followjacker
 followjacker 2019-04-19 17:33回复
#175
<a href="http://www.hopitalhayek.com/kvinder-nike-zoom-train-action-lilla-bl%C3%A5-lyser%C3%B8d-skoj">kvinder nike zoom train action lilla bl氓 lyser酶d</a> <a href="http://www.cheapartsale.com/dam%C3%A4nner-superstar-adidas-schwarz-and-wei%C3%9F-schuheh">dam盲nner superstar adidas schwarz and wei脽</a> <a href="http://www.xjdscnuh.com/mens-nike-flyknit-racer-green-gold-shoesk">mens nike flyknit racer green gold</a> <a href="http://www.cybcarusa.com/michael-kors-jet-set-large-top-zip-saffiano-leather-tote-mkh">michael kors jet set large top zip saffiano leather tote</a> <a href="http://www.drfoxxdds.com/nike-kobe-10-svart-lilla-gull-obuvi">nike kobe 10 svart lilla gull</a> <a href="http://www.hagemannlaw.com/acquistare-bianca-pelle-converse-scarpek">acquistare bianca pelle converse</a>
followjacker http://www.followjacker.com/
yurasmirnov
 yurasmirnov 2019-04-18 06:01回复
#174
<a href="http://www.findatrans.com/nike-air-max-essential-weiss-rosado-zapatosk">nike air max essential weiss rosado</a> <a href="http://www.isabellerigal.com/nike-kobe-8-amarillo-azul-zapatosp">nike kobe 8 amarillo azul</a> <a href="http://www.esnafkocaeli.com/north-face-denali-womens-teal-northfaceh">north face denali womens teal</a> <a href="http://www.dkdjabar.com/herren-nike-roshe-run-triangle-gold-gr%C3%BCn-schuhej">herren nike roshe run triangle gold gr眉n</a> <a href="http://www.jamiecirillo.com/kvinders-nike-roshe-run-high-alle-sort-skoh">kvinders nike roshe run high alle sort</a> <a href="http://www.xpostshopx.com/nike-lunar-superbad-pro-rose-chaussuresh">nike lunar superbad pro rose</a>
yurasmirnov http://www.yurasmirnov.com/
gmfamilylaw
 gmfamilylaw 2019-04-18 05:35回复
#173
<a href="http://www.tmzred.com/nike-kobe-6-orange-green-shoesh">nike kobe 6 orange green</a> <a href="http://www.alcovozov.com/air-jordan-retro-29-cielo-azul-p%C3%BArpura-zapatosp">air jordan retro 29 cielo azul p煤rpura</a> <a href="http://www.ahmztradefx.com/mujeres-nike-flyknit-racer-negro-verde-zapatosk">mujeres nike flyknit racer negro verde</a> <a href="http://www.isampled.com/north-face-hyvent-waterproof-jacket-northfaceh">north face hyvent waterproof jacket</a> <a href="http://www.aldervets.com/air-jordan-retro-13-dam%C3%A4nner-blau-gr%C3%BCn-schuhej">air jordan retro 13 dam盲nner blau gr眉n</a> <a href="http://www.vanltl.com/herre-nike-free-tr-fit-lilla-gr%C3%B8n-skoh">herre nike free tr fit lilla gr酶n</a>
gmfamilylaw http://www.gmfamilylaw.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸