<commit_before><?php
    $this->assets->collection('head');
    $this->assets->collection('footer');
?>
<style type="text/css">
    select {margin:5px 0px;}
    .table th, .table td {vertical-align: middle;}
    .table td input { margin:0px; }
</style>

    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">

                <form action="tuangou.php" method="POST">
                    <table class="table table-striped table-bordered table-hover category-list-table">
                        <thead>
                            <tr>
                                <th class="span1"><!-- 编号 --></th>
                                <th class="span3">分类名称</th>
                                <th class="span1">排序</th>
                                <!-- <th class="span2">是否可用</th> -->
                                <!-- <th class="span2">修改时间</th> -->
                                <th class="span2">操作</th>
                            </tr>
                        </thead>
                        <tbody id="category-table-body">
                            {% if category_list is iterable %}
                            {% for key, item in category_list %}
                            <tr class="tuangrou_category_{$item.category_id}{if $item.enabled eq 0} error{/if}">
                                <td><!-- {$item.category_id} --></td>
                                <td>
                                    <div class="category-level-lv{{ item['level'] }}">
                                        {{ item['name'] }}({{ item['cid'] }})
                                    </div>
                                </td>
                                <td>{{ item['sort_order'] }}
                                <!-- <td>&nbsp;</td> -->
                                <td>
                                    <!-- <a href="tuangou.php?act=manage&id={$item.category_id}">更新</a> -->
                                </td>
                            </tr>
                            {% endfor %}
                            {% endif %}
                            <!-- <tr class="">
                                <td>&nbsp;</td>
                                <td><input type="text" name="category_new[0][0][sort_order]" value="255" class="span12" /></td>
                                <td>
                                    <div class="category-level-lv1">
                                        <input type="text" name="category_new[0][0][category_name]" value="" />
                                        <input type="hidden" name="category_new[0][0][level]" value="1" />
                                    </div>
                                </td>
                                <td><input type="text" name="category_new[0][0][identify]" value="" /></td>
                                <td>
                                    <div class="switch make-switch" data-on="primary" data-off="info">
                                        <input type="checkbox" name="category_new[0][0][enabled]" value="1" checked rel="" class="switch-enabled" />
                                    </div>
                                </td>
                                <td>&nbsp;</td>
                            </tr> -->
                        </tbody>
                        <tbody>
                            <tr>
                                <td>&nbsp;</td><commit_msg>1、修改淘宝类目列表<commit_after><?php
    $this->assets->collection('head');
    $this->assets->collection('footer');
?>
<style type="text/css">
    select {margin:5px 0px;}
    .table th, .table td {vertical-align: middle;}
    .table td input { margin:0px; }
</style>

    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">

                <form action="tuangou.php" method="POST">
                    <table class="table table-striped table-bordered table-hover category-list-table">
                        <thead>
                            <tr>
                                <th class="span1"><!-- 编号 --></th>
                                <th class="span3">分类名称</th>
                                <th class="span1">排序</th>
                                <!-- <th class="span2">是否可用</th> -->
                                <!-- <th class="span2">修改时间</th> -->
                                <th class="span2">操作</th>
                            </tr>
                        </thead>
                        <tbody id="category-table-body">
                            {% if category_list is iterable %}
                            {% for key, item in category_list %}
                            <tr class="tuangrou_category_{$item.category_id}{if $item.enabled eq 0} error{/if}">
                                <td><!-- {$item.category_id} --></td>
                                <td>
                                    <div class="category-level-lv{{ item['level'] }}">
                                        {{ item['name'] }}({{ item['cid'] }})
                                    </div>
                                </td>
                                <td>{{ item['sort_order'] }}
                                <!-- <td>&nbsp;</td> -->
                                <td>
                                    <!-- <a href="tuangou.php?act=manage&id={$item.category_id}">更新</a> -->
                                    {% if item['is_parent'] == 'false' %}
                                    <a href="/taobao/category/prop">查看属性</a>
                                    {% endif %}
                                </td>
                            </tr>
                            {% endfor %}
                            {% endif %}
                            <!-- <tr class="">
                                <td>&nbsp;</td>
                                <td><input type="text" name="category_new[0][0][sort_order]" value="255" class="span12" /></td>
                                <td>
                                    <div class="category-level-lv1">
                                        <input type="text" name="category_new[0][0][category_name]" value="" />
                                        <input type="hidden" name="category_new[0][0][level]" value="1" />
                                    </div>
                                </td>
                                <td><input type="text" name="category_new[0][0][identify]" value="" /></td>
                                <td>
                                    <div class="switch make-switch" data-on="primary" data-off="info">
                                        <input type="checkbox" name="category_new[0][0][enabled]" value="1" checked rel="" class="switch-enabled" />
                                    </div>
                                </td>
                                <td>&nbsp;</td>
                            </tr> -->
                        </tbody>
                        <tbody>
                            <tr>
                                <td>&nbsp;</td>
{'fraction_non_alphanumeric': 0.14817950889077053, 'fraction_numerical': 0.008608523849844764, 'mean_word_length': 0.8199794555726759, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 163, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 45, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5893562', 'n_tokens_mistral': 1783, 'n_tokens_neox': 1658, 'n_words': 281}