/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/DomExample1/DomExample1.php

  • Committer: b11johgu
  • Date: 2013-05-16 12:50:39 UTC
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: b11johgu@student.his.se-20130516125039-2vlxix2829z1hchh
deleted files not used
Added data in table "Users"

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html>
2
 
        <head>
3
 
                <link rel="stylesheet" type="text/css" href="../CodeViewer/showcode.css">
4
 
                <script language="javascript" " src="../CodeViewer/showcode.js"></script>
5
 
        </head>
6
 
 
7
 
<?php
8
 
 
9
 
        include("../Codeviewer/showcode.php");
10
 
 
11
 
        
12
 
        menulayout("../DomExample1b/DomExample1b.php","","DomExample1.txt","DOM Example 1: Initiation and simple navigation (click this heading to run code)","DomExample1code.php","DomExample1.html");
13
 
        
14
 
        $interestingrows=array(array(8,10,"PHP Code"),array(12,17,"PHP Code"));
15
 
        $keywords=array('getElementsByTagName','tagName','childNodes','nodeValue','documentElement');
16
 
        $highlight=array(array("{","highlightnormal"),array("}","highlightnormal"),array("function","highlightspecial"),array("&lt;?php","highlightspecial"),array("?&gt;","highlightspecial"),array("echo","highlightspecial"),array("if","highlightspecial"),array("else","highlightspecial"),array("foreach","highlightspecial"));
17
 
 
18
 
        showfile($interestingrows,$keywords,$highlight,"DomExample1code.php");
19
 
 
20
 
        menulayoutend();
21
 
 
22
 
?>
23
 
 
24
 
</html>