Changeset 82 for trunk/app/views/lessons
- Timestamp:
- 09/10/07 18:06:56 (15 months ago)
- Location:
- trunk/app/views/lessons
- Files:
-
- 1 added
- 1 modified
-
display.thtml (modified) (1 diff)
-
view.thtml (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/lessons/display.thtml
r79 r82 4 4 //die(print_r($data)); 5 5 6 foreach ($data as $key => $val) { 7 echo '<p><a class="title" href="/lesson/view/'.$data[$key]['Lesson']['user_id'].'/'.$data[$key]['Lesson']['id'].'">' . $data[$key]['Lesson']['title'] . '</a></p>'; 8 } 6 foreach ($data as $v) 7 { 8 echo '<p><a class="title" href="/lessons/view/'.$blog[0]['User']['username'].'/'.$v['Lesson']['id'].'">' . $v['Lesson']['title'] . '</a></p>'; 9 } 9 10 ?>
