Esempio n. 1
0
    return;
}
?>

<?php 
$hideContextMenu = true;
global $s;
if (!empty($_GET['class_name']) && !empty($_GET['program_name'])) {
    $class_names = $_GET['class_name'];
    $program_name = $_GET['program_name'];
    $_GET['mode'] = 2;
} else {
    $class_names[] = 'path';
    include_once "includes/functions/loader.inc";
    $path = new path();
    $all_search_paths = $path->findAll_programPaths();
    $search_result_statement = "";
    $search_result_statement .= "<table class=\"first_table normal\"><thead><tr>";
    $search_result_statement .= '<th> Module </th>';
    $search_result_statement .= '<th> Search Details </th>';
    $search_result_statement .= '</tr></thead>';
    if (!empty($all_search_paths)) {
        $search_result_statement .= '<tbody>';
        foreach ($all_search_paths as $key => $module_group) {
            $search_result_statement .= ' <tr class="major_row"><td>' . $key . '</td><td><table class="second">';
            foreach ($module_group as $paths) {
                $search_result_statement .= '<tr class="minor_row">';
                $search_result_statement .= '<td>' . $paths->name . '</td>';
                $search_result_statement .= '<td>' . $paths->description . '</td>';
                $search_result_statement .= '<td><a href="' . HOME_URL . $paths->path_link . '">' . HOME_URL . $paths->path_link . '</a></td>';
                $search_result_statement .= '</tr>';