| @@ 91-100 (lines=10) @@ | ||
| 88 | echo "<td class='even'>" . $secdesc . '</td>'; |
|
| 89 | $checked = $display ? 'checked' : ''; |
|
| 90 | echo "<td class='even'><input type='checkbox' name='display[$secid]' " . $checked . ' /></td>'; |
|
| 91 | if ($expire !== '0000-00-00 00:00:00') { |
|
| 92 | if ($expire > $currenttime) { |
|
| 93 | echo "<td class='even'>" . $expire . '</td>'; |
|
| 94 | } else { |
|
| 95 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED |
|
| 96 | . ')</span></td>'; |
|
| 97 | } |
|
| 98 | } else { |
|
| 99 | echo "<td class='even'>" . '-------------------' . '</td>'; |
|
| 100 | } |
|
| 101 | echo |
|
| 102 | "<td class='even'><a href='main.php?op=sectionedit&secid=" . $secid . "'>" . _MD_EDIT . '</a></td>'; |
|
| 103 | echo '</tr>'; |
|
| @@ 213-222 (lines=10) @@ | ||
| 210 | //."<td class='even'><input type='checkbox' name='selected' value='$artid' /></td>" |
|
| 211 | . "<td class='even'><b>$title</b></td>" . "<td class='even'>$posted</td>" . "<td class='even'><input type='checkbox' name='display[$artid]' " |
|
| 212 | . $checked . ' /></td>'; |
|
| 213 | if ($expire !== '0000-00-00 00:00:00') { |
|
| 214 | if ($expire > $currenttime) { |
|
| 215 | echo "<td class='even'>" . $expire . '</td>'; |
|
| 216 | } else { |
|
| 217 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED |
|
| 218 | . ')</span></td>'; |
|
| 219 | } |
|
| 220 | } else { |
|
| 221 | echo "<td class='even'>" . '-------------------' . '</td>'; |
|
| 222 | } |
|
| 223 | 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>" |
|
| 224 | . _MD_DELETE . '</a></td>' . '</tr>'; |
|
| 225 | } |
|
| @@ 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 | } |
|
| @@ 262-271 (lines=10) @@ | ||
| 259 | echo "<td class='even' align='center'>$my_max</td>"; |
|
| 260 | } |
|
| 261 | echo "<td class='even' align='center'>$site_max</td>"; |
|
| 262 | if ($expire !== '0000-00-00 00:00:00') { |
|
| 263 | if ($expire > $currenttime) { |
|
| 264 | echo "<td class='even'>" . $expire . '</td>'; |
|
| 265 | } else { |
|
| 266 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED |
|
| 267 | . ')</span></td>'; |
|
| 268 | } |
|
| 269 | } else { |
|
| 270 | echo "<td class='even'>" . '-------------------' . '</td>'; |
|
| 271 | } |
|
| 272 | if ($xoopsUser) { |
|
| 273 | if ($results_exist) { |
|
| 274 | echo "<td class='odd' align='center'><a href='index.php?op=viewresults&artid=$artid&sort_key=timestamp'>" |
|