c3lf-system-3/templates/item.php

39 lines
824 B
PHP
Raw Normal View History

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