File tree Expand file tree Collapse file tree 9 files changed +156
-93
lines changed
view/theme/default/template/common Expand file tree Collapse file tree 9 files changed +156
-93
lines changed Original file line number Diff line number Diff line change 1- <?php
2-
3- class common404Controller extends engine{
4-
5- function index () {
6- $ this ->view ('common/404 ' );
7- }
8-
9- }
1+ <?php
2+
3+ class common404Controller extends engine {
104
5+ function index () {
6+ $ this ->view ('common/404 ' );
7+ }
8+
9+ }
1110
1211?>
Original file line number Diff line number Diff line change 11<?php
22
3-
4-
53class CommonHomeController extends Rex {
64
75 function index () {
8- $ data =array (
9- "rex " => "Rex is cool "
10- );
11- $ this ->view ('common/home ' ,$ data );
6+ $ data ['rex ' ] = "Rex is cool " ;
7+ $ this ->view ('common/home ' , $ data );
8+ $ this ->helper ('lk ' );
129 }
1310
1411}
Original file line number Diff line number Diff line change 11# global site information
2- site.title = Website Performance | CSS Sprite Generator
3- heading = CSS Sprite Generator
2+ site.title = Rex PHP Framework
Original file line number Diff line number Diff line change 1+ OOOOOOPSS!
12
2-
3- This is the 404 page located at <?php echo __FILE__;?>
3+ This is the 404 page located at <?php echo __FILE__; ?>
Original file line number Diff line number Diff line change 11
22
3- This is the footer page located at <?php echo __FILE__;? >
3+ < div > This is the footer page located at <?php echo __FILE__; ?></ div >< br / >
44</body >
55</html >
66
Original file line number Diff line number Diff line change 55 <meta charset =" utf-8" >
66 <meta name =" viewport" content =" width=device-width, initial-scale=1.0" >
77 <title >Rez PHP Framework</title >
8-
8+
99
1010 </head >
1111 <body >
12-
13- This is the header page located at <?php echo __FILE__;? >
12+ < h3 ><?php echo $rex; ?></ h3 >< br />
13+ < div > This is the header page located at <?php echo __FILE__; ?></ div >< br / >
Original file line number Diff line number Diff line change 11
2- This is the home page located at <?php echo __FILE__;? >
3-
4-
2+ < div > This is the home page located at <?php echo __FILE__; ?></ div >< br / >
3+
4+
You can’t perform that action at this time.
0 commit comments