/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/views/examplesBody.php

  • Committer: b11johgu
  • Date: 2013-05-03 11:39:08 UTC
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: b11johgu@student.his.se-20130503113908-m8nilvexb8atwtvz
Added controllers for examplepage, templatelayout.
Updated models for login and database interaction.
Added ajax controller.
... A lot of stuff has changed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
<!-- examplesBody.php -->
1
3
        <div id="bodyContainer">
2
4
                <div class="pinkBanner">
3
5
                        <h1 name="Quizzes">Quizzes</h1>
4
6
                </div>
 
7
                
5
8
                <!-- Loops down below makes it possible to load values from a source -->
6
 
        <?php foreach ($titles as $key => $value):?>
 
9
        <?php foreach ($titles as $category => $categoryArray):?>
7
10
                <div class="blueBanner">
8
 
                                <h1 name="<?php echo $key;?>"><?php echo $key;?></h1>
9
 
                        </div>
10
 
                        <?php foreach ($value as $page):?>
11
 
        <p><a href="#"><?php echo $page;?></a></p>
12
 
                        <?php endforeach;?>     
 
11
                        <h1 name="<?php echo $category;?>"><?php echo $category;?></h1>
 
12
                </div>
 
13
                <?php foreach ($categoryArray as $subCategory => $subCatArray):?>
 
14
                        <h3><?php echo $subCategory;?></h3>
 
15
                        <?php 
 
16
                        if(count($subCatArray)>0){
 
17
                        foreach ($subCatArray as $example):?>
 
18
                                <p><a href="#"><?php echo $example;?></a></p>
 
19
                        <?php endforeach;}?>    
 
20
                <?php endforeach;?>     
13
21
        <?php endforeach;?>     
14
22
        </div>
 
23
 
 
24
        </div>
15
25
</body>
16
 
</html>
 
 
b'\\ No newline at end of file'
 
26
</html>