| @@ 89-98 (lines=10) @@ | ||
| 86 | echo "<td class='even'>" . $secdesc . "</td>"; |
|
| 87 | $checked = ($display) ? "checked" : ""; |
|
| 88 | echo "<td class='even'><input type='checkbox' name='display[$secid]' " . $checked . " /></td>"; |
|
| 89 | if ($expire != '0000-00-00 00:00:00') { |
|
| 90 | if ($expire > $currenttime) { |
|
| 91 | echo "<td class='even'>" . $expire . "</td>"; |
|
| 92 | } else { |
|
| 93 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED |
|
| 94 | . ")</span></td>"; |
|
| 95 | } |
|
| 96 | } else { |
|
| 97 | echo "<td class='even'>" . '-------------------' . "</td>"; |
|
| 98 | } |
|
| 99 | echo |
|
| 100 | "<td class='even'><a href='main.php?op=sectionedit&secid=" . $secid . "'>" . _MD_EDIT . "</a></td>"; |
|
| 101 | echo "</tr>"; |
|
| @@ 211-220 (lines=10) @@ | ||
| 208 | //."<td class='even'><input type='checkbox' name='selected' value='$artid' /></td>" |
|
| 209 | . "<td class='even'><b>$title</b></td>" . "<td class='even'>$posted</td>" . "<td class='even'><input type='checkbox' name='display[$artid]' " |
|
| 210 | . $checked . " /></td>"; |
|
| 211 | if ($expire != '0000-00-00 00:00:00') { |
|
| 212 | if ($expire > $currenttime) { |
|
| 213 | echo "<td class='even'>" . $expire . "</td>"; |
|
| 214 | } else { |
|
| 215 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED |
|
| 216 | . ")</span></td>"; |
|
| 217 | } |
|
| 218 | } else { |
|
| 219 | echo "<td class='even'>" . '-------------------' . "</td>"; |
|
| 220 | } |
|
| 221 | echo "<td class='even'><a href=main.php?op=secartedit&artid=$artid>" . _MD_EDIT . "</a></td>" . "<td class='even'><a href=main.php?op=secartdelete&artid=$artid>" |
|
| 222 | . _MD_DELETE . "</a></td>" . "</tr>"; |
|
| 223 | } |
|
| @@ 125-134 (lines=10) @@ | ||
| 122 | $done = $xoopsDB->getRowsNum($results); |
|
| 123 | echo "<td class='even' align='center'>$done</td>"; |
|
| 124 | } |
|
| 125 | if ($expire != '0000-00-00 00:00:00') { |
|
| 126 | if ($expire > $currenttime) { |
|
| 127 | echo "<td class='even'>" . $expire . "</td>"; |
|
| 128 | } else { |
|
| 129 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED |
|
| 130 | . ")</span></td>"; |
|
| 131 | } |
|
| 132 | } else { |
|
| 133 | echo "<td class='even'>" . '-------------------' . "</td>"; |
|
| 134 | } |
|
| 135 | echo "</tr>"; |
|
| 136 | } |
|
| 137 | } |
|
| @@ 259-268 (lines=10) @@ | ||
| 256 | echo "<td class='even' align='center'>$my_max</td>"; |
|
| 257 | } |
|
| 258 | echo "<td class='even' align='center'>$site_max</td>"; |
|
| 259 | if ($expire != '0000-00-00 00:00:00') { |
|
| 260 | if ($expire > $currenttime) { |
|
| 261 | echo "<td class='even'>" . $expire . "</td>"; |
|
| 262 | } else { |
|
| 263 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED |
|
| 264 | . ")</span></td>"; |
|
| 265 | } |
|
| 266 | } else { |
|
| 267 | echo "<td class='even'>" . '-------------------' . "</td>"; |
|
| 268 | } |
|
| 269 | if ($xoopsUser) { |
|
| 270 | if ($results_exist) { |
|
| 271 | echo "<td class='odd' align='center'><a href='index.php?op=viewresults&artid=$artid&sort_key=timestamp'>" |
|