[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
Страница 1 из 11
Форум » Softing.do.am » Скрипты » Отправка смс,ммс
Отправка смс,ммс
  Добавил: Hoverik  
 
Code
<script>     
var signup = '';     
var maxleng = (120 - signup.length);     
var fulltext='';     
function chan(ndx)     
{ document.frmMain.oper.value=code[ndx]; }     

function checkSMS(){     
txt = document.frmMain.message.value;     
txtleng = txt.length;     
if (txtleng < maxleng){     
document.frmMain.sleft.value = (maxleng - txtleng);     
document.frmMain.message.focus();     
if (txt=='') document.frmMain.sleft.value = maxleng;     
if(fulltext) { fulltext = '' }     
}else{     
if(!fulltext) fulltext = txt.substring(0,maxleng);     
document.frmMain.message.value = fulltext;     
document.frmMain.sleft.value = 0;     
}     
}     

function CheckSendSMS(){     
if(hex_md5(document.frmMain.code2.value.toUpperCase()) !== document.frmMain.code3.value) {     
alert('Код неправильный!');     
return false;     
} else {     
return true;}     
}     
</script>     
<style>     
.flat { border: 2px #c0c0c0 solid; text-align: right; }     
.hill { border: 1px #c0c0c0 ridge; }     
</style>     
<div align=center>     

<form name='frmMain' method='post' action='http://www.atlant.ws/?set=sms&mc=send' onsubmit='return CheckSendSMS();' enctype='multipart/form-data'>     
<table width='480' border='0' cellspacing='0' cellpadding='2' align='center'>     
<tr>     
<td align='right'>     

<font size=1>Мобильный оператор:</font>     
</td>     
<td colspan=2>     
<select name='operator'>     
<option value=Нет>Выберите оператора</option><option value='Alma Ata - Kcell 588300' >Alma Ata - Kcell 588300</option><option value='America ON LINE' >America ON LINE</option><option value='Austria - One' >Austria - One</option><option value='Austria T-Mobile' >Austria T-Mobile</option><option value='Baku - Azercell Telecom' >Baku - Azercell Telecom</option><option value='Belarus Velcom GSM' >Belarus Velcom GSM</option><option value='Belgorod - ReKom GSM' >Belgorod - ReKom GSM</option><option value='Brest - Velcom' >Brest - Velcom</option><option value='CZECH - EuroTel' >CZECH - EuroTel</option><option value='CZECH - Paegas' >CZECH - Paegas</option><option value='Canada - Bell Mobility' >Canada - Bell Mobility</option><option value='Chelyabinsk - YUUST' >Chelyabinsk - YUUST</option><option value='Chelyabinsk - Yuzhnouralsk' >Chelyabinsk - Yuzhnouralsk</option><option value='Chelyabinsk - megaphone' >Chelyabinsk - megaphone</option><option value='Dnepropetrovsk Yevroinform' >Dnepropetrovsk Yevroinform</option><option value='Ekaterinburg - Bilayn GSM ' >Ekaterinburg - Bilayn GSM </option><option value='Ekaterinburg - Megaphone' >Ekaterinburg - Megaphone</option><option value='Ekaterinburg - Motive' >Ekaterinburg - Motive</option><option value='Ekaterinburg - Uraltel' >Ekaterinburg - Uraltel</option><option value='Ekaterinburg Ekskom' >Ekaterinburg Ekskom</option><option value='Estonia - EMT' >Estonia - EMT</option><option value='Estonia - Mobil Telephone' >Estonia - Mobil Telephone</option><option value='Estonia - Q GSM' >Estonia - Q GSM</option><option value='Estonia - RLE' >Estonia - RLE</option><option value='Georgea - Geocell +99577' >Georgea - Geocell +99577</option><option value='Georgea - MAGTI +99532' >Georgea - MAGTI +99532</option><option value='Germany - E-Plus' >Germany - E-Plus</option><option value='Germany - O2' >Germany - O2</option><option value='Germany - T-Mobile' >Germany - T-Mobile</option><option value='GlobalTel (MailGate)' >GlobalTel (MailGate)</option><option value='Hungary - Pannon GSM' >Hungary - Pannon GSM</option><option value='ICQ' >ICQ</option><option value='India - Airtel' >India - Airtel</option><option value='Irkutsk - Baykalvestkom' >Irkutsk - Baykalvestkom</option><option value='Irkutsk - Corporation Is The corona borealis' >Irkutsk - Corporation Is The corona borealis</option><option value='Israel - Orange IL' >Israel - Orange IL</option><option value='Kaliningrad - Bilayn' >Kaliningrad - Bilayn</option><option value='Kaliningrad - Ekstel-GSM' >Kaliningrad - Ekstel-GSM</option><option value='Kaliningrad Ekstel' >Kaliningrad Ekstel</option><option value='Kaluga Mobil Telecom' >Kaluga Mobil Telecom</option><option value='Kazakhstan K- Mobile' >Kazakhstan K- Mobile</option><option value='Kazakhstan Kcell' >Kazakhstan Kcell</option><option value='Kemerovo Alkom Electronics' >Kemerovo Alkom Electronics</option><option value='Khabarovsk - Distance Tele-kilohms of interneshnl' >Khabarovsk - Distance Tele-kilohms of interneshnl</option><option value='Khabarovsk - Far-Eastern GSM' >Khabarovsk - Far-Eastern GSM</option><option value='Kiev - Golden Telecom +38044' >Kiev - Golden Telecom +38044</option><option value='Kiev Beeper' >Kiev Beeper</option><option value='Kiev Golden Telecom' >Kiev Golden Telecom</option><option value='Kiev KiyevStar ACE&.BASE' >Kiev KiyevStar ACE&.BASE</option><option value='Kiev KiyevStar Djuise' >Kiev KiyevStar Djuise</option><option value='Kiev U -Page' >Kiev U -Page</option><option value='Kiev UMC' selected>Kiev UMC</option><option value='Kiev UMC Jeans' >Kiev UMC Jeans</option><option value='Kiev WellCom' >Kiev WellCom</option><option value='Kiev MOBI' >Kiev MOBI</option><option value='Kuban -.GSM Krasnodar' >Kuban -.GSM Krasnodar</option><option value='Kyrgyzstan Bitel GSM' >Kyrgyzstan Bitel GSM</option><option value='Latvia - Baltcom GSM' >Latvia - Baltcom GSM</option><option value='Latvia -

Code
Tele2' >Latvia - Tele2</option><option value='Lithuania - Bite GSM' >Lithuania - Bite GSM</option><option value='Magnitogorsk - YUUST GSM' >Magnitogorsk - YUUST GSM</option><option value='Mariupol - UKR-page' >Mariupol - UKR-page</option><option value='Minsk Belradiopeydzh' >Minsk Belradiopeydzh</option><option value='Moldova Kishinev Voxtel' >Moldova Kishinev Voxtel</option><option value='Moscow - Bilain 7901' >Moscow - Bilain 7901</option><option value='Moscow - Multi- Page' >Moscow - Multi- Page</option><option value='Moscow - SONNET' >Moscow - SONNET</option><option value='Moscow - THE MCC' >Moscow - THE MCC</option><option value='Moscow MTS' >Moscow MTS</option><option value='Moscow MobilTelekom' >Moscow MobilTelekom</option><option value='Moscow TASKOM' >Moscow TASKOM</option><option value='Moscow Vessolink' >Moscow Vessolink</option><option value='Moscow radio-Page' >Moscow radio-Page</option><option value='Moscow(Federal) MTS' >Moscow(Federal) MTS</option><option value='Moskow Megafon' >Moskow Megafon</option><option value='NSS' >NSS</option><option value='New Zealand Vodafone NZ' >New Zealand Vodafone NZ</option><option value='Novokuznetsk - Tele2' >Novokuznetsk - Tele2</option><option value='Novosibirsk NGTS' >Novosibirsk NGTS</option><option value='Novosibirsk SSS-900' >Novosibirsk SSS-900</option><option value='Odessa - Golden Telecom +38048' >Odessa - Golden Telecom +38048</option><option value='Omsk - mobile communication systems' >Omsk - mobile communication systems</option><option value='Omsk Mobile Tele-kilohms' >Omsk Mobile Tele-kilohms</option><option value='PAKISTAN - MOBILINK' >PAKISTAN - MOBILINK</option><option value='PAKISTAN - Ufone' >PAKISTAN - Ufone</option><option value='Penza -.GSM' >Penza -.GSM</option><option value='Perm - BeeLine' >Perm - BeeLine</option><option value='Perm - USI' >Perm - USI</option><option value='Perm UralSvyaz'Inform' >Perm UralSvyaz'Inform</option><option value='Poland' >Poland</option><option value='Poland - PLUS GSM' >Poland - PLUS GSM</option><option value='Pskov Iteks' >Pskov Iteks</option><option value='Riga - LMT +371' >Riga - LMT +371</option><option value='Riga LMT' >Riga LMT</option><option value='Romania Orange' >Romania Orange</option><option value='Samara - Megaphone -.GSM 79-16-16 ' >Samara - Megaphone -.GSM 79-16-16 </option><option value='Samara - Smarts 72-72-72' >Samara - Smarts 72-72-72</option><option value='Saratov Radio-serviceMobile' >Saratov Radio-serviceMobile</option><option value='Serbia MOBTEL' >Serbia MOBTEL</option><option value='SibChelendzh - Krasnoyarsk' >SibChelendzh - Krasnoyarsk</option><option value='South Africa MTN' >South Africa MTN</option><option value='Spain - Movistar' >Spain - Movistar</option><option value='St. Petersburg - N- w gsm' >St. Petersburg - N- w gsm</option><option value='St. Petersburg - nwgsm' >St. Petersburg - nwgsm</option><option value='St. Petersburg VessoLink' >St. Petersburg VessoLink</option><option value='Stavropol - Nc- gsm' >Stavropol - Nc- gsm</option><option value='Syktyvkar - GSM' >Syktyvkar - GSM</option><option value='TALLINN - EMT' >TALLINN - EMT</option><option value='Tallinn - Radiolinja Eesti AS' >Tallinn - Radiolinja Eesti AS</option><option value='Tanazania - Mobitel' >Tanazania - Mobitel</option><option value='Tashkent - Daewoo Unitel' >Tashkent - Daewoo Unitel</option><option value='Tashkent - Uzdunrobita GSM' >Tashkent - Uzdunrobita GSM</option><option value='To Rostov-on- Don AAA' >To Rostov-on- Don AAA</option><option value='Togliatti - Bilayn +7482' >Togliatti - Bilayn +7482</option><option value='Togliatti - megaphone' >Togliatti - megaphone</option><option value='Togliatti SMARTS' >Togliatti SMARTS</option><option value='Tomsk honeycomb connection' >Tomsk honeycomb connection</option><option value='Troitsk - YUUST' >Troitsk - YUUST</option><option value='Tyumen MTS' >Tyumen MTS</option><option value='Tyumen Mobile Is The service' >Tyumen Mobile Is The service</option><option value='UK T-Mobile' >UK T-Mobile</option><option value='UK Vodafone Pager' >UK Vodafone Pager</option><option value='USA - AT&T Wireless' >USA - AT&T Wireless</option><option value='USA - Verizone Wireless' >USA - Verizone Wireless</option><option value='USA - VoiceStream' >USA - VoiceStream</option><option value='USA Cingular' >USA Cingular</option><option value='USA Nextel' >USA Nextel</option><option value='USA Sprint PCS' >USA Sprint PCS</option><option value='USA T-Mobile' >USA T-Mobile</option><option value='USA Verizon Wireless' >USA Verizon Wireless</option><option value='USA Virgin Mobile' >USA Virgin Mobile</option><option value='Ul'yanovsk - GSM' >Ul'yanovsk - GSM</option><option value='Ul'yanovsk Of interpeydzh' >Ul'yanovsk Of interpeydzh</option><option value='Ul'yanovsk the Euro-project' >Ul'yanovsk the Euro-project</option><option value='Ulan-Ude honeycomb network' >Ulan-Ude honeycomb network</option><option value='Vladivostok - NTC NTK 510-510' >Vladivostok - NTC NTK 510-510</option><option value='Vladivostok - Primtelefon' >Vladivostok - Primtelefon</option><option value='Vladivostok The Vesso- bodies' >Vladivostok The Vesso- bodies</option><option value='Volgograd -GSM' >Volgograd -GSM</option><option value='Voronezh - Rekom GSM' >Voronezh - Rekom GSM</option><option value='Warsaw - Polkomtel Plus GSM' >Warsaw - Polkomtel Plus GSM</option><option value='Yaroslavl GSM' >Yaroslavl GSM</option>     
</select></td></tr>     
<tr><td align='right'>Телефон: </td><td colspan='2'><input class='hill' type='text' name='cellular' maxlength='25' size='25'><br><br>Например: 38050ХХХХХХХ или 8050ХХХХХХХ (38-код страны, 050-код оператора, ХХХХХХХ-номер телефона)</td>     
</tr><tr>     
<td align='right' valign='top'>Сообщение, можно по русски: </td>     
<td colspan=2><textarea name='message' cols='40' onkeydown='checkSMS();' rows='4' wrap='VIRTUAL'></textarea>     
<br>     
<input name='sleft' type='text' disabled='true' value='120' size='3' maxlength='3' border='0 px white>осталось символов</td>     
</tr>     
<tr>     
<td align='left' valign='top'>Ваша MMS (картинка, музыка, приложение в формате .jpg, .gif, .midi, .mp3, .wmf, .mmf, .3gp):</td><td align='left' valign='top'><input class=form_01 type='file' name='userfile'></td>     

</tr>     
<tr>     
<td align='left' valign='top'><input type='hidden' value='8978' name='code2' maxlength='4' /></td></tr>     
<tr><td colspan='2'><input type='hidden' name='code3' value='61bfdc160e4c099203c72258d8825340' size='40' readonly='readonly' /></td><input type='hidden' name='code' value='Z52NMYKCD3EASJ7G0ZJM5B35W' maxlength='50' size='40' readonly='readonly' />     
<td valign='top' align='left'>     
<input type='submit' name='sender' value='Отправить' />     
<br><br><center><font size=1></font></center>     

</td>     

</tr>     
</table>     
</form></div>

Скрипт пришлось разбить на две половины,из-за лимита сообщения..
 
  Просмотров:  
Форум » Softing.do.am » Скрипты » Отправка смс,ммс
Страница 1 из 11
Поиск: