2007-10-30 22:31:13 +00:00
|
|
|
<?php
|
|
|
|
|
2007-12-04 22:16:37 +00:00
|
|
|
require_once("../inc/bolt.inc");
|
|
|
|
|
2007-12-02 21:11:17 +00:00
|
|
|
function part2() {
|
2007-12-04 22:16:37 +00:00
|
|
|
return sequence(
|
2007-12-02 21:11:17 +00:00
|
|
|
name('inner seq'),
|
2007-12-04 22:16:37 +00:00
|
|
|
lesson(
|
2007-12-02 21:11:17 +00:00
|
|
|
name('lesson 3'),
|
2007-12-04 22:16:37 +00:00
|
|
|
filename('bolt_sample_lesson3.php')
|
2007-10-30 22:31:13 +00:00
|
|
|
)
|
2007-12-04 22:16:37 +00:00
|
|
|
);
|
2007-12-02 21:11:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function basic_review() {
|
2007-12-04 22:16:37 +00:00
|
|
|
return sequence(
|
|
|
|
lesson(
|
2007-12-02 21:11:17 +00:00
|
|
|
name('lesson 1'),
|
2007-12-04 22:16:37 +00:00
|
|
|
filename('bolt_sample_lesson1.php')
|
2007-12-02 21:11:17 +00:00
|
|
|
),
|
2007-12-04 22:16:37 +00:00
|
|
|
lesson(
|
2007-12-02 21:11:17 +00:00
|
|
|
name('lesson 2'),
|
2007-12-04 22:16:37 +00:00
|
|
|
filename('bolt_sample_lesson2.php')
|
2007-12-02 21:11:17 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
function int_review() {
|
2007-12-04 22:16:37 +00:00
|
|
|
return lesson(
|
2007-12-02 21:11:17 +00:00
|
|
|
name('lesson 2'),
|
2007-12-04 22:16:37 +00:00
|
|
|
filename('bolt_sample_lesson2.php')
|
|
|
|
);
|
2007-12-02 21:11:17 +00:00
|
|
|
}
|
|
|
|
|
2007-12-04 22:16:37 +00:00
|
|
|
return sequence(
|
2007-12-02 21:11:17 +00:00
|
|
|
name('course'),
|
2007-12-04 22:16:37 +00:00
|
|
|
lesson(
|
2007-12-02 21:11:17 +00:00
|
|
|
name('lesson 1'),
|
2007-12-04 22:16:37 +00:00
|
|
|
filename('bolt_sample_lesson1.php')
|
2007-12-02 21:11:17 +00:00
|
|
|
),
|
2007-12-04 22:16:37 +00:00
|
|
|
lesson(
|
2007-12-02 21:11:17 +00:00
|
|
|
name('lesson 2'),
|
2007-12-04 22:16:37 +00:00
|
|
|
filename('bolt_sample_lesson2.php')
|
|
|
|
),
|
2007-12-07 23:23:25 +00:00
|
|
|
exercise_set(
|
2007-12-04 22:16:37 +00:00
|
|
|
exercise(
|
|
|
|
name('exercise 1'),
|
|
|
|
filename('bolt_sample_exercise1.php')
|
|
|
|
),
|
2007-12-07 23:23:25 +00:00
|
|
|
refresh(array(7, 14, 28)),
|
2007-12-04 22:16:37 +00:00
|
|
|
review(.3, basic_review()),
|
2007-12-07 23:23:25 +00:00
|
|
|
review(.7, int_review())
|
2007-12-04 22:16:37 +00:00
|
|
|
),
|
2007-12-02 21:11:17 +00:00
|
|
|
part2()
|
2007-10-30 22:31:13 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
?>
|