diff --git a/web/pages/smart/controller.php b/web/pages/smart/controller.php
index 1ff66b6..70134be 100644
--- a/web/pages/smart/controller.php
+++ b/web/pages/smart/controller.php
@@ -11,6 +11,7 @@ class Smart extends Page {
function index()
{
+ $this->set('user', $_SESSION['user']->data);
$this->set('template', "smart.html.php");
}
diff --git a/web/pages/smart/search.html.php b/web/pages/smart/search.html.php
index 6435d7b..76c52e4 100644
--- a/web/pages/smart/search.html.php
+++ b/web/pages/smart/search.html.php
@@ -15,61 +15,64 @@
= $dog; ?>
-
-
- event |
- Wann wars |
- run |
- rang |
- stnr |
- teilnehmer |
- hund |
- verein |
- f |
- vw |
- zf |
- zeit |
- gf |
- msek |
- bew |
- punkte |
-
-
+
+
- = $res['event'] ?> |
- = $res['ago'] ?> |
- = $res['run'] ?> |
- = $res['rang'] ?> |
- = $res['stnr'] ?> |
- = $res['teilnehmer'] ?> |
- = $res['hund'] ?> |
- = $res['verein'] ?> |
- = $res['f'] ?> |
- = $res['vw'] ?> |
- = $res['zf'] ?> |
- = $res['zeit'] ?> |
- = $res['gf'] ?> |
- = $res['msek'] ?> |
- = $res['bew'] ?> |
- = $res['punkte'] ?> |
-
+ Event |
+ Datum |
+ Lauf |
+ Startnummer |
+ Teilnehmer |
+ Hund |
+ Verein |
+ F |
+ VW |
+ ZF |
+ Zeit |
+ GF |
+ m/sek |
+ Bew. |
+ Punkte |
+ Rang |
+ Aktion |
-
-
+
+
+ = $res['event'] ?> |
+ = date("d.m.Y", strtotime($res['date'])) ?> |
+ = $res['run'] ?> |
+ = $res['stnr'] ?> |
+ = $res['teilnehmer'] ?> |
+ = $res['hund'] ?> |
+ = $res['verein'] ?> |
+ = $res['f'] ?> |
+ = $res['vw'] ?> |
+ = $res['zf'] ?> |
+ = $res['zeit'] ?> |
+ = $res['gf'] ?> |
+ = $res['msek'] ?> |
+ = $res['bew'] ?> |
+ = $res['punkte'] ?> |
+ = $res['rang'] ?> |
+ |
+
+
+
+
+
0) : ?>
diff --git a/web/pages/smart/smart.html.php b/web/pages/smart/smart.html.php
index d849f25..e54462e 100644
--- a/web/pages/smart/smart.html.php
+++ b/web/pages/smart/smart.html.php
@@ -11,6 +11,7 @@
placeholder="Suchen..."
hx-indicator="#indicator"
class="form-control" id="basic-url"
+ value="= escape($user['lastname'].' '.$user['firstname']); ?>"
>