<table cellpadding="0" cellspacing="0" border="0" class="" style="margin:5px;width:100%;">
<tr> 
<th>事件分类:</th>
<td style="padding: 12px; border:none">
<?php 
foreach (Incident::getTypeDefines() as $key => $typeName) {
    ?>
<br><input type="radio" name="arr[type]" value="<?php 
    echo $key;
    ?>
"><?php 
    echo $typeName;
    ?>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <?php 
    $res = Incident::getLableDefines();
    $labelName = $res[$typeName];
    $labelCategory = DAL::get()->find_by_name('LabelCategory', $labelName);
    $labels = $labelCategory->labels;
    if (false == empty($labels)) {
        foreach ($labels as $label) {
            if ($label->isDeleted == false) {
                ?>
<input type="radio" name="arr[title]" value="<?php 
                echo $label->name;
                ?>
"><?php 
                echo $label->name;
                ?>
&nbsp;&nbsp;&nbsp;
            <?php