| @@ 87-96 (lines=10) @@ | ||
| 84 | echo "<td class='even'>" . $secdesc . '</td>'; |
|
| 85 | $checked = $display ? 'checked' : ''; |
|
| 86 | echo "<td class='even'><input type='checkbox' name='display[$secid]' " . $checked . ' /></td>'; |
|
| 87 | if ($expire !== '0000-00-00 00:00:00') { |
|
| 88 | if ($expire > $currenttime) { |
|
| 89 | echo "<td class='even'>" . $expire . '</td>'; |
|
| 90 | } else { |
|
| 91 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED . ')</span></td>'; |
|
| 92 | } |
|
| 93 | } else { |
|
| 94 | echo "<td class='even'>" . '-------------------' . '</td>'; |
|
| 95 | } |
|
| 96 | echo "<td class='even'><a href='main.php?op=sectionedit&secid=" . $secid . "'>" . _MD_EDIT . '</a></td>'; |
|
| 97 | echo '</tr>'; |
|
| 98 | } |
|
| 99 | echo '</table>'; |
|
| @@ 195-204 (lines=10) @@ | ||
| 192 | $checked = $display ? 'checked' : ''; |
|
| 193 | echo '<tr>' . "<input type='hidden' name='id[$artid]' value='$artid' />" //."<td class='even'><input type='checkbox' name='selected' value='$artid' /></td>" |
|
| 194 | . "<td class='even'><b>$title</b></td>" . "<td class='even'>$posted</td>" . "<td class='even'><input type='checkbox' name='display[$artid]' " . $checked . ' /></td>'; |
|
| 195 | if ($expire !== '0000-00-00 00:00:00') { |
|
| 196 | if ($expire > $currenttime) { |
|
| 197 | echo "<td class='even'>" . $expire . '</td>'; |
|
| 198 | } else { |
|
| 199 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED . ')</span></td>'; |
|
| 200 | } |
|
| 201 | } else { |
|
| 202 | echo "<td class='even'>" . '-------------------' . '</td>'; |
|
| 203 | } |
|
| 204 | 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>" . _MD_DELETE |
|
| 205 | . '</a></td>' . '</tr>'; |
|
| 206 | } |
|
| 207 | echo '</table><br>'; |
|
| @@ 116-125 (lines=10) @@ | ||
| 113 | $done = $xoopsDB->getRowsNum($results); |
|
| 114 | echo "<td class='even' align='center'>$done</td>"; |
|
| 115 | } |
|
| 116 | if ($expire !== '0000-00-00 00:00:00') { |
|
| 117 | if ($expire > $currenttime) { |
|
| 118 | echo "<td class='even'>" . $expire . '</td>'; |
|
| 119 | } else { |
|
| 120 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED . ')</span></td>'; |
|
| 121 | } |
|
| 122 | } else { |
|
| 123 | echo "<td class='even'>" . '-------------------' . '</td>'; |
|
| 124 | } |
|
| 125 | echo '</tr>'; |
|
| 126 | } |
|
| 127 | } |
|
| 128 | echo '</table>'; |
|
| @@ 235-244 (lines=10) @@ | ||
| 232 | echo "<td class='even' align='center'>$my_max</td>"; |
|
| 233 | } |
|
| 234 | echo "<td class='even' align='center'>$site_max</td>"; |
|
| 235 | if ($expire !== '0000-00-00 00:00:00') { |
|
| 236 | if ($expire > $currenttime) { |
|
| 237 | echo "<td class='even'>" . $expire . '</td>'; |
|
| 238 | } else { |
|
| 239 | echo "<td class='even'>" . $expire . "<span style='color:#ff0000;'>(" . _MD_LT_EXPIRED . ')</span></td>'; |
|
| 240 | } |
|
| 241 | } else { |
|
| 242 | echo "<td class='even'>" . '-------------------' . '</td>'; |
|
| 243 | } |
|
| 244 | if ($xoopsUser) { |
|
| 245 | if ($results_exist) { |
|
| 246 | echo "<td class='odd' align='center'><a href='index.php?op=viewresults&artid=$artid&sort_key=timestamp'>" . _MD_LT_RESULTS . '</a></td>'; |
|
| 247 | } else { |
|