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

清空信息
关闭评论
bhcsboosters
 bhcsboosters 约 7 小时前回复
#80
<a href="http://www.injost.com/best-asics-gel-lyte-iii-colorways-skou">best asics gel lyte iii colorways</a> <a href="http://www.wonjuvally.com/nike-air-max-97-em-premium-blackened-blue-grass-runninge">nike air max 97 em premium blackened blue grass</a> <a href="http://www.carrollgrp.com/nike-air-max-90-vt-black-zapatosu">nike air max 90 vt black</a> <a href="http://www.nrastogi.com/kvinners-nike-zoom-structure-18-hvit-r%C3%B8d-chaussuresa">kvinners nike zoom structure 18 hvit r酶d</a> <a href="http://www.annersroofing.com/blue-jays-2-troy-tulowitzki-whitepink-splash-fashion-stitched-mlb-jersey-nflc">blue jays 2 troy tulowitzki whitepink splash fashion stitched mlb jersey</a> <a href="http://www.orderollie.com/blue-silver-mens-nike-free-run-schwarz-shoes-runningg">blue silver mens nike free run schwarz shoes</a>
bhcsboosters http://www.bhcsboosters.com/
lauraenergy
 lauraenergy 约 17 小时前回复
#79
<a href="http://www.theislandbody.com/nike-kaishi-villain-rot-schuhej">nike kaishi villain rot</a> <a href="http://www.zululeads.com/nike-air-max-90-kvinders-bl%C3%A5-himmelbl%C3%A5-skoh">nike air max 90 kvinders bl氓 himmelbl氓</a> <a href="http://www.notmyrichie.com/hommes-nike-air-max-tailwind-8-jaune-vert-chaussuresh">hommes nike air max tailwind 8 jaune vert</a> <a href="http://www.mintyschoice.com/tampa-bay-rays-47-brand-hat-hatl">tampa bay rays 47 brand hat</a> <a href="http://www.mamapjblog.com/nike-lunarglide-8-noir-vert-chaussuresh">nike lunarglide 8 noir vert</a> <a href="http://www.pdfunicorn.com/mujeres-asics-gel-hyper-33-gris-rojo-zapatosp">mujeres asics gel hyper 33 gris rojo</a>
lauraenergy http://www.lauraenergy.com/
tinystorygame
 tinystorygame 2019-02-16 01:52回复
#78
<a href="http://www.nedshare.com/adidas-nmd-runner-gr%C3%A5-kvinners-unblocked-kurpesb">adidas nmd runner gr氓 kvinners unblocked</a> <a href="http://www.njbabyboomer.com/nike-air-max-2015-mujeres-corriendo-zapato-dept-schuhec">nike air max 2015 mujeres corriendo zapato dept</a> <a href="http://www.chipperradio.com/adidas-rose-gr%C3%BCn-himmelblau-schuheg">adidas rose gr眉n himmelblau</a> <a href="http://www.danaperth.com/salomon-speedcross-3-naranja-negro-ops-3-kurpesd">salomon speedcross 3 naranja negro ops 3</a> <a href="http://www.detabouw.com/dam%C3%A4nner-air-jordan-retro-13-schwarz-rot-obuvg">dam盲nner air jordan retro 13 schwarz rot</a> <a href="http://www.elyseprather.com/nike-zoom-pegasus-33-noir-and-rouge-for-vente-scarpee">nike zoom pegasus 33 noir and rouge for vente</a>
tinystorygame http://www.tinystorygame.com/
torcgunstore
 torcgunstore 2019-02-15 05:08回复
#77
<a href="http://www.eworklife.com/boy-london-snapbacks-blue-hatb">boy london snapbacks blue</a> <a href="http://www.fullcountkbo.com/nike-shoes-2018-womens-grey-pink-runninge">nike shoes 2018 womens grey pink</a> <a href="http://www.shackofstones.com/air-jordan-retro-11-femmes-argent-hommesthe-verte-schuhea">air jordan retro 11 femmes argent hommesthe verte</a> <a href="http://www.tamworthbacon.com/jordan-retro-11-gr%C3%A5-mist-for-salg-scarpeb">jordan retro 11 gr氓 mist for salg</a> <a href="http://www.dvmengineers.com/nike-air-max-2019-green-uk-shoeso">nike air max 2019 green uk</a> <a href="http://www.questoffine.com/adidas-springblade-negro-and-blanco-kit-kurpesc">adidas springblade negro and blanco kit</a>
torcgunstore http://www.torcgunstore.com/
thespacovers
 thespacovers 2019-02-14 18:05回复
#76
<a href="http://www.maisonbagshop.com/nike-air-force-1-low-plata-rojo-butya">nike air force 1 low plata rojo</a> <a href="http://www.nomoreash.com/mens-nike-los-angeles-rams-75-deacon-jones-limited-gold-rush-player-name-number-tank-top-nfl-jersey-nflu">mens nike los angeles rams 75 deacon jones limited gold rush player name number tank top nfl jersey</a> <a href="http://www.webeados.com/dam%C3%A4nner-nike-free-5.0-rosa-force-volt-wei%C3%9F-kurpesb">dam盲nner nike free 5.0 rosa force volt wei脽</a> <a href="http://www.yvutube.com/jordan-11-rot-bottoms-schuhed">jordan 11 rot bottoms</a> <a href="http://www.darkangelsmd.com/nike-air-max-thea-wei%C3%9F-herr-schuheg">nike air max thea wei脽 herr</a> <a href="http://www.gbwpvqyg.com/air-jordan-future-low-infrarouge-bon-march%C3%A9-kurpesc">air jordan future low infrarouge bon march茅</a>
thespacovers http://www.thespacovers.com/
maplebeyond
 maplebeyond 2019-02-13 17:25回复
#75
<a href="http://www.findatrans.com/nike-kobe-11-femmes-violet-jaune-chaussuresh">nike kobe 11 femmes violet jaune</a> <a href="http://www.isabellerigal.com/nike-air-pegasus-92-negro-azul-zapatosp">nike air pegasus 92 negro azul</a> <a href="http://www.esnafkocaeli.com/mens-nike-shox-turbo-21-white-orange-shoesi">mens nike shox turbo 21 white orange</a> <a href="http://www.dkdjabar.com/herren-air-yeezy-ii-2-sp-max-90-rosa-schwarz-schuhei">herren air yeezy ii 2 sp max 90 rosa schwarz</a> <a href="http://www.jamiecirillo.com/asics-gel-kinsei-4-blanco-zapatosk">asics gel kinsei 4 blanco</a> <a href="http://www.xpostshopx.com/adidas-neo-mesh-gr%C3%A5-lyser%C3%B8d-skoi">adidas neo mesh gr氓 lyser酶d</a>
maplebeyond http://www.maplebeyond.com/
cliffsidesec
 cliffsidesec 2019-02-12 21:39回复
#74
<a href="http://www.cossidae.com/david-amerson-29-jersey-youth-nflb">david amerson 29 jersey youth</a> <a href="http://www.renostretch.com/adidas-predator-absolado-instinct-opinie-sportsb">adidas predator absolado instinct opinie</a> <a href="http://www.picotaslot.com/bon-march%C3%A9-adidas-eqt-support-femmes-rouge-trainersf">bon march茅 adidas eqt support femmes rouge</a> <a href="http://www.gdcxwzrzpt.com/puma-x-rihanna-fenty-creeper-velvet-skor">puma x rihanna fenty creeper velvet</a> <a href="http://www.bundlemurah.com/carolina-panthers-luke-kuechly-jersey-nflr">carolina panthers luke kuechly jersey</a> <a href="http://www.mahalodoc.com/oakland-raiders-15-michael-crabtree-olive-2017-salute-to-service-limited-jersey-nflv">oakland raiders 15 michael crabtree olive 2017 salute to service limited jersey</a>
cliffsidesec http://www.cliffsidesec.com/
resqglobal
 resqglobal 2019-02-12 16:50回复
#73
<a href="http://www.hitsturbines.com/adidas-x-ace-soccer-bl%C3%A5-orange-butyg">adidas x ace soccer bl氓 orange</a> <a href="http://www.jadamsrealtor.com/nike-malcom-brown-ash-backer-new-england-patriots-nfl-90-t-shirt-nflz">nike malcom brown ash backer new england patriots nfl 90 t shirt</a> <a href="http://www.karenconti.com/nfl-nike-san-francisco-49ers-14-ya-tittle-green-salute-to-service-mens-pullover-hoodie-nflx">nfl nike san francisco 49ers 14 ya tittle green salute to service mens pullover hoodie</a> <a href="http://www.cliffsears.com/nike-lebron-12-wolf-gr%C3%A5-electric-gr%C3%B8nn-chaussuresa">nike lebron 12 wolf gr氓 electric gr酶nn</a> <a href="http://www.rfsloan.com/nike-free-5.0-negro-cehombrest-butya">nike free 5.0 negro cehombrest</a> <a href="http://www.gfwholesalers.com/nike-air-force-1-flyknit-low-marine-butyc">nike air force 1 flyknit low marine</a>
resqglobal http://www.resqglobal.com/
pearsonchool
 pearsonchool 2019-02-12 08:13回复
#72
<a href="http://www.unefinemouche.com/hombres-asics-gel-kinsei-5-negro-rosado-zapatosk">hombres asics gel kinsei 5 negro rosado</a> <a href="http://www.ayuinc.com/nike-lebron-12-kvinders-gr%C3%B8n-sort-skoi">nike lebron 12 kvinders gr酶n sort</a> <a href="http://www.unirlisboa.com/nike-lunarglide-6-kvinners-gr%C3%B8nn-gul-obuvl">nike lunarglide 6 kvinners gr酶nn gul</a> <a href="http://www.escortfeeds.com/nike-zoom-structure-20-womens-silver-sky-blue-shoesh">nike zoom structure 20 womens silver sky blue</a> <a href="http://www.rdjanitorial.com/nike-air-max-bw-femminile-viola-grigio-scarpei">nike air max bw femminile viola grigio</a> <a href="http://www.bookoobeats.com/air-jordan-retro-10-gamma-blau-blau-schuhej">air jordan retro 10 gamma blau blau</a>
pearsonchool http://www.pearsonchool.com/
millsbulb
 millsbulb 2019-02-11 03:15回复
#71
<a href="http://www.helpforaspen.com/nike-tanjun-triple-black-knight-skob">nike tanjun triple black knight</a> <a href="http://www.mcmartial.com/navy-minnesota-twins-mlb-new-era-team-python-59fifty-cap-hatd">navy minnesota twins mlb new era team python 59fifty cap</a> <a href="http://www.puurderleven.com/nike-mens-air-max-tailwind-7-mesh-running-shoes-mens-runninge">nike mens air max tailwind 7 mesh running shoes mens</a> <a href="http://www.ipartybooths.com/nike-free-5.0-2014-lilla-lyser%C3%B8d-schuhea">nike free 5.0 2014 lilla lyser酶d</a> <a href="http://www.senegalreview.com/nike-zoom-vomero-9-blu-view-scarpeb">nike zoom vomero 9 blu view</a> <a href="http://www.poshandpearls.com/womens-nike-huarache-utility-black-denmark-shoeso">womens nike huarache utility black denmark</a>
[url=http://www.millsbulb.com/]millsbulb[/url]
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸