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