Compare commits

..

2 Commits

Author SHA1 Message Date
72fe6139c6 Доработка 2023-01-23 07:42:18 +01:00
2d3bd006c0 Забыл добавить строчку 2023-01-23 07:40:55 +01:00
2 changed files with 13 additions and 32 deletions

View File

@ -2153,7 +2153,7 @@ class Priems
}
}
if ($t == 1) {
echo '<div style="width:230px;">' . $pr . '</div>';
echo '<div>' . $pr . '</div>';
} elseif ($t == 2) {
return str_replace('"', '\\"', $pr);
}

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>
</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>';
}
?>
</p>
</td>
</form>
</tr>
</table>
<div style="display: flex; flex-wrap: wrap; justify-content: center;">
<?php
$priem->getByCategory($_GET['technique_category_id'])
?>
</div>
</fieldset>
</div>
</td>
</tr>
</table>