예제 #1
0
"></span>
						<?php 
    } else {
        ?>
							<span style="color:red;">Нет</span>
						<?php 
    }
    ?>
					
					</span>
					<span class="ps_coll"><?php 
    echo general::link_to($tpl_folder . '/new/id/' . $obj->id, 'Редактировать');
    ?>
</span>
					<span class="ps_coll"><?php 
    if (dbh::catalog_tree_count_child($obj->id) == 0 and dbh::catalog_count_child($obj->id) == 0) {
        ?>
					<?php 
        echo general::link_to($tpl_folder . '/delete/id/' . $obj->id, 'Удалить?', 'onclick="return confirm(\'Вы уверены?\')"');
        ?>
					<?php 
    }
    ?>
</span>
					
				</span>
                <span class="name"><?php 
    echo $level . $obj->pole;
    ?>
</span>
            </span>