IntenT
Advanced Member | Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору BOP Это проверяют на каком сайте была заполнена форма Добавлено BOP <script language="JavaScript"> function submit_forms() { document.form1.email.value=document.form0.email.value; document.form2.email.value=document.form0.email.value; document.form1.urlpage.value=document.form0.urlpage.value; document.form2.urlpage.value=document.form0.urlpage.value; document.form1.title.value=document.form0.title.value; document.form2.title.value=document.form0.title.value; tmp = document.form0.brief.value; while(tmp.indexOf('\n')>0) { pre = tmp.substr(0,tmp.indexOf('\n')); tmp = pre + ' ' + tmp.substr(tmp.indexOf('\n')+1, 65000); } document.form1.brief.value=tmp; document.form2.brief.value=tmp; document.form1.lpassw.value=document.form0.lpassw.value; document.form2.lpassw.value=document.form0.lpassw.value; document.form1.login.value=document.form0.login.value; document.form2.login.value=document.form0.login.value; document.form1.pr.value=document.form0.pr.value; document.form2.pr.value=document.form0.pr.value; document.form1.submit(); document.form2.submit(); } </script> <form name="form0" action="javascript:submit_forms()"> <pre> <U><b>Äàòà ïîäà÷è: </b></u>Iàdò 25, 2003 <U><B>Äàòà óäàëåíèÿ: </b></U>Aïdåëü 24, 2003 <U><B>E-mail: </b></U><input type="text" name="email"> <U><B>URL: </b></U><input type="text" name="urlpage" value="http://" > <b>Çàaîëîâîê: </b><input type="text" name="title" size=50> <B>Oåêñò îáúÿâëåíèÿ (Iå áîëüoå 400 ñèìâîëîâ): </b><textarea rows=10 cols=50 name="brief"></textarea> </pre> <p> <table cellspacing=2 valign=top> </table><input type="hidden" name="lpassw" value=""> <input type="hidden" name="login" value=""> <input type="hidden" name="pr" value=""> </b><p> <input type="submit" value="Aâîä"> </form> <form action="http://monast.h1.ru/cgi-bin/comp.cgi?md=addad" method="post" name="form1" target="_blank"> <input type="hidden" name="email"> <input type="hidden" name="urlpage" value="http://" > <input type="hidden" name="title"> <input type="hidden" name="brief"> <input type="hidden" name="lpassw" value=""> <input type="hidden" name="login" value=""> <input type="hidden" name="pr" value=""> </form> <form action="http://monast.al.ru/cgi-bin/comp.cgi?md=addad" method="post" name="form2" target="_blank"> <input type="hidden" name="email"> <input type="hidden" name="urlpage" value="http://" > <input type="hidden" name="title"> <input type="hidden" name="brief"> <input type="hidden" name="lpassw" value=""> <input type="hidden" name="login" value=""> <input type="hidden" name="pr" value=""> </form> |