/* Decoded by unphp.net */ ?>hasPermission('456', $_SESSION[SESSION_VAR_NAME]['role'])) { $Page = new page($db); $userAccessRight = $Page->accesspermissions('456', $_SESSION[SESSION_VAR_NAME]['role']); $no_userAccessRight = count($userAccessRight); $access_type = array(); foreach ($userAccessRight as $p_ar) { array_push($access_type, $p_ar['type']); } if (!empty($no_userAccessRight) && $no_userAccessRight > 0) { $userAccessRightIM = $Page->accesspermissions('492', $_SESSION[SESSION_VAR_NAME]['role']); $no_userAccessRightIM = count($userAccessRightIM); $access_typeIM = array(); foreach ($userAccessRightIM as $p_arIM) { array_push($access_typeIM, $p_arIM['type']); } if (in_array('1', $access_type)) { $pid = decrypt_url($_REQUEST['pid'], APP_ENCRYPTION_SALT); $Project = new project($db); $project_details = $Project->getProject_ById($pid); $Global_Settings = new global_settings($db); $module_details = $Global_Settings->get_module_info_byId(2); ?> setProjectId($pid); $indexmaster_details = $IndexMaster->getIndexMasterTopFavourite(); $no_indexmaster_details = count($indexmaster_details); ?>

Index Master

getIndexMasterAddRightsTrue($_SESSION[SESSION_VAR_NAME]['user_id']); if (!empty($im_add_rights_exists) && $im_add_rights_exists[0]['index_master'] || $_SESSION[SESSION_VAR_NAME]['role'] == 1 || $_SESSION[SESSION_VAR_NAME]['role'] == 2) { ?> &itag=&pid="> &itag=&pid=">
getIndexMasterRights($_SESSION[SESSION_VAR_NAME]['user_id'], $indexmaster_details[$i]['id']); $date_field_count = $IndexMaster->getIndexMasterDateFields($indexmaster_details[$i]['id'], 'count(id) as count', $_SESSION[SESSION_VAR_NAME]['role']); if ($_SESSION[SESSION_VAR_NAME]['role'] == 1 || $_SESSION[SESSION_VAR_NAME]['role'] == 2 || $index_master_rights[0]['im_view_r'] == 1) { ?>
Name Total Fields Date Action
getFavouriteMasterExist($indexmaster_details[$i]['project_id'], 'Favourite Master', $indexmaster_details[$i]['id']); if (empty($master_exist)) { echo ' '; } else { echo ' '; } echo $indexmaster_details[$i]['index_master']; ?> getVisibleIndexField_ByIMId_Role($indexmaster_details[$i]['id'], $_SESSION[SESSION_VAR_NAME]['role']); echo '' . count($total_fields_details) . ''; ?> format('Y-m-d H:i'); echo $new_date; ?>
&pid=&id=" title="Fields" class="table_tool_link"> &pid=&id=" title="Missing Report Chart" class="table_tool_link"> &pid=&id=" title="View" class="table_tool_link"> &pid=&id=" title="Edit" class="table_tool_link"> &pid=&id=" title="User Group Rights" class="table_tool_link"> getIndexField_ByIMId1($indexmaster_details[$i]['id']); // echo count($indexmasterfields); if (in_array('4', $access_type)) { if ($_SESSION[SESSION_VAR_NAME]['role'] == 1 || $_SESSION[SESSION_VAR_NAME]['role'] == 2 || $index_master_rights[0]['im_delete_r'] == 1) { if (count($indexmasterfields) <= 0) { ?> &pid=&id=" title="Values List" class="table_tool_link"> get_module_info_byId(7); if ($module_reports_details[0]['status'] == 1) { if ($_SESSION[SESSION_VAR_NAME]['role'] == 1 || $_SESSION[SESSION_VAR_NAME]['role'] == 2 || $index_master_rights[0]['im_report_view_r'] == 1) { ?> &pid=&im_id=" title="Detailed Report" class="table_tool_link"> &pid=&id=" title="Master Report" class="table_tool_link"> get_module_info_byId(16); if ($module_details16[0]['status'] == 1) { if (in_array('3', $access_type)) { if ($_SESSION[SESSION_VAR_NAME]['role'] == 1 || $_SESSION[SESSION_VAR_NAME]['role'] == 2 || !empty($im_add_rights_exists) && $im_add_rights_exists[0]['index_master']) { $module_reports_details = $Global_Settings->get_module_info_byId(7); ?> accesspermissions('152', $_SESSION[SESSION_VAR_NAME]['role']); $no_userAccessRightDMS = count($userAccessRightDMS); $access_typeDMS = array(); foreach ($userAccessRightDMS as $p_arDMS) { array_push($access_typeDMS, $p_arDMS['type']); } if (in_array('2', $access_typeDMS)) { ?> &pid=&id=&index_master_name="> get_module_info_byId(18); if ($hierarchy_details[0]['status'] == 1) { if (in_array('3', $access_type)) { if ($_SESSION[SESSION_VAR_NAME]['role'] == 1 || $_SESSION[SESSION_VAR_NAME]['role'] == 2 || $index_master_rights[0]['im_edit_r'] == 1) { ?> &pid=&id=" title="Master Hierarchy" class="table_tool_link">
log_indirect_access(); include("error_403.php"); } ?>