/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 CodeViewer/codeviewer.php

  • Committer: elof.bigestans at gmail
  • Date: 2013-05-27 14:08:19 UTC
  • mto: This revision was merged to the branch mainline in revision 108.
  • Revision ID: elof.bigestans@gmail.com-20130527140819-p6j84f9l71zxofyp
* Started work on the viewStudents functionality... So far, displaying users works and it outputs correct and standardized html. 
* Still plenty to do though.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html>
2
 
<html>
3
 
        <head>
4
 
                <link rel="stylesheet" type="text/css" href="codeviewer.css">
5
 
                <script type="text/javascript" src="codeviewer.js"></script>
6
 
        </head>
7
 
<?php
8
 
        include("codeviewerfunctions.php");
9
 
        
10
 
        menulayout("innan.php","efter.php","example_code.txt","Example 1: Execution of AJAX API","example_code.txt", "example_code_description.txt");
11
 
        
12
 
        $interestingrows = array(
13
 
                array(6,9,"Interesting row array"),
14
 
                array(11,14,"Keywords")
15
 
        );
16
 
 
17
 
        $keywords = array(
18
 
                "showCustomer",
19
 
                "ResultCustomer"
20
 
        );
21
 
 
22
 
        $highlight = array(
23
 
                array("array", "highlightnormal"),
24
 
                array("showfile", "highlightspecial")
25
 
        );
26
 
 
27
 
        showfile($interestingrows,$keywords,$highlight, "example_code.txt");
28
 
        menulayoutend();
29
 
?>
30
 
</html>