<commit_before><?php
$this->title = 'จำนวนผู้ป่วยในแยกรายเดือน';
$this->params['breadcrumbs'][] = $this->title;

use kartik\grid\GridView;
use miloschuman\highcharts\Highcharts;
use yii\helpers\Html;
?>
<div class="row">
    <div class="col-md-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <h3 class="panel-title">ค้นหาข้อมูล</h3>
            </div>
            <div class="panel-body">
                <?= Html::beginForm();?>
                <?= Html::dropDownList('year',null,['2014'=>'2014','2015'=>'2015'],['class'=>'form-control']);?>
                <?= Html::submitButton('ค้นหา',['class'=>'btn btn-info']);?>
                <?= Html::endForm();?>
            </div>
        </div>
    </div>


    <div class="col-md-12">
        <div class="panel panel-warning">
            <div class="panel-heading">
                <h3 class="panel-title"><i class="glyphicon glyphicon-signal"></i> จำนวนผู้ป่วยในแยกรายเดือน</h3>
            </div>
            <div class="panel-body">
                <?php
                echo Highcharts::widget([
                    'options' => [
                        'title' => ['text' => 'จำนวนผู้ป่วยในแยกรายเดือน'],
                        'xAxis' => [
                            'categories' => $mm
                        ],
                        'yAxis' => [
                            'title' => ['text' => 'จำนวน(คน)']
                        ],
                        'series' => [<commit_msg>update Report 3<commit_after><?php
$this->title = 'จำนวนผู้ป่วยในแยกรายเดือน';
$this->params['breadcrumbs'][] = $this->title;

use kartik\grid\GridView;
use miloschuman\highcharts\Highcharts;
use yii\helpers\Html;
?>
<div class="row">
    <div class="col-md-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <h3 class="panel-title">ค้นหาข้อมูล</h3>
            </div>
            <div class="panel-body">
                <?php
                if(isset($_POST['year'])){
                    $y=$_POST['year'];
                }else{
                    $y='';
                }
                ?>
                <?= Html::beginForm();?>
                <?= Html::dropDownList('year',$y,['2014'=>'2014','2015'=>'2015'],['class'=>'form-control','prompt'=>'โปรดเลือกปี','required'=>true]);?>
                <?= Html::submitButton('ค้นหา',['class'=>'btn btn-info']);?>
                <?= Html::endForm();?>
            </div>
        </div>
    </div>


    <div class="col-md-12">
        <div class="panel panel-warning">
            <div class="panel-heading">
                <h3 class="panel-title"><i class="glyphicon glyphicon-signal"></i> จำนวนผู้ป่วยในแยกรายเดือน</h3>
            </div>
            <div class="panel-body">
                <?php
                echo Highcharts::widget([
                    'options' => [
                        'title' => ['text' => 'จำนวนผู้ป่วยในแยกรายเดือน'],
                        'xAxis' => [
                            'categories' => $mm
                        ],
                        'yAxis' => [
                            'title' => ['text' => 'จำนวน(คน)']
                        ],
                        'series' => [
{'fraction_non_alphanumeric': 0.19511440940012367, 'fraction_numerical': 0.015151515151515152, 'mean_word_length': 1.4808282208588956, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 88, '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': '1996734', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1093, 'n_words': 133}