<select name=href onchange='sel(this.value);'> <option value=''>-=выключенно=- <option value='http://url.ru/music.mid'>Название midi <option value='http://url.ru/listen.pls'>Winamp radio ... </select> <div id=mus></div> <script> function sel(href){ if(href=='') mus.innerHTML="Включить музыку"; else mus.innerHTML="<EMBED type=application/x-mplayer2 src="+href+" width=180 height=45></embed>"; } sel(''); </script>
#(b)^<b>^
<input type="hidden" name="bt" value="0" /> <input type="checkbox" onclick="fmsg.bt.value = 1; fmsg.text0.focus(); if(!this.checked) { fmsg.bt.value = 0; fmsg.text0.focus(); }" />
/* Транслирует текст на русский по звучанию */
function bt(msg) { if(parent.chat.document.fmsg.bt.value == 1 && msg) { if(msg.substr(0,1) == ' ') { msg = msg.substr(1,msg.length); msg = ' (b) '+msg+' (/b)'; } else msg = ' (b) '+msg+' (/b)'; } return msg; }
msg_text=translit(msg_text);
msg_text=bt(msg_text);
(font)^<font style="color: #^ (font2)^;">^ (/font)^</font>^
<input type="hidden" name="fc" value="" /> <script language="javascript" type="text/javascript"> <!-- var fontcolor = new Array('111111','222222','333333','444444','555555','666666','777777','888888','999999','aaaaaa','bbbbbb','cccccc','dddddd','eeeeee','ffffff','110000','220000','330000','440000','550000','660000','770000','880000','990000','aa0000','bb0000','cc0000','dd0000','ee0000','ff0000','001100','002200','003300','004400','005500','006600','007700','008800','009900','00aa00','00bb00','00cc00','00dd00','00ee00','00ff00','000011','000022','000033','000044','000055','000066','000077','000088','000099','0000aa','0000bb','0000cc','0000dd','0000ee','0000ff','111100','222200','333300','444400','555500','666600','777700','888800','999900','aaaa00','bbbb00','cccc00','dddd00','eeee00','ffff00','110011','220022','330033','440044','550055','660066','770077','880088','990099','aa00aa','bb00bb','cc00cc','dd00dd','ee00ee','ff00ff','001111','002222','003333','004444','005555','006666','007777','008888','009999','00aaaa','00bbbb','00cccc','00dddd','00eeee','00ffff','221100','442200','663300','884400','aa5500','cc6600','ee7700','ff8800','220011','440022','660033','880044','aa0055','cc0066','ee0077','ff0088','002211','004422','006633','008844','00aa55','00cc66','00ee77','00ff88','112200','224400','336600','448800','55aa00','66cc00','77ee00','88ff00','110022','220044','330066','440088','5500aa','6600cc','7700ee','8800ff','001122','002244','003366','004488','0055aa','0066cc','0077ee','0088ff'); var fontselect = '<select name="fontsel" onchange="fmsg.fontsel.style.background = \'#\'+this.value; fmsg.fc.value = this.value; fmsg.text0.focus();" class="text">'; for(var n = 0; n < fontcolor.length; n++) fontselect += '<option value="'+fontcolor[n]+'" style="background: #'+fontcolor[n]+';"> </option>'; fontselect += '</select>'; document.write(fontselect); //--> </script>
function fc(msg) { if(parent.chat.document.fmsg.fc.value != '' && msg) { if(msg.substr(0,1) == ' ') { msg = msg.substr(1,msg.length); msg = ' (font)'+parent.chat.document.fmsg.fc.value+'(font2) '+msg+' (/font)'; } else msg = ' (font)'+parent.chat.document.fmsg.fc.value+'(font2) '+msg+' (/font)'; } return msg; }
msg_text=fc(msg_text);
var gna = new Array; gna['adm']='http://mpchat.com/blank/img/adm.gif';
<script> var msg= Number (%msg%); var chas="%time_h%"; var min= Number (%time_m%); var allmin=Math.round((chas*60)+min); var sl_stat =''; var sl_min =''; var sl_msg=''; var status='%status%'; var xmin=''; var xmsg=''; switch (status) { case 'нет': sl_stat ='новичок'; sl_msg='50'; sl_min ='50'; if (allmin>=sl_min) xmin='-'; else xmin=sl_min-allmin; if (msg>=sl_msg) xmsg='-'; else xmsg=sl_msg-msg; break; case 'новичок': sl_stat ='пользователь'; sl_msg='300'; sl_min ='300'; if (allmin>=sl_min) xmin='-'; else xmin=sl_min-allmin; if (msg>=sl_msg) xmsg='-'; else xmsg=sl_msg-msg; break; case 'пользователь': sl_stat ='бывалый'; sl_msg='2000'; sl_min ='2000'; if (allmin>=sl_min) xmin='-'; else xmin=sl_min-allmin; if (msg>=sl_msg) xmsg='-'; else xmsg=sl_msg-msg; break; case 'бывалый': sl_stat ='ведущий'; sl_msg='10000'; sl_min ='10000'; if (allmin>=sl_min) xmin='-'; else xmin=sl_min-allmin; if (msg>=sl_msg) xmsg='-'; else xmsg=sl_msg-msg; break; case 'модер': sl_stat ='-'; break; case 'супмодер': sl_stat ='-'; break; case 'админ': sl_stat ='-'; break; default: sl_stat ='-'; sl_msg='-'; sl_min ='-'; } </script>
<tr><td>Следующий статус:</td><td> <script> if (sl_stat=='-') document.write(sl_stat); else document.write(sl_stat+" (Осталось: сообщений - "+xmsg+", минут - "+xmin+")"); </script> </td></tr>
set_nick=setgn(cmd,nick); set_text=setgr(cmd,nick,text);
set_nick=setgr(cmd,nick,nick); set_text=setgr(cmd,nick,text);