-
Notifications
You must be signed in to change notification settings - Fork 0
/
cast_reviews.php
72 lines (64 loc) · 2.55 KB
/
cast_reviews.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
/**
* Created by JetBrains PhpStorm.
* User: DATTWOOD
* Date: 26/10/11
* Time: 11:48
* To change this template use File | Settings | File Templates.
*/
foreach ($resultCast as $key => $item) {
// echo $key;
if ($key == 'Reviews') {
accord_first('Cast Reviews');
echo '<table>';
$class = 'lightblue';
foreach ($item as $iKey => $iItem) {
echo '<div id="ilp-target-overview">';
echo '<div class="block_ilp_ilptarget">';
echo '<div class="ilp_post yui-t4">';
echo '<div class="bd" role="main">';
echo '<div class="yui-main">';
echo '<div class="yui-b">';
echo '<div class="yui-gd">';
echo '<div class="yui-u first">Support to Date:</div>';
echo '<div class="yui-u">' . $iItem['support_to_date'] . '<p></div>';
echo '</div>';
echo '<br/>';
echo '<div class="yui-gd">';
echo '<div class="yui-u first">Review of Support:</div>';
echo '<div class="yui-u">' . $iItem['notes'] . '<p></div>';
echo '</div>';
echo '<br/>';
echo '<div class="yui-gd">';
echo '<div class="yui-u first">Details of changes:</div>';
echo '<div class="yui-u">' . $iItem['details_of_changes'] . '<p></div>';
echo '</div>';
echo '<br/>';
echo '<div class="yui-gd">';
echo '<div class="yui-u first">Perfomance Against SMART Targets:</div>';
echo '<div class="yui-u">' . $iItem['performance_against_targets'] . '<p></div>';
echo '</div>';
echo '<br/>';
echo '<div class="yui-gd">';
echo '<div class="yui-u first">New SMART Targets Set:</div>';
echo '<div class="yui-u">' . $iItem['new_targets'] . '<p></div>';
echo '</div>';
echo '</div>';
echo '</div>';
echo '<div class="yui-b">';
echo '<ul>';
echo '<li>Tutor: ' . $iItem['reviewer'] . '</li>';
$date = strtotime($iItem['date_of_review']);
echo '<li>Date: ' . date("d F Y", $date) . '</li>';
echo '</ul>';
echo '</div>';
echo '</div>';
echo '</div>';
echo '</div>';
echo '</div>';
}
echo '</table>';
accord_last();
}
}
?>