<div class="right-title">
			<a>News List</a>
			<div class="right-title-gradient"></div>
		</div>
		
		<div class="add-new-bg">
			<a class="add-new" href="newsadd">
				<img src="<?php echo Base_url()?>assets/images/icon/add.png">
				Add New News
			</a>
		</div>
		
		<div class="content">
			<table class="table">
				<thead>
					<tr>
						<td class="table-preview"><a>Preview</a></td>
						<td><a>Title</a></td>
						<td><a>Content</a></td>
						<td class="table-status"><a>Status</a></td>
						<td class="table-colspan" colspan="2"><a>Manage</a></td>
					</tr>
				</thead>
				<tbody>
				<?php foreach ($list as $ls)
				{
				?>
					<tr>
						<td>
							<a>
								<div class="img-preview">
									<img src="<?php echo base_url().'assets/images/logo/news/'.$ls['image'] ?>">
								</div>
							</a>
						</td>
						<td><a><?php echo $ls['title']?></a></td>
						<td><a><?php echo word_limiter($ls['content'], 14)?></a></td>
						<td style="text-align:Center;">
							<a>
								<?php
									if($ls['status'] == 1)
									{
										echo 'Active';
									}
									else
									{
										echo 'Inactive';
									}
								?>
							</a>
						</td>
						<td class="table-edit"><a href="newsedit/<?php echo $ls['newsId']?>">Edit</a></td>
						<td class="table-delete"><a href="newsdelete/<?php echo $ls['newsId']?>">Delete</a></td>
					</tr>
				<?php }
				?>
				</tbody>
			</table>
		</div>