EasyPageComments
By Mike "Pomax" Kamermans
I needed some simple but full-featured, login-less comments for several pages I'm running for presenting loose technology snippets to the world that I don't want to present through some CMS because the styling's going to be completely different, or the subject is just not related to my specifically-purposed websites. As such, I needed it to be modular, and require almost no work to drop into newly written pages. Looking at what I already had written for my Primer on Bezier curves I figured I already had something close to what I needed, just a bit too part-of-the-page, so I lifted it out, cleaned the code up, and added some of the features that were still missing, ending up with exactly what I need: A simple but full featured "drop it in, and glue it on with less than 10 lines of code" commenting system.
The styling's all CSS, so style it to look like whatever you think looks best, and get some comments going on for pages that are just random pages, rather than CMS-ed pages.
Features:
- Drop-in install
- Separate comments listing and comment form injection
- All elements can be individually styled using CSS
- Threaded commenting with nested replies
- Allows more than one comment section on a single page
- Email post and reply notification
- Posting as owner is password protected
- RSS feed link per comment section
- Simplified posting for users you say are logged in (no need for them to fill in their name and email address or security questions)
- Works in either simple or rich mode, depending on whether you need to support browsers that don't support JavaScript.
- Backed by SQLite (file based) databases, which makes it really easy to migrate and/or administrate
- Hash aware. Regardless of how late you generate comments, jumping to hash still works.
- Error highlighting when trying to post with missing or illegal form fields.
"Installing" EasyPageComments
There's no real installation to speak of - just grab EasyPageComments from github, or just download a zip file with the code:
After obtaining all the files, drop the EasyPageComments.php file (and optionally the EasyPageComments.js file) in the same dir as your page. Then depending on your preferred method of use, either:
a) add
require_once("EasyPageComments.php");
at the top of your page, in a php block, or
b) add
<script type="text/javascript" src="EasyPageComments.js"></script>
to your page's <head> block.
Generating the comments
The PHP way
Generating the comment list could not be easier. Okay, no, that's a lie, I guess it could be. But it's pretty damn easy. Just find the place where you want the comments to show up, and insert:
<?php $EasyPageComments->createCommentsList(); ?>
<?php $EasyPageComments->createCommentForm(); ?>
This will, in fact, store and list messages for "the current page", which is whatever your URL bar shows, minus the domain name. This is super convenient, but it also makes moving the page a little bit of work. Which is inconvenient. To make life easier again, the function can also take a pagename argument:
<?php $EasyPageComments->createCommentsList("My Page Name"); ?>
<?php $EasyPageComments->createCommentForm("My Page Name"); ?>
And now messages are stored and retrieved using that page name, rather than getting the page name from the URL. Handy-dandy.
The upside
Super-no-work-at-all solution, requiring one line to include the EasyPageComments.php package, one line to inject the comment list, and one line to inject the comment posting form.
Does not rely in JavaScript in any way, so it even works when people have NoScript and the like turned on.
The downside
Does not rely on JavaScript in any way, so posting a new comment reloads the page. Your users may also not be able to reply to other user's posts at the moment, as this relies on JavaScript being available at the moment.
The JavaScript way (recommended, really)
EasyPageComments also works with plain .html pages, in case you don't want to give your pages a .php extension. Simply have some container elements on your page:
<div id="id-for-list-element"></div> <div id="id-for-comment-form"></div>
And then implement these two functions for injecting the comments list and post form into your web page:
function showEasyPageComments(setname, data) { document.getElementById("id-for-list-element").innerHTML = data; }
function showEasyPageCommentForm(setname, data) { document.getElementById("id-for-comment-form).innerHTML = data; }
And then trigger them (at page load or DOMReady or something) by calling:
EasyPageComments.createCommentsList("My Page Name");
EasyPageComments.createCommentForm("My Page Name");
Note that the "id-for-list-element" and "id-for-comment-form" are up to you. You can use whatever names you want, or even use some other form of identifying the elements you want the list and comment form generated in. The important part is that showEasyPageComments(setname, data) and showEasyPageCommentForm(setname, data) have some body code that lets them put data into the containers you dedicated to them on your page.
Also note that because you can have multiple comment forms on the page, there is a setname value that comes along with the data. If you have multiple comment sections, it's a good idea to make sure the HTML element containers you use indicate which set they're for, so you can do things like:
function showEasyPageComments(setname, data) { document.getElementById("list-for-"+setname).innerHTML = data; }
As an illustration, this page uses the following code for the JavaScript version of EasyPageComments:
function showEasyPageComments(setname, data) { document.getElementById('EasyPageComments').innerHTML = data; } function showEasyPageCommentForm(setname, data) { document.getElementById('EasyPageCommentForm').innerHTML = data; } function addEasyPageComments() { EasyPageComments.createCommentsList('EasyPageComments'); EasyPageComments.createCommentForm('EasyPageComments'); } document.addEventListener("DOMContentLoaded", addEasyPageComments, false)
Because the javascript call makes it impossible for PHP to check which page it was called for (since you're calling the script directly, rather than as part of a specific page-request to the server), the page name is mandatory when using JavaScript.
Note that the JavaScript approach refreshes the comments list after posting a new comment, so make sure that showEasyPageComments(data) overwrites whatever is in your list container element, or things will look wrong for someone posting a comment.
The upside
Loading and posting is dynamic. You can add the comments block to your page only when the user requests comment functionality, and posting is handled in-place, without the page needing to be reloaded just to show the new comment, or errors with a faulty post.
The downside
If people block JavaScript, they won't get comment functionality until they unblock it. It's also a tiny bit more work to make it do its thing, although given the code already provided, it's about as much of a no-brainer to get things to work =)
A demonstrator
A demonstrator comments list for this page, inserted with PHP (and styled with this stylesheet):
Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived, and so dedicated, can long endure. We are met on a great battle field of that war. We come to dedicate a portion of it, as a final resting place for those who died here, that the nation might live. This we may, in all propriety do.
But, in a larger sense, we can not dedicate we can not consecrate we can not hallow, this ground The brave men, living and dead, who struggled here, have hallowed it, far above our poor power to add or detract. The world will little note, nor long remember what we say here; while it can never forget what they did here.
It is rather for us, the living, we here be dedicated to the great task remaining before us that, from these honored dead we take increased devotion to that cause for which they here, gave the last full measure of devotion that we here highly resolve these dead shall not have died in vain; that the nation, shall have a new birth of freedom, and that government of the people, by the people, for the people, shall not perish from the earth.
Then I gave it a trier and asked for the card and agreed to their terms and conditions.Within 24 hours I received my card,I went further to insert my blank ATM in the the ATM machine, It is miraculous believed...Magic happened, it was able to dispensed $2000 USD ....This card are both in Visa and Mastered Cards.It works at any ATM machine that accept Visa/mastered card worldwide.This is unbelievable, the happiest day of my life.I have being able to withdraw up to $42000 without any stress of being caught.
I don't know why I am posting this here, I need to pass across this vital information worldwide, I just felt this might help those of us in need of financial stability. Mrs Linda Barnett has really change my life via Mariam with powerful information. I believed they will also change your life too, making you rich and happy.......@DEAVONSCOTT69@GMAIL.COM
DEAVON SCOTT HACKING and Training members to exploit the world , in all sector of life, Banks, Election , Documents and computer hacking procedures....We have Hack various election using our Technologies that has high penetration, Accessibility, Detection and Analysis view...We are specialized in Hacking ,Programming, soft and hard ware..Join DEAVON SCOTT Hacking Organization Today...Make life easy and accessible , use grate computers tools to exploit the world...Making more money, money making machine, with great hackers, DEAVON
SCOTT @ ;;DEAVONSCOTT69@GMAIL.COM...The world is unconditional and unfavorable to does who want to use our life as a slave.We own this World? DEAVON SCOTT Great Hacking @ DEAVONSCOTT69@GMAIL.COM.
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
I received a Master Card just yesterday and it pays me $3000 (TREE THOUSAND USD)at a spot, I tried today again and thesame $3000 was paid out, This card will give me $3000 daily for 4 months. If you are in need of urgent money you can get this card as well from Classic Blank ATM Card.email: info.classicblankatmcard00@gmail.com
I am very happy to speak about my happiness here. I received a Master Card yesterday and it pays me $15, 000 USD,a more powerful and sophisticated ATM card produced for 5 year use and continuously.
in a simple diphase and simple mechanism that makes it used generally for Online, Bank ATM and POS and lot more. Approved world wide to help the COVID 19 out break and help everyone to have access to money and cash low both online and Bank ATM.
for further informations on usage and applications simply contact DS Blank ATM Company for directives and more.:Cardsblank@gmail.com ( DS blank Card hacking ] or Deavonscott69@gmail.com
Note is the best ATM Card ever produced with 15 countries licensed grant and support to help the needy and privileged ones.
our regard Ds Company and global COVID 19 Support worldwide. Cardsblank@gmail.com
Deavonscott69@gmail.comHere is the latest world Good News about DS Blank ATM, Helping people worldwide to bounce back to the Economy, it is easy and simple to use, It only has powerful devices that make it function properly.
I am very happy to speak about my happiness here. I received a Master Card yesterday and it pays me $15, 000 USD,a more powerful and sophisticated ATM card produced for 5 year use and continuously.
in a simple diphase and simple mechanism that makes it used generally for Online, Bank ATM and POS and lot more. Approved world wide to help the COVID 19 out break and help everyone to have access to money and cash low both online and Bank ATM.
for further informations on usage and applications simply contact DS Blank ATM Company for directives and more.:Cardsblank@gmail.com ( DS blank Card hacking ] or Deavonscott69@gmail.com
Note is the best ATM Card ever produced with 15 countries licensed grant and support to help the needy and privileged ones.
our regard Ds Company and global COVID 19 Support worldwide. Cardsblank@gmail.com
Deavonscott69@gmail.com
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
alert("hi")
</script>
Cardsblank@gmail.com
Deavonscott69@gmail.com
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
2.- Say the name of your love.
3.- Close your hand
4.- Say the name of a weekday
5.- Say your name
6.- Open your hand
7.- paste this to 15 comments and the day you said (step # 4 he/she will tell you that they like you and maybe even engages or maybe kiss you. If you don't do it something will go wrong in about an hour Thursday
<b>negrita</b>
<i>italica</i>
ToniFDZ
Get $5,500 USD every day, for six months!
See how it works.
Do you know you can hack into any ATM machine with a hacked ATM card?? Make up your mind before applying, straight deal... Order for a blank ATM card now and get millions within a week!: contact us via email address:: johnhart0022@gmail.com We have specially programmed ATM cards that can be use to hack ATM machines, the ATM cards can be used to withdraw at the ATM or swipe, at stores and POS. You order for:: via johnhart0022@gmail.com
<a href="http://pomax.nihongoresources.com/pages/EasyPageComments" target="_blank"></a>
<img src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" />
mg weight loss abilify generic name (https://canadian-prices-pharmacy.net)
Hi, i think that i saw you visited my website thus i came to “return the favor”.I'm attempting to find things
to enhance my web site!I suppose its ok to use a
few of your ideas!! sulfonylurea drugs
http://herdiana.my.id/
http://obatasamurat.site/
http://qncjellygamat.link/
https://www.quora.com/profile/Her-Diana
http://herdiana.my.id/qnc-jelly-gamat/
http://herdiana.my.id/obat-kanker-serviks/
http://herdiana.my.id/obat-kencing-manis/
http://herdiana.my.id/obat-benjolan-di-leher/
http://herdiana.my.id/obat-kanker-paru-paru/
http://herdiana.my.id/obat-asma/
http://herdiana.my.id/obat-hernia/
http://herdiana.my.id/obat-wasir/
http://herdiana.my.id/obat-sinusitis/
http://herdiana.my.id/obat-gondok-beracun/
http://herdiana.my.id/obat-leukimia/
http://herdiana.my.id/obat-tbc/
http://herdiana.my.id/obat-polip-hidung/
http://herdiana.my.id/obat-benjolan-di-selangkangan/
http://herdiana.my.id/sehat-sendi/
http://herdiana.my.id/bersih-wanita/
http://herdiana.my.id/obat-keputihan/
http://herdiana.my.id/obat-radang-sendi/
http://herdiana.my.id/obat-anak-sering-mimisan/
http://herdiana.my.id/obat-tenggorokan-sakit/
http://herdiana.my.id/obat-telinga-berair/
http://herdiana.my.id/obat-sakit-pinggang/
http://herdiana.my.id/obat-batuk-kering/
http://herdiana.my.id/obat-penambah-darah/
http://herdiana.my.id/obat-sesak-nafas/
http://herdiana.my.id/obat-rematik-tulang/
http://herdiana.my.id/obat-asam-lambung/
http://herdiana.my.id/obat-rahim-kering/
http://herdiana.my.id/obat-rematik/
http://herdiana.my.id/obat-encok/
http://herdiana.my.id/obat-radang-usus/
http://herdiana.my.id/obat-nyeri-haid/
http://obatasamurat.site/
http://obatasamurat.site/2018/08/21/maju-terus/
https://www.blogger.com/profile/05032734693624226564
http://obatkolesterol.top/
https://derisalponso.blogspot.com/
http://utamakansehat.com/
http://derisalponso.blogspot.com/p/hrefhttpherdiana.html
https://www.bukalapak.com/u/alwiherbalnet
https://medium.com/@herdiana728/obat-sakit-pinggang-14da1496164f
https://www.bukalapak.com/p/kesehatan-2359/obat-suplemen/herbal/lo2ysi-jual-qnc-jelly-gamat?from=&product_owner=normal_seller
http://linkbun.ch/087pa
https://medium.com/@arimbiarbi/qnc-jelly-gamat-6f9c6409684a
http://linkbun.ch/0873w
https://medium.com/@rizkaaryani34/obat-maag-kronis-6791269286fd
https://medium.com/@anaherdi500/cara-menghilangkan-bau-di-miss-v-b92f6058b394
https://medium.com/@anaherdi500/cara-menghilangkan-bau-di-miss-v-489c2dfb4bd
https://medium.com/@anaherdi500
https://medium.com/@marisaputri730/obat-diabetes-93b5f93aafa9
https://medium.com/@marisaputri730
https://medium.com/@herdiana728
https://medium.com/@satrioherdiana
https://medium.com/@herdianaherbal
https://medium.com/@herdianaherbal/qnc-jelly-gamat-a78dec73a634
https://medium.com/@rizkaaryani34/walatra-bersih-wanita-cb296bc5588e
https://medium.com/@semarmesum8/obat-diabetes-9acf9a6d5188
https://medium.com/@yuliaarbi4/obat-diabetes-e01acd8db1df
https://medium.com/@dangherbal_71592/obat-maag-kronis-271c9272bd7b
https://medium.com/@satriopiningit130/qnc-jelly-gamat-7ac40f4b24be
https://medium.com/@satriopiningit130
https://medium.com/@majulancar91/obat-diabetes-1a8556a1ca59
https://medium.com/@majulancar91
https://medium.com/@rindudia30
https://medium.com/@rindudia30/w-e-w-1f9e907da8d6
https://medium.com/@satrioherdiana
https://medium.com/@satrioherdiana/herbal-tradisonal-d960555a4655
https://medium.com/@senjayaherdiana
https://medium.com/@asenherdiana/obat-diabetes-830996d2e88d
https://medium.com/@asenherdi
https://medium.com/@asenherdi/sehat-nikmat-a3de9281063f
https://medium.com/@arherdiana133
https://medium.com/@riwehpisan9
https://medium.com/@riwehpisan9/https-bit-ly-2xysqna-6c6535e5fa97
https://medium.com/@salametlancar401/http-obatmaagkronis-my-id-qnc-jelly-gamat-492d5790198b
https://medium.com/@salametlancar401
https://medium.com/@salametlancar401/obat-asam-lambung-fc1a9f2f45c3
https://medium.com/@bidarasini
https://medium.com/@bidarasini/obat-maag-7c5c3f81fa3b
https://medium.com/@bidarasini/obat-maag-7c5c3f81fa3b?email=bidarasini%40gmail.com&g-recaptcha-response=03AHqfIOnInSqmL_Ilr9WXMt1EyqbE2G8ZTEX3KCBkDdtp_y0S5o0WAnj4weSNVx4TQZtxAU8BOR-pBNXfaAcGGuq1LjacXdJ7dQFLCUnWNrBjyXLYDoofPppSTakowWFts53pP4b39Pmx1kNP685DwTktUn1OvCTXe8RXuVxhKk29Iwx0OCeoMSj6NAFwY5fnJQcrXsQKIl2tF6htvnGW1pSOAo43fr5-rwfn43-opmT7MgajvXvavrNhn8NAIIwDzcdJg-xTpJ8l_t8zCKt-rXP6YOSzMeHnUQ
https://medium.com/@widaralaut0
http://derisalponso.blogspot.com/p/hrefhttpherdiana.html
https://www.facebook.com/nank.peacelove/posts/1675834235872932?__tn__=K-R
https://www.pinterest.ca/arherdiana/
https://medium.com/@herdiana728/obat-anak-sering-mimisan-a4cfee67f371
https://medium.com/@herdiana728/obat-tenggorokan-sakit-82902ed4dd2a
https://medium.com/@herdiana728/obat-telinga-berair-8d20d4df9f00
https://medium.com/@herdiana728/obat-batuk-kering-69d8d80500be
http://herdiana.my.id/
http://obatasamurat.site/
http://herdiana.my.id/qnc-jelly-gamat/
http://herdiana.my.id/obat-kanker-serviks/
http://herdiana.my.id/obat-kencing-manis/
http://herdiana.my.id/obat-benjolan-di-leher/
http://herdiana.my.id/obat-kanker-paru-paru/
http://herdiana.my.id/obat-asma/
http://herdiana.my.id/obat-hernia/
http://herdiana.my.id/obat-wasir/
http://herdiana.my.id/obat-sinusitis/
http://herdiana.my.id/obat-gondok-beracun/
http://herdiana.my.id/obat-leukimia/
http://herdiana.my.id/obat-tbc/
http://herdiana.my.id/obat-polip-hidung/
http://herdiana.my.id/obat-benjolan-di-selangkangan/
http://herdiana.my.id/walatra-sehat-sendi/
http://herdiana.my.id/walatra-bersih-wanita/
http://herdiana.my.id/obat-keputihan/
http://herdiana.my.id/obat-radang-sendi/
http://obatmaagkronis.my.id/
http://obatmaagkronis.my.id/obat-maag/
http://obatmaagkronis.my.id/qnc-jelly-gamat/
http://obatmaagkronis.my.id/obat-asam-urat/
http://obatmaagkronis.my.id/obat-stroke/
http://obatmaagkronis.my.id/obat-herpes-genitalis/
http://obatmaagkronis.my.id/obat-paru-paru-basah/
http://obatmaagkronis.my.id/obat-thalasemia/
http://obatmaagkronis.my.id/obat-epilepsi/
http://obatmaagkronis.my.id/obat-penambah-nafsu-makan/
http://obatmaagkronis.my.id/obat-insomia/
http://obatmaagkronis.my.id/obat-radang-sendi/
http://obatmaagkronis.my.id/obat-tbc-tulang/ ?
http://obatmaagkronis.my.id/obat-tulang-keropos/
http://obatmaagkronis.my.id/obat-malaria/
http://obatmaagkronis.my.id/obat-asam-lambung/
http://obatmaagkronis.my.id/vitamin-penambah-berat-badan/
http://obatmaagkronis.my.id/obat-lemah-syahwat/
http://obatmaagkronis.my.id/obat-bantu-ginjal/
http://obatmaagkronis.my.id/obat-mani-encer/
http://obatmaagkronis.my.id/obat-diabetes/
http://obatmaagkronis.my.id/obat-ejakulasi-dini/
http://obatmaagkronis.my.id/obat-syaraf-terjepit/
http://obatmaagkronis.my.id/obat-rematik/
http://obatmaagkronis.my.id/obat-vertigo/
http://obatmaagkronis.my.id/obat-kanker-tulang/
http://obatmaagkronis.my.id/obat-kanker-kandung-kemih/
http://obatmaagkronis.my.id/obat-encok/
http://obatmaagkronis.my.id/obat-batu-empedu/
http://obatmaagkronis.my.id/obat-telinga-berair/
http://obatmaagkronis.my.id/obat-eksim/
http://obatmaagkronis.my.id/obat-kusta/
http://obatmaagkronis.my.id/obat-kanker-payudara/
http://obatmaagkronis.my.id/obat-kista-payudara/
http://obatmaagkronis.my.id/obat-kanker-tenggorokan/
http://obatmaagkronis.my.id/obat-kanker-ovarium/
http://obatmaagkronis.my.id/obat-lupus/
http://obatmaagkronis.my.id/obat-herpes/
http://obatmaagkronis.my.id/obat-amandel/
http://obatmaagkronis.my.id/obat-hipertensi/
http://obatmaagkronis.my.id/obat-jantung-koloner/
http://walatrabersihwanita.my.id/
http://walatrabersihwanita.my.id/cara-merapatkan-miss-v/
http://walatrabersihwanita.my.id/cara-menghilangkan-bau-di-miss-v/ ?
http://walatrabersihwanita.my.id/cara-mengembalikan-keperawanan/ ?
http://walatrabersihwanita.my.id/masker-wajah-spirulina/
http://walatrabersihwanita.my.id/obat-penyubur-kandungan/
http://walatrabersihwanita.my.id/obat-nyeri-haid/
http://walatrabersihwanita.my.id/obat-sakit-vagina/
http://walatrabersihwanita.my.id/obat-rahim-kering/
http://walatrabersihwanita.my.id/obat-keputihan/
http://walatrabersihwanita.my.id/obat-pendarahan-vagina/
http://walatrabersihwanita.my.id/obat-kanker-lidah/
http://walatrabersihwanita.my.id/obat-pelancar-haid/
http://walatrabersihwanita.my.id/obat-turun-rahim/
http://walatrabersihwanita.my.id/obat-benjolan-di-payudara/ ?
http://walatrabersihwanita.my.id/obat-liver/
http://walatrabersihwanita.my.id/obat-radang-tenggorokan/
http://walatrabersihwanita.my.id/obat-usus-buntu/
http://obatkolesterol.top/
http://obatkolesterol.top/obat-tbc-kelenjar/
http://obatkolesterol.top/obat-flu-tulang/
http://obatkolesterol.top/obat-susah-hamil/
http://herdiana.pbworks.com/w/page/128082927/FrontPage
http://derisalponso.blogspot.com/2018/08/qnc-jelly-gamat.html
https://www.bukalapak.com/p/kesehatan-2359/obat-suplemen/herbal/lo2ysi-jual-qnc-jelly-gamat?from=&product_owner=normal_seller
http://derisalponso.blogspot.com/2018/08/obat-diabetes.html
https://derisalponso.blogspot.com/
https://freewebsitetemplates.com/members/yuliaarbi/
http://derisalponso.blogspot.com/p/hrefhttpherdiana.html
http://utamakansehat.com/
It's a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you
hire out a designer to create your theme? Outstanding work!2019 funny food commercials
https://www.guidevillage.com/collections/waist-trainer-for-men
🔥 Find the top-quality waist trainer for men here. Men can wear waist trainer too. If you want to say goodbye to beer gut. Get the best waist trainer for men today. Shop GuideVillage today!Free and fast shipping worldwide.
I will definitely suggest it for the family members!
The last time I've read some thing as professionally written was at http://sangokumuso.lib.net/redirect.cgi?https://makeup-reviews.com/eyeliner/aqua-eyes-star-black-1l/. Thankyou for the professionalism and also an eye for the details.
Will be pleased to see more of your own writing!
BLANK ATM/CREDIT CARDS
Email: cardsblank@gmail.com or deavonscott69@gmail.com
WhatsApp: +351924365160
_Increase Credit Scores
_western union, bitcoin and money gram hacking
_criminal records deletion_BLANK ATM/CREDIT CARDS.
We have several ATM Cards;;Platinum Mastercard ,Gold VISA-,
* Gold Mastercard,Platinum Visa, Infinity Visa,Infinity Mastercard with affordable price....DS Company is the world leading black ATM Card ,,
change your life today.
Email: cardsblank@gmail.com or deavonscott69@gmail.com
WhatsApp: +351924365160
Also DS Blank ATM is also affiliations with Bitcoin: mbitcoincompany@gmail.com
DS Company has 60 legit ways to make money online by completely eradicating world poverty and suffering ...
web;https://maplemoney.com/make-mroney-online/#comment-215146..
DS Company will support everyone worldwide with 50% in investment and support at all costs to help both sick, needy and suffering to have money to live and acquire all their needs.
for Bitcoin we support every one with € 2,500 once they have starting up capitals ok.
for further details contact us on ;Bitcoin:mbitcoincompany@gmail.com
or
Email: cardsblank@gmail.com or deavonscott69@gmail.com
WhatsApp: +351924365160
UNLIMITED CASH I took the risk and in exactly 6 days later my card was delivered to my home address here and that same evening i used the card was able to take out $50,000 for a start it's been just 3 weeks and my life has taken a new shape. I simply want to say thank you to this electronic company and help spread their fame abroad. If you ever are in need of this card details on how to get yours today, (WhatsApp +1(213)4218707 email crown_technology@yahoo.com
You can also post test comments, but because the demonstrator uses straight PHP injection, rather than javascript, posting will reload the entire page. Note that any posts to the demonstrator section get deleted after a few hours. For normal comments, use the comment section at the bottom of this page =)
Details
Nesting is automatic, and you can show it (or not) by using some CSS indenting. Custom styling for your own comments is also CSSable, so if you want to visually offset your own comments from everyone else's, you can.
In fact, there is quite a bit of styling that you can apply to the various elements, since essentially everything is either classed, or classless elements inside classed elements. All classes are prefixed with "EPC-" and certain elements in the post form have "EPC-..." id attributes, so you can hook into them with JavaScript, should you want to.
Every comment has its own anchor, and you can link to specific comments using them. For the PHP-generated code, hashes in the URL are not a problem, because the generated html already contains them. For the JavaScript-generated code, hashes in the URL are actually also just fine, because EasyPageComments.js will check for a URL hash, and keep it stored until you call the createCommentsList function, after which it'll tell the browser to jump to the specific comment indicated by the hash.
Email notification
EasyPageComments can send you an email every time someone posts a comment. This is enabled by setting the $notify variable to true, and filling in your email address as $to value. Note that even if you enable email notification, you will not receive emails for comments posted as yourself.
In additional to global notifications, EasyPageComments also lets people indicate whether or not they want to be notified by email whenever someone replies to their posts. This is done via a checkbox option in the comment posting form.
Getting the email #links right
NOTE: in order for the notification emails to contain the right comment #hash link, you must make sure that the $EPC_path variable points to your page. Thus, if your page is index.html, this variable should read:
$EPC_path = "index.html";
Owner posting by password
Because you know you're a trusted user, and because you don't want other people posing as you, filling in your nickname and email address and some comment that you would never write, posts by the owner are password protected. Rather than filling in your name and email address, plus answering the security question, you simply fill in your name, and the password you've set for your name in EasyPageComments.php:
// this is used to mark your own posts differently from everyone else's var $admin_alias = "MyNickName"; // the owner nickname is password protected, which is used in place of an email address var $admin_password = "This can be as long as you like; Unicode and case is respected.";
Even if you rely on PHP for your comment listing and post form, you will probably want to add EasyPageComments.js as on-page script, as its used to change the post form when the username happens to be yours. This is only a cosmetic change, but cosmetics are important on the web!
RSS
EasyPageComments will automatically set up RSS feeds for each comment thread you use, so you don't even have to worry about that. If you don't want this, you can turn off visibility for the "EPC-RSS-link" class, so the RSS link doesn't show, or you can turn RSS link generation off entirely by changing the EasyPageComments.php setting $rss = true; to $rss = false; instead.
Getting the RSS <link> URLs right
NOTE: in order for the RSS links to point to the correct webpage and #hash link, you must make sure that the $EPC_path variable points to your regular page. Thus, if your page is index.html, this variable should read:
$EPC_path = "index.html";
SQLite
Data is stored in SQLite databases, using SQLite3 format, with the following schema:
CREATE TABLE comments(id INTEGER PRIMARY KEY AUTOINCREMENT, page TEXT, name TEXT, email TEXT, timestamp INTEGER, body TEXT, replyto INTEGER, notify INTEGER)
Thread topology uses the relation child.replyto → parent.id and that's pretty much everything special about the layout. There is no separate users table, because that's something you would use user authentication for anyway, you don't overload a comment system with that.
If you need to manipulate the data, I recommend using SQLiteManager, which is an extension for FireFox. I know it's weird, but so far the best application for managing SQLite databases is a browser plugin. That said, it's a really good browser plugin (and ignore the nonsense comment about it crashing Thunderbird. Why you would try to install it for Thunderbird when it's a FireFox plugin, I have no idea) and you can use XULRunner to make it run stand-alone too, of course.
EasyPageComments creates one database file per 'page', so if you want to use multiple comment sections on a single page, the messages will be tracked using different databases, so that messages from one comment thread can't accidentally end up in another comment thread.
Customising EasyPageComments settings
If you want to customise the settings for EasyPageComments, simply open the EasyPageComments.php file and adjust the values at the start of the script. They are fairly self-explanatory:
// this is used to mark your own posts differently from everyone else's var $admin_alias = "YourNameHere!"; // the owner nickname is password protected, which is used in place of an email address var $admin_password = "Entire Unicode passphrases work!"; // what should be the security question for this page? var $security_question = "If I write a three, and then a seven, which number did I write?"; // what are valid security answers for this page? var $security_answers = array("37", "thirty seven", "thirty-seven", "thirtyseven", "37"); // should comment threads get an auto-generated RSS feed button? // (if true, remember to also set the $EPC_path variable, below) var $rss = true; // should you be notified by email when someone posts a comment? // (if true, remember to also set the $EPC_path variable, below) var $notify = true; // what's the email address to send those notifications to? var $to = "test@example.org"; // what's the subject you'd like? var $subject = "[EasyPageComments] page comment posted"; // where can the sqlite database be found var $db_dir = "./sqlite"; // This variable should contain the name of your page. If your // page is "myfunkypage.php", then this variable should be set // to that. Relative locations such as "../index.html" are // allowed. // // EPC_path is used for RSS feeds elements as well as #hash // links in email notifications, so if $rss and $notify are both // set to "false", EPC_path will not be used, and its value is // irrelevant. var $EPC_path = "index.html";
Note that the $db_direntry simply says where you want your databases to reside. They don't need to exist yet, the script will make them if they don't exist yet, although the directory you want them to be in in has to exist. (The script won't make directories for you, only database files)
If you want to use the JavaScript approach, then you may want to put the .js and .php files in different directories. If this results in the JavaScript functions trying to call a .php file that isn't in the same directory as your page, you can modify the location the JavaScript should use for posting/getting the list by modifying the location in the EasyPageComments.js file:
EasyPageComments.EasyPageCommentLocation = "../moo/EasyPageComments.php";
Simply change this to the location of EasyPageComments.php relative to your page, and things should work just fine.
Using EasyPageComments with a user authentication system
If you have a user authentication system in place, you generally don't want the comment system to require your already-logged-in users to have to fill in their name and email address, and they're generally not required to fill in a security question, since they already logged in.
EasyPageComments lets you indicate that content is being generated for a trusted user by stating the user's name and email address before including EasyPageComments.php, using an associative array as follows:
// set the trusted user's name and email address $EasyPageComments = array("name" => "UserBot5000", "email" => "bigbot@userbot.net"); // make EasyPageComments magic happen require_once("EasyPageComments.php");
If you're using the JavaScript approach, you will probably want to use a passthrough file. Making one is relatively easy, so let's say we make a file called "EPC-passthrough.php", it will only need to have to following content:
<?php // session-based authentication handling code goes here require_once("user_authentication_script.php"); $user = authenticate(); // set the trusted user's name and email address $EasyPageComments = ($user->authenticated ? array("name"=>$user->name, "email"=>$user->email) : false); // make EasyPageComments magic happen require_once("EasyPageComments.php"); ?>
This sets up trusted user content only if the user passed your authentication, generating the normal content otherwise. You will now also need to make the EasyPageComments.js script call this EPC-passthrough.php file instead of the normal EasyPageComments.php, so that user authentication can take place. This is almost trivially simple, only requiring you to tell JavaScript what the new file's location is:
// Set alternate EasyPageComments location EasyPageComments.EasyPageCommentLocation = "EPC-passthrough.php"; // build comments list EasyPageComments.createCommentsList('My Page Name'); // build comment post form EasyPageComments.createCommentForm('My Page Name');
Comments
To show that one page can have multiple comment threads (but also because a demonstrator is not the "real" thing), there's also the actual comment thread for this page. If you have any questions or suggestions, do let me know by posting a comment!
Leave a comment
And please do NOT use this section for testing, this is the normal page comments section. It's for asking questions or leaving feedback. If you want to test, use the demonstrator thread instead (yes, that one is POST based)