Foto: boletim fórum
Fonte da página
Estudo de caso: Linux na web. /Estudo de casos /boletim /
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><HTML><HEAD><TITLE>Os boletins publicados</TITLE></HEAD> <script language="javascript"> <!-- begin script // baseado em script de Bill Dortch, hIdaho Design <bdortch@hidaho.com> e adaptado por Jorge Kinoshita // function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function FixCookieDate (date) { var base = new Date(0); var skew = base.getTime(); // dawn of (Unix) time - should be 0 if (skew > 0) // Except on the Mac - ahead of its time date.setTime (date.getTime() - skew); } // // Function to return the value of the cookie specified by "name". // name - String object containing the cookie name. // returns - String object containing the cookie value, or null if // the cookie does not exist. function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return "seu_email@aqui"; } function lecookie() { document.form1.email.value = GetCookie("email"); } function grava() { document.cookie = "email=" + escape (document.form1.email.value) + "; expires=" + expdate.toGMTString(); } var expdate = new Date (); FixCookieDate (expdate); // Correct for Mac date bug - call only once for given Date object! expdate.setTime (expdate.getTime() + (365 * 24 * 60 * 60 * 1000)); // valido por um ano // end script --> </script> <BODY onload="lecookie()" BGCOLOR="#ffffff"> <table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" NOSAVE> <tr> <td BGCOLOR="#FFCC33"><a href="/~jkinoshi"><img SRC="vl2.jpg" height=28 width=170></a><font face=arial size=+2> Os boletins publicados</font> <a href="/~jkinoshi/bs/it.html"><font face=arial size=-2>[por categoria] </font></a> </td> </tr> <tr> <td BGCOLOR="#FFE566"> <font face=arial size=-1> <FORM name="form1" action="http://www.pcs.usp.br/cgi-bin/jkinoshi/subs.cgi" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded"> Receba o boletim via email; <b>seu email:</b><INPUT TYPE="text" NAME="email"> <INPUT TYPE="radio" NAME="inscr" VALUE="subscribe" CHECKED>subscribe <INPUT TYPE="radio" NAME="inscr" VALUE="unsubscribe">unsubscribe <INPUT TYPE="submit" NAME=".submit" onClick="grava()"> </form> </font> </td> </tr> </table><table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" NOSAVE BGCOLOR="#ffffff"><tr><td BGCOLOR="#dcdcdc">31-10-00</td><td><a href="b001031.html">Rute Users Tutorial and Exposition</a></td><tr> <tr><td BGCOLOR="#dcdcdc">30-10-00</td><td><a href="b001030.html">Livros e apostilas para Unix/Linux</a></td><tr> <tr><td BGCOLOR="#dcdcdc">28-10-00</td><td><a href="b001028.html">XI SEMAC


Foto: boletim fórum