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

  • Committer: a10rolch
  • Date: 2013-04-22 09:51:59 UTC
  • mfrom: (43 lenasys)
  • mto: This revision was merged to the branch mainline in revision 45.
  • Revision ID: a10rolch@student.his.se-20130422095159-lv293l4i36pc21dl
Added files:
header (lenasys header, incomplete)
headTag (view for <head>)
Examples (Complete page for course examples)
 examplesMenu
 examplesBody

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
        menulayout("","../DomExample3/DomExample3.php","DomExample3b.txt","DOM Example 11: XPATH #2 (click this heading to run code)","DomExample3bcode.php","DomExample3b.html");
 
12
        
 
13
        $interestingrows=array(array(20,25,"PHP Code"));
 
14
        $keywords=array('saveXML','loadXML','DOMXPath','query');
 
15
        $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"));
 
16
 
 
17
        showfile($interestingrows,$keywords,$highlight,"DomExample3bcode.php");
 
18
 
 
19
        menulayoutend();
 
20
 
 
21
?>
 
22
 
 
23
</html>