for i in `ls -1`; do mysql -u admin -pw12345678 databasename < $i; done
<input type = hidden name = cbx value = 0>
<input type = checkbox name = cbx value = 1>
..&cbx=0&cbx=1&...
$_GET['cbx'] = 0;
$_GET['cbx'] = 1;
'columns' => [
[
'attribute' => 'name',
'format' => 'html',
'value' => function ($model) {
return Html::a(
'<img src="'.Media::preview($model->image_id,100,100).'" class="pull-left img-thumbnail" />'
. $model->name,
['/club/view', 'club_id'=>$model->id]
);
}
],
[
'attribute' => 'city_id',
'format' => 'html',
'value' => function ($model) {
return $model->city->name;
}
],
'members_count',
[
'attribute' => 'type',
'format' => 'text',
'value' => function ($model) {
return \app\models\Club::$types[ $model->type ];
}
],
]
[^ (<br \/>)]\s*\n