<commit_before><script type="text/javascript">
    $(document).ready(function () {
        $('#projectName').bind('click', function () {
            if ($('#projectName').val() == '请输入标题') {
                $('#projectName').val("");
            }

        });
        $('.inputName').blur(function () {
            var otherInput = $('.inputName').not($(this));
            otherInput.val($(this).val());
        });
        $('div.radio-group>label').bind('click', function () {
            var inputId = $(this).prop('for');
            input$ = $('#' + inputId);
            input$.prop('checked', true);
            var timesValue = parseInt(input$.val());
            console.log(timesValue);
            var i = 7;
            var j = 1;
            while (j <= timesValue) {
                var timesValueId = 'payment_times_value_' + j;
                var timesLabelId = 'payment_times_label_' + j;
                $('.' + timesLabelId).css("display", "inline-block");
                $('#' + timesValueId).css("display", "inline-block");
                j++;
            }
            while (i > timesValue) {
                var timesValueId = 'payment_times_value_' + i;
                var timesLabelId = 'payment_times_label_' + i;
                $('.' + timesLabelId).css("display", "none");
                $('#' + timesValueId).css("display", "none");
                i--;
            }
            $(this).parent().find('label.checked').removeClass('checked');
            $(this).toggleClass('checked');

        });
        $(".input-datepicker").datepicker();
        $('div#user').delegate('div.user-item a.putaway','click', function(){
           $(this).parent().children('div.user-content').toggle();
            return false;
        });
        $('div#user').delegate('div.user-item a.delete', 'click', function(){
           $(this).parent().remove();
            return false;
        });
        $('div.user-add a').bind('click', function(){
           $(".input-datepicker").datepicker('destroy');
           var oldSize = $('div.user-item').size();
           $newUserItem = $('div.user-item').first().clone();
           $newUserItem.find('input').val(" ");
           $newUserItem.find('input').each(function(){
               var tempInputName = $(this).attr('name');
               tempInputName = tempInputName.replace(/ProjectUserForm\[\d+\]/, 'ProjectUserForm['+oldSize+']');
               $(this).attr('name', tempInputName);
               if($(this).hasClass('input-datepicker')){
                   $(this).attr('id', " ");
                   $(".input-datepicker").datepicker();
               }
           });

           $('div.user-item').last().after($newUserItem);
           return false;
        });
    });


</script>
<div class="substance">
<div class="leftside">
    <a href="#">
        <img src="<?php echo Yii::app()->request->baseUrl; ?>/images/elements/left_blue.png">
    </a>
    <a class="tittle3" href="#">新建与申请</a>

    <form action="#" method="POST">
        <div id="info" class="tab-content">
            <p>创建日期：<?php
                if (empty($result)) {<commit_msg>Add create new category view<commit_after><script type="text/javascript">
    $(document).ready(function () {
        $('#projectName').bind('click', function () {
            if ($('#projectName').val() == '请输入标题') {
                $('#projectName').val("");
            }

        });
        $('.inputName').blur(function () {
            var otherInput = $('.inputName').not($(this));
            otherInput.val($(this).val());
        });
        $('div.radio-group>label').bind('click', function () {
            var inputId = $(this).prop('for');
            input$ = $('#' + inputId);
            input$.prop('checked', true);
            var timesValue = parseInt(input$.val());
            console.log(timesValue);
            var i = 7;
            var j = 1;
            while (j <= timesValue) {
                var timesValueId = 'payment_times_value_' + j;
                var timesLabelId = 'payment_times_label_' + j;
                $('.' + timesLabelId).css("display", "inline-block");
                $('#' + timesValueId).css("display", "inline-block");
                j++;
            }
            while (i > timesValue) {
                var timesValueId = 'payment_times_value_' + i;
                var timesLabelId = 'payment_times_label_' + i;
                $('.' + timesLabelId).css("display", "none");
                $('#' + timesValueId).css("display", "none");
                i--;
            }
            $(this).parent().find('label.checked').removeClass('checked');
            $(this).toggleClass('checked');

        });
        $(".input-datepicker").datepicker();
        $('div#user').delegate('div.user-item a.putaway','click', function(){
           $(this).parent().children('div.user-content').toggle();
            return false;
        });
        $('div#user').delegate('div.user-item a.delete', 'click', function(){
           $(this).parent().remove();
            return false;
        });
        $('div.user-add a').bind('click', function(){
           $(".input-datepicker").datepicker('destroy');
           var oldSize = $('div.user-item').size();
           $newUserItem = $('div.user-item').first().clone();
           $newUserItem.find('input').val(" ");
           $newUserItem.find('input').each(function(){
               var tempInputName = $(this).attr('name');
               tempInputName = tempInputName.replace(/ProjectUserForm\[\d+\]/, 'ProjectUserForm['+oldSize+']');
               $(this).attr('name', tempInputName);
               if($(this).hasClass('input-datepicker')){
                   $(this).attr('id', " ");
                   $(".input-datepicker").datepicker();
               }
           });

           $('div.user-item').last().after($newUserItem);
           return false;
        });
    });
</script>
<div class="substance">
<div class="leftside">
    <a href="#">
        <img src="<?php echo Yii::app()->request->baseUrl; ?>/images/elements/left_blue.png">
    </a>
    <a class="tittle3" href="#">新建与申请</a>

    <form action="#" method="POST">
        <div id="info" class="tab-content">
            <p>创建日期：<?php
                if (empty($result)) {
{'fraction_non_alphanumeric': 0.20569066920998252, 'fraction_numerical': 0.0009537434430138292, 'mean_word_length': 1.88491517652453, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4656599', 'n_tokens_mistral': 1783, 'n_tokens_neox': 1739, 'n_words': 266}