<td width="2%" class="p10c"><?php print cbox("allbox", array(), array(), "", "", "", "", "onClick=\"CheckAll('lista');\""); ?> </td><?php } ?> <td class="p10" width="2%">Lp.</td> <td class="p10c" width="10%">Jest <?php print $typ == 'd' ? 'wierzyciel' : 'dłużniki'; ?> em?</td> <td class="p10c" width="15%"><? print pics2("Nazwa skrócona", 'sh'); ?></td> <td class="p10c" width="15%"><? print pics2("Nazwa", 'tt'); ?></td> <td class="p10" width="15%">Adres</td> <td class="p10c" width="10%"><? print pics2("Telefon", 'ph'); ?></td> <td class="p10c" width="10%"><? print pics2("NIP", 'nip'); ?></td> <td class="p10c" width="3%">Edytuj</td> <td class="p10c" width="3%">Usuń</td> </tr> <?php if ($razem) { print "<tr><td colspan=\"10\" class=\"p10\">" . navigation($razem, $count, "sel", "", $offset, 0, 30, $action) . "</td></tr>"; } print form("lista", "", ""); if ($sql) { if ($sql->RecordCount() > 0) { $lp = $offset; while ($new = $sql->FetchRow()) { if ($new["c_id_s"] > 0) { print "<tr class=\"" . ($new["c_id_s"] == $cID ? "highlight" : "") . "\" onMouseOver=\"this.style.backgroundColor='#FFFF99'; this.style.cursor='pointer';\" onMouseOut=\"this.style.backgroundColor='#ffffff';\">"; if (checkPerm('cli', 4)) {
$sql->Move(0); ?> <br> <table width='95%' cellpadding=0 cellspacing=0 border=1 bordercolor="#cfcfcf" rules="rows"> <tr class="szare"> <?php if (checkPerm('office', 4)) { ?> <td width="2%" class="p10c"><?php print cbox("allbox", array(), array(), "", "", "", "", "onClick=\"CheckAll('lista');\""); ?> </td><?php } ?> <td class="p10" width="2%">Lp.</td> <td class="p10" width="15%"><? print pics2("Nazwa", 'tt'); ?></td> <td class="p10c" width="3%">Edytuj</td> <td class="p10c" width="3%">Usuń</td> </tr> <?php if ($razem) { print "<tr><td colspan=\"9\" class=\"p10\">" . navigation($razem, $count, "sel", "", $offset, 0, 10, $action) . "</td></tr>"; } print form("lista", "", ""); if ($sql) { if ($sql->RecordCount() > 0) { $lp = $offset; while ($new = $sql->FetchRow()) { if ($new["o_id_s"] > 0) { print "<tr class=\"" . ($new["o_id_s"] == $offID ? "highlight" : "") . "\" onMouseOver=\"this.style.backgroundColor='#FFFF99'; this.style.cursor='pointer';\" onMouseOut=\"this.style.backgroundColor='#ffffff';\">"; print "<td class=\"p10\"><center>";
<table width='95%' cellpadding=0 cellspacing=0 border=1 bordercolor="#cfcfcf" rules="rows"> <tr class="szare"> <?php if (checkPerm('exec', 4)) { ?> <td width="2%" class="p10c"><?php print cbox("allbox", array(), array(), "", "", "", "", "onClick=\"CheckAll('lista');\""); ?> </td><?php } ?> <td class="p10" width="2%">Lp.</td> <td class="p10c" width="15%"><? print pics2("Nazwa skrócona", 'sh'); ?></td> <td class="p10c" width="15%"><? print pics2("Nazwa", 'tt'); ?></td> <td class="p10" width="15%">Adres</td> <td class="p10c" width="10%"><? print pics2("Telefon", 'ph'); ?></td> <td class="p10c" width="3%">Edytuj</td> <td class="p10c" width="3%">Usuń</td> </tr> <?php if ($razem) { print "<tr><td colspan=\"9\" class=\"p10\">" . navigation($razem, $count, "sel", "", $offset, 0, 30, $action) . "</td></tr>"; } print form("lista", "", ""); if ($sql) { if ($sql->RecordCount() > 0) { $lp = $offset; while ($new = $sql->FetchRow()) { if ($new["e_id_s"] > 0) { print "<tr class=\"" . ($new["e_id_s"] == $eID ? "highlight" : "") . "\" onMouseOver=\"this.style.backgroundColor='#FFFF99'; this.style.cursor='pointer';\" onMouseOut=\"this.style.backgroundColor='#ffffff';\">"; if (checkPerm('exec', 4)) {
?> <td width="2%" class="p10c"><?php print cbox("allbox", array(), array(), "", "", "", "", "onClick=\"CheckAll('lista');\""); ?> </td><?php } else { ?> <td width="2%" class="p10c"> </td><?php } ?> <td class="p10c" width="2%">Lp.</td> <td class="p10c" width="5%"><? print pics2("Numer sprawy", 'num'); ?></td> <td class="p10c" width="5%"><? print pics2("Wierzyciel", 'wc'); ?></td> <td class="p10c" width="5%"><? print pics2("Dłużnik", 'dc'); ?></td> <td class="p10c" width="5%"><? print pics2("Data przyjęcia", 'date'); ?></td> <td class="p10c" width="5%"><? print pics2("Pełnomocnik", 'pc'); ?></td> <td class="p10c" width="5%">Kancelaria</td> <td class="p10c" width="5%">Nal. główna</td> <td class="p10c" width="5%">Pozostało</td> <td class="p10c" width="3%">Edytuj</td> <td class="p10c" width="3%">Usuń</td> </tr> <?php if ($razem) { print "<tr><td colspan=\"12\" class=\"p10\" height=\"25\">" . navigation($razem, $count, "sel", "podstrony", $offset, 0, 40, $action) . "</td></tr>"; } print form("lista", "", ""); if ($sql) { if ($sql->RecordCount() > 0) { $lp = $offset; while ($new = $sql->FetchRow()) {