Jump to content

ADGJMPTW

Newbie
  • Posts

    1
  • Joined

  • Last visited

ADGJMPTW's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. Как разбить таблизу на несколько страниц echo ("<table border=1 width=100% cellpadding=0 cellspacing=0>"); echo ("<tr align=center>"); echo ("<td width=80 height=20><b>Карта</b></td>"); echo ("<td width=200><b>Дата</b></td>"); echo ("<td width=200><b>Время</b></td>"); echo ("<td width=200><b>Размер</b></td>"); echo ("<td><b>Скачать</b></td>"); echo ("</tr>"); foreach($data as $field) { if ($chandle == 0) { echo ("<tr align=center bgcolor=\"#EEEEEE\">"); $chandle = 1; } else { echo ("<tr align=center bgcolor=\"#D0D0D0\">"); $chandle = 0; } echo ("<td><img src=\"http://213.111.222.90/img/maps/dem/$field[map].jpg\" width=\"80\" height=\"60\" alt=\"$field[map]\"></td>"); echo ("<td>$field[day].$field[month].$field[year]</td>"); echo ("<td>$field[hour]:$field[minute]</td>"); echo ("<td>$field[size]</td>"); echo ("<td><a href=\"$field[file]\">Скачать</a></td>"); echo ("</tr>"); } echo ("</table>");
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy