| Line 1... |
Line 1... |
| 1 |
<?php
|
1 |
<?php
|
| 2 |
// $Id: ezmlm-threads.php,v 1.3 2005-10-17 16:21:47 alexandre_tb Exp $
|
2 |
// $Id: ezmlm-threads.php,v 1.4 2006-04-19 13:50:13 alexandre_tb Exp $
|
| 3 |
//
|
3 |
//
|
| 4 |
// ezmlm-threads.php - ezmlm-php v2.0
|
4 |
// ezmlm-threads.php - ezmlm-php v2.0
|
| 5 |
// --------------------------------------------------------------
|
5 |
// --------------------------------------------------------------
|
| 6 |
// Builds, maintains & displays thread caches
|
6 |
// Builds, maintains & displays thread caches
|
| 7 |
// These cache files live in $ezmlm->tmpdir and are serialized
|
7 |
// These cache files live in $ezmlm->tmpdir and are serialized
|
| Line 295... |
Line 295... |
| 295 |
$res .= " <td>$key</td>";
|
295 |
$res .= " <td>$key</td>";
|
| 296 |
for ($i = 1; $i <= 12; $i++) {
|
296 |
for ($i = 1; $i <= 12; $i++) {
|
| 297 |
if ($i < 10) { $key2 = "0" . $i; }
|
297 |
if ($i < 10) { $key2 = "0" . $i; }
|
| 298 |
else { $key2 = $i; }
|
298 |
else { $key2 = $i; }
|
| 299 |
if (isset($threadcount[$key][$key2]) && $threadcount[$key][$key2] > 0) {
|
299 |
if (isset($threadcount[$key][$key2]) && $threadcount[$key][$key2] > 0) {
|
| 300 |
$res .= "<td bgcolor=\"" . $this->tablecolours[0] . "\" align=center valign=\"middle\">";
|
300 |
$res .= "<td bgcolor=\"" . $this->tablecolours[0] . "\" valign=\"middle\">";
|
| 301 |
$res .= $this->makelink("action=show_month&actionargs[]=$key$key2",$threadcount[$key][$key2]);
|
301 |
$res .= $this->makelink("action=show_month&actionargs[]=$key$key2",$threadcount[$key][$key2]);
|
| 302 |
$res .= "</td>";
|
302 |
$res .= "</td>";
|
| 303 |
} else {
|
303 |
} else {
|
| 304 |
$res .= "<td bgcolor=\"" . $this->tablecolours[0] . "\"></td>";
|
304 |
$res .= "<td bgcolor=\"" . $this->tablecolours[0] . "\"></td>";
|
| 305 |
}
|
305 |
}
|