<div id="maincon" style="white-space:nowrap;">



    <div class="title"> <h2 class="edit">批量编辑</h2></div>
    <form id="form_information_setting" name="form_information_setting" method="post" action="">
        <?php
        foreach ($information_list as $key => $item)
        {
            ?>
            <div> 

                <span class="num"><?php echo sprintf('%03d', $key + 1) ?>. </span>
                <?php
                for ($i = 1; $i < $item->is_level; $i++)
                {
                    echo '&nbsp;&nbsp;&nbsp;&nbsp;';
                }
                for ($i = 1; $i < $item->is_level; $i++)
                {
                    echo '&nbsp;&nbsp;&nbsp;&nbsp;';
                }
                ?>
                <input type="checkbox" name="is_id_select[]" value="<?php echo $item->is_id; ?>" />
                <input type="hidden" name="is_id[]" value="<?php echo $item->is_ic_id; ?>" />
                <input type="hidden" name="is_ic_id[]" value="<?php echo $item->is_ic_id; ?>" />

                信息类型:
                <select name="ic_type[]" id="ic_type" >
                    <?php
                    foreach ($information_type_list as $key => $value)
                    {
                        $value == $item->ic_type ? $select_str = 'selected' : $select_str = '';
                        ?>
                        <option  <?php echo $select_str; ?> value="<?php echo $value; ?>" ><?php echo $key; ?></option>
                    <?php } ?>
                </select> 
                模板:
                <select name="ic_template[]" id="ic_template" >
                    <?php
                    foreach ($template_list as $key => $value)
                    {
                        $value == $item->ic_template ? $select_str = 'selected' : $select_str = '';
                        ?>
                        <option <?php echo $select_str; ?> value="<?php echo $value; ?>" ><?php echo $key; ?></option>
                    <?php } ?>
                </select>
                面包屑:
                <select name="ic_show_bread_crumbs[]" id="ic_show_bread_crumbs">
                    <option <?php echo $item->ic_show_bread_crumbs == 0 ? 'selected' : FALSE; ?> value="0" >否</option>
                    <option <?php echo $item->ic_show_bread_crumbs == 1 ? 'selected' : FALSE; ?> value="1" >是</option>
                </select>
                发布:
                <select name="ic_status[]" id="ic_status" >
                    <option <?php echo $item->ic_status == 0 ? 'selected' : FALSE; ?> value="0" >否</option>
                    <option <?php echo $item->ic_status == 1 ? 'selected' : FALSE; ?> value="1" >是</option>
                </select>
                链接文字:
                <input type="text" name="ic_url_title[]" value="<?php echo $item->ic_url_title ?>" class="L300" />
                链接:
                <input type="text" name="ic_url[]" value="<?php echo $item->ic_url ?>" class="L300" />
                信息标题:
                <input type="text" name="ic_title[]" value="<?php echo $item->ic_title ?>" class="L300" />
                SEO标题:
                <input type="text" name="ic_seo_title[]" value="<?php echo $item->ic_seo_title ?>" class="L300" />
                SEO关键词:
                <input type="text" name="ic_keywords[]" value="<?php echo $item->ic_seo_keywords ?>"class="L300" />
                SEO描述:
                <input type="text" name="ic_seo_description[]" value="<?php echo $item->ic_seo_description ?>" class="L300" />
                线路推荐:
                <input type="text" name="ic_recommend_tours[]" value="<?php echo $item->ic_recommend_tours ?>" class="L300" />
                小包价推荐:
                <input type="text" name="ic_recommend_packages[]" value="<?php echo $item->ic_recommend_packages ?>" class="L300" />

                <a href="<?php echo site_url('information/edit/' . $item->is_id); ?>" target="_blank" >编辑</a>

            </div> 
        <?php } ?>
        <br/>
        <input type="button" onclick="$('#form_information_setting').attr('action','<?php echo site_url('setting/delete') ?>'); $('#form_information_setting').submit();" value="删除选择" />
        <input type="button" onclick="$('#form_information_setting').attr('action','<?php echo site_url('setting/save') ?>'); $('#form_information_setting').submit();" value="提交修改" />
    </form>
    <div class="clear"></div>
</div>