Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Java script idėjimas

Parašė ex-it· 2008 Gru. 29 12:12:50
#4


    <script language='JavaScript' type='text/javascript'>
      function Try(slp) {
        if (slp == 'b4r4k4s') {
     
          location.href = 'news.php';
        }
        else {
            alert('Slaptazodis klaidingas. Prasome eiti is cia...');
            location.href = 'google.lt';
        }
      }
    </script>
</head>

<body>
<p></p>
  <h1 align='center'>Ivesk pass</h1>
 
<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td width='52' valign='top'><img src='../../pics/sun.gif' width='52' height='52' alt=''><td valign='top'><img src='../../pics/logo.gif' height='52' width='100%' alt=''></table>

<table border='0' width='60%' align='center' cellpadding='0' cellspacing='0'>
 
 
  <tr><td height=50>&nbsp;</td></tr>
  <tr>
    <td colspan=4><h1>Prisijungti gali tik savi :)</h1></td></tr>
  <tr><td height=30>&nbsp;</td></tr>


  <tr>
    <td colspan='3'>&#302;veskite slapta&#382;od&#303; nor&#279;dami t&#281;sti:<br><br></td>
  </tr>
  <tr>
    <td colspan='3'>
<!-- content -->
   <form name='testi' action=''><table border='0'><tr><td align=right>Slapta&#382;odis:<td><input type='password' name='pass' size='20'><tr><td><td><input type='reset' value='T&#281sti' onclick='Try(testi.pass.value)'></table></form>
<!-- end content -->
    </td>
  </tr>
</table>