/+junk/StupidMVC

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/StupidMVC
6.1.1 by Gustav Hatvigsson
*woorps
1
<?php
2
3
class WelcomeView extends AbstractView {
4
  
5
  public function
6
  render ($user_data) {
7
    echo "<h1> Hello from Welcome.php! </h1>";
11 by Gustav Hartvigsson
* changed how AbstractController->load_view_raw () works
8
    ?>
9
      <p>
10
        You could have a try looking at the examle
11
        <a href="<?=( BASE_URL . "Welcome/hello/Alice" )?>"> here </a> and
12
        <a href="<?=( BASE_URL . "Welcome/hello/Bob" )?>"> here </a>
13
      </p>
14
    <?php
6.1.1 by Gustav Hatvigsson
*woorps
15
  }
16
  
17
}