donate custom td colspan 2

This commit is contained in:
xiaomlove
2022-05-07 02:47:21 +08:00
parent 83c0a261db
commit 42bc88e53a
10 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ JS;
begin_main_frame();
$total = (clone $query)->count();
list($pagertop, $pagerbottom, $limit, $offset, $pageSize) = pager(50, $total, $pagerParam);
$list = (clone $query)->with(['user', 'torrent', 'snatch'])->get();
$list = (clone $query)->with(['user', 'torrent', 'snatch'])->offset($offset)->limit($pageSize)->orderBy('id', 'desc')->get();
print("<table id='claim-table' width='100%'>");
print("<tr>
<td class='colhead' align='center'>".nexus_trans('claim.th_id')."</td>
+1 -1
View File
@@ -39,7 +39,7 @@ else
print("<table width=100%>");
print("<tr><td colspan=2 class=text align=left>".$lang_donate['text_donation_note']."</td></tr>");
if ($custom) {
echo sprintf('<tr><td class="text" align="left">%s</td></tr>', format_comment($custom));
echo sprintf('<tr><td class="text" align="left" colspan="2">%s</td></tr>', format_comment($custom));
}
print("<tr>");
if ($showpaypal){