/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: Gustav Hatvigsson
  • Date: 2013-05-03 12:03:33 UTC
  • mfrom: (52.1.1 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130503120333-pps6aq9mlm3weawx
Merged the changes from the implementation team: - Added examplespage.
- Added functions to header.
- Added interactions with database.
- Added ajax controller for user settings.
- Logged in page updated with links.
- Added template layout controller.
and so forth
General changes in Codeigniter.

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>