PHP Classes

File: app/views/index.view.php

Recommend this page to a friend!
  Classes of Nahidul Hasan   Simplex   app/views/index.view.php   Download  
File: app/views/index.view.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Simplex
Example application based on a MVC framework
Author: By
Last change:
Date: 14 days ago
Size: 531 bytes
 

Contents

Class file image Download
<html>

<tittle> </tittle>

<head> </head>

<body>

    <?php require('partials/head.php'); ?>

    <?php require('partials/nav.php'); ?>

   <h1>My Task List</h1>

    <ul>

        <?php foreach($tasks as $task): ?>

         <li>

            <?php if ($task->completed): ?>

            <strike> <?= $task->description; ?> </strike>

            <?php else: ?>

            <?= $task->description; ?>

            <?php endif; ?>


         </li>


        <?php endforeach; ?>


    </ul>


    <?php require('partials/footer.php'); ?>

<body>

</html>