" class="column_ad"><img src="<?php echo Yii::app()->request->baseUrl . $col1->images[0]->source; ?> " title="<?php echo $col1->title; ?> "/></a> <?php } ?> <div class="newsletter"> <?php echo TbHtml::beginForm(array('site/newsletter'), 'post'); ?> <?php echo TbHtml::TextField('email', 'Enter your Email here', array('class' => 'nl_input')); ?> <input type="submit" class="nl_submit" value=""/> <div class="clear"></div> <?php echo TbHtml::endForm(); ?> </div> <?php if (!empty($col2)) { ?> <a href="<?php echo $col1->link; ?> " class="column_ad"><img src="<?php echo Yii::app()->request->baseUrl . $col2->images[0]->source;
<div class="form"> <?php echo TbHtml::beginForm(Yii::app()->createUrl('/library/search/search'), 'post', array('enctype' => 'multipart/form-data')); ?> <div class="form-group has-success clearfix"> <div class="wr col-sm-6"> <?php echo TbHtml::TextField('search_field', "", array('placeholder' => 'Введите фразу для поиска', 'required' => 'true')); ?> </div> <div> <?php echo TbHtml::submitButton('Выдать', array('color' => TbHtml::BUTTON_COLOR_PRIMARY)); ?> </div> <?php echo TbHtml::endForm(); ?> </div> </div> <?php if (isset($result)) { $this->widget('bootstrap.widgets.TbGridView', array('dataProvider' => $result, 'template' => "{items}", 'columns' => array(array('name' => 'name', 'header' => 'Название книги', 'htmlOptions' => array('color' => 'width: 60px'))))); }
</div> <?php } else { ?> <div class="form"> <?php echo TbHtml::beginForm(); ?> <div class="row-fluid"> <?php echo TbHtml::Label('Transaction Reference #', 'trans_id'); ?> <?php echo TbHtml::TextField('trans_id'); ?> <p class="hint"><?php echo Yii::t('label', "Please enter your Transaction Reference Number."); ?> </p> </div> <div class="row-fluid submit"> <?php echo TbHtml::button(yii::t('label', 'Get Status'), array('color' => TbHtml::BUTTON_COLOR_PRIMARY, 'submit' => '')); ?> </div> <?php echo TbHtml::endForm();
} ?> "><a href="<?php echo Yii::app()->createUrl('category/all', array('category' => $category->getLink())); ?> "><?php echo $name; ?> <span class="pull-right glyphicon glyphicon-chevron-right"></span></a></li> <?php $c++; } } ?> </ul> <?php } ?> <br/> <?php echo TbHtml::beginForm(array('site/newsletter'), 'post'); ?> <div class="input-group input-group-lg" style="padding: 0px 15px 0px 0px; "> <?php echo TbHtml::TextField('email', 'Newsletter', array('class' => 'form-control')); ?> <span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i></span> <div class="clear"></div> </div> <?php echo TbHtml::endForm();