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

清空信息
关闭评论
revenueaco
 revenueaco 约 1 小时前回复
#270
<a href="http://www.xzibitmalta.com/abiti-floreali-per-il-matrimonio-di-primavera-dresse">abiti floreali per il matrimonio di primavera</a> <a href="http://www.genericpreset.com/kobe-9-low-yeezy-blanco-footi">kobe 9 low yeezy blanco</a> <a href="http://www.bootberlin.com/under-armour-curry-one-rose-noir-butyg">under armour curry one rose noir</a> <a href="http://www.diettucson.com/parajumpers-musher-jacket-ladies-parajumpersb">parajumpers musher jacket ladies</a> <a href="http://www.schockenkatz.com/canada-goose-jacket-arctic-expedition-jacket-canadagooseb">canada goose jacket arctic expedition jacket</a> <a href="http://www.drrandtherapy.com/nike-lebron-rot-wei%C3%9F-kurpesk">nike lebron rot wei脽</a>
revenueaco http://www.revenueaco.com/
rlhomestaging
 rlhomestaging 约 5 小时前回复
#269
<a href="http://www.wakunga.com/new-balance-857-mens-white-skos">new balance 857 mens white</a> <a href="http://www.blevemusic.com/nike-air-presto-se-rouge-marron-kurpese">nike air presto se rouge marron</a> <a href="http://www.gridironstats.com/boston-bruins-retro-jersey-nfls">boston bruins retro jersey</a> <a href="http://www.newhousehelp.com/hermes-birkin-bag-value-hermesr">hermes birkin bag value</a> <a href="http://www.abobaday.com/zx-750-bl%C3%A5-gul-chaussuresg">zx 750 bl氓 gul</a> <a href="http://www.pandoraboxhn.com/air-max-men-all-white-sportsf">air max men all white</a>
[url=http://www.rlhomestaging.com/]rlhomestaging[/url]
bcashed
 bcashed 约 15 小时前回复
#268
<a href="http://www.medicinennet.com/adidas-springblade-ignite-schwarz-qb-butya">adidas springblade ignite schwarz qb</a> <a href="http://www.pdxwoof.com/nike-huarache-ultra-sort-and-r%C3%B8d-face-butya">nike huarache ultra sort and r酶d face</a> <a href="http://www.rodriguesjose.com/mackage-isabel-shearling-coat-factory-mackageb">mackage isabel shearling coat factory</a> <a href="http://www.sfgchina.com/roshe-run-hvit-label-for-salg-butyd">roshe run hvit label for salg</a> <a href="http://www.sleepysdirect.com/parajumpers-jackets-outlet-parajumpersr">parajumpers jackets outlet</a> <a href="http://www.whowhatwea.com/nike-air-max-thea-grigio-vendita-obuva">nike air max thea grigio vendita</a>
bcashed http://www.bcashed.com/
supremeohd
 supremeohd 约 22 小时前回复
#267
<a href="http://www.texomatruss.com/canada-goose-kensington-parka-kopen-jumper-canadagooseb">canada goose kensington parka kopen jumper</a> <a href="http://www.askjms.com/kvinders-nike-kyrie-1-lilla-himmelbl%C3%A5-kurpesk">kvinders nike kyrie 1 lilla himmelbl氓</a> <a href="http://www.dublinraces.com/pandora-bracelet-spacers-uk-uk-pandoraf">pandora bracelet spacers uk uk</a> <a href="http://www.denteraserinc.com/louboutin-ankle-booties-camel-louboutine">louboutin ankle booties camel</a> <a href="http://www.bearclawfire.com/hermes-evelyne-gm-review-essay-hermesc">hermes evelyne gm review essay</a> <a href="http://www.broadbandgeek.com/ua-curry-3-argento-rosso-footm">ua curry 3 argento rosso</a>
supremeohd http://www.supremeohd.com/
redstonecloud
 redstonecloud 2019-12-14 15:46回复
#266
<a href="http://www.hustlepool.com/nobis-coats-online-application-nobisb">nobis coats online application</a> <a href="http://www.nicholaslars.com/aritzia-mackage-kenya-leather-jacket-black-mackager">aritzia mackage kenya leather jacket black</a> <a href="http://www.rfsloan.com/tory-burch-york-zip-continental-wallet-toryburchr">tory burch york zip continental wallet</a> <a href="http://www.wikigow.com/nike-huarache-utility-gr%C3%A5-lyser%C3%B8d-butyf">nike huarache utility gr氓 lyser酶d</a> <a href="http://www.myhybridshop.com/air-jordan-retro-6-dam%C3%A4nner-silber-gelb-obuve">air jordan retro 6 dam盲nner silber gelb</a> <a href="http://www.freerentalapp.com/nordstrom-burberry-ombre-scarf-set-scarfb">nordstrom burberry ombre scarf set</a>
redstonecloud http://www.redstonecloud.com/
floozyspeak
 floozyspeak 2019-12-14 14:33回复
#265
<a href="http://www.ottomanplaza.com/justin-holiday-jersey-nflf">justin holiday jersey</a> <a href="http://www.livyourdreamz.com/nobis-vest-vest-guard-nobisa">nobis vest vest guard</a> <a href="http://www.marieebeaute.com/nike-free-3.0-focfly-so-marr%C3%B3n-rosado-chaussurese">nike free 3.0 focfly so marr贸n rosado</a> <a href="http://www.oregoncuisine.com/air-max-2014-dark-green-sportsc">air max 2014 dark green</a> <a href="http://www.reinigungbern.com/ugg-1873-boot-4-boot-uggsb">ugg 1873 boot 4 boot</a> <a href="http://www.jmvilalta.com/nike-air-max-negro-with-blanco-dots-butyg">nike air max negro with blanco dots</a>
floozyspeak http://www.floozyspeak.com/
twominuteview
 twominuteview 2019-12-14 02:39回复
#264
<a href="http://www.gslitsupport.com/adidas-zx-flux-hvit-and-bl%C3%A5-butyg">adidas zx flux hvit and bl氓</a> <a href="http://www.pondineerblog.com/parajumpers-long-bear-deutschland-filialen-parajumpersb">parajumpers long bear deutschland filialen</a> <a href="http://www.crossfitlwr.com/canada-goose-kensington-parka-navy-small-houses-canadagooseb">canada goose kensington parka navy small houses</a> <a href="http://www.raumpilotin.com/nike-flyknit-lunar-1-marr%C3%B3n-rosado-kurpesk">nike flyknit lunar 1 marr贸n rosado</a> <a href="http://www.kinksradio.com/pandora-earrings-infinity-units-pandoraf">pandora earrings infinity units</a> <a href="http://www.ntfservice.com/christian-louboutin-bridal-shoes-blue-sole-nz-louboutine">christian louboutin bridal shoes blue sole nz</a>
twominuteview http://www.twominuteview.com/
adracingworld
 adracingworld 2019-12-13 20:17回复
#263
<a href="http://www.akimmobilien.com/pandora-rings-may-order-pandoraf">pandora rings may order</a> <a href="http://www.swbvideo.com/christian-louboutin-mater-claude-80mm-peep-toe-pumps-black-yellow-louboutine">christian louboutin mater claude 80mm peep toe pumps black yellow</a> <a href="http://www.fabaliworld.com/hermes-evelyne-ebay-2016-hermesc">hermes evelyne ebay 2016</a> <a href="http://www.poliwalks.com/salomon-speedcross-3-damenn-r%C3%B8duziert-footm">salomon speedcross 3 damenn r酶duziert</a> <a href="http://www.docaneurope.com/parajumpers-down-filled-hooded-jacket-frauen-parajumpersa">parajumpers down filled hooded jacket frauen</a> <a href="http://www.darwinquartet.com/moncler-acorus-jacket-for-sale-florida-monclera">moncler acorus jacket for sale florida</a>
adracingworld http://www.adracingworld.com/
dancebaytown
 dancebaytown 2019-12-13 06:14回复
#262
<a href="http://www.alminehealing.com/nike-lebron-13-low-team-rojo-lizard-trainersd">nike lebron 13 low team rojo lizard</a> <a href="http://www.eightitude.com/air-jordan-4-blanco-marr%C3%B3n-chaussuresm">air jordan 4 blanco marr贸n</a> <a href="http://www.salsamonde.com/polo-ralph-lauren-big-and-tall-uk-poloa">polo ralph lauren big and tall uk</a> <a href="http://www.dermiskincare.com/kvinners-nike-shox-current-gull-rosa-scarpek">kvinners nike shox current gull rosa</a> <a href="http://www.ricusiowo.com/floral-dress-rent-the-runway-dresse">floral dress rent the runway</a> <a href="http://www.okcintergroup.com/kobe-9-low-hvid-and-sort-jordans-footi">kobe 9 low hvid and sort jordans</a>
dancebaytown http://www.dancebaytown.com/
lottopurchase
 lottopurchase 2019-12-12 01:55回复
#261
<a href="http://www.autosasart.com/air-max-90-em-r%C3%B8d-lilla-scarpea">air max 90 em r酶d lilla</a> <a href="http://www.centrodunamis.com/nike-air-huarache-military-gr%C3%BCn-zone-chaussuresf">nike air huarache military gr眉n zone</a> <a href="http://www.kideschool.com/mackage-peaches-jacket-for-sale-canada-uk-mackagec">mackage peaches jacket for sale canada uk</a> <a href="http://www.preloxlady.com/air-max-thea-zapatilla-de-deporte-hyper-rosado-rosado-glow-hyper-cobalt-kurpese">air max thea zapatilla de deporte hyper rosado rosado glow hyper cobalt</a> <a href="http://www.scalfarogroup.com/nike-free-run-5.0-v4-blau-quartz-kurpesb">nike free run 5.0 v4 blau quartz</a> <a href="http://www.yuriboguinia.com/ralph-lauren-short-sleeve-oxford-england-poloe">ralph lauren short sleeve oxford england</a>
lottopurchase http://www.lottopurchase.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸