示例#1
0
?>
test page</h1></div>
        <br/>
        <table style="width:100%;">
            <thead>
                <tr>
                    <th class="ui-widget-header"><h3>test description</h3></th>
        <th class="ui-widget-header"><h3>test result</h3></th>
    <th class="ui-widget-header"><h3>recommendation</h3></th>
</tr>
</thead>
<tbody>
    <tr>
        <?php 
$ok = true;
$test = Setup::php_version_check();
?>
        <td class="ui-widget-content">PHP version at least <b>v5.3</b></td>
        <td class="<?php 
echo $test ? "ui-state-highlight" : "ui-state-error";
?>
">your PHP version: <b><?php 
echo phpversion();
?>
 - <b style="color:<?php 
echo $test ? "green" : "red";
?>
"><?php 
echo $test ? "PASSED" : "FAILED";
?>
</b></td>