	
<?php
$baseUrl = Yii::app()->theme->baseUrl."/frontend/"; 
$url = Yii::app()->baseUrl."/"; 
$cs = Yii::app()->getClientScript();
$this->pageTitle='Sistem Evaluasi Kelurahan Layak Anak';	
?>




<!-- end header -->
<section id="slider-01">
	<div class="owl-slider-04 owl-carousel owl-theme">
		<div class="item owl-bg cover-bg" style="background:linear-gradient(rgba(20,20,20,0.10), rgba(20,20,20,0.40)), url('<?php echo $baseUrl;?>images/slider-socmed-02.jpg')">
			<div cass="container">
				<div class="row">
					<div class="large-7 column">
						<div class="owl-slide-content_text p-t-200">
							<h3 class="owl-slide-content_text-title fs-50">
								Program & Penghargaan
							</h3>
							<div class="owl-slide-content_text-desc">
								<p>Kelurahan Layak Anak.</p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="item owl-bg cover-bg" style="background:linear-gradient(rgba(20,20,20,0.20), rgba(20,20,20,0.50)), url('<?php echo $baseUrl;?>images/slider-socmed-03.jpg')">
			<div cass="container">
				<div class="row">
					<div class="large-8 column large-centered">
						<div class="owl-slide-content_text text-center p-t-100">
							<h3 class="owl-slide-content_text-title fs-50">
								Sistem Evaluasi <br>Kelurahan Layak Anak.
							</h3>
							<div class="owl-slide-content_text-desc">
								<p>Dinas Pemberdayaan Perempuan Perlindungan Anak<br>dan Pemberdayaan Masyarakat.</p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>
<!-- end main slide sosmed -->


<!-- contact support -->
<div class="section  p-b-60 p-t-60" id="program">
	<div class="row">
		<div class="large-7 large-centered column">
			<div class="section-header text-center   animate "  data-animate="fadeInUp" data-duration="1s" data-delay="0.1s" data-offset="50" >

				<p class="el-subtitle">Kelurahan Layak Anak</p>
				<h2 class="el-title">Program</h2>
				<div class="divider"></div>
				<div class="clear"></div>

			</div>

			<?php 
			$dataPenghargaan=new CActiveDataProvider('Appreciation');
			$dataProgram=new CActiveDataProvider('Program');

			$this->widget('zii.widgets.grid.CGridView', array(
				'id'=>'program-grid',
				'dataProvider'=>$dataProgram,
				'itemsCssClass' => 'table-responsive table table-striped table-hover table-vcenter',
				'columns'=>array(

					array(
						'header'=>'No',
						'value'=>'$this->grid->dataProvider->pagination->currentPage*$this->grid->dataProvider->pagination->pageSize + $row+1',
						'htmlOptions'=>array('width'=>'10px', 
							'style' => 'text-align: center;')),

					// array('name'=>'user_id','value'=>'$data->User->first_name'),
					'year',
					array('name'=>'village_id','value'=>'$data->Village->name'),
					'name',
					'description',
					'benefit',

					),
					)); ?>

				</div>
			</div>
		</div>
		<!-- end contact support -->

		<!-- contact support -->
		<div class="section  p-b-60 p-t-60" id="maps">
			<div class="row">
				<div class="large-7 large-centered column">
					<div class="section-header text-center   animate "  data-animate="fadeInUp" data-duration="1s" data-delay="0.1s" data-offset="50" >

						<p class="el-subtitle">Kelurahan Layak Anak</p>
						<h2 class="el-title">Penghargaan</h2>
						<div class="divider"></div>
						<div class="clear"></div>

					</div>


					<?php $this->widget('zii.widgets.grid.CGridView', array(
						'id'=>'appreciation-grid',
						'dataProvider'=>$dataPenghargaan,
						'itemsCssClass' => 'table-responsive table table-striped table-hover table-vcenter',
						'columns'=>array(

							array(
								'header'=>'No',
								'value'=>'$this->grid->dataProvider->pagination->currentPage*$this->grid->dataProvider->pagination->pageSize + $row+1',
								'htmlOptions'=>array('width'=>'10px', 
									'style' => 'text-align: center;')),

							// array('name'=>'user_id','value'=>'$data->User->first_name'),
							'year',
							array('name'=>'village_id','value'=>'$data->Village->name'),
							'name',
							'description',

							),
							)); ?>




						</div>
					</div>
				</div>
				<!-- end contact support -->



				<!-- contact support -->
				<div class="section  p-b-60 p-t-60" id="contact">
					<div class="row">
						<div class="large-7 large-centered column">
							<div class="section-header text-center   animate "  data-animate="fadeInUp" data-duration="1s" data-delay="0.1s" data-offset="50" >
								<div class="el-icon m-b-15">
									<img src="<?php echo $baseUrl; ?>images/icons/socmed-2/help and support.svg" width="80">
								</div>
								<p class="el-subtitle">Layanan</p>
								<h2 class="el-title">Bantuan ?</h2>
								<div class="divider"></div>
								<div class="clear"></div>
								<p class="m-t-30">Bagi yang mengalami masalah username dan password harap mengirimkan email ke <?php echo Setting::model()->email(); ?></p>
							</div>
							<div class="section-content m-t-30">
								<div class="large-6 column text-center   animate "  data-animate="fadeInUp" data-duration="1s" data-delay="0.1s" data-offset="50" >
									<div class="el-icon font-size-30 m-b-15">
										<img src="<?php echo $baseUrl; ?>images/icons/socmed-2/7analytic-icon3.svg" width="80">
									</div>
									<div class="el-title">
										<h5 class="el-title font-size-18">(022) <?php echo Setting::model()->phone(); ?></h5>
									</div>
								</div>
								<div class="large-6 column text-center   animate "  data-animate="fadeInUp" data-duration="1s" data-delay="0.1s" data-offset="50" >
									<div class="el-icon font-size-30 m-b-15">
										<img src="<?php echo $baseUrl; ?>images/icons/socmed-2/7analytic-icon1.svg" width="80">
									</div>
									<div class="el-title">
										<h5 class="el-title font-size-18"> <?php echo Setting::model()->email(); ?> </h5>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<!-- end contact support -->


