4
<link rel="stylesheet" type="text/css" href="showcode.css">
5
<script type="text/javascript" src="showcode.js"></script>
4
<link rel="stylesheet" type="text/css" href="codeviewer.css">
5
<script type="text/javascript" src="codeviewer.js"></script>
9
include("showcode.php");
11
menulayout("innan.php","efter.php","test2.txt","Example 1: Execution of AJAX API","test.txt", "test2.txt");
13
$interestingrows = array(
14
array(1,5,"Ajax function"),
15
array(7,8,"Ajax return function")
24
array("{", "highlightnormal"),
25
array("}", "highlightnormal"),
26
array("function", "highlightspecial")
29
showfile($interestingrows,$keywords,$highlight, "test.txt");
8
include("codeviewerfunctions.php");
10
menulayout("innan.php", "efter.php", "example_code.txt", "Example 1: Execution of AJAX API", "example_code.txt", "example_code_description.txt");
12
$interestingRows = array(array(6, 9, "Interesting row array"), array(11,14,"Keywords"));
14
$keywords = array("showCustomer", "ResultCustomer");
16
$highlight = array(array("array", "highlightnormal"), array("showfile", "highlightspecial"));
18
showfile($interestingRows, $keywords, $highlight, "example_code.txt");