There are only three views in this project, which are as follows:
/path/to/codeigniter/application/views/create/create.php
: This displays a form to the user allowing them to upload an image./path/to/codeigniter/application/views/create/result.php
: This displays a link that the user can use to forward other people to the image, as well as the image itself./path/to/codeigniter/application/views/nav/top_nav.php
: This displays the top-level menu. In this project it's very simple, containing a project name and a link to go to thecreate
controller.
So those are our views, as I said, there are only three of them as it's a simple project. Now, let's create each view file.
Create the
/path/to/codeigniter/application/views/create/create.php
file and add the following code to it:<div class="page-header"> <h1><?php echo $this->lang->line('system_system_name'); ?></h1> </div> <p><?php echo $this->lang->line('encode_instruction_1...