Compare commits

..

No commits in common. "72fe6139c669aae44d812fdb07f07600dc3eb828" and "1fbd8d6de29800c01b3ba2d8dc48d0516863badd" have entirely different histories.

2 changed files with 32 additions and 13 deletions

View File

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

View File

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