WATERNEWS
Get latest news related to National Water Research Institure Of Malaysia
';
$form = ActiveForm::begin(['action' => ['portal-main/waternews'], 'method' => 'get',]);
echo '
'.Html::input('text','search_keyword',$search_keyword, $options=['class'=>'form-control input-search','placeholder'=>'What are you looking for?']).'
'.Html::dropDownList('search_year', $search_year, ArrayHelper::map(
(new \yii\db\Query())->from('ref')
->where(['=', 'cat', 'YEAR'])
->orderBy(['descr' => SORT_DESC])
->all(), 'code', 'descr'),['class'=>'form-control input-search','prompt'=>'Year']).'
';
echo Html::submitButton(Yii::t('app', 'Search'), ['class' => 'button button2']);
echo Html::a(Yii::t('app', 'Reset'), ['portal-main/waternews'], ['class' => 'button button2']);
ActiveForm::end();
echo '