Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:NPO-project/npo-site

  • Loading branch information...
commit 626d91acb685efdd75fa9fafbb3923fa12f8eb7f 2 parents fa7b20c + 33c0217
@dennisdegryse dennisdegryse authored
View
16 src/application/controllers/CertificateController.php
@@ -0,0 +1,16 @@
+<?php
+
+class CertificateController extends Zend_Controller_Action
+{
+
+ public function indexAction()
+ {
+ $cert = new \Npo\Entity\Certificate;
+ $cert->player = 'Someone';
+ $this->view->headTitle('Tribal Wars NPO-Manifest')
+ ->setSeparator(' - ')
+ ->append($cert->player . '\'s certificaat');
+ $this->view->assign('cert', $cert);
+ }
+
+}
View
32 src/application/views/scripts/certificate/index.phtml
@@ -0,0 +1,32 @@
+<p class="wrappertext"><br />
+<?php echo $this->cert->player; ?> heeft een certificaat gehaald op 1 wereld(en):
+<table class="wrappertable">
+<br>
+<tr>
+<th>Rang</th>
+<th>Naam</th>
+<th>Stam</th>
+<th>Punten</th>
+<th>Dorpen</th>
+<th>Punten gemiddelde</th>
+<th>Server</th>
+<th>Start van Certificaat</th>
+<th>Einde van Certificaat</th>
+</tr>
+<tr>
+<td>1</td>
+<td><?php echo $this->cert->player; ?></td>
+<td><em>geen stam</em></td>
+<td>256</td>
+<td>1</td>
+<td>256</td>
+<td>NL26</td>
+<td><?php echo $this->cert->date; ?></td>
+<td><?php echo $this->cert->endDate; ?></td>
+</tr>
+</table>
+<br />
+<strong class="wrappertext"><a href="/">Ga terug naar de website</a></strong><br />
+<br />
+<img class="center" src="/images/pal_sword.png" alt="gefeliciteerd! je hebt je certificaat"/>
+</p>
Please sign in to comment.
Something went wrong with that request. Please try again.