diff --git a/client_overview.php b/client_overview.php index 326ddf98..2864b1b9 100644 --- a/client_overview.php +++ b/client_overview.php @@ -33,6 +33,16 @@ $sql_recent_logins = mysqli_query( ORDER BY login_updated_at DESC LIMIT 5" ); +$sql_shared_items = mysqli_query( + $mysqli, + "SELECT * FROM shared_items + WHERE item_client_id = $client_id + AND item_active = 1 + AND item_views != item_view_limit + AND item_expire_at > NOW() + ORDER BY item_created_at DESC LIMIT 10" +); + /* * EXPIRING/ACTION ITEMS */ @@ -159,6 +169,88 @@ $sql_asset_retire = mysqli_query( + 0) { ?> + +
| Item Name | +Item Type | +Share Note | +Views | +Expires | +Action | +
|---|---|---|---|---|---|
| + | + | + | + | + |
+
+
+
+
+
+
+ |
+
| Item Name | -Item Type | -Share Note | -Views | -Expires | -Action | -
|---|---|---|---|---|---|
| - | - | - | - | - |
-
-
-
-
-
-
- |
-
- Shared Links - 0) { ?> - - -
- -