Доработка

This commit is contained in:
Maksym 2023-01-23 07:42:18 +01:00
parent 2d3bd006c0
commit 72fe6139c6

View File

@ -1684,38 +1684,19 @@ $tma = '';
</div> </div>
</fieldset> </fieldset>
&nbsp;<INPUT TYPE=radio ID=A1 NAME=all value=0 <?php <fieldset style="width: 50%">
if ($_GET['all'] == 0) { <legend><b>Приёмы для выбора:</b></legend>
echo 'checked="checked"';
} ?> onClick="form.submit()"> <LABEL FOR=A1>доступные
мне</LABEL><BR>
&nbsp;<INPUT TYPE=radio ID=A2 NAME=all value=1 <?php
if ($_GET['all'] == 1) {
echo 'checked="checked"';
} ?> onClick="form.submit()"> <LABEL FOR=A2>все</LABEL>
</FIELDSET> <div style="display: flex; flex-wrap: wrap; justify-content: center;">
<BR>
<a style='font-size:10px' <?php
href="/main.php?skills=1&rz=4&all=<?= $_GET['all'] ?>&clear_abil=1">Очистить</A>
<BR> $priem->getByCategory($_GET['technique_category_id'])
<A style='font-size:10px' href="javascript:void(0)"
onClick="top.savePriems();">Запомнить ?>
набор</a><br> </div>
<p style="margin-left: 10px; font-size:10px;" align="left"> </fieldset>
<?php </div>
$sp = mysql_query(
'SELECT * FROM `complects_priem` WHERE `uid` = "' . $u->info['id'] . '" LIMIT 10'
);
while ($pl = mysql_fetch_array($sp)) {
echo '<a onclick="if(confirm(\'Удалить набор ?\')){location=\'main.php?skills=1&rz=4&all=&rnd=' . $code . '&delcop=' . $pl['id'] . '\'}" href="javascript:void(0)"><img src="https://' . $c['img'] . '/i/clear.gif" width="13" height="13"></a> <a href="?skills=1&rz=4&all=&rnd=' . $code . '&usecopr=' . $pl['id'] . '">Использовать &quot;' . $pl['name'] . '&quot;</a><br>';
}
?>
</p>
</td>
</form>
</tr>
</table>
</td> </td>
</tr> </tr>
</table> </table>