Exemplo n.º 1
0
    ?>
        </td>
    </tr>

    <tr>
        <th>肥胖病程:</th>
        <td>
        <input type="text" name="vars[illAge]" style="width:50px"/> 年<span class="red">*</span>
        </td>
    </tr>

    <tr>
        <th>家族肥胖史:</th>
        <td>
        <?php 
    echo HtmlControl::getRadioCtrImp(HealthItemProject::getWeightHistoryDefines(), 'vars[hasWeightHistory]', '', '&nbsp;&nbsp;&nbsp;');
    ?>
        </td>
    </tr>

    <tr>
        <th>运动相关疾病:</th>
        <td>
        <?php 
    echo HtmlControl::getRadioCtrImp(HealthItemProject::getSportRelatedDiseaseDefines(), 'vars[hasRelatedDisease]', '', '&nbsp;&nbsp;&nbsp;');
    ?>
        </td>
    </tr>

    <?php 
} else {
        <tr>
        <th>肥胖病程:</th>
        <td>
        <input type="text" name="vars[healthItemProject][<?php 
    echo $healthItemProject->id;
    ?>
][illAge]" style="width:50px"/> 年<span class="red">*</span>
        </td>
        </tr>

        <tr>
        <th>家族肥胖史:</th>
        <td>
        <?php 
    echo HtmlControl::getRadioCtrImp(HealthItemProject::getWeightHistoryDefines(), "vars[healthItemProject][{$healthItemProject->id}][hasWeightHistory]", '', '&nbsp;&nbsp;&nbsp;');
    ?>
        </td>
        </tr>

        <tr>
        <th>运动相关疾病:</th>
        <td>
        <?php 
    echo HtmlControl::getRadioCtrImp(HealthItemProject::getSportRelatedDiseaseDefines(), "vars[healthItemProject][{$healthItemProject->id}][hasRelatedDisease]", '', '&nbsp;&nbsp;&nbsp;');
    ?>
        </td>
        </tr>


        <?php