<table>
    <tr>
        <th>子任务类型:</th>
        <td>
        <?php 
//        echo HtmlControl::getRadioCtrImp(NfsSubTask::getTypeDefines(), 'vars[type]', '', '&nbsp;&nbsp;&nbsp;');
$nfsSubTaskTypes = NfsSubTask::getTypeDefines();
echo $nfsSubTaskTypes[$type];
?>
        </td>
    </tr>

    <?php 
$logTypes = NfsSubTaskLog::getTypeDefines();
$pinYinArr = NfsSubTaskLog::getTypePinYinDefines();
$arr = NfsSubTask::getAddNfsSubTaskLogTypesByType($type);
foreach ($arr as $a) {
    ?>

    <tr>
        <th>
        <input type="hidden" value="<?php 
    echo $a;
    ?>
" name="arrs[<?php 
    echo $pinYinArr[$a];
    ?>
]">
        <?php 
    echo $logTypes[$a];
    ?>