Ejemplo n.º 1
0
			 &nbsp;<i class="fa fa-briefcase"></i> Export&nbsp;
			</div>
			<div class="ui-state-highlight ui-corner-top" style="float:left;margin-left:2px" id="printlist">
			 &nbsp;<i class="fa fa-print"></i> Print&nbsp;
			</div>';
        }
        print '</td><td style="text-align: center">Items ' . $items_from . '-' . $items_to . ' of <span id="total-items">' . $rows . '</span>.</td><td style="width:19em">';
        $rows % $limit == 0 ? $lastpage = $rows - $limit : ($lastpage = $rows - $rows % $limit);
        print '<div class="ui-state-highlight ui-corner-top' . ($rows > $from + $limit ? '' : ' ui-state-disabled') . '" style="float:right;margin-right:2px;width:26px">' . ($rows > $from + $limit ? '<a class="navigation" href="' . htmlspecialchars("display.php?select={$_GET['select']}&project={$project}&from={$lastpage}&{$browse_url_string}") . '" style="display:block;width:26px">' : '') . '<i class="fa fa-caret-right"></i>&nbsp;<i class="fa fa-caret-right"></i>' . ($rows > $from + $limit ? '</a>' : '') . '</div>';
        print '<div class="ui-state-highlight ui-corner-top' . ($rows > $from + $limit ? '' : ' ui-state-disabled') . '" style="float:right;margin-right:2px;width: 4em">' . ($rows > $from + $limit ? '<a title="Shortcut: D" class="navigation nextpage" href="' . htmlspecialchars("display.php?select={$_GET['select']}&project={$project}&from=" . ($from + $limit) . "&{$browse_url_string}") . '" style="color:black;display:block;width:100%">' : '') . '&nbsp;Next <i class="fa fa-caret-right"></i>&nbsp;' . ($rows > $from + $limit ? '</a>' : '') . '</div>';
        print '<div class="ui-state-highlight ui-corner-top pgdown" style="float: right;width: 4em;margin-right:2px">PgDn</div>';
        if (isset($_SESSION['auth'])) {
            print '<div id="omnitoolbutton" class="ui-state-highlight ui-corner-top" style="float:right;margin-right:2px">' . '&nbsp;<i class="fa fa-wrench"></i> Omnitool&nbsp;</div>';
        }
        print '</td></tr></table>';
        show_search_results($result, $_GET['select'], $display, $shelf_files, $desktop_projects, $tempdbHandle);
        print '<table cellspacing="0" class="top" style="margin:1px 0px 2px 0px"><tr><td style="width: 50%">';
        print '<div class="ui-state-highlight ui-corner-bottom' . ($from == 0 ? ' ui-state-disabled' : '') . '" style="float:left;margin-left:2px;width:26px">' . ($from == 0 ? '' : '<a href="' . htmlspecialchars("display.php?select={$_GET['select']}&project={$project}&from=0&{$browse_url_string}") . '" class="navigation" style="display:block;width:26px">') . '<i class="fa fa-caret-left"></i> <i class="fa fa-caret-left"></i>' . ($from == 0 ? '' : '</a>') . '</div>';
        print '<div class="ui-state-highlight ui-corner-bottom' . ($from == 0 ? ' ui-state-disabled' : '') . '" style="float:left;margin-left:2px;width:4em">' . ($from == 0 ? '' : '<a title="Shortcut: A" class="navigation" href="' . htmlspecialchars("display.php?select={$_GET['select']}&project={$project}&from=" . ($from - $limit) . "&{$browse_url_string}") . '" style="color:black;display:block;width:100%">') . '<i class="fa fa-caret-left"></i> Back' . ($from == 0 ? '' : '</a>') . '</div>';
        if ($_GET['select'] == 'desk') {
            print '<div class="ui-state-highlight ui-corner-bottom" style="float:left;margin-left:2px;padding-right:4px">
                <a href="rss.php?project=' . $project . '" target="_blank" style="display:block"><span class="ui-state-error-text">&nbsp;<i class="fa fa-rss"></i></span> Project RSS</a></div>';
        } else {
            print '<div class="ui-state-highlight ui-corner-bottom" style="float:left;margin-left:2px;padding-right:4px">
                <a href="rss.php" target="_blank" style="display:block"><span class="ui-state-error-text">&nbsp;<i class="fa fa-rss"></i></span> RSS</a></div>';
        }
        print '</td><td style="width:50%">';
        print '<div class="ui-state-highlight ui-corner-bottom' . ($rows > $from + $limit ? '' : ' ui-state-disabled') . '" style="float:right;margin-right:2px;width:26px">' . ($rows > $from + $limit ? '<a class="navigation" href="' . htmlspecialchars("display.php?select={$_GET['select']}&project={$project}&from={$lastpage}&{$browse_url_string}") . '" style="display:block;width:26px">' : '') . '<i class="fa fa-caret-right"></i> <i class="fa fa-caret-right"></i>' . ($rows > $from + $limit ? '</a>' : '') . '</div>';
        print '<div class="ui-state-highlight ui-corner-bottom' . ($rows > $from + $limit ? '' : ' ui-state-disabled') . '" style="float:right;margin-right:2px;width:4em">' . ($rows > $from + $limit ? '<a title="Shortcut: D" class="navigation" href="' . htmlspecialchars("display.php?select={$_GET['select']}&project={$project}&from=" . ($from + $limit) . "&{$browse_url_string}") . '" style="color:black;display:block;width:100%">' : '') . 'Next <i class="fa fa-caret-right"></i>' . ($rows > $from + $limit ? '</a>' : '') . '</div>';
        print '<div class="ui-state-highlight ui-corner-bottom pgup" style="float:right;width:4em;margin-right:2px">PgUp</div>';
        print '</td></tr></table><br>';
Ejemplo n.º 2
0
?>

<br><br>

<?php 
if ($show_results != true and $show_hosts != true) {
    if (sizeof($_POST)) {
        post_to_wall();
    }
    show_wall();
}
?>


<?php 
if ($show_results == true) {
    show_search_results();
}
if ($show_hosts == true) {
    show_hosts_page();
}
?>
 

<?php 
show_footer();
?>

</body>
</html>