c3lf-system-3/templates/item.php
2019-02-24 12:13:08 +01:00

39 lines
No EOL
824 B
PHP

<?php
/**
* Created by PhpStorm.
* User: jedi
* Date: 12/27/18
* Time: 4:46 AM
*/
if(isset($_GET["event"])&&isset($_GET["id"])){
$uid = $_GET["id"];
}
?>
<div class="container-fluid">
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
<li class="breadcrumb-item active">Found</li>
</ol>
<div id="alertmessage" class="collapse alert alert-danger" role="alert">
This is a danger alert—check it out!
</div>
<div id="successmessage" class="collapse alert alert-success" role="alert">
A simple success alert—check it out!
</div>
<?php
if($item = get_founditem_by_uid($uid)){
include "templates/found_item_edit.php";
}else{
include "templates/found_item_add.php";
}
?>