head 1.10; access; symbols; locks root:1.10; strict; comment @# @; 1.10 date 2006.02.22.00.58.52; author root; state Exp; branches; next 1.9; 1.9 date 2005.09.28.13.28.14; author root; state Exp; branches; next 1.8; 1.8 date 2003.11.11.08.46.40; author root; state Exp; branches; next 1.7; 1.7 date 2003.11.11.01.53.51; author root; state Exp; branches; next 1.6; 1.6 date 2003.11.10.22.30.36; author root; state Exp; branches; next 1.5; 1.5 date 2003.09.05.06.15.05; author root; state Exp; branches; next 1.4; 1.4 date 2003.08.26.16.30.25; author root; state Exp; branches; next 1.3; 1.3 date 2003.08.18.08.51.24; author root; state Exp; branches; next 1.2; 1.2 date 2003.08.12.12.09.29; author root; state Exp; branches; next 1.1; 1.1 date 2003.08.12.08.38.51; author root; state Exp; branches; next ; desc @Not start.real.com, fahrt.real.com! @ 1.10 log @after palm springs pass @ text @<trimlines><expire-time seconds=5><header name="Cache-Control" value=""> <COMMENT>Input looks like http://start.real.com/rd?pid=eu_rr&url=39.rm&radio_ppr=true&src=CNT.rpe.eng.000.000.000</COMMENT> <cset preparse variable=timecode><rndate GMT>20%y%m%d%H%M</rndate></cset> <cset preparse variable=comp><formoutput>#timecode#<smallhash barf=saab93>#timecode#</smallhash></formoutput></cset> <set variable=nowind value=YAAAH> <COMMENT> WIND testing </COMMENT> <if cookie=R1EuropeAuth_wind><if not variable=nowind><set variable=windycity value=blows></if></if> <if variable=windycity> <cset preparse variable=httphost><echo HTTP_HOST></cset> <set variable=secret value=MilkaKuhFleckenMitSpiegelEier> <cset variable=fullcookie preparse><insert cookie=R1EuropeAuth_wind></cset> <arraycadd preparse name=ray delim="|"><insert variable=fullcookie></arraycadd> <cset variable=field0 preparse><arrayfetch name=ray index=0 encode=none></cset> <cset variable=md5input preparse><arrayfetch name=ray index=1 encode=none></cset> <formoutput encode=none><md5 quiet>#field0#</md5> <md5 quiet>#secret#</md5></formoutput> <cset preparse variable=mymd5><md5digest></cset> <B><FONT size=+2><formoutput><if variable="mymd5 is #md5input#"> The MD5 signature is Good! Wooooo Hoooo</if> <else> The cookie MD5 hash no good! Back to the oven!</else></formoutput></font></b><BR> <arraycset preparse name=ray delim=":"><insert variable=field0 encode=none></arraycset> <arraysize name=ray set=numprods> <COMMENT> FOR LOOP from HELL</COMMENT> <formoutput quote=$$$><for variable=loopcounter from=1 to=$$$numprods$$$> <HR> <formoutput><set variable=arrayptr expr="#loopcounter#-1"</formoutput><if not variable=arrayptr><set variable=arrayptr value="0"></if> <formoutput><cset variable=firstentitle preparse><arrayfetch name=ray index=#arrayptr# encode=none></cset></formoutput> <arrayclear name=entitle><arraycadd preparse name=entitle delim="@@"><insert variable=firstentitle></arraycadd> <cset variable=username preparse><arrayfetch name=entitle index=0 encode=none></cset> username for velocity-checking purposes is: <insert variable=username><BR> <cset variable=proddate preparse><arrayfetch name=entitle index=1 encode=none></cset> <arraycset preparse name=entitle2 delim="/"><insert variable=proddate></arraycset> <cset variable=prodcode preparse><arrayfetch name=entitle2 index=0 encode=none></cset> <cset variable=datecodes preparse><arrayfetch name=entitle2 index=1 encode=none></cset> <arraycset preparse name=entitle3 delim="_"><insert variable=datecodes></arraycset> <cset variable=cookieepoch preparse><arrayfetch name=entitle3 index=0 encode=none></cset> <COMMENT>Epoch time in cookie: <insert variable=cookieepoch><BR> Expressed in semi-normal terms: <formoutput><date unix_time=#cookieepoch#></formoutput><BR> Epoch time now: <rndate GMT></rndate><BR> Expressed in semi-normal terms: <date><BR> Difference between cookie-time and current time: <formoutput><rndate GMT add=-#cookieepoch#></formoutput><BR> If the above number is negative, then we are good!<BR></COMMENT> <cset preparse variable=diff><formoutput><rndate GMT add=-#cookieepoch#></formoutput></cset> RXML evaluation: <B><FONT size=+2><formoutput><if match="#diff# is -*"> cookie still valid! Luser "#username#" is entitled to see "#prodcode#" stuff! (assuming MD5 eval is ok) <if variable="mymd5 is #md5input#">LINK TO CONTENT: <cset preparse variable=hurlurl><formoutput quote=^^^>rtsp://europarse.real.com/hurl/eurohurl.smil?file=UEFA-Europe/uefa/^^^url^^^&pid=eu_ec_uefa&RealOne-Europe=^^^comp^^^</formoutput></cset><formoutput encode=none quote=^^^><A HREF="^^^hurlurl^^^">^^^hurlurl^^^</A></formoutput></if></if> <else>Your cookie is stale, throw it away!</else></formoutput></font></b><BR> </for> </formoutput> </if><COMMENT>WIND TESTING (windycity --> no "nowind" variable, and R1EuropeAuth_wind cookie)</COMMENT><else> <COMMENT>mysql taken out <cset variable=eyepee preparse><echo REMOTE_ADDR></cset> <set variable=gooberific value=true> <formoutput quote=^^^><sqloutput host=mysql://localhost/filestatus query="select * from fahrt where eyepee='^^^eyepee^^^'">#filetagg#<BR></sqloutput></formoutput> <else><set variable=gooberific value=shitsville></else> </COMMENT><set variable=gooberific value=shitsville> <COMMENT>211.11.156.49 is Rayboy/Tokyo</COMMENT> <COMMENT>195.92.160.129 is Playboy/Derby</COMMENT> <COMMENT>213.128.131.159 is Scharbeutzhaus-temp</COMMENT> <COMMENT>213.128.136.109 is Friedemann's IP</COMMENT> <COMMENT>216.254.22.32 is Silicon Mechanic's IP</COMMENT> <COMMENT>85.133.18.* is London Office IP</COMMENT> <COMMENT>80.164.22.142 is Houvig DK IP</COMMENT> <if host=85.133.18.*,80.164.22.142,216.254.22.32,80.171.39.190,211.11.156.49,213.128.136.109,213.128.131.159,144.140.16.*,61.195.68.*,172.2*,192.168.*,207.188.*,213.128.132*,195.74.146.*,61.193.190.19*,12.18.225*,63.249.23.1*,66.15.104.192,213.39.137.*,195.92.160.129><set variable=gooberific value=true></if> <if host=66.74.16.168><set variable=gooberific value=true></if><COMMENT>PSprings</COMMENT> <if variable="gooberific is true"> <if variable="pid is eu_pb*"><insert file="playboy-compcode.rx"></if> <cset preparse variable=extrashit ><if not variable="spewski" ><if variable="src">&src=<insert variable="src" encode=none></if><else>&src=nosrc</else ><if variable="sn">&sn=<insert variable="sn" encode=none></if ><if variable="code">&code=<insert variable="code" encode=none></if ><if variable="gooey">&gooey=<insert variable="gooey" encode=none></if ><if variable="rpcontextheight">&rpcontextheight=<insert variable="rpcontextheight" encode=none></if ><if variable="rpcontextwidth">&rpcontextwidth=<insert variable="rpcontextwidth" encode=none></if ><if variable="rpcontexturl">&rpcontexturl=<insert variable="rpcontexturl" encode=none></if ><if variable="rpcontextparams">&rpcontextparams=<insert variable="rpcontextparams" encode=none></if ><if variable="rpurlparams">&rpurlparams=<insert variable="rpurlparams" encode=none></if ><if variable="gserv">&gserv=<insert variable="gserv" encode=none></if ><if variable="rpurl">&rpurl=<insert variable="rpurl" encode=none></if ></if></cset> <COMMENT> <formoutput encode=none><redirect to="rtsp://europarse.real.com/euroc4/eurohurl.smil?file=#url#&pid=#pid#&RealOne-Europe=#comp##extrashit#"></formoutput> </COMMENT> <formoutput encode=none><redirect to="http://europarse.real.com/euroc4/eurohurl.ram?file=#url#&pid=#pid#&RealOne-Europe=#comp##extrashit#"></formoutput> </if><COMMENT>gooberific</COMMENT> <else> <TITLE>Access Delayed is Access Denied</TITLE> <CENTER><H1>Sorry, this service functions only if you are on a RealNetworks network!<H1><P><img src=http://www.blackjackinc.com/images/products/ihb_suckbigtime_b_ltblu.gif></CENTER> </else> </else> <COMMENT>WIND TESTING</COMMENT> <COMMENT> pbac407/ir/RealOne-Europe-20031009-132944-Playboy-SXTV_Live__Episode_5-hi-irMB.rm pbac407/fZ/RealOne-Europe-20031009-135145-Playboy-Addicted_2_Butt__Series_2_Episode_1-hi-fZAr.rm pbac407/RR/RealOne-Europe-20031009-140044-Playboy-Virtual_Sex_Series_3__Episode_5-hi-RRkU.rm pbac407/Qq/RealOne-Europe-20031009-141159-Playboy-Cum_Drinking_Episode_1-hi-QqrH.rm pbac407/NW/RealOne-Europe-20031009-142651-Playboy-Drunken_Lesbo_Sluts-hi-NWXP.rm pbac407/EJ/RealOne-Europe-20031009-144631-Playboy-Lessons_in_love-hi-EJBp.rm pbac407/eO/RealOne-Europe-20031009-150546-Playboy-Reality_Porn___Blow_Job_Race-hi-eOjX.rm pbac407/eO/RealOne-Europe-20031014-141632-Playboy-Dressed_to_Thrill-hi-eOu0.rm pbac407/kq/RealOne-Europe-20031009-151157-Playboy-Caught_at_Home___Episode_6___Cheri-hi-kqZf.rm pbac407/8N/RealOne-Europe-20031009-152956-Playboy-Me_and_My_Pussy___Episode_1___Nadia-hi-8Nnf.rm pbac407/Mc/RealOne-Europe-20031014-130849-Playboy-Bonk_Mobile___Episode_6-hi-McW5.rm pbac407/Ti/RealOne-Europe-20031014-132344-Playboy-Jo_s_Sexy_College_Diaries-hi-Ti1W.rm pbac407/Wq/RealOne-Europe-20031014-135355-Playboy-Neil_Down__Sex_Therapist_Episode_9___Tina_s_Story-hi-Wq6H.rm pbac407/Zf/RealOne-Europe-20031014-140444-Playboy-Barely_18_Episode_6___Toena-hi-ZfjA.rm pbac407/pW/RealOne-Europe-20031014-143045-Playboy-Naughty_by_Nature___Garden_Hoes-hi-pWn8.rm pbtv406/yX/RealOne-Europe-20031008-140742-Playboy-Cover_Girls_Uncovered-hi-yXev.rm pbtv406/rJ/RealOne-Europe-20031008-145941-Playboy-Voyeur_Episode_9-hi-rJxs.rm pbtv406/lk/RealOne-Europe-20031008-153548-Playboy-Extreme_Truth_1-hi-lkgO.rm pbtv406/r1/RealOne-Europe-20031008-160835-Playboy-bUSTED_4-hi-r1Vi.rm pbtv406/qs/RealOne-Europe-20031008-165555-Playboy-Playmate_2002__Dalene-hi-qsss.rm pbtv406/LE/RealOne-Europe-20031008-172857-Playboy-Lex_in_the_city-hi-LEpO.rm pbtv406/DM/RealOne-Europe-20031008-181057-Playboy-Best_of_Night_Call-hi-DMRw.rm pbtv406/h9/RealOne-Europe-20031008-183146-Playboy-Double_Entry_Extra-hi-h9qi.rm pbtv406/m2/RealOne-Europe-20031008-191258-Playboy-Sexcetera-hi-m2pU.rm pbtv406/gM/RealOne-Europe-20031009-104853-Playboy-Voyeur_12-hi-gMfu.rm </COMMENT> </trimlines> @ 1.9 log @prior to UK office addition @ text @d53 1 d58 1 d65 1 d67 2 a68 1 <if host=80.164.22.142,216.254.22.32,80.171.39.190,211.11.156.49,213.128.136.109,213.128.131.159,144.140.16.*,61.195.68.*,172.2*,192.168.*,207.188.*,213.128.132*,195.74.146.*,61.193.190.19*,12.18.225*,63.249.23.1*,66.15.104.192,213.39.137.*,195.92.160.129><set variable=gooberific value=true></if> @ 1.8 log @minor nowind situation! @ text @d1 1 a1 1 <trimlines> d7 1 d39 1 a39 1 Epoch time in cookie: <insert variable=cookieepoch><BR> d44 1 a44 1 If the above number is negative, then we are good!<BR> d47 1 a47 1 <if variable="mymd5 is #md5input#">LINK TO CONTENT: <cset preparse variable=hurlurl><formoutput quote=^^^>http://europarse.real.com/hurl/eurohurl.ram?file=UEFA-Europe/uefa/^^^url^^^&pid=eu_ec_uefa&RealOne-Europe=^^^comp^^^</formoutput></cset><formoutput encode=none quote=^^^><A HREF="^^^hurlurl^^^">^^^hurlurl^^^</A></formoutput></if></if> d53 6 d60 6 a65 1 <if host=144.140.16.*,61.195.68.*,172.2*,192.168.*,207.188.*,213.128.132*,195.74.146.*,61.193.190.19*,12.18.225*,63.249.23.1*,66.15.104.192,213.39.137.*,195.92.160.129> a71 1 ><if variable="rpurl">&rpurl=<insert variable="rpurl" encode=none></if d78 2 d81 3 d85 1 a85 1 </if> @ 1.7 log @Added a bunch of WINDy garbage OF DOOM , @ text @d8 2 a9 1 <if not variable=nowind><if cookie=R1EuropeAuth_wind> d46 1 a46 3 <if variable="mymd5 is #md5input#">LINK TO CONTENT: <cset preparse variable=hurlurl><formoutput quote=^^^>http://europarse.real.com/hurl/eurohurl.ram?file=UEFA-Europe/uefa/^^^url^^^&pid=eu_ec_uefa&RealOne-Europe=^^^comp^^^</formoutput></cset><formoutput encode=none quote=^^^><A HREF="^^^hurlurl^^^">^^^hurlurl^^^</A></formoutput></if> </if> d50 1 a50 1 </if></if><COMMENT>WIND TESTING (nowind, R1EuropeAuth_wind cookie</COMMENT><else> @ 1.6 log @prior to WIND cookie kode of DOOM @ text @d4 49 a54 2 <cset preparse variable=timecode><rndate GMT>20%y%m%d%H%M</rndate></cset> <cset preparse variable=comp><formoutput>#timecode#<smallhash barf=saab93>#timecode#</smallhash></formoutput></cset> d75 1 @ 1.5 log @pfffft @ text @d4 2 a5 1 <if host=144.140.16.*,61.195.68.*,172.2*,192.168.*,207.188.*,213.128.132*,195.74.146.*,61.193.190.19*,12.18.225*,63.249.23.1*> d8 1 d15 1 d19 2 d28 27 @ 1.4 log @lots o variables @ text @d4 1 a4 1 <if host=172.2*,192.168.*,207.188.*,213.128.132*,195.74.146.*,61.193.190.19*> @ 1.3 log @smell of scandinavia @ text @d7 11 a17 1 <formoutput><redirect to="http://europarse.real.com/euroc4/eurohurl.ram?file=#url#&pid=#pid#&RealOne-Europe=#comp#"></formoutput> @ 1.2 log @added IP restriction @ text @d4 1 a4 1 <if host=172.2*,192.168.*,207.188.*,213.128.132*,195.74.146.*> d10 2 a11 1 <CENTER><img src=http://www.blackjackinc.com/images/products/ihb_suckbigtime_b_ltblu.gif></CENTER> @ 1.1 log @Initial revision @ text @d4 2 d7 5 a11 1 <formoutput><redirect to="http://europarse.real.com/euroc4/eurohurl.html?file=#url#&pid=#pid#&RealOne-Europe=#comp#></formoutput> @