|
|
| Linia 1: |
Linia 1: |
| <html><title> Skrypt</title><b> Mały skrypt pokazujący od kiedy kanały TVN istnieją.</b><center><marquee align="MIDDLE" height="45" width="220px" scrollamount="1" scrolldelay="70" direction="UP" behavior="SCROLL" loop="INFINITE" style="height: 45px; width: 220px;"><script>
| | ''' Mały skrypt pokazujący od kiedy kanały TVN istnieją.''' |
| var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
| | |
| function countup(yr,m,d){
| | <center><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> iTVN nadaje od dni<br /><br /><br /><br /></center> |
| var today=new Date()
| |
| var todayy=today.getYear()
| |
| if (todayy < 1000)
| |
| todayy+=1900
| |
| var todaym=today.getMonth()
| |
| var todayd=today.getDate()
| |
| var todaystring=montharray[todaym]+" "+todayd+", "+todayy
| |
| var paststring=montharray[m-1]+" "+d+", "+yr
| |
| var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)
| |
| difference+=" dni"
| |
| document.write(" AllTV nadaje już od "+difference+"")
| |
| }
| |
| //enter the count up date using the format year/month/day
| |
| countup(2016,01,01)
| |
| </script><br><br><script>
| |
| var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
| |
| function countup(yr,m,d){
| |
| var today=new Date()
| |
| var todayy=today.getYear()
| |
| if (todayy < 1000)
| |
| todayy+=1900
| |
| var todaym=today.getMonth()
| |
| var todayd=today.getDate()
| |
| var todaystring=montharray[todaym]+" "+todayd+", "+todayy
| |
| var paststring=montharray[m-1]+" "+d+", "+yr
| |
| var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)
| |
| difference+=" dni temu"
| |
| document.write(" TVN24 wystartowała "+difference+"")
| |
| }
| |
| //enter the count up date using the format year/month/day | |
| countup(2001,08,09)
| |
| </script><br><br><script>
| |
| var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
| |
| function countup(yr,m,d){
| |
| var today=new Date()
| |
| var todayy=today.getYear()
| |
| if (todayy < 1000)
| |
| todayy+=1900
| |
| var todaym=today.getMonth()
| |
| var todayd=today.getDate()
| |
| var todaystring=montharray[todaym]+" "+todayd+", "+todayy
| |
| var paststring=montharray[m-1]+" "+d+", "+yr
| |
| var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)
| |
| difference+=" dni"
| |
| document.write(" TVN Siedem jest w eterze od "+difference+"")
| |
| }
| |
| //enter the count up date using the format year/month/day
| |
| countup(2002,03,01)
| |
| </script><br><br><script>
| |
| var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
| |
| function countup(yr,m,d){
| |
| var today=new Date()
| |
| var todayy=today.getYear()
| |
| if (todayy < 1000)
| |
| todayy+=1900
| |
| var todaym=today.getMonth()
| |
| var todayd=today.getDate()
| |
| var todaystring=montharray[todaym]+" "+todayd+", "+todayy
| |
| var paststring=montharray[m-1]+" "+d+", "+yr
| |
| var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)
| |
| difference+=" dni"
| |
| document.write(" TVN Meteo można oglądać od "+difference+"")
| |
| }
| |
| //enter the count up date using the format year/month/day
| |
| countup(2003,05,10)
| |
| </script><br><br><script>
| |
| var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
| |
| function countup(yr,m,d){
| |
| var today=new Date()
| |
| var todayy=today.getYear()
| |
| if (todayy < 1000)
| |
| todayy+=1900
| |
| var todaym=today.getMonth()
| |
| var todayd=today.getDate()
| |
| var todaystring=montharray[todaym]+" "+todayd+", "+todayy
| |
| var paststring=montharray[m-1]+" "+d+", "+yr
| |
| var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)
| |
| difference+=" dni"
| |
| document.write(" TVN Turbo dostępny jest od "+difference+"")
| |
| }
| |
| //enter the count up date using the format year/month/day
| |
| countup(2003,12,12)
| |
| </script><br><br><script>
| |
| var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
| |
| function countup(yr,m,d){
| |
| var today=new Date()
| |
| var todayy=today.getYear()
| |
| if (todayy < 1000)
| |
| todayy+=1900
| |
| var todaym=today.getMonth()
| |
| var todayd=today.getDate()
| |
| var todaystring=montharray[todaym]+" "+todayd+", "+todayy
| |
| var paststring=montharray[m-1]+" "+d+", "+yr
| |
| var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)
| |
| difference+=" dni"
| |
| document.write(" TVN International nadaje od "+difference+"")
| |
| }
| |
| //enter the count up date using the format year/month/day
| |
| countup(2004,04,29)
| |
| </script> iTVN nadaje od dni<br><br><script>
| |
| var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
| |
| function countup(yr,m,d){
| |
| var today=new Date()
| |
| var todayy=today.getYear()
| |
| if (todayy < 1000)
| |
| todayy+=1900
| |
| var todaym=today.getMonth()
| |
| var todayd=today.getDate()
| |
| var todaystring=montharray[todaym]+" "+todayd+", "+todayy
| |
| var paststring=montharray[m-1]+" "+d+", "+yr
| |
| var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)
| |
| difference+=" dni"
| |
| document.write(" TVN Style nadaje od "+difference+"")
| |
| }
| |
| //enter the count up date using the format year/month/day
| |
| countup(2004,08,01)
| |
| </script><br><br><script>
| |
| var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
| |
| function countup(yr,m,d){
| |
| var today=new Date()
| |
| var todayy=today.getYear()
| |
| if (todayy < 1000)
| |
| todayy+=1900
| |
| var todaym=today.getMonth()
| |
| var todayd=today.getDate()
| |
| var todaystring=montharray[todaym]+" "+todayd+", "+todayy
| |
| var paststring=montharray[m-1]+" "+d+", "+yr
| |
| var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)
| |
| difference+=" dni"
| |
| document.write(" serwis vistafan12 istnieje "+difference+" ")
| |
| }
| |
| //enter the count up date using the format year/month/day
| |
| countup(2003,09,10)
| |
| </script></marquee></center></html>
| |