K
kenny
Гость
автор кто?
<script type="text/javascript">
// change_admin_note
ajax.change_admin_note = function() {
ajax.exec({
action : 'change_admin_note',
note : $('#admin_note').val()
});
};
ajax.callback.change_admin_note = function(data){
$('#res_note').html(data.html);
}
</script>
<script language="JavaScript">
function show(obj) {
if (document.getElementById(obj).style.display == 'none')
document.getElementById(obj).style.display = 'block';
else document.getElementById(obj).style.display = 'none';
}
</script>
<fieldset style="background-image:url(/forum/styles/templates/default/images/cellpic1.gif)">
<table width=100%><td align=left>
<span class="newmenu" onclick="show('a_n')"> <a onclick="return false" href=""> <font color="#FFFFFF"><b>Заметки администратора</b></font></a></span></td></table>
<span class="sub" id="a_n" style="display: none;">
<table class="forumline">
<tr>
</tr>
<tr>
<td class="row1 tCenter">
<textarea rows=10 cols=100 id="admin_note" name="admin_note">{ADMIN_NOTE}</textarea>
<br><input class="bold long" type="button" value=" Сохранить " onclick="ajax.change_admin_note();"> <div id="res_note"></div>
</td>
</tr>
</table>
</span></fieldset>
<br><br>