mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-22 15:50:12 +00:00
Initial commit, Ecard system build with CodeIgniter PHP framework
Currently working - Basic structure - Basic caching and gzip compression for speed - Admin authentication
This commit is contained in:
committed by
Ismo Vuorinen
parent
345d8ea65a
commit
c10c9e3131
22
application/views/show_one.php
Normal file
22
application/views/show_one.php
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="large-12 columns">
|
||||
<div class="panel">
|
||||
<?php
|
||||
if( $ecard and $ecard->response == "200" ) {
|
||||
?>
|
||||
<h2>Postikortti #<?php echo $ecard->id;?></h2>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<h2>Tunnuksella ei löytynyt ainuttakaan korttia</h2>
|
||||
<p>Sähköpostikortti on joko poistettu järjestelmästä, tai sitten seurasit rikkinäistä linkkiä.</p>
|
||||
<p></p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<pre><?php var_export($ecard); ?></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user