Notice: Undefined index: data in /var/www/html/workwise/lib/user_module.js.php on line 2
function User(){
var user_id = "";
var nicename = "Anonymous";
var avatar = "";
var user_theme = "";
var birth_date = "";
var idle_time = "";
this.get_value = function( to_get ){
if( eval( to_get ) == undefined )
return false;
else
return eval( to_get );
};
}
var user = new User();
function Module(){
var base_url = "";
var fullpath = "";
var module_id = "";
var module_link = "";
var view = "";
var record_id = "";
var client_no = "";
this.get_value = function( to_get ){
if( eval( to_get ) == undefined )
return false;
else
return eval( to_get );
};
this.set_value = function ( to_set, value ){
if( eval( to_set ) == undefined ){
return false;
}
else{
eval( to_set + ' = ' + value );
return true;
}
}
}
var module = new Module();
var view = "";