<?phpif(!function_exists('reverse_taxonomies_html')){functionreverse_taxonomies_html($post_taxonomies,$item_id,&$i,$ctx_name='',$entry=''){$childs=array();foreach($post_taxonomiesas$j=>$cat)if($cat->parent_id==$item_idand$cat->item_id!=$item_id){$childs[]=$cat;}if(!empty($childs)){?><ol><?phpforeach($childsas$child_cat){$i++;?><liid="item_<?phpecho$i;?>"class="dragging"><divclass="drag-element"><inputtype="checkbox"class="assign_term"<?phpif(!empty($child_cat->assign)):?>checked="checked"<?phpendif;?>title="<?php_e('Assign post to the taxonomy.','wp_all_import_plugin');?>"/><inputclass="widefat xpath_field"type="text"value="<?phpechoesc_textarea($child_cat->xpath);?>"/><?phpdo_action('pmxi_category_view',$cat,$i,$ctx_name,$entry);?></div><ahref="javascript:void(0);"class="icon-item remove-ico"></a><?phpechoreverse_taxonomies_html($post_taxonomies,$child_cat->item_id,$i,$ctx_name,$entry);?></li><?php}?></ol><?php}}}