HEX
Server: LiteSpeed
System: Linux premium313.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User: wekawqug (1662)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/wekawqug/ndondocup.sisihub.co.tz/admin/view_post.php
<?php
include 'db_connect.php' ;	

$qry = $conn->query("SELECT p.*,c.category FROM post_list p inner join category_list c on c.id = p.category_id where p.id = {$_GET['id']}")->fetch_array();
foreach($qry as $k =>$v){
	$$k = $v;
}
?>

<div class="container">
	<div class="row">
		<div class="col-md-12">
			<div class="card card-outline card-info">
				<div class="card-body">
					<div class="">
						<dl class="callout callout-info">
							<dt>Title</dt>
							<dd><?php echo ucwords($title) ?></dd>
						</dl>
						<dl class="callout callout-info">
							<dt>Category</dt>
							<dd><?php echo ucwords($category) ?></dd>
						</dl>
						<dl class="callout callout-info">
							<dt>Content</dt>
							<dd><?php echo html_entity_decode($content) ?></dd>
						</dl>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
	$('#manage-registrar').click(function(){
		uni_modal("Manage Event's Assigned Registrar/s","manage_registrar.php?id=<?php echo $id ?>");
	})
</script>