Доработка

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>
</fieldset>
&nbsp;<INPUT TYPE=radio ID=A1 NAME=all value=0 <?php
if ($_GET['all'] == 0) {
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 style="width: 50%">
<legend><b>Приёмы для выбора:</b></legend>
<div style="display: flex; flex-wrap: wrap; justify-content: center;">
</FIELDSET>
<BR>
<a style='font-size:10px'
href="/main.php?skills=1&rz=4&all=<?= $_GET['all'] ?>&clear_abil=1">Очистить</A>
<BR>
<A style='font-size:10px' href="javascript:void(0)"
onClick="top.savePriems();">Запомнить
набор</a><br>
<p style="margin-left: 10px; font-size:10px;" align="left">
<?php
$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>';
}
$priem->getByCategory($_GET['technique_category_id'])
?>
</p>
</td>
</form>
</tr>
</table>
</div>
</fieldset>
</div>
</td>
</tr>
</table>