</td> </tr> <?php $arTemplates = CPostingTemplate::GetList(); if (count($arTemplates) > 0) { ?> <tr class="adm-detail-required-field"> <td class="adm-detail-valign-top"><?php echo GetMessage("rub_templates"); ?> </td> <td><table> <?php $i = 0; foreach ($arTemplates as $strTemplate) { $arTemplate = CPostingTemplate::GetByID($strTemplate); ?> <tr> <td class="adm-detail-valign-top"><input type="radio" id="TEMPLATE<?php echo $i; ?> " name="TEMPLATE" value="<?php echo $arTemplate["PATH"]; ?> "<?php if ($str_TEMPLATE == $arTemplate["PATH"]) { echo "checked"; } ?> ></td> <td>
?> <tr> <td><?php echo GetMessage("rub_name"); ?> </td> <td><input type="hidden" name="ID" value="<?php echo $ID; ?> "><?php echo htmlspecialcharsbx($arRubric["NAME"]); ?> </td> </tr> <?php $arTemplate = CPostingTemplate::GetByID($arRubric["TEMPLATE"]); if ($arTemplate) { ?> <tr> <td><?php echo GetMessage("rub_tmpl_name"); ?> </td> <td><?php echo htmlspecialcharsbx($arTemplate["NAME"]); ?> </td> </tr> <tr> <td><?php echo GetMessage("rub_tmpl_desc");