/+junk/StupidMVC

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/StupidMVC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

class WelcomeView extends AbstractView {
  
  public function
  render ($user_data) {
    echo "<h1> Hello from Welcome.php! </h1>";
    ?>
      <p>
        You could have a try looking at the examle
        <a href="<?=( BASE_URL . "Welcome/hello/Alice" )?>"> here </a> and
        <a href="<?=( BASE_URL . "Welcome/hello/Bob" )?>"> here </a>
      </p>
    <?php
  }
  
}