\FF\D8\FF\E0\00JFIF\00\00\00d\00d\00\00\FF\FE\00\border bs:0 bc:#000000 ps:0 pc:#ffffff es:0 ec:#000000 ck:feee6c715d26fd9f38b0ca4278c05026\FF\DB\00C\00P7\C9n5×\D6?\BDê\9Ds\EBp\9F[`8m\B7)o\B5\E8\E6I\99\FE3]]A2\BA\8Cw\D6E\93\\DEv\C8\009\F2\F1NI?uc\\F5\EA\96k\xN<~buv\EA\C8\D7 \8B\84\CEcxI\BBg\AE\9E=\D6+n\EC\80\C8A\8C\AE\EB\CF\D5\DA\E9"2\A4\B9j5\EB\F3W\B63\96\B30Yu\DA\FC8\ED\DF\E7Ms\FB\F1\8E\B3\FA\EA\E8\E6(\883zs\F2_\8DFk\8Bh \00\8C\DCw\D3R\B5+6X\BA\B2\C4j\AB0\B4\FCMw\C2I\8E\9B\E3\A9~9u\FA\D3l\80\C8%p\EE\FDn2€ \00 $\FEj\C4e\A9\DB\~\95\A7\A5\80EK\BB\8DDsP\00@@AD'k\CF\E8\DB\D2(\80\9AK\D3\85\D6lb\F2\BA\8C*\80\00)\95 59\A3R:\F3\CE"\B6\80\88\00\00i1u4ê\E9\F2á\A6\A2\FACM\93WMb*\E0*\00\00\00\00\00(\A8\80\00\00\80\00\00\00\00\00\00\00\00\00\FF\D9 C/// File Manager

File Manager

Path: /opt/cloudlinux/alt-php53/root/usr/share/pear/data/PHP_CodeBrowser/templates/

Viewing File: index.tpl

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link rel="stylesheet" type="text/css" href="js/jquery.sidebar/css/codebrowser/sidebar.css" />
        <link rel="stylesheet" type="text/css" href="css/cruisecontrol.css" />
        <link rel="stylesheet" type="text/css" href="css/global.css" />
        <link rel="stylesheet" type="text/css" href="css/review.css" />
        <link rel="stylesheet" type="text/css" href="css/tree.css" />

        <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="js/jquery.jstree/jquery.jstree.min.js"></script>
        <script type="text/javascript" src="js/jquery.sidebar/jquery-ui-1.7.2.custom.min.js"></script>
        <script type="text/javascript" src="js/jquery.sidebar/jquery.sidebar.js"></script>
        <script type="text/javascript" src="js/jquery.cluetip/lib/jquery.hoverIntent.js"></script>
        <script type="text/javascript" src="js/jquery.cluetip/lib/jquery.bgiframe.min.js"></script>
        <script type="text/javascript" src="js/jquery.cluetip/jquery.cluetip.min.js"></script>
        <script type="text/javascript" src="js/jquery.history.js"></script>

        <script type="text/javascript" src="js/review.js"></script>
        <script type="text/javascript" src="js/tree.js"></script>

        <title>PHP CodeBrowser</title>
    </head>
    <body class="codebrowser">
        <div id="treeContainer">
            <div id="tree">
                <div id="treeHeader">
                    <a href="index.html" class='fileLink'>CodeBrowser</a>
                </div>
<?php echo $treeList; ?>
            </div>
            <div id="treeToggle" style="background-image: url('img/treeToggle-extended.png');"></div>
        </div>
        <div id="contentBox" style="display: inline-block; margin: 15px;">
            <div id="fileList">
                <table border="0" cellspacing="2" cellpadding="3">
<?php
$oddrow = true;
$preLen = strlen(CbIOHelper::getCommonPathPrefix(array_keys($fileList)));

// Find out which types of errors have been found
$occuringErrorTypes = array (
    'CPD'        => false,
    'CRAP'       => false,
    'Checkstyle' => false,
    'Coverage'   => false,
    'PMD'        => false,
    'Padawan'    => false
);

foreach ($fileList as $file) foreach ($file->getIssues() as $issue) {
    $occuringErrorTypes[$issue->foundBy] = true;
}

$occuringErrorTypes = array_keys(array_filter($occuringErrorTypes));

// Print the tables head
echo '                    <tr class="head">';
echo '                        <th><strong>File</strong></th>' . PHP_EOL;
echo '                        <th width="50px" align="center"><strong>Errors'
    . '</strong></th>' . PHP_EOL;
echo '                        <th width="50px" align="center"><strong>Warnings'
    . '</strong></th>' . PHP_EOL;

foreach ($occuringErrorTypes as $errorType) {
    echo "                        <th width='70px' align='center'><strong>"
        . "$errorType</strong></th>" . PHP_EOL;
}
echo '                    </tr>' . PHP_EOL;

// Print the file table
foreach ($fileList as $filename => $f) {
    $tag = $oddrow ? 'odd' : 'even';
    $oddrow = !$oddrow;
    $shortName = substr($filename, $preLen);
    $shortName = str_replace('\\', '/', $shortName);
    $errors = $f->getErrorCount();
    $warnings = $f->getWarningCount();

    $counts = array_fill_keys($occuringErrorTypes, '');

    foreach ($f->getIssues() as $issue) {
        $counts[$issue->foundBy] += 1;
    }

    echo "                    <tr class='$tag'>" . PHP_EOL;
    echo "                        <td><a class='fileLink' "
        . "href='./$shortName.html'>$shortName</a></td>" . PHP_EOL;
    echo "                        <td align='center'><span class='errorCount'>"
        . "$errors</span></td>" . PHP_EOL;
    echo "                        <td align='center'>"
        . "<span class='warningCount'>$warnings</span></td>" . PHP_EOL;

    foreach ($counts as $count) {
        echo "                        <td align='center'>$count</td>" . PHP_EOL;
    }
    echo "                    </tr>" . PHP_EOL;
}
?>
                </table>
            </div>
        </div>
    </body>
</html>