<?php
$this->load->view('admin/templates/header.php');
$feedbackList = $this->data['GetproductFeedbackLists']->result_array();

?>
<div id="content">
		<div class="grid_container">
			<div class="grid_12">
				<div class="widget_wrap">
					<div class="widget_top">
						<span class="h_icon list"></span>
						<h6>View User</h6>
						<div id="widget_tab">
			              <ul>
			                <li><a href="#tab1" class="active_tab">Details</a></li>
			             
			              </ul>
			            </div>
					</div>
					<div class="widget_content">
					<?php 
						$attributes = array('class' => 'form_container left_label');
						echo form_open('admin',$attributes) 
					?>
					<div id="tab1">
	 						<ul>
	 					
	 							<li>
								<div class="form_grid_12">
									<label class="field_title">User Name</label>
									<div class="form_input">
										<?php echo $feedbackList[0]['userName']; ?>
									</div>
								</div>
								</li>
								<li>
								<div class="form_grid_12">
									<label class="field_title">Shop Name</label>
									<div class="form_input">
										<?php echo  $feedbackList[0]['seller_businessname'];?>
									</div>
								</div>
								</li>
								<li>
								<div class="form_grid_12">
									<label class="field_title">Title</label>
									<div class="form_input">
										<?php echo  $feedbackList[0]['title'];?>
									</div>
								</div>
								</li>
	 							<li>
								<div class="form_grid_12">
									<label class="field_title">Description</label>
									<div class="form_input">
										<?php echo  $feedbackList[0]['description'];?>
									</div>
								</div>
								</li>
                                <li>
								<div class="form_grid_12">
								<label class="field_title">Rating</label>
									<div class="form_input">
							<div class="ratingstar-<?php echo trim(round(stripslashes( $feedbackList[0]['rating'])));?>" id="rating-pos">  </div>
									</div>
                                    </div>
                                    
                                   <div class="clear"></div>
								</li>
								<li>
								<div class="form_grid_12">
									<label class="field_title">Created On</label>
									<div class="form_input">
										<?php echo $feedbackList[0]['dateAdded'];?>
									</div>
								</div>
								</li>
								
								<li>
								<div class="form_grid_12">
									<div class="form_input">
										<a href="admin/admin_feedback/display_shop_feedback" class="tipLeft" title="Go to users list"><span class="badge_style b_done">Back</span></a>
									</div>
								</div>
								</li>
								</ul>
							</div>
							
							
				</div>
			</div>
		</div>
		<span class="clear"></span>
	</div>
</div>
<?php 
$this->load->view('admin/templates/footer.php');
?>