Page 2 of 2

Re: Click not working in admin area section

Posted: 20 Jul 2019, 00:04
by indianiso1
I have other (and paid) projects to do and AMXBANS is free time programming so I do not push over it more than I want. If you want to support me for faster development, please send me a PM. :)

Re: Click not working in admin area section

Posted: 21 Jul 2019, 09:24
by Infamous2019
indianiso1 wrote:Try to login in the system.
Then open http://domain.to/amxbans/[b]templates/_ ... ans.js.php[/b] and check if you have non-empty file, starting like:

Code: Select all

function LiveBanCopyVars (name,steamid,ip,userid) {
...
If it's empty please write below..
coming this in firefox when i add this in browser. there is no login in this page.

Code: Select all

function ToggleLayer(obj) { if(document.all) { if(document.all[obj].style.display == 'none') { document.all[obj].style.display = 'block'; } else { document.all[obj].style.display = 'none'; } } else { if(document.getElementById(obj).style.display == 'none') { if(document.getElementById(obj).tagName == 'DIV') { document.getElementById(obj).style.display = 'block'; } else { document.getElementById(obj).style.display = 'table-row'; } } else { document.getElementById(obj).style.display = 'none'; } } } function NewToggleLayer(element) { var e = $('#' + element); if (e.css('display') == 'none') { e.show().find('div').slideDown('slow') } else { e.find('div').slideUp('slow', function() { $(this).parent().parent().hide(); }) } }


Re: Click not working in admin area section

Posted: 30 Jan 2020, 18:31
by hdm90
HI..

I Have the same problem.

Admin area doesnt work and i dont know why..

can you help me??

https://oldschool.devhost.pt/amxbans/view.php

See yourself :)

Re: Click not working in admin area section

Posted: 25 Apr 2020, 14:07
by Infamous2019
Yes i have the self problem with admin.php

function LiveBanCopyVars (name,steamid,ip,userid) { document.getElementById('player_name').value = name; document.getElementById('player_uid').value = userid; document.getElementById('player_steamid').value = steamid; document.getElementById('player_ip').value = ip; } function SetNewPassword(fieldid,lang1,lang2,notmatch) { var pw1 = window.prompt(lang1, ''); if(!pw1) return false; var pw2 = window.prompt(lang2, ''); if(pw1 != pw2) { alert(notmatch); return false; } else { document.getElementById(fieldid).value = pw1; return true; } } function ToggleMenu_open(obj) { if(obj != 1) { ToggleMenu_close('1'); } if(obj != 2) { ToggleMenu_close('2'); } if(obj != 3) { ToggleMenu_close('3'); } if(obj != 4) { ToggleMenu_close('4'); } if(obj != 5) { ToggleMenu_close('5'); } if(document.getElementById('menu_'+obj).style.display == 'none') { document.getElementById('menu_'+obj).style.display = 'block'; } } function ToggleMenu_close(obj) { if(document.getElementById('menu_'+obj).style.display == 'block') { document.getElementById('menu_'+obj).style.display = 'none'; } } function ToggleLayer(obj) { if(document.all) { if(document.all[obj].style.display == 'none') { document.all[obj].style.display = 'block'; } else { document.all[obj].style.display = 'none'; } } else { if(document.getElementById(obj).style.display == 'none') { if(document.getElementById(obj).tagName == 'DIV') { document.getElementById(obj).style.display = 'block'; } else { document.getElementById(obj).style.display = 'table-row'; } } else { document.getElementById(obj).style.display = 'none'; } } } function NewToggleLayer(element) { var e = $('#' + element); if (e.css('display') == 'none') { e.show().find('div').slideDown('slow') } else { e.find('div').slideUp('slow', function() { $(this).parent().parent().hide(); }) } }