<?php if (!defined('ROOT')){ echo 'Deny ...'; exit; } extract($data); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>MAIN</title>
        <link href="<?php echo $base_url; ?>static/css/style.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo $base_url; ?>static/css/select.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="<?php echo $base_url; ?>static/js/jquery.js"></script>
        <script type="text/javascript" src="<?php echo $base_url; ?>static/js/select-ui.min.js"></script>
    </head>

    <body>

        <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="<?php echo $base->get_url(array('c' => 'frame', 'm' => 'main')); ?>">首页</a></li>
                <li><a href="<?php echo $base->get_url(array('c' => 'channel')); ?>">模块系统</a></li>
                <li>新增模块系统</li>
            </ul>
        </div>

        <div class="formbody" style="margin-top: 10px;">
            <div class="usual"> 
                <?php echo form::start('form1');?>
                <?php echo form::nonce($admin['id'], 'createChannel');?>
                <div class="tabson">
                    <?php echo form::tip($admin['username'], '新增模块系统');?>
                    <ul class="forminfo">
                        <?php
                            echo form::input(array(
                                'title' => '系统名称',
                                'name' => 'name',
                                'must' => 1,
                                'placeholder' => '请输入系统名称, 如: 新闻管理',
                                'style' => '',
                                'value' => '',
                                'readonly' => 0
                            ));
                            echo form::input(array(
                                'title' => '系统目录',
                                'name' => 'path',
                                'must' => 1,
                                'placeholder' => '请输入系统目录(字母), 如: news',
                                'style' => '',
                                'value' => '',
                                'readonly' => 0
                            ));
                        ?>                        
                        <?php echo form::submit('提交', 'btn88');?>
                    </ul>
                </div> 
                <?php echo form::end();?>
                <?php echo form::onclick('form1', 'btn88', '提交', $base->get_url(array('c' => 'channel', 'm' => 'createAJAX')), $base->get_url(array('c' => 'channel')));?>
            </div> 
        </div>
    </body>
</html>
