carbonPHP Initial commit v2.0
[carbonphp.git] / Source / application / views / carbon_view.php
blob12daf5ee62a86c7b76ca12446f6ead2c5da0fb98
1 <html>
3 <head>
4 <title>Welcome to CarbonPHP</title>
5 <style type="text/css">
6 <?php $this->load->file(APP_PATH . 'views/stylesheet.css'); ?>
7 </style>
8 </head>
10 <body>
12 <div class="content">
13 <h1>Welcome to CarbonPHP</h1>
15 <p>You have successfully setup CarbonPHP ready for use. You can begin coding your controllers
16 in application/controllers and your views in the applicastion/views directory. Once you work
17 on models they can be stored in application/models.</p>
19 <p>CarbonPHP is a framework developed to allow developers to create PHP web applications in less
20 time than it would than if they were writing from scratch. CarbonPHP offers common libraries for
21 developers to use, but also allows developers to extend and create their own application specific
22 libraries.</p>
24 <h1>Default Controller</h1>
26 <div class="code">
27 $this-&gt;load-&gt;view('carbon_view');
28 </div>
30 <p>The default controller contains the above code to load this view. You can create your own
31 views and controllers.</p>
33 <h1>Default View</h1>
35 <p>The default view is the page you're viewing now! It contains the HTML and CSS that is viewed
36 by the user.</p>
38 <div class="code">
39 application/views/carbon_view.php
40 </div>
42 <p>You are also able to pass data from the controller/models. This allows for the creation of
43 dynamic pages. You are free to modify the CarbonPHP code aslong as the copyright notices remiain
44 at the top of the CarbonPHP files.</p>
46 <p>Total execution time: {elapsed_time} seconds</p>
47 <p>Memory usage: {memory_usage}</p>
49 <p><?=anchor('', 'Return home');?></p>
51 </div>
53 </body>
55 </html>