aboutsummaryrefslogtreecommitdiff
path: root/test/components/results.php
diff options
context:
space:
mode:
authorvalentineus <valentineus@gmail.com>2016-09-14 00:30:05 +0300
committervalentineus <valentineus@gmail.com>2016-09-14 00:30:05 +0300
commit288980ceb35d5ace51284cfdf176e9acb5f7bb39 (patch)
tree97b9f6779fae3a630a42951e1a85b7eeced93375 /test/components/results.php
parent4d0e9148a3551e0af6fa7476021c9ef052149c71 (diff)
downloadiii-module-288980ceb35d5ace51284cfdf176e9acb5f7bb39.tar.xz
iii-module-288980ceb35d5ace51284cfdf176e9acb5f7bb39.zip
Alpha version
Diffstat (limited to 'test/components/results.php')
-rw-r--r--test/components/results.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/components/results.php b/test/components/results.php
new file mode 100644
index 0000000..def09b1
--- /dev/null
+++ b/test/components/results.php
@@ -0,0 +1,20 @@
+<div class="row">
+ <div class="col-md-12">
+ <table class="table table-striped">
+ <tr>
+ <th>#</th>
+ <th>Text</th>
+ <th>Date</th>
+ </tr>
+ <?php
+ if (isset($current_id)) {
+ ShowRecord($current_id);
+ } elseif (isset($_COOKIE['CURRENT_ID'])) {
+ ShowRecord((int)$_COOKIE['CURRENT_ID']);
+ } else {
+ echo("Error!");
+ }
+ ?>
+ </table>
+ </div>
+</div>