<!-- box / left -->
<div class="box box-left box-padding box-left-tabs">
    <!-- box / title -->
    <div class="title">
        <h5><?php echo $this->__('Add New Menu');?></h5>
    </div>
    <!-- end box / title -->
    <div id="box-left-forms">
        <form action="<?php echo $this->baseUrl('/menusort/manage/add'); ?>" class="savesequence" method="post">

        <div class="form">
                <div class="message"></div>
            <div class="fields">
               <div class="field first">
                    <div class="label">
                        <label for="input"><?php echo $this->__('Title:');?></label>
                    </div>
                    <div class="input">
                        <input type="text" name="data[Menu][title]" class="large check_notempty" onblur="jQuery('#menuname').attr('value',jQuery(this).attr('value').replace(' ',''))" value="" />
                    </div>
                </div>
                <div class="field first">
                    <div class="label">
                        <label for="input"><?php echo $this->__('Name:');?></label>
                    </div>
                    <div class="input">
                        <input type="text" name="data[Menu][name]" class="large check_notempty" id="menuname" value="" />
                    </div>
                </div>
                <div class="field first">
                    <div class="label">
                        <label for="input"><?php echo $this->__('url:');?></label>
                    </div>
                    <div class="input">
                        <input type="text" name="data[Menu][url]" class="large check_notempty" value="{baseurl}" />
                    </div>
                </div>
                <div class="buttons">
                    <input type="submit" name="submit" value="Save" />
                </div>
            </div>
        </div>
        </form>
    </div>
</div>
<!-- end box / left -->
<!-- box / right -->
<div class="box box-right">
    <!-- box / title -->
    <div class="title">
        <h5><?php echo $this->__("Available Menues");?></h5>
    </div>
    <!-- end box / title -->
	<div class="form">
        <ul class="circle">
		<?php foreach( $menuArr as $row): ?>
            <li><?php echo($row[1]);?>
            <?php if(App::Component('Menusort')->Helper('Data')->isDelete($row[2])):?>
                <a href="<?php echo App::Config()->baseUrl("/menusort/manage/remove/{$row[2]}"); ?>" class="confirm-link">Remove</a>
            <?php endif;?>
            </li>
        <?php endforeach; ?>
        </ul>
	</div>
</div>