thanks for your reply
it's an offline page for the local network only.
but here are some pieces of php where the table gets filled:
(i'm going to optimize the code later, so don't be too critical
)
PHP Code:
if($weeknr2 == $weeknr){
echo "<td" . $bgcolor . "><br />" . $day . "</td>";
}else{
echo "<td" . $bgcolor . "><font color='red'>".$weeknr."</font><br />" . $day . "</td>";
}
PHP Code:
echo "<td $setkleur>" . $dag[2] . "/<br />" . $dag[1] . "</td>";
PHP Code:
echo "<tr><td bgcolor='" . $kleur . "' $style id='namen'><div id='w180'>" . $row[1] . "</div></td><td $style><div id='w110'>" . $row[3] . "</div></td>";
if($rows1){
echo "<td $style><div style='background-color:".$kleur1.";' id='div1'><h6 id='h61'>" . $vrij . $content1 . $vrij2 . "</h6></div><div style='background-color:".$kleur2.";' id='div1'>" . $vrij . $content . $vrij2 . "</div></td>";
}else{
echo "<td $style><h6 style='background-color:".$kleur1.";' id='content2'>" . $vrij . $content1 . $vrij2 . "</h6><div style='background-color:".$kleur2.";' id='div1'>". $vrij . $content . $vrij2 . "</div></td>";
}
it's pretty hard to find the exact lines of code, but this should be something like it. (mostly because the function is over 300 lines)..
Bookmarks