Guys, please help!
In the return of json i have this:
"data": [{
"fields_8": "",
"fields_6": "Linux",
"fields_5": "",
"fields_4": "",
"fields_3": "",
"TAG": "BAD",
"lastdate": "2014-07-02 14:09:14",
"name": "<a href='index.php?function=computer&head=1&systemid=3718'>447<\/a>",
"ID": "3718",
"userid": "SYSTEM",
"osname": "Microsoft Windows 7 Professional",
"memory": "1996",
"processors": "2834",
"workgroup": "domain.br",
"osversion": "6.1.7601",
"oscomments": "Service Pack 1",
"processort": "Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz [4 core(s) x64]",
"processorn": "1",
"swap": "3993",
"lastcome": "2014-07-02 14:09:14",
"quality": "7.1395",
"fidelity": "99",
"description": "Computer 447",
"wincompany": "",
"winowner": "TEC",
"useragent": "OCS-NG_WINDOWS_AGENT_v2.1.1.3",
"smanufacturer": "DELL S.A.",
"bmanufacturer": "DELL",
"ssn": "98745632155",
"smodel": "none",
"bversion": "ER",
"ipaddr": "192.168.1.65",
"userdomain": "",
"ARCH": "",
"bdate": "08\/21\/2009",
"macaddr": "00:44:00:DD:AA:FF",
"ipmask": "255.255.255.0",
"ipgateway": "192.168.1.1",
"ipsubnet": "192.168.1.0",
"CHECK": "<input type='checkbox' name='check3718' id='check3718' >",
"SUP": "<a href=# OnClick='confirme(\"\",\"3718\",\"show_all\",\"SUP_PROF\",\"Do you really want to delete 447\");'><span class='glyphicon glyphicon-remove'><\/span><\/a>",
"ACTIONS": " <a href=# OnClick='confirme(\"\",\"3718\",\"show_all\",\"SUP_PROF\",\"Do you really want to delete 447\");'><span class='glyphicon glyphicon-remove'><\/span><\/a> "
},
In the line : "name": "<a href='index.php?function=computer&head=1&systemid=3718'>447<\/a>"
this is generated by OCS, which file, is modified to obtain similar result in the line:
"userid": "SYSTEM",
I would to change like this:
"userid": "<a href='index.php?funtion_get_user.php'>SYSTEM<\/a>"
Thanks in advance!!