Click not working in admin area section

Ask questions about errors and problems related to the amxbans project.
The more details you give, the better answer you will receive, READ the sticky topics before posting!

Be sure to post in the right sub forum: Bugs and Security
User avatar
indianiso1
Posts: 162
Joined: 16 Oct 2015, 01:59
Contact:

Re: Click not working in admin area section

Postby indianiso1 » 20 Jul 2019, 00:04

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. :)

Infamous2019
Posts: 6
Joined: 12 Jul 2019, 20:55

Re: Click not working in admin area section

Postby Infamous2019 » 21 Jul 2019, 09:24

indianiso1 wrote:Try to login in the system.
Then open http://domain.to/amxbans/templates/_js/amxbans.js.php 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(); }) } }


hdm90
Posts: 1
Joined: 30 Jan 2020, 18:28

Re: Click not working in admin area section

Postby hdm90 » 30 Jan 2020, 18:31

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 :)

Infamous2019
Posts: 6
Joined: 12 Jul 2019, 20:55

Re: Click not working in admin area section

Postby Infamous2019 » 25 Apr 2020, 14:07

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(); }) } }


Return to “Support and Help”

Who is online

Users browsing this forum: No registered users and 3 guests