6c6
<
Emoji Searches - RJM Programming - February, 2018
---
> Emoticon Searches - RJM Programming - February, 2018
11c11
< var eans='', ueans='';
---
> var eans='';
15,25d14
< var inans='';
< var mto='mailto:?subject=&body=' + encodeURIComponent(document.URL);
<
70,92d58
< function ue(incis) {
< var ihuh=(" " + ueans.toLowerCase().replace(/, /g,' ').replace(/,/g,' ') + " ").indexOf(" " + incis + " ");
< if (ihuh != -1) {
< return (" " + ueans.replace(/, /g,' ').replace(/,/g,' ') + " ").substring(ihuh, eval(1 + incis.length + ihuh));
< } else {
< return incis;
< }
< }
<
< function yehbut(purl, psuff) {
< var chuh=document.getElementById('ifn').value;
<
< if ((' ' + chuh.replace(/, /g,' ').replace(/,/g,' ') + ' ').toLowerCase().indexOf(' ' + psuff.toLowerCase() + ' ') == -1) {
< return '//emojiterra.com/' + psuff.toLowerCase();
< }
< return purl;
< }
96,125c62,64
< var sparestr='', notfound=true;
< var ki=0;
< var iea=0, candidates, iprefix='';
< var dofirst=true, ik, turls='', turl='';
< var earrns=eans.replace(/, /g,' ').replace(/,/g,' ').split(' ');
< if (eans.indexOf(',') != -1) earrns=eans.replace(/\+/g,'_').replace(/\ /g,'_').split(',');
< uearrns=ueans.replace(/, /g,' ').replace(/,/g,' ').split(' ');
< if (ueans.indexOf(',') != -1) uearrns=ueans.replace(/\+/g,'_').replace(/\ /g,'_').split(',');
< for (iea=0; iea\" + ue('Scorpio') + ' '; ";
< } else {
< echo " document.getElementById('mydiv').innerHTML+=iprefix + '♏ \" + ue('Scorpio') + ' '; ";
< }
< } else if (isset($_POST['urlprefix'])) {
< if (strpos(urldecode($_POST['urlprefix']), "~") !== false) {
< echo " turls='scorpio'; turl=yehbut('" . urldecode($_POST['urlprefix']) . "',turls).replace('~',turls); document.getElementById('mydiv').innerHTML+=iprefix + '♏ \" + ue('Scorpio') + ' '; ";
< } else {
< echo " document.getElementById('mydiv').innerHTML+=iprefix + '♏ \" + ue('Scorpio') + ' '; ";
< }
< } else {
< echo " document.getElementById('mydiv').innerHTML+=iprefix + '&9807; \" + 'scorpio' + ' '; ";
< }
< ?>
< }
< if (emojicont.indexOf(earrns[iea]) != -1) {
< if (emojicont.substring(emojicont.indexOf(earrns[iea])).indexOf('') != -1) {
---
> if (emojicont.indexOf(eans) != -1) {
> if (emojicont.substring(emojicont.indexOf(eans)).indexOf('') != -1) {
> var dofirst=true;
128,131c67,68
< candidates=emojicont.split(earrns[iea]);
< sparestr='';
< ki=0;
< for (ik=1; ik var candidates=emojicont.split(eans), sparestr='', ki=0;
> for (var ik=1; ik sparestr=eans + candidates[ik];
137c74
< sparestr+=earrns[iea] + candidates[ki];
---
> sparestr+=eans + candidates[ki];
139,140c76
< notfound=false;
< //alert(sparestr + ' === ' + '')[0] + '');
---
> //alert(sparestr + ' === ' + '')[0] + '');
144,160c80
< ')[0] + ' \" + ue(sparestr.split(' '; ";
< } else {
< echo " document.getElementById('mydiv').innerHTML+=iprefix + '')[0] + ' \" + ue(sparestr.split(' '; ";
< }
< } else if (isset($_POST['urlprefix'])) {
< if (strpos(urldecode($_POST['urlprefix']), "~") !== false) {
< echo " turls=sparestr.split('')[0] + ' \" + ue(sparestr.split(' '; ";
< } else {
< echo " document.getElementById('mydiv').innerHTML+=iprefix + '')[0] + ' \" + ue(sparestr.split(' '; ";
< }
< } else {
< echo " document.getElementById('mydiv').innerHTML+=iprefix + '')[0] + ' \" + sparestr.split(' '; ";
< }
< ?>
---
> document.getElementById('mydiv').innerHTML+='')[0] + ' " + sparestr.split(' ';
162c82
< document.getElementById('mydiv').innerHTML+=iprefix + '')[0] + '';
---
> document.getElementById('mydiv').innerHTML+='')[0] + '';
165d84
< iprefix=' ';
171,172c90,91
< //alert('Found for ' + emojicont.substring(emojicont.indexOf(earrns[iea]),eval(1234 + emojicont.indexOf(earrns[iea]))));
< } else if (iea == eval(-1 + earrns.length) && notfound) {
---
> //alert('Found for ' + emojicont.substring(emojicont.indexOf(eans),eval(1234 + emojicont.indexOf(eans))));
> } else {
175d93
< }
189,190d106
< if (eans == null) eans="";
< weans=eans;
193d108
< ueans=document.getElementById('ifn').value;
210,256c125,129
<
< Tailor Your Own Emoji Display Web Application
<
<
... or change it for yourself ... or ...
< ";
< if (isset($_GET['inans'])) {
< $mb=" inans=decodeURIComponent('" . $_GET['inans'] . "').replace(/\+/g,' '); ";
< echo "";
< } else if ($_POST['inans']) {
< $mb=" inans=decodeURIComponent('" . $_POST['inans'] . "').replace(/\+/g,' '); ";
< echo "";
< } else {
< echo "";
< }
< if (isset($_GET['urlprefix']) || isset($_POST['urlprefix'])) {
< if (isset($_GET['heading'])) {
< echo "" . urldecode($_GET['heading']) . ".
";
< if (isset($_GET['subheading'])) echo "" . urldecode($_GET['subheading']) . "
";
< echo "";
< } else if (isset($_POST['heading'])) {
< echo "" . urldecode($_POST['heading']) . ".
";
< if (isset($_POST['subheading'])) echo "" . urldecode($_POST['subheading']) . "
";
< echo "";
< } else {
< echo "Emoji Links.
";
< echo "";
< }
< echo "
" . $tyo . "
Next Search
Emoji Searches.
RJM Programming - February, 2018
Thanks to Emoji CSS and Emoji Terra 0) { ob=true; }\" placeholder=\"Our HTML Entities Instant Search\" type=\"text\" id=\"ifn\" style=\"position:absolute:top:120px;left:300px;width:280px;border-radius:50px;border:1px solid blue;padding:8px 8px 8px 8px;z-index:21;\">
";
< } else {
< echo "Emoji Searches.
RJM Programming - February, 2018
Thanks to Emoji CSS and Emoji Terra 0) { ob=true; }\" placeholder=\"Our HTML Entities Instant Search\" type=\"text\" id=\"ifn\" style=\"position:absolute:top:120px;left:300px;width:280px;border-radius:50px;border:1px solid blue;padding:8px 8px 8px 8px;z-index:21;\">
" . $tyo;
< }
< ?>
---
>
> Emoticon Searches
> RJM Programming - February, 2018
>
>
259,263d131
< ";
< }
< ?>