Location: PHPKode > scripts > Upble > upble-master/application/views/review/show.php
<?php $this->load->view('header.php'); ?>
<div id="content">
	<div class="wrap  clearfix">
		<div id="main" class="span-16">
			<div id="review_<?=$review->id?>" class="review user_review_list">
						
				<div class="clearfix">		
					<div class= "span-7">
						
						<h2><a href="<?=site_url('biz/'.$biz->id)?>"><?=ucfirst($biz->name)?></a></h2>
						
						<p> Categories:&nbsp;<a href="<?=site_url('/biz/cat/'.$biz->category_1->slug)?>"><?=$biz->category_1->name?></a><?php if($biz->category_2):?>,&nbsp;<a href="<?=site_url('/biz/cat/'.$biz->category_1->slug.'/'.$biz->category_2->slug)?>"><?=$biz->category_2->name?></a><?php endif;?></p>
						
					</div>
					<div class="span-8 last" style="float:right;text-align:right;">
						<p><?=$biz->addrs1?></p>
						<p><?php if($biz->district):?><?=$biz->district->name?> District<?php endif?>, <?=$biz->city->name?></p>
						
					</div>
				</div>
				<div class="clearfix">
					<div class="span-3 rating-wrap rating-<?=$review->rating?>">
						
					</div>
					
					<div class="span-2 review_time"><span class="time" ><?=date('m/d/Y',$review->created_at)?></span></div>
					<?php if($review->updated_at):?>
					<div class="span-4 review_time"><span class="time" style="font-style:italic;">Updated at&nbsp;<?=date('m/d/Y',$review->updated_at)?></span></div>
					<?php endif;?>
					
					<?php if($photo_count = get_user_photo_count($review->uid,$review->bizid)):?>
					<div class="span-1 review_time camera"><a href="<?=site_url('photo/'.$review->bizid.'/'.get_user_first_photo($review->uid,$review->bizid).'/from/'.$review->username)?>"><?=$photo_count?></a></div>
					<?php endif;?>
					<div class="span-2 review_time">author: <a href="<?=site_url('member/'.$review->username)?>"><?=$review->username?></a></div>
					<?php if($this->tank_auth->is_admin()):?>
					<div class="span-1 review_time"><a href="/review/del/<?=$review->bizid?>/<?=$review->id?>" onclick="return confirm('Are you sure that you want to delete this review?')">Delete</a></div>
					<?php endif;?>
					<?php if($this->tank_auth->is_logged_in() && ($this->tank_auth->get_user_id()==$review->uid)):?>
					<div class="span-1 review_time"><a href=<?=site_url('review/edit/'.$review->bizid.'/'.$review->id)?>>Edit</a></div>
					<?php endif;?>
				</div>
				<div >
				  <?=nl2br($review->content)?>
				</div>
				<div style="margin-top:10px;"><span class="thank" ><?=$this->config->item('thank_author_text')?></span>&nbsp;&nbsp;&nbsp;<span><a href="javascript:void(0)" class="send_flower"  id="send_flower_<?=$review->bizid?>_<?=$review->id?>_review"><img src="<?=site_url('/images/flower.gif')?>"></a>&nbsp;<span class="blue_note" id="flower_holder_<?=$review->id?>"><?=$review->flower?></span></div>
				
				
			</div>
			
		</div>
		
		
	</div>
		
</div>
<?php $this->load->view('footer.php'); ?>
Return current item: Upble