function usersDetailTable()
{
    /*/initialize classes/*/
    global $users, $target_val;
    $settings = new GlobalSettings("users");
    $tp = $settings::countRows();
    $settings->Pagelimit = 10;
    $paginate = new Pagination($settings->Currentpage, $settings->Pagelimit, $tp->Totalrows);
    $paginate->mid_range = 5;
    $paginate->addparam = "action=view,target=" . $target_val["manageuser"] . "";
    $output = "";
    $getusers = $users::findAllRecords();
    /*/initialize classes ends/*/
    //$$deleted = "Page has been successfully deleted from our database.";
    //$$success = "Page has been updated successfully";
    $hyperlink = new GenerateUrl();
    $output .= '<div id="admdetail">
            <h2>Manage Users Sammary </h2>';
    $output .= '<p style="color: red;"></p>';
    $output .= '<table border="1">
    <tr class="right_align">
    <th colspan="6">' . $hyperlink::buildLink(".", ".", "+New User", "action=adduser,target=manageuser") . '</th>
    </tr><tr class="centerit">
    	<th>#User ID</th>
    	<th>FullName</th>
    	<th>Username</th>
    	<th>UserLevel</th>
    	<th>Actions</th>
    </tr>';
    foreach ($getusers as $userdata) {
        $output .= '<tr class="centerit">';
        $output .= '<td>' . $userdata->Id . '</td>';
        $output .= '<td class="left_align">' . $userdata->fullName() . '</td>';
        $output .= '<td>' . $userdata->userName() . '</td>';
        $output .= '<td>' . $userdata->Authlevel . '</td>';
        $output .= '<td>' . $hyperlink::buildLink(".", ".", "Edit", "id={$userdata->Id},action=edituser,target=manageuser") . '|' . $hyperlink::buildLink(".", ".", "Delete", "id={$userdata->Id},action=delete,target=manageuser") . '</td>';
    }
    $output .= '</tr></table>';
    $output .= $paginate->buildPagination();
    $output .= '</div>';
    return $output;
}