Прога для SMS

VIVA

Принцесса
LV
0
 
Ребята, нужна прога для отправки смс с сайта. Хотелось бы вывести ее на главной странице портала и если можно, чтобы была написана на html...
 
<!--QuoteBegin-El1teGuard+2.09.2006, 12:24--><div class='quotetop'>Цитата(El1teGuard @ 2.09.2006, 12:24)</div><div class='quotemain'><!--QuoteEBegin-->Никак нельзя на хтмл...это скрипт. :)
<div align="right">[snapback]32105[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->
Круче скрипта.

2VIVA При желании можно сделать страницу с ссылками на отправку разных операторов.
 
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--><TD BGCOLOR="#F1C42E" VALIGN="MIDDLE" WIDTH="471"><b>Отправка SMS:</b> простая форма</TD>
&nbsp; &nbsp;<TD><IMG SRC="/images/y_right.gif" WIDTH="20" HEIGHT="30" ALT=""></TD>
&nbsp;</TR>
&nbsp;<TR>
&nbsp; &nbsp;<TD COLSPAN="3" BACKGROUND="/images/h_point.gif"><IMG SRC="/images/blank.gif" WIDTH="511" HEIGHT="1" ALT=""></TD>
&nbsp;</TR>
&nbsp;<TR>
&nbsp; &nbsp;<TD><IMG SRC="/images/crn_top_left_b.gif" WIDTH="20" HEIGHT="18" ALT=""></TD>
&nbsp; &nbsp;<TD WIDTH="471" BACKGROUND="/images/point_top_b.gif"><IMG SRC="/images/blank.gif" WIDTH="1" HEIGHT="18" ALT=""></TD>
&nbsp; &nbsp;<TD><IMG SRC="/images/crn_top_right_b.gif" WIDTH="20" HEIGHT="18" ALT=""></TD>
&nbsp;</TR>
&nbsp;<TR>
&nbsp; &nbsp;<TD BACKGROUND="/images/point_left_b.gif"><IMG SRC="/images/blank.gif" WIDTH="20" HEIGHT="1" ALT=""></TD>
&nbsp; &nbsp;<TD WIDTH="471">
&nbsp; &nbsp; &nbsp;<DIV ID="main" STYLE="border: 0; padding: 0px 5px; margin: 0; width: 461px; background-color: #ffffff;">







<script language="JavaScript" type="text/javascript">
<!--
&nbsp;&nbsp;&nbsp;&nbsp;var MESSPREFIX &nbsp; = 4;
&nbsp;&nbsp;&nbsp;&nbsp;var WITHTRANSLIT &nbsp;= 160;
&nbsp;&nbsp;&nbsp;&nbsp;var WITHOUTTRANSLIT &nbsp;= 70;
&nbsp;&nbsp;&nbsp;&nbsp;var REPLYPREFIX &nbsp; &nbsp; &nbsp;= 14;
&nbsp;&nbsp;&nbsp;&nbsp;var maxLen = WITHTRANSLIT - MESSPREFIX;
&nbsp; &nbsp;var send_form &nbsp; = false;

&nbsp;&nbsp;&nbsp;&nbsp;function checkLength(obj) {
&nbsp;var messMaxLength = WITHTRANSLIT - MESSPREFIX;
&nbsp;if (obj.translit.checked)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;messMaxLength = WITHOUTTRANSLIT - MESSPREFIX;
&nbsp;if ((obj.send_email.checked) || (obj.phone_answer.checked))
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;messMaxLength = messMaxLength - REPLYPREFIX;
&nbsp;var text=obj.message.value;
&nbsp;var length=messMaxLength+1;
&nbsp;var truncated=false;
&nbsp;while (length>messMaxLength) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;length=text.length;
&nbsp; &nbsp; &nbsp;if (!obj.translit.checked) {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;var find=text.match(/[ёжчшюяЁЖЧШЮЯ]/g);
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (find!=null)
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;length+=find.length;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;find=text.match(/[щЩ]/g);
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (find!=null)
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;length+=find.length*2;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ( length > messMaxLength ) {
&nbsp; &nbsp;text = text.substr(0, text.length-1);
&nbsp; &nbsp;truncated = true;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;}

&nbsp;if (truncated)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;obj.message.value=text;

&nbsp;obj.mlength.value=messMaxLength-length;
&nbsp;return length < messMaxLength;
&nbsp;&nbsp;&nbsp;&nbsp;}

&nbsp;&nbsp;&nbsp;&nbsp;function onSend() {


&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.forms.sendsms.send.value='send';
&nbsp;document.forms.sendsms.submit();
&nbsp;return false;
&nbsp;&nbsp;&nbsp;&nbsp;}
//-->
</script>
<FORM METHOD="post" action="http://www.beonline.ru/portal/comm/send_sms/simple_send_sms.sms" name="sendsms" id="sendsms">
&nbsp;<input type="hidden" name="deferto" value="">
&nbsp;<input type="hidden" name="adv_year" value="">
&nbsp;<input type="hidden" name="send" value="">


&nbsp;<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
&nbsp; &nbsp;
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4" CLASS="btext">Функции <b>Записная книжка</b> и <b>Получить
&nbsp; &nbsp; &nbsp; &nbsp;ответ на телефон</b> доступны для зарегистрированных пользователей.</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4">&nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4">
&nbsp; &nbsp; &nbsp; &nbsp;<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD ALIGN="RIGHT" CLASS="btext">Для отправки сообщения введите код, указанный на картинке</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>&nbsp;&nbsp;&nbsp;<IMG SRC="/servlet/send/confirm_code/vYiC7OvmvK.gif" WIDTH="146" HEIGHT="46">&nbsp;&nbsp;&nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT TYPE="hidden" NAME="confirm_key" VALUE="vYiC7OvmvK" MAXLENGTH="4">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT STYLE="width: 55px;" SIZE="14" CLASS="btext" TYPE="text" NAME="confirm_code" VALUE="" MAXLENGTH="4"></TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>&nbsp;&nbsp;&nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4">&nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4" BGCOLOR="#D0C8BA"><IMG SRC="/images/blank.gif" WIDTH="1" HEIGHT="5" ALT=""></TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR BGCOLOR="#D0C8BA">
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="3" CLASS="stext">Укажите <a href="http://www.beonline.ru/portal/comm/send_sms/description.sms?section=recipient"><u>номер телефона (последние 10 цифр)</u></a> или <a href="http://www.beonline.ru/portal/comm/send_sms/description.sms?section=recipient"><u>псевдоним</u></a> получателя или выберите запись из записной книжки</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR BGCOLOR="#D0C8BA">
&nbsp; &nbsp; &nbsp;<TD><IMG SRC="/images/blank.gif" WIDTH="30" HEIGHT="1" ALT=""></TD>
&nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp;<TABLE BORDER="0" CELLSPACING="2" CELLPADDING="1" WIDTH="100%">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<input type="radio" name="destination_number_from" class="formimage" disabled
&nbsp; &nbsp; &nbsp;value="address_book"
&nbsp; &nbsp; &nbsp;onClick="document.forms['sendsms'].address_book_phones.disabled=false;
&nbsp; &nbsp;document.forms['sendsms'].phone.disabled=true;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].nick_value.disabled=true;
&nbsp; &nbsp;document.forms['sendsms'].phone.value = '';
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].nick_value.value = '';">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD CLASS="stext" NOWRAP ALIGN="RIGHT">&nbsp;Записная книжка:&nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD><IMG SRC="/images/blank.gif" WIDTH="10" HEIGHT="1" ALT=""></TD>
&nbsp; &nbsp; &nbsp;<TD WIDTH="100%">
&nbsp; &nbsp; &nbsp; &nbsp;<SELECT NAME="address_book_phones" STYLE="width: 240px;" ROWS="10" CLASS="stext" &nbsp;DISABLED>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<OPTION VALUE=""></OPTION>
&nbsp; &nbsp; &nbsp; &nbsp;</SELECT>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR BGCOLOR="#D0C8BA">
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD colspan=2>
&nbsp; &nbsp; &nbsp; &nbsp;<TABLE BORDER="0" CELLSPACING="2" CELLPADDING="1" WIDTH="100%">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT TYPE="radio" NAME="destination_number_from" CLASS="formimage"
&nbsp; &nbsp; &nbsp;VALUE="ordinary" CHECKED
&nbsp; &nbsp; &nbsp;onClick="document.forms['sendsms'].address_book_phones.disabled=true;
&nbsp; &nbsp;document.forms['sendsms'].address_book_phones.value = '';
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].nick_value.value = '';
&nbsp; &nbsp;document.forms['sendsms'].phone.disabled=false;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].nick_value.disabled=true;
&nbsp; &nbsp;document.forms['sendsms'].phone.focus();">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD CLASS="stext" NOWRAP ALIGN="RIGHT">&nbsp;Номер телефона (10 цифр):&nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD WIDTH="100%">
&nbsp; &nbsp; &nbsp; &nbsp;<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD CLASS="btext" colspan=3>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT TYPE="text" NAME="phone" MAXLENGTH="10" SIZE="11" STYLE="width: 70px;" VALUE="">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD><IMG SRC="/images/blank.gif" WIDTH="5" HEIGHT="1" ALT="" BORDER="0"></TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; <TR BGCOLOR="#D0C8BA">
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp;<TABLE BORDER="0" CELLSPACING="2" CELLPADDING="1" WIDTH="100%">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<input type="radio" name="destination_number_from" class="formimage"
&nbsp; &nbsp; &nbsp;value="nick_name"
&nbsp; &nbsp; &nbsp;onClick="document.forms['sendsms'].address_book_phones.disabled=true;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].address_book_phones.value='';
&nbsp; &nbsp;document.forms['sendsms'].phone.disabled=true;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].phone.value='';
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].nick_value.disabled=false;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].nick_value.focus();">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD CLASS="stext" NOWRAP ALIGN="RIGHT">&nbsp;Псевдоним получателя:&nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD WIDTH="100%">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <INPUT TYPE="text" NAME="nick_value" STYLE="width: 239px;" SIZE="20" VALUE=""
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DISABLED>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4" BGCOLOR="#D0C8BA"><IMG SRC="/images/blank.gif" WIDTH="1" HEIGHT="3" ALT=""></TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4"><IMG SRC="/images/blank.gif" WIDTH="1" HEIGHT="5" ALT=""></TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD CLASS="stext" COLSPAN="3">
&nbsp; &nbsp; &nbsp; &nbsp;<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT TYPE="checkbox" NAME="translit"
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VALUE="1"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onClick="checkLength(document.forms['sendsms']);" CLASS="formimage">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD CLASS="stext" NOWRAP>&nbsp;Отключить автоматическую&nbsp;транслитерацию&nbsp;сообщения</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4"><IMG SRC="/images/blank.gif" WIDTH="1" HEIGHT="5" ALT=""></TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD ALIGN="RIGHT" CLASS="stext" VALIGN="TOP">Сообщение:&nbsp;&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD WIDTH="100%">
&nbsp; &nbsp; &nbsp; &nbsp;<TEXTAREA STYLE="width: 240px;" CLASS="stext"
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME="message" COLS="20" ROWS="5" WRAP="soft"
&nbsp;onkeyup="return checkLength(document.forms['sendsms']);"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onkeypress="return this.onkeyup();"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onChange="this.onkeyup();"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onFocus="this.onkeyup();"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onBlur="this.onkeyup();"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onSelect="this.onkeyup();"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onMouseOut="this.onkeyup();"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onMouseMove="this.onkeyup();"></TEXTAREA>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4"><IMG SRC="/images/blank.gif" WIDTH="1" HEIGHT="3" ALT=""></TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD ALIGN="RIGHT" CLASS="stext">Осталось:&nbsp;&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD WIDTH="100%">
&nbsp; &nbsp; &nbsp; &nbsp;<TABLE CELLSPACING="1" CELLPADDING="0" BORDER="0">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD CLASS="btext">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT STYLE="width: 40px;" TYPE="text" NAME="mlength" readonly MAXLENGTH="3" SIZE="3" VALUE="156">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD CLASS="stext">&nbsp;символов </TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD CLASS="stext" COLSPAN="3">
&nbsp; &nbsp; &nbsp; &nbsp;<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT TYPE="checkbox" NAME="status"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VALUE="on" CLASS="formimage" &nbsp;>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD CLASS="stext" NOWRAP>&nbsp;Отслеживать&nbsp;статус&nbsp;сообщения</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4" BGCOLOR="#D0C8BA">
&nbsp; &nbsp; &nbsp; &nbsp;<TABLE WIDTH="100%" BORDER="0" CELLSPACING="5" CELLPADDING="0">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD><IMG SRC="/images/blank.gif" WIDTH="20" HEIGHT="1" ALT=""></TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT TYPE="checkbox" NAME="send_email"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VALUE="1"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onClick="document.forms['sendsms'].reply_addr.disabled = !this.checked;
&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (!this.checked) {
&nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].reply_addr.value = '';
&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} else {
&nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].phone_answer.checked=false;
&nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].phone_answer_number.value='';
&nbsp; &nbsp; &nbsp; &nbsp;document.forms['sendsms'].reply_addr.focus();
&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}; checkLength(document.forms['sendsms']);
&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" CLASS="formimage">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD CLASS="stext" NOWRAP>&nbsp;Получить ответ на <a href="http://www.beonline.ru/portal/comm/send_sms/description.sms?section=email"><U><B>e-mail</B></U></A></TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD WIDTH="100%">&nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT SIZE="14" STYLE="width: 150px;" TYPE="text" NAME="reply_addr" VALUE="" disabled>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT TYPE="checkbox" NAME="phone_answer" VALUE="1"
&nbsp; &nbsp;disabled
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onClick="if (!this.checked) {
&nbsp; &nbsp; &nbsp;document.forms['sendsms'].phone_answer_number.value = '';
&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} else {
&nbsp; &nbsp; &nbsp;document.forms['sendsms'].phone_answer_number.value = null;
&nbsp; &nbsp; &nbsp;document.forms['sendsms'].send_email.checked=false;
&nbsp; &nbsp; &nbsp;document.forms['sendsms'].reply_addr.disabled=true;
&nbsp; &nbsp; &nbsp;document.forms['sendsms'].reply_addr.value = '';
&nbsp; &nbsp; &nbsp;}; checkLength(document.forms['sendsms']);
&nbsp; &nbsp; &nbsp;" CLASS="formimage">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD CLASS="stext" NOWRAP>&nbsp;Получить ответ на Ваш <a href="http://www.beonline.ru/portal/comm/send_sms/description.sms?section=response"><U><B>телефон</B></U></A></TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<INPUT STYLE="width: 150px;" SIZE="14" CLASS="btext" readonly TYPE="text" NAME="phone_answer_number" VALUE="">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</TR>
&nbsp; &nbsp; &nbsp; &nbsp;</TABLE>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4">&nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD>
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD>&nbsp;</TD>
&nbsp; &nbsp; &nbsp;<TD ALIGN="RIGHT"><a href="javascript:;" onclick="return onSend();"><IMG SRC="/images/btn/btn_send.gif" BORDER="0" WIDTH="80" HEIGHT="20" CLASS="formimage" ALT="отправить"></a>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp; &nbsp;<TR><TD COLSPAN="4">&nbsp;</TD></TR>
&nbsp; &nbsp;<TR>
&nbsp; &nbsp; &nbsp;<TD COLSPAN="4" CLASS="btext">Вы можете управлять приемом сообщений с сайта. Для этого можно использовать специальную опцию в
&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.beonline.ru/portal/mybol/settings"><u>персональных настройках</u></a>
&nbsp; &nbsp; &nbsp; &nbsp;в разделе Мой БиОнЛайн или воспользоваться следующими номерами (бесплатно):<ul style="margin-left:30">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<li><b>0684002</b> разрешить прием сообщений с сайта от всех пользователей
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<li><b>0684003</b> запретить прием сообщений с сайта от всех пользователей
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<li><b>0684004</b> разрешить прием сообщений с сайта только от зарегистрированных пользователей
&nbsp; &nbsp; &nbsp; &nbsp;</ul>
&nbsp; &nbsp; &nbsp;</TD>
&nbsp; &nbsp;</TR>
&nbsp;</TABLE>

</FORM>
&nbsp; &nbsp; &nbsp; &nbsp;<BR>
&nbsp; &nbsp; &nbsp;</DIV>
&nbsp; &nbsp;</TD>
&nbsp; &nbsp;<TD ALIGN="RIGHT" VALIGN="TOP" BACKGROUND="/images/point_right_b.gif" WIDTH="20"><IMG SRC="/images/blank.gif" WIDTH="20" HEIGHT="1" ALT=""></TD>
&nbsp;</TR><!--c2--></div><!--ec2-->

Вот скрипт с Belline.ru, можете работает, я не пробовал. :)
 
Сверху