示例#1
0
    ?>
        </td>
        <?php 
    $ok = $ok && $test;
    ?>
    </tr>
<?php 
}
?>

<?php 
if ($ok) {
    ?>
    <tr>
        <?php 
    $test = Setup::url_exists_check(Ini::$rstudio_url);
    ?>
        <td class="ui-widget-content">Check if <b>RStudio</b> is running on server.</td>
        <td class="<?php 
    echo $test ? "ui-state-highlight" : "ui-state-error";
    ?>
"><b>Rstudio</b> is probably: <?php 
    echo $test ? "RUNNING" : "NOT RUNNING";
    ?>
 on your server - <b style="color:<?php 
    echo $test ? "green" : "red";
    ?>
"><?php 
    echo $test ? "PASSED" : "CAN BE IGNORED";
    ?>
</b></td>