head 1.7; access; symbols; locks root:1.7; strict; comment @# @; 1.7 date 2005.01.12.00.38.21; author root; state Exp; branches; next 1.6; 1.6 date 2003.07.10.16.56.35; author root; state Exp; branches; next 1.5; 1.5 date 2003.07.08.17.15.20; author root; state Exp; branches; next 1.4; 1.4 date 2003.07.08.17.04.58; author root; state Exp; branches; next 1.3; 1.3 date 2003.07.07.18.44.06; author root; state Exp; branches; next 1.2; 1.2 date 2003.06.30.08.29.25; author root; state Exp; branches; next 1.1; 1.1 date 2003.05.27.18.42.15; author root; state Exp; branches; next ; desc @Switchboard for cookiedom @ 1.7 log @trying to bypass broken phone number at piggies index_mit_check @ text @<trimlines><expire-time seconds=5><header name="Cache-Control" value=""><formoutput><if cookie=pgmedia-jmt><if cookie=pgmedia-u><set variable=twocookies value=poop></if></if></formoutput> <if variable=url><cset variable=file preparse><insert variable=url></cset></if> <set variable=upsellurl value="smilparse.real.com/showcase/promo/default/uk/4b_upsell2.html"> <formoutput><if not variable=twocookies><if not variable="duck is dagobert"> <if not variable="landing is yes"><redirect to="http://#upsellurl#?file=#file#&src=#src#&pid=#pid#&case=#case#&SN=#SN#&partner=#partner#&url=#url#"></if> <if variable="landing is yes"><redirect to="http://www.bill4net.de/real/index.php3?file=#file#&src=#src#"></if> </if></if></formoutput> <formoutput><if not variable=twocookies><if variable="duck is dagobert"> <redirect to="http://www.bill4net.de/real/index_mit_check.php3?file=#file#&src=#src#"></if></if></formoutput> <if variable=twocookies> <cset variable=heute preparse><rndate GMT>20%y%m%d</rndate></cset> <cset variable=gestern preparse><rndate GMT add=-86400>20%y%m%d</rndate></cset> <set variable=timematch value=no> <cset variable=cookiejmt preparse><insert cookie=pgmedia-jmt></cset> <cset variable=cookieu preparse><insert cookie=pgmedia-u></cset> <cset variable=cookiem preparse><insert cookie=pgmedia-m></cset> <cset variable=cookiesm preparse><insert cookie=pgmedia-sm></cset> <set variable=s value="ich saz uf einem steine"> <formoutput><md5 quiet>#cookieu##cookiejmt##cookiesm##s#</md5><cset variable=mym preparse><md5digest></cset> <if variable="heute is #cookiejmt#"><if variable="mym is #cookiem#"><set variable=timematch value=yes><set variable=hasgoodcookie value=yes><set variable=u value=#cookieu#></if></if> <if variable="gestern is #cookiejmt#"><if variable="mym is #cookiem#"><set variable=timematch value=yes><set variable=hasgoodcookie value=yes><set variable=u value=#cookieu#></if></if></formoutput> <formoutput><if variable="timematch is yes"> <redirect to="http://europarse.real.com/bigbro4uk/eurohurl.ram?partner=pgmedia&file=#file#&src=#src#"> </if></formoutput> <if not variable="timematch is yes"> <if not variable="duck is dagobert"> <formoutput> <if variable="landing is yes"><redirect to="http://www.bill4net.de/real/index.php3?file=#file#&src=#src#"></if> <if not variable="landing is yes"><redirect to="http://#upsellurl#?file=#file#&src=#src#&pid=#pid#&case=#case#&SN=#SN#&partner=#partner#&url=#url#"></if> </if> <COMMENT><if variable="duck is dagobert"><redirect to="http://www.bill4net.de/real/index_mit_check.php3?file=#file#&src=#src#"></if></COMMENT> <if variable="duck is dagobert"><redirect to="http://www.bill4net.de/real/index.php3?file=#file#&src=#src#"></if> </formoutput> </if> </if> </trimlines> @ 1.6 log @prior to old-cookie debug logic @ text @d24 2 a25 1 </if><else> d27 1 d31 4 a34 2 <if variable="duck is dagobert"><redirect to="http://www.bill4net.de/real/index_mit_check.php3?file=#file#&src=#src#"></if></formoutput> </else> @ 1.5 log @upsellurl variableized @ text @d2 1 @ 1.4 log @prior to URL fix @ text @d2 1 d4 1 a4 1 <if not variable="landing is yes"><redirect to="http://uk.real.com/partners/channel4/index.html?file=#file#&src=#src#&pid=#pid#&case=#case#&SN=#SN#&partner=#partner#&url=#url#"></if> d26 1 a26 1 <if not variable="landing is yes"><redirect to="http://uk.real.com/partners/channel4/index.html?file=#file#&src=#src#&pid=#pid#&case=#case#&SN=#SN#&partner=#partner#&url=#url#"></if> @ 1.3 log @prior to variable-passing @ text @d3 3 a5 1 <redirect to="http://www.bill4net.de/real/index.php3?file=#file#&src=#src#"></if></if></formoutput> a7 1 d23 4 a26 1 <if not variable="duck is dagobert"><redirect to="http://www.bill4net.de/real/index.php3?file=#file#&src=#src#"></if> @ 1.2 log @paranoia @ text @d6 20 a25 2 <formoutput><if variable=twocookies> <redirect to="http://europarse.real.com/bigbro4uk/eurohurl.ram?partner=pgmedia&file=#file#&src=#src#"></if></formoutput> @ 1.1 log @Initial revision @ text @d1 8 a8 5 <trimlines><formoutput><if cookie=pgmedia-jmt><if cookie=pgmedia-u><set variable=twocookies value=poop></if></if> <if not variable=twocookies> <redirect to="http://www.bill4net.de/real/index_mit_check.php3?file=#file#"></if> <if variable=twocookies> <redirect to="http://europarse.real.com/bigbro4uk/eurohurl.ram?partner=pgmedia&file=#file#"></if></formoutput></trimlines> @