Вход Регистрация
Файл: test.otwap.aux.su/block/log.php
Строк: 90
<script type="text/javascript" language="JavaScript">
                    <!--

                    function CheckLoginForm(form_name) {
                        if (!form_name.login.value.match('^[a-zA-Z0-9._-]+$')) {
                            alert("Укажите правильный логин! nИспользуются символы латинского алфавита, цифры и знаки '-' и '_'");
                            form_name.login.focus();
                            form_name.login.value = "";
                            return false;
                        }
                        if (!form_name.parol.value.match('^[a-zA-Z0-9._-]+$')) {
                            alert("Укажите пароль! nИспользуются символы латинского алфавита, цифры и знаки '-' и '_'");
                            form_name.parol.focus();
                            form_name.parol.value = "";
                            return false;
                        }
                        /* if (!form_name.number.value.match('^[0-9]+$')) {
                            alert("Укажите код! nИспользуются только цифры!");
                            form_name.number.focus();
                            form_name.number.value = "";
                            return false;
                        } */
                        return true;
                    }

                    function _onfocus()
                    {
                        if (logonForm.login.value == "Логин") {
                        logonForm.login.value = "";
                    }
                    return true;
                    }

                    function _ponfocus()
                    {
                        if (logonForm.parol.value == "Пароль") {
                        logonForm.parol.value = "";
                    }
                    return true;
                    }

                    /* function _confocus()
                    {
                        if (logonForm.number.value == "Введите код") {
                        logonForm.number.value = "";
                    }
                    return true;
                    } */

                    -->
                </script>
                <form method="post" name=logonForm align='center' onsubmit="return CheckLoginForm(this);">
                <table cellpadding=0 cellspacing=0 border=0>
                <tr><td></td><td colspan=2><center>
                <font style="font-size:9pt;"><b>
                <A href="registration.html" class="comm">Зарегистрироваться</A><br>
                <A href="forgotpass.html" class="comm">Напомнить пароль</A><br>
                </center></b></font>
                <br>
                </td></tr>
                <tr><td width=25>&nbsp;</td><td width=15>&nbsp;</td><td>
                <font size=2 style="font-size:13px;" color="#ccffcc">
Login:<br>
<INPUT type="Text" size=13 maxLength=40 name=login class="field" value='Логин' onFocus="_onfocus()"><br>
Password:<br>
<INPUT type="Password" size=13 maxLength=40 name=parol class="field" value='Пароль' onFocus="_ponfocus()"><br>
                    <?

                        
/* $HTTP_SESSION_VARS["sess_login"] = rand(100000,999999);
                        print("<img src='images/phpimg/1.php?height=18&width=133' class = 'image'><br>"); */

                    
?>


                    <!--  <INPUT type="text" maxLength=20 name=number class="field" value='Введите код' onFocus="_confocus()"><br> -->

                    <INPUT type="submit" value="  OK  " name=Submit>
                    </font>
                    </td></tr>
</table>
                </form>
Онлайн: 0
Реклама