phphtmllib-devel Mailing List for phpHtmlLib (Page 11)
Status: Beta
Brought to you by:
hemna
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(33) |
Jul
(2) |
Aug
(3) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
(3) |
Jun
(1) |
Jul
(10) |
Aug
(5) |
Sep
|
Oct
|
Nov
(2) |
Dec
(5) |
2004 |
Jan
(1) |
Feb
(8) |
Mar
(139) |
Apr
(65) |
May
(32) |
Jun
(55) |
Jul
(21) |
Aug
(60) |
Sep
(43) |
Oct
(1) |
Nov
(18) |
Dec
(34) |
2005 |
Jan
(25) |
Feb
(2) |
Mar
(49) |
Apr
(13) |
May
(40) |
Jun
(22) |
Jul
(21) |
Aug
(59) |
Sep
(178) |
Oct
(54) |
Nov
(3) |
Dec
(49) |
2006 |
Jan
(21) |
Feb
(1) |
Mar
(5) |
Apr
(29) |
May
(86) |
Jun
(79) |
Jul
(52) |
Aug
(127) |
Sep
(187) |
Oct
(90) |
Nov
(61) |
Dec
(48) |
2007 |
Jan
(79) |
Feb
(136) |
Mar
(58) |
Apr
(139) |
May
(293) |
Jun
(112) |
Jul
(138) |
Aug
(112) |
Sep
(148) |
Oct
(76) |
Nov
(29) |
Dec
(66) |
2008 |
Jan
(45) |
Feb
(60) |
Mar
(119) |
Apr
(169) |
May
(172) |
Jun
(136) |
Jul
(107) |
Aug
(114) |
Sep
(104) |
Oct
(26) |
Nov
(50) |
Dec
(48) |
2009 |
Jan
(9) |
Feb
(35) |
Mar
(22) |
Apr
(43) |
May
(83) |
Jun
(68) |
Jul
(58) |
Aug
(21) |
Sep
(23) |
Oct
(62) |
Nov
(36) |
Dec
(26) |
2010 |
Jan
(16) |
Feb
(83) |
Mar
(73) |
Apr
(51) |
May
(76) |
Jun
(96) |
Jul
(70) |
Aug
(33) |
Sep
(10) |
Oct
(1) |
Nov
(2) |
Dec
|
2011 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
(12) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
(3) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(1) |
2014 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(2) |
Oct
(2) |
Nov
(3) |
Dec
|
2015 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <he...@us...> - 2009-11-24 06:27:24
|
Revision: 3291 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3291&view=rev Author: hemna Date: 2009-11-24 06:27:17 +0000 (Tue, 24 Nov 2009) Log Message: ----------- spacing Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:12:35 UTC (rev 3290) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:27:17 UTC (rev 3291) @@ -227,14 +227,14 @@ $cam_img_div = new DIVtag(array('id' => 'idCamImgDiv'), $cam_img); - $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Cam Updates from 4am to 10pm PST', ' '); + $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Cam Updates from 4am to 10pm PST', ' '); //only show the flash overlay if we //have today's video file on disk if (file_exists("/home/waboring/wx.hemna.com/htdocs/video/".$curdate."/timelapse.flv")) { $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&autostart=1', 'class' => 'lightview', 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), - "View Timelapse Video"); + " View Timelapse Video"); $cam_href->set_collapse(true); $cam_title_div->add($cam_href); $cam_title_div->add(" every 30 min"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 06:12:43
|
Revision: 3290 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3290&view=rev Author: hemna Date: 2009-11-24 06:12:35 +0000 (Tue, 24 Nov 2009) Log Message: ----------- more Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:06:48 UTC (rev 3289) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:12:35 UTC (rev 3290) @@ -232,11 +232,12 @@ //only show the flash overlay if we //have today's video file on disk if (file_exists("/home/waboring/wx.hemna.com/htdocs/video/".$curdate."/timelapse.flv")) { - $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&start=1', 'class' => 'lightview', + $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&autostart=1', 'class' => 'lightview', 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), "View Timelapse Video"); $cam_href->set_collapse(true); $cam_title_div->add($cam_href); + $cam_title_div->add(" every 30 min"); } $cam_div = new DIVtag(array('id' => 'idCamDiv', 'style' => 'padding-bottom:10px;margin-bottom:5px;'), $cam_title_div, $cam_img_div); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 06:06:57
|
Revision: 3289 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3289&view=rev Author: hemna Date: 2009-11-24 06:06:48 +0000 (Tue, 24 Nov 2009) Log Message: ----------- updated layout to wrap with title Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:06:14 UTC (rev 3288) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:06:48 UTC (rev 3289) @@ -217,16 +217,29 @@ 480,320); $radar_img->set_id('idRadarImg'); - + $this->add_js_link('/js/lightview/lightview.js'); $this->add_css_link('/css/lightview/lightview.css'); + + $curdate = date("Ymd"); + + $cam_img = new IMGtag(array('id' => 'idCamImg', 'src' => 'cam/cam.jpg', 'width' => '480', height => '320')); + $cam_img_div = new DIVtag(array('id' => 'idCamImgDiv'), $cam_img); - $cam_img = new IMGtag(array('id' => 'idCam', 'src' => 'cam/cam.jpg', 'width' => '480', height => '320')); - $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&start=1', 'class' => 'lightview', - 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), - $cam_img); - $cam_href->set_collapse(true); - $cam_div = new DIVtag(array('id' => 'idCamDiv', 'style' => 'padding-bottom:10px;margin-bottom:5px;'), $cam_href); + + $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Cam Updates from 4am to 10pm PST', ' '); + + //only show the flash overlay if we + //have today's video file on disk + if (file_exists("/home/waboring/wx.hemna.com/htdocs/video/".$curdate."/timelapse.flv")) { + $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&start=1', 'class' => 'lightview', + 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), + "View Timelapse Video"); + $cam_href->set_collapse(true); + $cam_title_div->add($cam_href); + } + + $cam_div = new DIVtag(array('id' => 'idCamDiv', 'style' => 'padding-bottom:10px;margin-bottom:5px;'), $cam_title_div, $cam_img_div); $radar_div = new DIVtag(array('id' => 'idRadardiv'),$radar_img); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 06:06:22
|
Revision: 3288 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3288&view=rev Author: hemna Date: 2009-11-24 06:06:14 +0000 (Tue, 24 Nov 2009) Log Message: ----------- added some styles for the cam image div area Modified Paths: -------------- trunk/open2300/htdocs/css/main.css Modified: trunk/open2300/htdocs/css/main.css =================================================================== --- trunk/open2300/htdocs/css/main.css 2009-11-24 05:38:37 UTC (rev 3287) +++ trunk/open2300/htdocs/css/main.css 2009-11-24 06:06:14 UTC (rev 3288) @@ -91,11 +91,39 @@ color:#ffffff; } +#idCamDiv { + border: 1px solid #000088; + width: 482px; + height: 330px; +} +#idCamDiv .camtitle { + font-size: .6em; + font-weight:bold; + background-color: #000088; + color: #ffffff; + padding:2px; + margin:1px; +} +#idCamDiv #idCamTitle a:active,a:visited,a:link { + color:#ffffff; + font-family: arial, helvetica, sans-serif; +} +#idCamImg { + padding-left:1px; + margin:0px; +} +#idRadarDiv { + padding-top: 10px; +} + + + + .datalist_col_head { font-family: arial, helvetica, sans-serif; font-size: .8em; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 05:38:48
|
Revision: 3287 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3287&view=rev Author: hemna Date: 2009-11-24 05:38:37 +0000 (Tue, 24 Nov 2009) Log Message: ----------- yes I know...bad place, but lightview expects them here lightview 2.5.2 Added Paths: ----------- trunk/open2300/htdocs/js/images/ trunk/open2300/htdocs/js/images/lightview/ trunk/open2300/htdocs/js/images/lightview/blank.gif trunk/open2300/htdocs/js/images/lightview/close_innertop.png trunk/open2300/htdocs/js/images/lightview/close_large.png trunk/open2300/htdocs/js/images/lightview/close_small.png trunk/open2300/htdocs/js/images/lightview/controller_close.png trunk/open2300/htdocs/js/images/lightview/controller_next.png trunk/open2300/htdocs/js/images/lightview/controller_prev.png trunk/open2300/htdocs/js/images/lightview/controller_slideshow.png trunk/open2300/htdocs/js/images/lightview/controller_slideshow_play.png trunk/open2300/htdocs/js/images/lightview/controller_slideshow_stop.png trunk/open2300/htdocs/js/images/lightview/controller_stop.png trunk/open2300/htdocs/js/images/lightview/inner_next.png trunk/open2300/htdocs/js/images/lightview/inner_prev.png trunk/open2300/htdocs/js/images/lightview/inner_slideshow_play.png trunk/open2300/htdocs/js/images/lightview/inner_slideshow_stop.png trunk/open2300/htdocs/js/images/lightview/loading.gif trunk/open2300/htdocs/js/images/lightview/next.png trunk/open2300/htdocs/js/images/lightview/overlay.png trunk/open2300/htdocs/js/images/lightview/prev.png trunk/open2300/htdocs/js/images/lightview/topclose.png Added: trunk/open2300/htdocs/js/images/lightview/blank.gif =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/blank.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/close_innertop.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/close_innertop.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/close_large.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/close_large.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/close_small.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/close_small.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/controller_close.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/controller_close.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/controller_next.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/controller_next.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/controller_prev.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/controller_prev.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/controller_slideshow.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/controller_slideshow.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/controller_slideshow_play.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/controller_slideshow_play.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/controller_slideshow_stop.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/controller_slideshow_stop.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/controller_stop.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/controller_stop.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/inner_next.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/inner_next.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/inner_prev.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/inner_prev.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/inner_slideshow_play.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/inner_slideshow_play.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/inner_slideshow_stop.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/inner_slideshow_stop.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/loading.gif =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/loading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/next.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/next.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/overlay.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/overlay.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/prev.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/prev.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/js/images/lightview/topclose.png =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/js/images/lightview/topclose.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 05:22:44
|
Revision: 3286 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3286&view=rev Author: hemna Date: 2009-11-24 05:22:36 +0000 (Tue, 24 Nov 2009) Log Message: ----------- nuked the stupid wunderground flash turd, moved the rain gauges, added the webcam image added code for the flash lightview popup Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 05:21:25 UTC (rev 3285) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 05:22:36 UTC (rev 3286) @@ -105,8 +105,9 @@ </OBJECT> ' ); - $left_div->add('<object width="290" height="130"><param name="movie" value="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCASANJO77&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" /><param name="quality" value="high"><embed src="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCACOOL3&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" type="application/x-shockwave-flash" width="300" height="290" /></object>'); - + //$left_div->add('<object width="290" height="130"><param name="movie" value="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCASANJO77&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" /><param name="quality" value="high"><embed src="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCACOOL3&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" type="application/x-shockwave-flash" width="300" height="290" /></object>'); + + $left_div->add($this->get_rain_div()); $container->add($left_div); return $container; @@ -215,15 +216,25 @@ $radar_img = IMGtag::factory("http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=DAX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.326&noclutter=0&t=1235942643&lat=38.81977081&lon=-121.02596283&label=Pilot+Hill%2C+CA&showstorms=0&map.x=400&map.y=240¢erx=145¢ery=359&transx=-255&transy=119&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0", 480,320); $radar_img->set_id('idRadarImg'); + + + $this->add_js_link('/js/lightview/lightview.js'); + $this->add_css_link('/css/lightview/lightview.css'); + + $cam_img = new IMGtag(array('id' => 'idCam', 'src' => 'cam/cam.jpg', 'width' => '480', height => '320')); + $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&start=1', 'class' => 'lightview', + 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), + $cam_img); + $cam_href->set_collapse(true); + $cam_div = new DIVtag(array('id' => 'idCamDiv', 'style' => 'padding-bottom:10px;margin-bottom:5px;'), $cam_href); $radar_div = new DIVtag(array('id' => 'idRadardiv'),$radar_img); - $rain_div = $this->get_rain_div(); - $table = TABLEtag::factory("100%",0,0,0); $table->add_row(new TDtag(array('style' => 'vertical-align:top;width:510px;'),$right_div), - new TDtag(array('style' => 'vertical-align:top;padding-left:8px;'),$radar_div, $rain_div)); + new TDtag(array('style' => 'vertical-align:top;padding-left:8px;'), + $cam_div, $radar_div)); return $table; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 05:21:33
|
Revision: 3285 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3285&view=rev Author: hemna Date: 2009-11-24 05:21:25 +0000 (Tue, 24 Nov 2009) Log Message: ----------- use google's cached version of prototype/scriptaculous Modified Paths: -------------- trunk/open2300/lib/core/page/open2300Page.inc Modified: trunk/open2300/lib/core/page/open2300Page.inc =================================================================== --- trunk/open2300/lib/core/page/open2300Page.inc 2009-11-24 05:20:42 UTC (rev 3284) +++ trunk/open2300/lib/core/page/open2300Page.inc 2009-11-24 05:21:25 UTC (rev 3285) @@ -113,8 +113,10 @@ $this->add_css_link("/css/main.css"); $this->add_css_link("/css/fonts.css"); - $this->add_js_link( '/js/scriptaculous-js-1.7.0/lib/prototype.js' ); - $this->add_js_link( '/js/scriptaculous-js-1.7.0/src/scriptaculous.js' ); + //$this->add_js_link( '/js/scriptaculous-js-1.7.0/lib/prototype.js' ); + //$this->add_js_link( '/js/scriptaculous-js-1.7.0/src/scriptaculous.js' ); + $this->add_js_link( 'http://ajax.googleapis.com/ajax/libs/prototype/1/prototype.js' ); + $this->add_js_link( 'http://ajax.googleapis.com/ajax/libs/scriptaculous/1/scriptaculous.js' ); $this->add_js_link( '/js/ajax.js' ); $this->add_js_link( '/js/main.js' ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 05:20:54
|
Revision: 3284 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3284&view=rev Author: hemna Date: 2009-11-24 05:20:42 +0000 (Tue, 24 Nov 2009) Log Message: ----------- added Added Paths: ----------- trunk/open2300/htdocs/video/ trunk/open2300/htdocs/video/20091123/ trunk/open2300/htdocs/video/20091123/timelapse.flv trunk/open2300/htdocs/video/player.swf Added: trunk/open2300/htdocs/video/20091123/timelapse.flv =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/video/20091123/timelapse.flv ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/open2300/htdocs/video/player.swf =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/video/player.swf ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 05:20:20
|
Revision: 3283 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3283&view=rev Author: hemna Date: 2009-11-24 05:20:11 +0000 (Tue, 24 Nov 2009) Log Message: ----------- added periodical executor for the cam image Modified Paths: -------------- trunk/open2300/htdocs/js/main.js Modified: trunk/open2300/htdocs/js/main.js =================================================================== --- trunk/open2300/htdocs/js/main.js 2009-11-24 05:19:32 UTC (rev 3282) +++ trunk/open2300/htdocs/js/main.js 2009-11-24 05:20:11 UTC (rev 3283) @@ -70,9 +70,9 @@ Effect.Appear('idWindSpeedLineGraph', {duration: 0.7}); }}); - Effect.Fade('idRadarImg', {duration: 0.3, afterFinish: function() { + Effect.Fade('idRadarImg', {duration: 0.7, afterFinish: function() { img = new Image(); - img.src = "http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=DAX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.326&noclutter=0&t=1235942643&lat=38.81977081&lon=-121.02596283&label=Pilot+Hill%2C+CA&showstorms=0&map.x=400&map.y=240¢erx=145¢ery=359&transx=-255&transy=119&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0"; + img.src = "http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=DAX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.326&noclutter=0&t=1235942643&lat=38.81977081&lon=-121.02596283&label=Pilot+Hill%2C+CA&showstorms=0&map.x=400&map.y=240¢erx=145¢ery=359&transx=-255&transy=119&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0&junk="+d.getTime(); img.id='idRadarImg'; img.width=480; img.height=320; @@ -114,6 +114,13 @@ } + new PeriodicalExecuter(function(pe) { + d = new Date(); + img = $('idCam'); + img.src="http://wx.hemna.com/cam/cam.jpg?junk="+d.getSeconds(); + }, + 30); + function set_orig_time(new_time) { orig_time = new_time; orig_ts =Math.round(orig_time.getTime()/1000); @@ -146,4 +153,4 @@ } return newHTML; -} \ No newline at end of file +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 05:19:43
|
Revision: 3282 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3282&view=rev Author: hemna Date: 2009-11-24 05:19:32 +0000 (Tue, 24 Nov 2009) Log Message: ----------- added lightview 2.5.2 Added Paths: ----------- trunk/open2300/htdocs/js/lightview/ trunk/open2300/htdocs/js/lightview/lightview.js Added: trunk/open2300/htdocs/js/lightview/lightview.js =================================================================== --- trunk/open2300/htdocs/js/lightview/lightview.js (rev 0) +++ trunk/open2300/htdocs/js/lightview/lightview.js 2009-11-24 05:19:32 UTC (rev 3282) @@ -0,0 +1,150 @@ +// Lightview 2.5.2 - 06-10-2009 +// Copyright (c) 2008-2009 Nick Stakenburg (http://www.nickstakenburg.com) +// +// Licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License +// http://creativecommons.org/licenses/by-nc-nd/3.0/ + +// More information on this project: +// http://www.nickstakenburg.com/projects/lightview/ + +var Lightview = { + Version: '2.5.2', + + // Configuration + options: { + backgroundColor: '#ffffff', // Background color of the view + border: 12, // Size of the border + buttons: { + opacity: { // Opacity of inner buttons + disabled: 0.4, + normal: 0.75, + hover: 1 + }, + side: { display: true }, // Toggle side buttons + innerPreviousNext: { display: true }, // Toggle the inner previous and next button + slideshow: { display: true }, // Toggle slideshow button + topclose: { side: 'right' } // 'right' or 'left' + }, + controller: { // The controller is used on sets + backgroundColor: '#4d4d4d', + border: 6, + buttons: { + innerPreviousNext: true, + side: false + }, + margin: 18, + opacity: 0.7, + radius: 6, + setNumberTemplate: '#{position} of #{total}' + }, + cyclic: false, // Makes galleries cyclic, no end/begin + images: '../images/lightview/', // The directory of the images, from this file + imgNumberTemplate: 'Image #{position} of #{total}', // Want a different language? change it here + keyboard: true, // Toggle keyboard buttons + menubarPadding: 6, // Space between menubar and content in px + overlay: { // Overlay + background: '#000', // Background color, Mac Firefox & Mac Safari use overlay.png + close: true, + opacity: 0.85, + display: true + }, + preloadHover: false, // Preload images on mouseover + radius: 12, // Corner radius of the border + removeTitles: true, // Set to false if you want to keep title attributes intact + resizeDuration: 0.45, // The duration of the resize effect in seconds + slideshowDelay: 5, // Delay in seconds before showing the next slide + titleSplit: '::', // The characters you want to split title with + transition: function(pos) { // Or your own transition + return ((pos/=0.5) < 1 ? 0.5 * Math.pow(pos, 4) : + -0.5 * ((pos-=2) * Math.pow(pos,3) - 2)); + }, + viewport: true, // Stay within the viewport, true is recommended + zIndex: 5000, // zIndex of #lightview, #overlay is this -1 + + startDimensions: { // Dimensions Lightview starts at + width: 100, + height: 100 + }, + closeDimensions: { // Modify if you've changed the close button images + large: { width: 77, height: 22 }, + small: { width: 25, height: 22 } + }, + sideDimensions: { // Modify if you've changed the side button images + width: 16, + height: 22 + }, + + defaultOptions: { // Default options for each type of view + image: { + menubar: 'bottom', + closeButton: 'large' + }, + gallery: { + menubar: 'bottom', + closeButton: 'large' + }, + ajax: { + width: 400, + height: 300, + menubar: 'top', + closeButton: 'small', + overflow: 'auto' + }, + iframe: { + width: 400, + height: 300, + menubar: 'top', + scrolling: true, + closeButton: 'small' + }, + inline: { + width: 400, + height: 300, + menubar: 'top', + closeButton: 'small', + overflow: 'auto' + }, + flash: { + width: 400, + height: 300, + menubar: 'bottom', + closeButton: 'large' + }, + quicktime: { + width: 480, + height: 220, + autoplay: true, + controls: true, + closeButton: 'large' + } + } + }, + classids: { + quicktime: 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', + flash: 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' + }, + codebases: { + quicktime: 'http://www.apple.com/qtactivex/qtplugin.cab#version=7,5,5,0', + flash: 'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0' + }, + errors: { + requiresPlugin: "<div class='message'> The content your are attempting to view requires the <span class='type'>#{type}</span> plugin.</div><div class='pluginspage'><p>Please download and install the required plugin from:</p><a href='#{pluginspage}' target='_blank'>#{pluginspage}</a></div>" + }, + mimetypes: { + quicktime: 'video/quicktime', + flash: 'application/x-shockwave-flash' + }, + pluginspages: { + quicktime: 'http://www.apple.com/quicktime/download', + flash: 'http://www.adobe.com/go/getflashplayer' + }, + // used with auto detection + typeExtensions: { + flash: 'swf', + image: 'bmp gif jpeg jpg png', + iframe: 'asp aspx cgi cfm htm html jsp php pl php3 php4 php5 phtml rb rhtml shtml txt', + quicktime: 'avi mov mpg mpeg movie' + } +}; + +eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(n(){B l=!!19.aq("3y").5T,2G=1m.1Z.2F&&(n(a){B b=u 4A("9b ([\\\\d.]+)").al(a);J b?4J(b[1]):-1})(3b.4T)<7,2C=(1m.1Z.5a&&!19.45),32=3b.4T.24("6r")>-1&&4J(3b.4T.3T(/6r[\\/\\s](\\d+)/)[1])<3,4k=!!3b.4T.3T(/95/i)&&(2C||32);12.1l(Y,{aw:"1.6.1",bn:"1.8.2",R:{1a:"5u",3q:"V"},5x:n(a){m((bo 20[a]=="8M")||(9.5z(20[a].9m)<9.5z(9["8n"+a]))){9O("Y a9 "+a+" >= "+9["8n"+a]);}},5z:n(a){B v=a.2Z(/8w.*|\\./g,"");v=4w(v+"0".bq(4-v.1p));J a.24("8w")>-1?v-1:v},5G:n(){9.5x("1m");m(!!20.11&&!20.6E){9.5x("6E")}m(/^(9L?:\\/\\/|\\/)/.58(9.y.1e)){9.1e=9.y.1e}W{B b=/V(?:-[\\w\\d.]+)?\\.at(.*)/;9.1e=(($$("av[1t]").6N(n(s){J s.1t.3T(b)})||{}).1t||"").2Z(b,"")+9.y.1e}m(!l){m(19.5K>=8&&!19.6Q.3k){19.6Q.bs("3k","bA:bN-bQ-c2:c3","#5R#79")}W{19.1f("5Y:3P",n(){B a=19.9r();a.9B="3k\\\\:*{9I:3Q(#5R#79)}"})}}},60:n(){9.1z=9.y.1z;9.Q=(9.1z>9.y.Q)?9.1z:9.y.Q;9.1I=9.y.1I;9.1R=9.y.1R;9.4E()}});12.1l(Y,{7p:14,2a:n(){B a=3Z.aJ;a.61++;m(a.61==9.7p){$(19.2e).62("V:3P")}}});Y.2a.61=0;12.1l(Y,{4E:n(){9.V=u I("O",{2S:"V"});B d,3G,4N=1P(9.1R);m(2C){9.V.13=n(){9.F("1h:-3C;1b:-3C;1k:1Q;");J 9};9.V.18=n(){9.F("1k:1u");J 9};9.V.1u=n(){J(9.1H("1k")=="1u"&&4J(9.1H("1b").2Z("H",""))>-7K)}}$(19.2e).M(9.2B=u I("O",{2S:"7V"}).F({2Q:9.y.2Q-1,1a:(!(32||2G))?"4r":"35",29:4k?"3Q("+9.1e+"2B.1s) 1b 1h 3A":9.y.2B.29}).1n(4k?1:9.y.2B.1F).13()).M(9.V.F({2Q:9.y.2Q,1b:"-3C",1h:"-3C"}).1n(0).M(9.84=u I("O",{N:"bJ"}).M(9.4b=u I("3z",{N:"c1"}).M(9.8G=u I("1B",{N:"c7"}).F(3G=12.1l({1M:-1*9.1R.E+"H"},4N)).M(9.4Q=u I("O",{N:"6n"}).F(12.1l({1M:9.1R.E+"H"},4N)).M(u I("O",{N:"1D"})))).M(9.8E=u I("1B",{N:"9w"}).F(12.1l({8z:-1*9.1R.E+"H"},4N)).M(9.4O=u I("O",{N:"6n"}).F(3G).M(u I("O",{N:"1D"}))))).M(9.8x=u I("O",{N:"8v"}).M(9.4F=u I("O",{N:"6n 9Q"}).M(9.9S=u I("O",{N:"1D"})))).M(u I("3z",{N:"a8"}).M(u I("1B",{N:"8u ac"}).M(d=u I("O",{N:"ai"}).F({G:9.Q+"H"}).M(u I("3z",{N:"8r ar"}).M(u I("1B",{N:"8i"}).M(u I("O",{N:"2t"})).M(u I("O",{N:"38"}).F({1h:9.Q+"H"})))).M(u I("O",{N:"8h"})).M(u I("3z",{N:"8r az"}).M(u I("1B",{N:"8i"}).F("1N-1b: "+(-1*9.Q)+"H").M(u I("O",{N:"2t"})).M(u I("O",{N:"38"}).F("1h: "+(-1*9.Q)+"H")))))).M(9.4V=u I("1B",{N:"aP"}).F("G: "+(ba-9.Q)+"H").M(u I("O",{N:"bd"}).M(u I("O",{N:"8d"}).F("1N-1b: "+9.Q+"H").M(9.30=u I("O",{N:"bp"}).1n(0).F("3p: 0 "+9.Q+"H").M(9.85=u I("O",{N:"bz 38"})).M(9.1o=u I("O",{N:"bH 80"}).M(9.2c=u I("O",{N:"1D 7X"}).F(1P(9.y.1I.3e)).F({29:9.y.10}).1n(9.y.1A.1F.3f)).M(9.2P=u I("3z",{N:"8L"}).M(9.6b=u I("1B",{N:"94"}).M(9.1C=u I("O",{N:"97"})).M(9.2m=u I("O",{N:"9i"}))).M(9.6a=u I("O",{N:"9n"}).M(9.48=u I("1B",{N:"9u"}).M(u I("O"))).M(9.4Y=u I("1B",{N:"9x"}).M(9.9y=u I("O",{N:"1D"}).1n(9.y.1A.1F.3f).F({10:9.y.10}).1G(9.1e+"9D.1s",{10:9.y.10})).M(9.9E=u I("O",{N:"1D"}).1n(9.y.1A.1F.3f).F({10:9.y.10}).1G(9.1e+"9F.1s",{10:9.y.10}))).M(9.28=u I("1B",{N:"9K"}).M(9.34=u I("O",{N:"1D"}).1n(9.y.1A.1F.3f).F({10:9.y.10}).1G(9.1e+"7I.1s",{10:9.y.10})))))).M(9.7F=u I("O",{N:"9P "}))))).M(9.3v=u I("O",{N:"7E"}).M(9.9Y=u I("O",{N:"1D"}).F("29: 3Q("+9.1e+"3v.64) 1b 1h 4H-3A")))).M(u I("1B",{N:"8u aa"}).M(d.ab(26))).M(9.1V=u I("1B",{N:"aj"}).13().F("1N-1b: "+9.Q+"H; 29: 3Q("+9.1e+"ak.64) 1b 1h 3A"))))).M(u I("O",{2S:"41"}).13());B f=u 2f();f.1w=n(){f.1w=1m.2z;9.1R={E:f.E,G:f.G};B a=1P(9.1R),3G;9.4b.F({1X:0-(f.G/2).2o()+"H",G:f.G+"H"});9.8G.F(3G=12.1l({1M:-1*9.1R.E+"H"},a));9.4Q.F(12.1l({1M:a.E},a));9.8E.F(12.1l({8z:-1*9.1R.E+"H"},a));9.4O.F(3G);9.2a()}.U(9);f.1t=9.1e+"2u.1s";$w("30 1C 2m 48").3W(n(e){9[e].F({10:9.y.10})}.U(9));B g=9.84.2p(".2t");$w("7o 7n bl br").1d(n(a,i){m(9.1z>0){9.5Z(g[i],a)}W{g[i].M(u I("O",{N:"38"}))}g[i].F({E:9.Q+"H",G:9.Q+"H"}).7g("2t"+a.1K());9.2a()}.U(9));9.V.2p(".8h",".38",".8d").3F("F",{10:9.y.10});B S={};$w("2u 1c 2k").1d(n(s){9[s+"3i"].1J=s;B b=9.1e+s+".1s";m(s=="2k"){S[s]=u 2f();S[s].1w=n(){S[s].1w=1m.2z;9.1I[s]={E:S[s].E,G:S[s].G};B a=9.y.1A.2k.1J,27=12.1l({"5Q":a,1X:9.1I[s].G+"H"},1P(9.1I[s]));27["3p"+a.1K()]=9.Q+"H";9[s+"3i"].F(27);9.8x.F({G:S[s].G+"H",1b:-1*9.1I[s].G+"H"});9[s+"3i"].5N().1G(b).F(1P(9.1I[s]));9.2a()}.U(9);S[s].1t=9.1e+s+".1s"}W{9[s+"3i"].1G(b)}},9);B C={};$w("3e 5M").1d(n(a){C[a]=u 2f();C[a].1w=n(){C[a].1w=1m.2z;9.1I[a]={E:C[a].E,G:C[a].G};9.2a()}.U(9);C[a].1t=9.1e+"6T"+a+".1s"},9);B L=u 2f();L.1w=n(){L.1w=1m.2z;9.3v.F({E:L.E+"H",G:L.G+"H",1X:-0.5*L.G+0.5*9.Q+"H",1M:-0.5*L.E+"H"});9.2a()}.U(9);L.1t=9.1e+"3v.64";B h=u 2f();h.1w=n(a){h.1w=1m.2z;B b={E:h.E+"H",G:h.G+"H"};9.28.F(b);9.34.F(b);9.2a()}.U(9);h.1t=9.1e+"6P.1s";$w("2u 1c").1d(n(s){B S=s.1K(),i=u 2f();i.1w=n(){i.1w=1m.2z;9["3r"+S+"3s"].F({E:i.E+"H",G:i.G+"H"});9.2a()}.U(9);i.1t=9.1e+"9o"+s+".1s";9["3r"+S+"3s"].1V=s},9);$w("28 4Y 48").1d(n(c){9[c].13=9[c].13.1v(n(a,b){9.27.1a="35";a(b);J 9});9[c].18=9[c].18.1v(n(a,b){9.27.1a="9v";a(b);J 9})},9);9.V.2p("*").3F("F",{2Q:9.y.2Q+1});9.V.13();9.2a()},6K:n(){11.2J.2I("V").3W(n(e){e.6F()});9.1S=1E;m(9.q.1O()){9.6w=9.6q;m(9.X&&!9.X.1u()){9.X.F("1k:1Q").18();9.3g.1n(0)}}W{9.6w=1E;9.X.13()}m(4w(9.4F.1H("1X"))<9.1I.2k.G){9.5B(2H)}9.8H();9.8y();u 11.1i({R:9.R,1q:n(){$w("1b 3K").1d(n(a){B b=a.1K();9["3E"+b].2n();B c={};9["3E"+b]=u I("O",{N:"ad"+b}).13();c[a]=9["3E"+b];9.30.M(c)}.U(9))}.U(9)});9.5A();9.1j=1E},5y:n(){m(!9.3J||!9.3V){J}9.3V.M({2W:9.3J.F({2q:9.3J.87})});9.3V.2n();9.3V=1E},18:n(b){9.1y=1E;B c=12.7W(b);m(12.7N(b)||c){m(c&&b.3x("#")){9.18({1g:b,y:12.1l({55:26},3Z[1]||{})});J}9.1y=$(b);m(!9.1y){J}9.1y.aW();9.q=9.1y.22||u Y.3N(9.1y)}W{m(b.1g){9.1y=$(19.2e);9.q=u Y.3N(b)}W{m(12.7v(b)){9.1y=9.4j(9.q.1Y)[b];9.q=9.1y.22}}}m(!9.q.1g){J}9.6K();m(9.q.2i()||9.q.1O()){9.7r(9.q.1Y);9.1j=9.5s(9.q.1Y);m(9.q.1O()){9.2s=9.1j.1p>1?9.7e:0;9.2V=9.1j.bK(n(a){J a.2T()})}}9.3R();9.7c();m(9.q.1g!="#41"&&12.70(Y.4u).6W(" ").24(9.q.17)>=0){m(!Y.4u[9.q.17]){$("41").1x(u 4y(9.8U.8V).45({17:9.q.17.1K(),5l:9.5k[9.q.17]}));B d=$("41").2l();9.18({1g:"#41",1C:9.q.17.1K()+" 98 99",y:d});J 2H}}B e=12.1l({1o:"3K",2k:2H,5j:"9h",3X:9.q.2i()&&9.y.1A.3X.2q,5i:9.y.5i,28:(9.q.2i()&&9.y.1A.28.2q)||(9.2V),2A:"1Q",7Z:9.y.2B.9p,33:9.y.33},9.y.9t[9.q.17]||{});9.q.y=12.1l(e,9.q.y);m(9.q.1O()){9.q.y.2k=(9.1j.1p<=1)}m(!(9.q.1C||9.q.2m||(9.1j&&9.1j.1p>1))&&9.q.y.2k){9.q.y.1o=2H}9.1T="3E"+(9.q.y.1o=="1b"?"7M":"7G");m(9.q.2T()){m(!l&&!9.q.7w){9.q.7w=26;B f=u I("3k:2h",{1t:9.q.1g,2q:"9z"}).F("G:5h;E:5h;");$(19.2e).M(f);I.2n.2X(0.1,f)}m(9.q.2i()||9.q.1O()){9.1a=9.1j.24(9.q);9.74()}9.1W=9.q.4P;m(9.1W){9.4G()}W{9.5d();B f=u 2f();f.1w=n(){f.1w=1m.2z;9.4S();9.1W={E:f.E,G:f.G};9.4G()}.U(9);f.1t=9.q.1g}}W{m(9.q.1O()){9.1a=9.1j.24(9.q)}9.1W=9.q.y.6M?19.33.2l():{E:9.q.y.E,G:9.q.y.G};9.4G()}},4U:(n(){n 5c(a,b,c){a=$(a);B d=1P(c);a.1x(u I("82",{2S:"2w",1t:b,a6:"",a7:"4H"}).F(d))}B k=(n(){n 7f(a,b,c){a=$(a);B d=12.1l({"5Q":"1h"},1P(c));B e=u I("3k:2h",{1t:b,2S:"2w"}).F(d);a.1x(e);e.51=e.51}n 6Z(b,c,d){b=$(b);B f=1P(d),2h=u 2f();2h.1w=n(){3y=u I("3y",f);b.1x(3y);4c{B a=3y.5T("2d");a.ah(2h,0,0,d.E,d.G)}4e(e){5c(b,c,d)}}.U(9);2h.1t=c}m(1m.1Z.2F){J 7f}W{J 6Z}})();J n(){B c=9.8a(9.q.1g),2D=9.1S||9.1W;m(9.q.2T()){B d=1P(2D);9[9.1T].F(d);m(9.1S){k(9[9.1T],9.q.1g,2D)}W{5c(9[9.1T],9.q.1g,2D)}}W{m(9.q.5p()){59(9.q.17){2M"4f":B f=12.5f(9.q.y.4f)||{};B g=n(){9.4S();m(9.q.y.55){9[9.1T].F({E:"1L",G:"1L"});9.1W=9.5b(9[9.1T])}u 11.1i({R:9.R,1q:9.52.U(9)})}.U(9);m(f.4Z){f.4Z=f.4Z.1v(n(a,b){g();a(b)})}W{f.4Z=g}9.5d();u aF.aH(9[9.1T],9.q.1g,f);2v;2M"2x":m(9.1S){2D.G-=9.3a.G}9[9.1T].1x(9.2x=u I("2x",{b1:0,b9:0,1t:9.q.1g,2S:"2w",2b:"bc"+(6z.bf()*bg).2o(),6J:(9.q.y&&9.q.y.6J)?"1L":"4H"}).F(12.1l({Q:0,1N:0,3p:0},1P(2D))));2v;2M"4R":B h=9.q.1g,2g=$(h.5e(h.24("#")+1));m(!2g||!2g.47){J}B i=2g.2l();2g.M({by:9.3V=u I(2g.47).13()});2g.87=2g.1H("2q");9.3J=2g.18();9[9.1T].1x(9.3J);9[9.1T].2p("2p, 3t, 5g").1d(n(b){9.44.1d(n(a){m(a.1y==b){b.F({1k:a.1k})}})}.U(9));m(9.q.y.55){9.1W=i;u 11.1i({R:9.R,1q:9.52.U(9)})}2v}}W{B j={1U:"3t",2S:"2w",E:2D.E,G:2D.G};59(9.q.17){2M"40":12.1l(j,{5l:9.5k[9.q.17],3o:[{1U:"2y",2b:"88",2N:9.q.y.88},{1U:"2y",2b:"8k",2N:"8I"},{1U:"2y",2b:"X",2N:9.q.y.6p},{1U:"2y",2b:"9M",2N:26},{1U:"2y",2b:"1t",2N:9.q.1g},{1U:"2y",2b:"6s",2N:9.q.y.6s||2H}]});12.1l(j,1m.1Z.2F?{8N:9.8O[9.q.17],8P:9.8R[9.q.17]}:{2P:9.q.1g,17:9.6t[9.q.17]});2v;2M"3U":12.1l(j,{2P:9.q.1g,17:9.6t[9.q.17],8W:"8X",5j:9.q.y.5j,5l:9.5k[9.q.17],3o:[{1U:"2y",2b:"8Y",2N:9.q.1g},{1U:"2y",2b:"8Z",2N:"26"}]});m(9.q.y.6D){j.3o.3S({1U:"2y",2b:"96",2N:9.q.y.6D})}2v}9[9.1T].F(1P(2D)).1x(9.5m(j)).F("1k:1Q").18();m(9.q.4v()){(n(){4c{m("6O"6S $("2w")){$("2w").6O(9.q.y.6p)}}4e(e){}}.U(9)).9c()}}}}})(),5b:n(b){b=$(b);B d=b.9d(),5n=[],5o=[];d.3S(b);d.1d(n(c){m(c!=b&&c.1u()){J}5n.3S(c);5o.3S({2q:c.1H("2q"),1a:c.1H("1a"),1k:c.1H("1k")});c.F({2q:"9j",1a:"35",1k:"1u"})});B e={E:b.9k,G:b.9l};5n.1d(n(r,a){r.F(5o[a])});J e},4t:n(){B a=$("2w");m(a){59(a.47.4s()){2M"3t":m(1m.1Z.5a&&9.q.4v()){4c{a.71()}4e(e){}a.9q=""}m(a.72){a.2n()}W{a=1m.2z}2v;2M"2x":a.2n();m(1m.1Z.9s&&20.73.2w){5q 20.73.2w}2v;5R:a.2n();2v}}$w("7G 7M").1d(n(S){9["3E"+S].F("E:1L;G:1L;").1x("").13()},9)},77:1m.K,4G:n(){u 11.1i({R:9.R,1q:9.4o.U(9)})},4o:n(){9.3c();m(!9.q.5r()){9.4S()}m(!((9.q.y.55&&9.q.7h())||9.q.5r())){9.52()}m(!9.q.4l()){u 11.1i({R:9.R,1q:9.4U.U(9)})}m(9.q.y.2k){u 11.1i({R:9.R,1q:9.5B.U(9,26)})}},7l:n(){u 11.1i({R:9.R,1q:9.7q.U(9)});m(9.q.4l()){u 11.1i({2X:0.2,R:9.R,1q:9.4U.U(9)})}m(9.3n){u 11.1i({R:9.R,1q:9.7u.U(9)})}m(9.q.4v()||9.q.9J()){u 11.1i({R:9.R,2X:0.1,1q:I.F.U(9,9[9.1T],"1k:1u")})}},2K:n(){m(11.2J.2I(Y.R.3q).5t.1p){J}9.18(9.2O().2K)},1c:n(){m(11.2J.2I(Y.R.3q).5t.1p){J}9.18(9.2O().1c)},52:n(){9.77();B a=9.5v(),2Y=9.7P();m(9.q.y.33&&(a.E>2Y.E||a.G>2Y.G)){m(9.q.y.6M){9.1S=2Y;9.3c();a=2Y}W{B c=9.7S(),b=2Y;m(9.q.4W()){B d=[2Y.G/c.G,2Y.E/c.E,1].a4();9.1S={E:(9.1W.E*d).2o(),G:(9.1W.G*d).2o()}}W{9.1S={E:c.E>b.E?b.E:c.E,G:c.G>b.G?b.G:c.G}}9.3c();a=12.5f(9.1S);m(9.q.4W()){a.G+=9.3a.G}}}W{9.3c();9.1S=1E}9.5w(a)},3I:n(a){9.5w(a,{23:0})},5w:(n(){B e,4L,4K,8c,8e,2s,b;B f=(n(){B w,h;n 4I(p){w=(e.E+p*4L).3L(0);h=(e.G+p*4K).3L(0)}B a;m(2G){a=n(p){9.V.F({E:(e.E+p*4L).3L(0)+"H",G:(e.G+p*4K).3L(0)+"H"});9.4V.F({G:h-1*9.Q+"H"})}}W{m(32){a=n(p){B v=9.4C(),o=19.33.6o();9.V.F({1a:"35",1M:0,1X:0,E:w+"H",G:h+"H",1h:(o[0]+(v.E/2)-(w/2)).3M()+"H",1b:(o[1]+(v.G/2)-(h/2)).3M()+"H"});9.4V.F({G:h-1*9.Q+"H"})}}W{a=n(p){9.V.F({1a:"4r",E:w+"H",G:h+"H",1M:((0-w)/2).2o()+"H",1X:((0-h)/2-2s).2o()+"H"});9.4V.F({G:h-1*9.Q+"H"})}}}J n(p){4I.3w(9,p);a.3w(9,p)}})();J n(a){B c=3Z[1]||{};e=9.V.2l();b=2*9.Q;E=a.E?a.E+b:e.E;G=a.G?a.G+b:e.G;9.5C();m(e.E==E&&e.G==G){u 11.1i({R:9.R,1q:9.5D.U(9,a)});J}B d={E:E+"H",G:G+"H"};4L=E-e.E;4K=G-e.G;8c=4w(9.V.1H("1M").2Z("H",""));8e=4w(9.V.1H("1X").2Z("H",""));2s=9.X.1u()?(9.2s/2):0;m(!2G){12.1l(d,{1M:0-E/2+"H",1X:0-G/2+"H"})}m(c.23==0){f.3w(9,1)}W{9.5E=u 11.6u(9.V,0,1,12.1l({23:9.y.ax,R:9.R,6v:9.y.6v,1q:9.5D.U(9,a)},c),f.U(9))}}})(),5D:n(a){m(!9.3a){J}B b=9[9.1T],4p;m(9.q.y.2A=="1L"){4p=b.2l()}b.F({G:(a.G-9.3a.G)+"H",E:a.E+"H"});m(9.q.y.2A!="1Q"&&(9.q.5r()||9.q.7h())){m(1m.1Z.2F){m(9.q.y.2A=="1L"){B c=b.2l();b.F("2A:1u");B d={6x:"1Q",6y:"1Q"},5F=0,4n=15;m(4p.G>a.G){d.6y="1L";d.E=c.E-4n;d.aX="6A";5F=4n}m(4p.E-5F>a.E){d.6x="1L";d.G=c.G-4n;d.b2="6A"}b.F(d)}W{b.F({2A:9.q.y.2A})}}W{b.F({2A:9.q.y.2A})}}W{b.F("2A:1Q")}9.3R();9.5E=1E;9.7l()},7q:n(){u 11.1i({R:9.R,1q:9.5C.U(9)});u 11.1i({R:9.R,1q:n(){9[9.1T].18();9.3c();m(9.1o.1u()){9.1o.F("1k:1u").1n(1)}}.U(9)});u 11.b6([u 11.6B(9.30,{6C:26,4m:0,57:1}),u 11.53(9.4b,{6C:26})],{R:9.R,23:0.25,1q:n(){m(9.1y){9.1y.62("V:bh")}}.U(9)});m(9.q.2i()||(9.2V&&9.y.X.1A.1J)){u 11.1i({R:9.R,1q:9.6G.U(9)})}},8y:(n(){n 2W(){9.4t();9.4F.F({1X:9.1I.2k.G+"H"});9.5y()}n 6H(p){9.30.1n(p);9.4b.1n(p)}J n(){m(!9.V.1u()){9.30.1n(0);9.4b.1n(0);9.4t();J}u 11.6u(9.V,1,0,{23:0.2,R:9.R,1q:2W.U(9)},6H.U(9))}})(),6I:n(){$w("6a 2P 6b 1C 2m 48 4Y 28 2c").1d(n(a){I.13(9[a])},9);9.1o.F("1k:1Q").1n(0)},3c:n(){9.6I();m(!9.q.y.1o){9.3a={E:0,G:0};9.5H=0;9.1o.13()}W{9.1o.18()}m(9.q.1C||9.q.2m){9.6b.18();9.2P.18()}m(9.q.1C){9.1C.1x(9.q.1C).18()}m(9.q.2m){9.2m.1x(9.q.2m).18()}m(9.1j&&9.1j.1p>1){m(9.q.1O()){9.2r.1x(u 4y(9.y.X.6L).45({1a:9.1a+1,5I:9.1j.1p}));m(9.X.1H("1k")=="1Q"){9.X.F("1k:1u");m(9.5J){11.2J.2I("V").2n(9.5J)}9.5J=u 11.53(9.3g,{R:9.R,23:0.1})}}W{9.2P.18();m(9.q.2T()){9.6a.18();9.48.18().5N().1x(u 4y(9.y.bF).45({1a:9.1a+1,5I:9.1j.1p}));m(9.q.y.28){9.34.18();9.28.18()}}}}B a=9.q.1O();m((9.q.y.3X||a)&&9.1j.1p>1){B b={2u:(9.y.31||9.1a!=0),1c:(9.y.31||((9.q.2i()||a)&&9.2O().1c!=0))};$w("2u 1c").1d(n(z){B Z=z.1K(),3u=b[z]?"6R":"1L";m(a){9["X"+Z].F({3u:3u}).1n(b[z]?1:9.y.1A.1F.5L)}W{9["3r"+Z+"3s"].F({3u:3u}).1n(b[z]?9.y.1A.1F.3f:9.y.1A.1F.5L)}}.U(9));m(9.q.y.3X||9.y.X.3X){9.4Y.18()}}9.3O.1n(9.2V?1:9.y.1A.1F.5L).F({3u:9.2V?"6R":"1L"});9.6U();m(!9.1o.c4().6N(I.1u)){9.1o.13();9.q.y.1o=2H}9.6V()},6U:n(){B a=9.1I.5M.E,3e=9.1I.3e.E,3d=9.1S?9.1S.E:9.1W.E,4D=8J,E=0,2c=9.q.y.2c||"3e",29=9.y.8K;m(9.q.y.2k||9.q.1O()||!9.q.y.2c){29=1E}W{m(3d>=4D+a&&3d<4D+3e){29="5M";E=a}W{m(3d>=4D+3e){29=2c;E=9.1I[2c].E}}}m(E>0){9.2P.18();9.2c.F({E:E+"H"}).18()}W{9.2c.13()}m(29){9.2c.1G(9.1e+"6T"+29+".1s",{10:9.y.10})}9.5H=E},5d:n(){9.5O=u 11.53(9.3v,{23:0.2,4m:0,57:1,R:9.R})},4S:n(){m(9.5O){11.2J.2I("V").2n(9.5O)}u 11.6X(9.3v,{23:0.2,R:9.R,2X:0.2})},6Y:n(){m(!9.q.2T()){J}B a=(9.y.31||9.1a!=0),1c=(9.y.31||((9.q.2i()||9.q.1O())&&9.2O().1c!=0));9.4Q[a?"18":"13"]();9.4O[1c?"18":"13"]();B b=9.1S||9.1W;9.1V.F({G:b.G+"H",1X:9.Q+(9.q.y.1o=="1b"?9.1o.5P():0)+"H"});B c=((b.E/2-1)+9.Q).3M();m(a){9.1V.M(9.3j=u I("O",{N:"1D 8Q"}).F({E:c+"H"}));9.3j.1J="2u"}m(1c){9.1V.M(9.3h=u I("O",{N:"1D 8S"}).F({E:c+"H"}));9.3h.1J="1c"}m(a||1c){9.1V.18()}},6G:n(){m(!9.q||!9.y.1A.1J.2q||!9.q.2T()){J}9.6Y();9.1V.18()},5C:n(){9.1V.1x("").13();9.4Q.13().F({1M:9.1R.E+"H"});9.4O.13().F({1M:-1*9.1R.E+"H"})},7c:(n(){n 2W(){9.V.1n(1)}m(!2C){2W=2W.1v(n(a,b){a(b);9.V.18()})}J n(){m(9.V.1H("1F")!=0){J}m(9.y.2B.2q){u 11.53(9.2B,{23:0.2,4m:0,57:4k?1:9.y.2B.1F,R:9.R,8T:9.5S.U(9),1q:2W.U(9)})}W{2W.3w(9)}}})(),13:n(){m(1m.1Z.2F&&9.2x&&9.q.4l()){9.2x.2n()}m(2C&&9.q.4v()){B a=$$("3t#2w")[0];m(a){4c{a.71()}4e(e){}}}m(9.V.1H("1F")==0){J}9.2j();9.1V.13();m(!1m.1Z.2F||!9.q.4l()){9.30.13()}m(11.2J.2I("5U").5t.1p>0){J}11.2J.2I("V").1d(n(e){e.6F()});u 11.1i({R:9.R,1q:9.5y.U(9)});u 11.6B(9.V,{23:0.1,4m:1,57:0,R:{1a:"5u",3q:"5U"}});u 11.6X(9.2B,{23:0.16,R:{1a:"5u",3q:"5U"},1q:9.75.U(9)})},75:n(){9.4t();9.V.13();9.30.1n(0).18();9.1V.1x("").13();9.85.1x("").13();9.7F.1x("").13();9.5A();9.76();u 11.1i({R:9.R,1q:9.3I.U(9,9.y.90)});u 11.1i({R:9.R,1q:n(){m(9.1y){9.1y.62("V:1Q")}$w("1y 1j q 1S 2V 91 3E").3W(n(a){9[a]=1E}.U(9))}.U(9)})},6V:n(){9.1o.F("3p:0;");B a={},3d=9[(9.1S?"92":"i")+"93"].E;9.1o.F({E:3d+"H"});9.2P.F({E:3d-9.5H-1+"H"});a=9.5b(9.1o);m(9.q.y.1o){a.G+=9.y.5V;59(9.q.y.1o){2M"3K":9.1o.F("3p:"+9.y.5V+"H 0 0 0");2v;2M"1b":9.1o.F("3p: 0 0 "+9.y.5V+"H 0");2v}}9.1o.F({E:"78%"});9.3a=9.q.y.1o?a:{E:a.E,G:0}},3R:(n(){B a,2s;n 4I(){a=9.V.2l();2s=9.X.1u()?(9.2s/2):0}B b;m(2G){b=n(){9.V.F({1b:"50%",1h:"50%"})}}W{m(2C||32){b=n(){B v=9.4C(),o=19.33.6o();9.V.F({1M:0,1X:0,1h:(o[0]+(v.E/2)-(a.E/2)).3M()+"H",1b:(o[1]+(v.G/2)-(a.G/2)).3M()+"H"})}}W{b=n(){9.V.F({1a:"4r",1h:"50%",1b:"50%",1M:(0-a.E/2).2o()+"H",1X:(0-a.G/2-2s).2o()+"H"})}}}J n(){4I.3w(9);b.3w(9)}})(),7a:n(){9.2j();9.3n=26;9.1c.U(9).2X(0.25);9.34.1G(9.1e+"6P.1s",{10:9.y.10}).13();9.3O.1G(9.1e+"7b.1s",{10:9.y.X.10})},2j:n(){m(9.3n){9.3n=2H}m(9.5W){9a(9.5W)}9.34.1G(9.1e+"7I.1s",{10:9.y.10});9.3O.1G(9.1e+"7d.1s",{10:9.y.X.10})},5X:n(){m(9.q.1O()&&!9.2V){J}9[(9.3n?"4X":"60")+"9e"]()},7u:n(){m(9.3n){9.5W=9.1c.U(9).2X(9.y.9f)}},9g:n(){$$("a[2U~=V], 3B[2U~=V]").1d(n(a){B b=a.22;m(!b){J}m(b.3H){a.7i("1C",b.3H)}a.22=1E})},4j:n(a){B b=a.24("][");m(b>-1){a=a.5e(0,b+1)}J $$(\'a[1Y^="\'+a+\'"], 3B[1Y^="\'+a+\'"]\')},5s:n(a){J 9.4j(a).7j("22")},7k:n(){$(19.2e).1f("2L",9.7m.1r(9));$w("2R 3Y").1d(n(e){9.1V.1f(e,n(a){B b=a.3m("O");m(!b){J}m(9.3j&&9.3j==b||9.3h&&9.3h==b){9.54(a)}}.1r(9))}.U(9));9.1V.1f("2L",n(c){B d=c.3m("O");m(!d){J}B e=(9.3j&&9.3j==d)?"2K":(9.3h&&9.3h==d)?"1c":1E;m(e){9[e].1v(n(a,b){9.2j();a(b)}).U(9)()}}.1r(9));$w("2u 1c").1d(n(s){B S=s.1K(),2j=n(a,b){9.2j();a(b)},42=n(a,b){B c=b.1y().1V;m((c=="2u"&&(9.y.31||9.1a!=0))||(c=="1c"&&(9.y.31||((9.q.2i()||9.q.1O())&&9.2O().1c!=0)))){a(b)}};9[s+"3i"].1f("2R",9.54.1r(9)).1f("3Y",9.54.1r(9)).1f("2L",9[s=="1c"?s:"2K"].1v(2j).1r(9));9["3r"+S+"3s"].1f("2L",9[s=="1c"?s:"2K"].1v(42).1v(2j).1r(9)).1f("2R",I.1n.7s(9["3r"+S+"3s"],9.y.1A.1F.7t).1v(42).1r(9)).1f("3Y",I.1n.7s(9["3r"+S+"3s"],9.y.1A.1F.3f).1v(42).1r(9));9["X"+S].1f("2L",9[s=="1c"?s:"2K"].1v(42).1v(2j).1r(9))},9);B f=[9.2c,9.34];m(!2C){f.1d(n(b){b.1f("2R",I.1n.U(9,b,9.y.1A.1F.7t)).1f("3Y",I.1n.U(9,b,9.y.1A.1F.3f))},9)}W{f.3F("1n",1)}9.34.1f("2L",9.5X.1r(9));9.3O.1f("2L",9.5X.1r(9));m(2C||32){B g=n(a,b){m(9.V.1H("1b").63(0)=="-"){J}a(b)};1i.1f(20,"43",9.3R.1v(g).1r(9));1i.1f(20,"3I",9.3R.1v(g).1r(9))}m(32){1i.1f(20,"3I",9.5S.1r(9))}m(2G){n 65(){m(9.X){9.X.F({1h:((19.7x.9A||0)+19.33.7y()/2).2o()+"H"})}}1i.1f(20,"43",65.1r(9));1i.1f(20,"3I",65.1r(9))}m(9.y.9C){9.7z=n(a){B b=a.3m("a[2U~=V], 3B[2U~=V]");m(!b){J}a.4X();m(!b.22){u Y.3N(b)}9.7A(b)}.1r(9);$(19.2e).1f("2R",9.7z)}},5B:n(a){m(9.7B){11.2J.2I("9G").2n(9.9H)}B b={1X:(a?0:9.1I.2k.G)+"H"};9.7B=u 11.7C(9.4F,{27:b,23:0.16,R:9.R,2X:a?0.15:0})},7D:n(){B a={};$w("E G").1d(n(d){B D=d.1K(),4x=19.7x;a[d]=1m.1Z.2F?[4x["66"+D],4x["43"+D]].9N():1m.1Z.5a?19.2e["43"+D]:4x["43"+D]});J a},5S:n(){m(!32){J}9.2B.F(1P(9.7D()))},7m:(n(){B b=".7X, .8v .1D, .7E, .7H";J n(a){m(9.q&&9.q.y&&a.3m(b+(9.q.y.7Z?", #7V":""))){9.13()}}})(),54:n(a){B b=a.2g,1J=b.1J,w=9.1R.E,66=(a.17=="2R")?0:1J=="2u"?w:-1*w,27={1M:66+"H"};m(!9.46){9.46={}}m(9.46[1J]){11.2J.2I("7J"+1J).2n(9.46[1J])}9.46[1J]=u 11.7C(9[1J+"3i"],{27:27,23:0.2,R:{3q:"7J"+1J,9R:1},2X:(a.17=="3Y")?0.1:0})},2O:n(){m(!9.1j){J}B a=9.1a,1p=9.1j.1p;B b=(a<=0)?1p-1:a-1,1c=(a>=1p-1)?0:a+1;J{2K:b,1c:1c}},5Z:n(a,b){B c=3Z[2]||9.y,1z=c.1z,Q=c.Q;1a={1b:(b.63(0)=="t"),1h:(b.63(1)=="l")};m(l){B d=u I("3y",{N:"9T"+b.1K(),E:Q+"H",G:Q+"H"});d.F("5Q:1h");a.M(d);B e=d.5T("2d");e.9U=c.10;e.9V((1a.1h?1z:Q-1z),(1a.1b?1z:Q-1z),1z,0,6z.9W*2,26);e.9X();e.7L((1a.1h?1z:0),0,Q-1z,Q);e.7L(0,(1a.1b?1z:0),Q,Q-1z)}W{B f=u I("3k:9Z",{a0:c.10,a1:"5h",a2:c.10,a3:(1z/Q*0.5).3L(2)}).F({E:2*Q-1+"H",G:2*Q-1+"H",1a:"35",1h:(1a.1h?0:(-1*Q))+"H",1b:(1a.1b?0:(-1*Q))+"H"});a.M(f);f.51=f.51}},8H:(n(){n 67(){J $$("3t, 5g, 2p")}m(1m.1Z.2F&&19.5K>=8){67=n(){J 19.a5("3t, 5g, 2p")}}J n(){m(9.68){J}B a=67();9.44=[];7O(B i=0,1p=a.1p;i<1p;i++){B b=a[i];9.44.3S({1y:b,1k:b.27.1k});b.27.1k="1Q"}9.68=26}})(),76:n(){9.44.1d(n(a,i){a.1y.27.1k=a.1k});5q 9.44;9.68=2H},5v:n(){J{E:9.1W.E,G:9.1W.G+9.3a.G}},7S:n(){B i=9.5v(),b=2*9.Q;J{E:i.E+b,G:i.G+b}},7P:n(){B a=21,69=2*9.1R.G+a,v=9.4C();J{E:v.E-69,G:v.G-69}},4C:n(){B v=19.33.2l();m(9.X&&9.X.1u()&&9.1j&&9.1j.1p>1){v.G-=9.2s}J v}});(n(){n 7Q(a,b){m(!9.q){J}a(b)}$w("3c 4U").1d(n(a){9[a]=9[a].1v(7Q)},Y)})();n 1P(b){B c={};12.70(b).1d(n(a){c[a]=b[a]+"H"});J c}12.1l(Y,{7R:n(){m(!9.q.y.5i){J}9.4M=9.7T.1r(9);19.1f("7U",9.4M)},5A:n(){m(9.4M){19.ae("7U",9.4M)}},7T:n(a){B b=af.ag(a.2E).4s(),2E=a.2E,3D=(9.q.2i()||9.2V)&&!9.5E,28=9.q.y.28,49;m(9.q.4W()){a.4X();49=(2E==1i.7Y||["x","c"].6c(b))?"13":(2E==37&&3D&&(9.y.31||9.1a!=0))?"2K":(2E==39&&3D&&(9.y.31||9.2O().1c!=0))?"1c":(b=="p"&&28&&3D)?"7a":(b=="s"&&28&&3D)?"2j":1E;m(b!="s"){9.2j()}}W{49=(2E==1i.7Y)?"13":1E}m(49){9[49]()}m(3D){m(2E==1i.am&&9.1j.an()!=9.q){9.18(0)}m(2E==1i.ao&&9.1j.ap()!=9.q){9.18(9.1j.1p-1)}}}});Y.4o=Y.4o.1v(n(a,b){9.7R();a(b)});12.1l(Y,{7r:n(a){B b=9.4j(a);m(!b){J}b.3W(Y.4a)},74:n(){m(9.1j.1p==0){J}B a=9.2O();9.81([a.1c,a.2K])},81:n(c){B d=(9.1j&&9.1j.6c(c)||12.as(c))?9.1j:c.1Y?9.5s(c.1Y):1E;m(!d){J}B e=$A(12.7v(c)?[c]:c.17?[d.24(c)]:c).au();e.1d(n(a){B b=d[a];9.6d(b)},9)},83:n(a,b){a.4P={E:b.E,G:b.G}},6d:n(a){m(a.4P||a.4B||!a.1g){J}B P=u 2f();P.1w=n(){P.1w=1m.2z;a.4B=1E;9.83(a,P)}.U(9);a.4B=26;P.1t=a.1g},7A:n(a){B b=a.22;m(b&&b.4P||b.4B||!b.2T()){J}9.6d(b)}});I.ay({1G:n(a,b){a=$(a);B c=12.1l({86:"1b 1h",3A:"4H-3A",6e:"8k",10:""},3Z[2]||{});a.F(2G?{aA:"aB:aC.aD.aE(1t=\'"+b+"\'\', 6e=\'"+c.6e+"\')"}:{29:c.10+" 3Q("+b+") "+c.86+" "+c.3A});J a}});12.1l(Y,{6f:n(a,b){B c;$w("3U 2h 2x 40").1d(n(t){m(u 4A("\\\\.("+9.aG[t].2Z(/\\s+/g,"|")+")(\\\\?.*)?","i").58(a)){c=t}}.U(9));m(c){J c}m(a.3x("#")){J"4R"}m(19.89&&19.89!=(a).2Z(/(^.*\\/\\/)|(:.*)|(\\/.*)/g,"")){J"2x"}J"2h"},8a:n(a){B b=a.aI(/\\?.*/,"").3T(/\\.([^.]{3,4})$/);J b?b[1]:1E},5m:n(b){B c="<"+b.1U;7O(B d 6S b){m(!["3o","6g","1U"].6c(d)){c+=" "+d+\'="\'+b[d]+\'"\'}}m(u 4A("^(?:3B|aK|aL|br|aM|aN|aO|82|8b|aQ|aR|aS|2y|aT|aU|aV)$","i").58(b.1U)){c+="/>"}W{c+=">";m(b.3o){b.3o.1d(n(a){c+=9.5m(a)}.U(9))}m(b.6g){c+=b.6g}c+="</"+b.1U+">"}J c}});(n(){19.1f("5Y:3P",n(){B c=(3b.6h&&3b.6h.1p);n 4d(a){B b=2H;m(c){b=($A(3b.6h).7j("2b").6W(",").24(a)>=0)}W{4c{b=u aY(a)}4e(e){}}J!!b}m(c){20.Y.4u={3U:4d("aZ b0"),40:4d("6i")}}W{20.Y.4u={3U:4d("8f.8f"),40:4d("6i.6i")}}})})();Y.3N=b3.b4({b5:n(b){m(b.22){J}B c=12.7N(b);m(c&&!b.22){b.22=9;m(b.1C){b.22.3H=b.1C;m(Y.y.8g){b.b7("1C","")}}}9.1g=c?b.b8("1g"):b.1g;m(9.1g.24("#")>=0){9.1g=9.1g.5e(9.1g.24("#"))}B d=b.1Y;m(d){9.1Y=d;m(d.3x("4g")){9.17="4g"}W{m(d.3x("56")){m(d.bb("][")){B e=d.8j("]["),6j=e[1].3T(/([a-be-Z]*)/)[1];m(6j){9.17=6j;B f=e[0]+"]";b.7i("1Y",f);9.1Y=f}}W{9.17=Y.6f(9.1g)}}W{9.17=d}}}W{9.17=Y.6f(9.1g);9.1Y=9.17}$w("4f 3U 4g 2x 2h 4R 40 8l 8m 56").3W(n(a){B T=a.1K(),t=a.4s();m("2h 4g 8m 8l 56".24(a)<0){9["bi"+T]=n(){J 9.17==t}.U(9)}}.U(9));m(c&&b.22.3H){B g=b.22.3H.8j(Y.y.bj).3F("bk");m(g[0]){9.1C=g[0]}m(g[1]){9.2m=g[1]}B h=g[2];9.y=(h&&12.7W(h))?bm("({"+h+"})"):{}}W{9.1C=b.1C;9.2m=b.2m;9.y=b.y||{}}m(9.y.6k){9.y.4f=12.5f(9.y.6k);5q 9.y.6k}},2i:n(){J 9.17.3x("4g")},1O:n(){J 9.1Y.3x("56")},2T:n(){J(9.2i()||9.17=="2h")},5p:n(){J"2x 4R 4f".24(9.17)>=0},4W:n(){J!9.5p()}});Y.4a=n(a){B b=$(a);u Y.3N(a);J b};(n(){n 8o(a){B b=a.3m("a[2U~=V], 3B[2U~=V]");m(!b){J}a.4X();9.4a(b);9.18(b)}n 8p(a){B b=a.3m("a[2U~=V], 3B[2U~=V]");m(!b){J}9.4a(b)}n 8q(a){B b=a.2g,17=a.17,36=a.36;m(36&&36.47){m(17==="5G"||17==="bt"||(17==="2L"&&36.47.4s()==="8b"&&36.17==="bu")){b=36}}m(b.bv==bw.bx){b=b.72}J b}n 8s(a,b){m(!a){J}B c=a.N;J(c.1p>0&&(c==b||u 4A("(^|\\\\s)"+b+"(\\\\s|$)").58(c)))}n 8t(a){B b=8q(a);m(b&&8s(b,"V")){9.4a(b)}}19.1f("V:3P",n(){$(19.2e).1f("2L",8o.1r(Y));m(Y.y.8g&&1m.1Z.2F&&19.5K>=8){$(19.2e).1f("2R",8t.1r(Y))}W{$(19.2e).1f("2R",8p.1r(Y))}})})();12.1l(Y,{4z:n(){B b=9.y.X,Q=b.Q;$(19.2e).M(9.X=u I("O",{2S:"bB"}).F({2Q:9.y.2Q+1,bC:b.1N+"H",1a:"35",1k:"1Q"}).M(9.bD=u I("O",{N:"bE"}).M(u I("O",{N:"4q bG"}).F("1N-1h: "+Q+"H").M(u I("O",{N:"2t"}))).M(u I("O",{N:"6l"}).F({1N:"0 "+Q+"H",G:Q+"H"})).M(u I("O",{N:"4q bI"}).F("1N-1h: -"+Q+"H").M(u I("O",{N:"2t"})))).M(9.3l=u I("O",{N:"6m 80"}).M(9.3g=u I("3z",{N:"bL"}).F("1N: 0 "+Q+"H").M(u I("1B",{N:"bM"}).M(9.2r=u I("O"))).M(u I("1B",{N:"4h bO"}).M(9.bP=u I("O",{N:"1D"}).1G(9.1e+"8A.1s",{10:b.10}))).M(u I("1B",{N:"4h bR"}).M(9.bS=u I("O",{N:"1D"}).1G(9.1e+"bT.1s",{10:b.10}))).M(u I("1B",{N:"4h bU"}).M(9.3O=u I("O",{N:"1D"}).1G(9.1e+"7d.1s",{10:b.10}))).M(u I("1B",{N:"4h 7H"}).M(9.bV=u I("O",{N:"1D"}).1G(9.1e+"bW.1s",{10:b.10}))))).M(9.bX=u I("O",{N:"bY"}).M(u I("O",{N:"4q bZ"}).F("1N-1h: "+Q+"H").M(u I("O",{N:"2t"}))).M(u I("O",{N:"6l"}).F({1N:"0 "+Q+"H",G:Q+"H"})).M(u I("O",{N:"4q c0"}).F("1N-1h: -"+Q+"H").M(u I("O",{N:"2t"})))));$w("2u 1c").1d(n(s){B S=s.1K();9["X"+S].1V=s},9);m(2C){9.X.13=n(){9.F("1h:-3C;1b:-3C;1k:1Q;");J 9};9.X.18=n(){9.F("1k:1u");J 9};9.X.1u=n(){J(9.1H("1k")=="1u"&&4J(9.1H("1b").2Z("H",""))>-7K)}}9.X.2p(".4h O").3F("F",1P(9.8B));B c=9.X.2p(".2t");$w("7o 7n bl br").1d(n(a,i){m(b.1z>0){9.5Z(c[i],a,b)}W{c[i].M(u I("O",{N:"38"}))}c[i].F({E:b.Q+"H",G:b.Q+"H"}).7g("2t"+a.1K())},9);9.X.5N(".6m").F("E:78%;");9.X.F(2G?{1a:"35",1b:"1L",1h:""}:{1a:"4r",1b:"1L",1h:"50%"});9.X.2p(".6l",".6m",".1D",".38").3F("F",{10:b.10});9.2r.1x(u 4y(b.6L).45({1a:8C,5I:8C}));9.2r.F({E:9.2r.7y()+"H",G:9.3g.5P()+"H"});9.8D();9.2r.1x("");9.X.13().F("1k:1u");9.7k();9.2a()},8D:n(){B b,4i,X=9.y.X,Q=X.Q;m(2G){b=9.3g.2l(),4i=b.E+2*Q;9.3g.F({E:b.E+"H",1N:0});9.3l.F("E:1L;");9.3g.F({c5:Q+"H"});9.3l.F({E:4i+"H"});$w("1b 3K").1d(n(a){9["X"+a.1K()].F({E:4i+"H"})},9);9.X.F("1N-1h:-"+(4i/2).2o()+"H")}W{9.3l.F("E:1L");b=9.3l.2l();9.2r.c6().F({8F:b.G+"H",E:9.2r.2l().E+"H"});9.X.F({E:b.E+"H",1M:(0-(b.E/2).2o())+"H"});9.3l.F({E:b.E+"H"});$w("1b 3K").1d(n(a){9["X"+a.1K()].F({E:b.E+"H"})},9)}9.7e=X.1N+b.G+2*Q;9.6q=9.X.5P();9.2r.F({8F:b.G+"H"})}});Y.4z=Y.4z.1v(n(a,b){B c=u 2f();c.1w=n(){c.1w=1m.2z;9.8B={E:c.E,G:c.G};a(b)}.U(9);c.1t=9.1e+"8A.1s";B d=(u 2f()).1t=9.1e+"7b.1s"});Y.4E=Y.4E.1v(n(a,b){a(b);9.4z()});Y.13=Y.13.1v(n(a,b){m(9.q&&9.q.1O()){9.X.13();9.2r.1x("")}a(b)})})();Y.5G();19.1f("5Y:3P",Y.60.U(Y));',62,752,'|||||||||this|||||||||||||if|function|||view||||new||||options|||var|||width|setStyle|height|px|Element|return|||insert|className|div||border|queue|||bind|lightview|else|controller|Lightview||backgroundColor|Effect|Object|hide||||type|show|document|position|top|next|each|images|observe|href|left|Event|views|visibility|extend|Prototype|setOpacity|menubar|length|afterFinish|bindAsEventListener|png|src|visible|wrap|onload|update|element|radius|buttons|li|title|lv_Button|null|opacity|setPngBackground|getStyle|closeDimensions|side|capitalize|auto|marginLeft|margin|isSet|pixelClone|hidden|sideDimensions|scaledInnerDimensions|_contentPosition|tag|prevnext|innerDimensions|marginTop|rel|Browser|window||_view|duration|indexOf||true|style|slideshow|background|_lightviewLoadedEvent|name|closeButton||body|Image|target|image|isGallery|stopSlideshow|topclose|getDimensions|caption|remove|round|select|display|setNumber|controllerOffset|lv_Corner|prev|break|lightviewContent|iframe|param|emptyFunction|overflow|overlay|BROWSER_IS_WEBKIT_419|dimensions|keyCode|IE|BROWSER_IS_IE_LT7|false|get|Queues|previous|click|case|value|getSurroundingIndexes|data|zIndex|mouseover|id|isImage|class|isSetGallery|after|delay|bounds|replace|center|cyclic|BROWSER_IS_FIREFOX_LT3|viewport|slideshowButton|absolute|currentTarget||lv_Fill||menubarDimensions|navigator|fillMenuBar|imgWidth|large|normal|controllerCenter|nextButton|ButtonImage|prevButton|ns_vml|controllerMiddle|findElement|sliding|children|padding|scope|inner|Button|object|cursor|loading|call|startsWith|canvas|ul|repeat|area|9500px|staticGallery|content|invoke|sideNegativeMargin|_title|resize|inlineContent|bottom|toFixed|floor|View|controllerSlideshow|loaded|url|restoreCenter|push|match|flash|inlineMarker|_each|innerPreviousNext|mouseout|arguments|quicktime|lightviewError|blockInnerPrevNext|scroll|overlappingRestore|evaluate|sideEffect|tagName|imgNumber|action|Extend|sideButtons|try|detectPlugin|catch|ajax|gallery|lv_ButtonWrapper|finalWidth|getSet|FIX_OVERLAY_WITH_PNG|isIframe|from|scrollbarWidth|afterShow|contentDimensions|lv_controllerCornerWrapper|fixed|toLowerCase|clearContent|Plugin|isQuicktime|parseInt|ddE|Template|buildController|RegExp|isPreloading|getViewportDimensions|minimum|build|topcloseButtonImage|afterEffect|no|init|parseFloat|hdiff|wdiff|keyboardEvent|sideStyle|nextButtonImage|preloadedDimensions|prevButtonImage|inline|stopLoading|userAgent|insertContent|resizeCenter|isMedia|stop|innerPrevNext|onComplete||outerHTML|resizeWithinViewport|Appear|toggleSideButton|autosize|set|to|test|switch|WebKit|getHiddenDimensions|insertImageUsingHTML|startLoading|substr|clone|embed|1px|keyboard|wmode|pluginspages|pluginspage|createHTML|restore|styles|isExternal|delete|isAjax|getViews|effects|end|getInnerDimensions|_resize|require|restoreInlineContent|convertVersionString|disableKeyboardNavigation|toggleTopClose|hidePrevNext|_afterResize|resizing|corrected|load|closeButtonWidth|total|_controllerCenterEffect|documentMode|disabled|small|down|loadingEffect|getHeight|float|default|maxOverlay|getContext|lightview_hide|menubarPadding|slideTimer|toggleSlideshow|dom|createCorner|start|counter|fire|charAt|gif|centerControllerIELT7|offset|getOverlappingElements|preventingOverlap|safety|innerController|dataText|member|preloadImageDimensions|sizingMethod|detectType|html|plugins|QuickTime|relType|ajaxOptions|lv_controllerBetweenCorners|lv_controllerMiddle|lv_Wrapper|getScrollOffsets|controls|_controllerHeight|Firefox|loop|mimetypes|Tween|transition|controllerHeight|overflowX|overflowY|Math|15px|Opacity|sync|flashvars|Scriptaculous|cancel|showPrevNext|tween|hideData|scrolling|prepare|setNumberTemplate|fullscreen|find|SetControllerVisible|inner_slideshow_stop|namespaces|pointer|in|close_|setCloseButtons|setMenubarDimensions|join|Fade|setPrevNext|insertImageUsingCanvas|keys|Stop|parentNode|frames|preloadSurroundingImages|afterHide|showOverlapping|adjustDimensionsToView|100|VML|startSlideshow|controller_slideshow_stop|appear|controller_slideshow_play|_controllerOffset|insertImageUsingVML|addClassName|isInline|writeAttribute|pluck|addObservers|finishShow|delegateClose|tr|tl|_lightviewLoadedEvents|showContent|extendSet|curry|hover|nextSlide|isNumber|_VMLPreloaded|documentElement|getWidth|_preloadImageHover|preloadImageHover|_topCloseEffect|Morph|getScrollDimensions|lv_Loading|contentBottom|Top|lv_controllerClose|inner_slideshow_play|lightview_side|9500|fillRect|Bottom|isElement|for|getBounds|guard|enableKeyboardNavigation|getOuterDimensions|keyboardDown|keydown|lv_overlay|isString|lv_Close|KEY_ESC|overlayClose|clearfix|preloadFromSet|img|setPreloadedDimensions|container|contentTop|align|_inlineDisplayRestore|autoplay|domain|detectExtension|input|mleft|lv_WrapDown|mtop|ShockwaveFlash|removeTitles|lv_Filler|lv_CornerWrapper|split|scale|external|media|REQUIRED_|handleClick|handleMouseOver|elementIE8|lv_Half|hasClassNameIE8|handleMouseOverIE8|lv_Frame|lv_topButtons|_|topButtons|hideContent|marginRight|controller_prev|controllerButtonDimensions|999|_fixateController|nextSide|lineHeight|prevSide|hideOverlapping|tofit|180|borderColor|lv_Data|undefined|codebase|codebases|classid|lv_PrevButton|classids|lv_NextButton|beforeStart|errors|requiresPlugin|quality|high|movie|allowFullScreen|startDimensions|_openEffect|scaledI|nnerDimensions|lv_DataText|mac|FlashVars|lv_Title|plugin|required|clearTimeout|MSIE|defer|ancestors|Slideshow|slideshowDelay|updateViews|transparent|lv_Caption|block|clientWidth|clientHeight|Version|lv_innerController|inner_|close|innerHTML|createStyleSheet|Gecko|defaultOptions|lv_ImgNumber|relative|lv_NextSide|lv_innerPrevNext|innerPrevButton|none|scrollLeft|cssText|preloadHover|inner_prev|innerNextButton|inner_next|lightview_topCloseEffect|topCloseEffect|behavior|isFlash|lv_Slideshow|https|enablejavascript|max|throw|lv_contentBottom|lv_topcloseButtonImage|limit|topcloseButton|cornerCanvas|fillStyle|arc|PI|fill|loadingButton|roundrect|fillcolor|strokeWeight|strokeColor|arcSize|min|querySelectorAll|alt|galleryimg|lv_Frames|requires|lv_FrameBottom|cloneNode|lv_FrameTop|lv_content|stopObserving|String|fromCharCode|drawImage|lv_Liquid|lv_PrevNext|blank|exec|KEY_HOME|first|KEY_END|last|createElement|lv_HalfLeft|isArray|js|uniq|script|REQUIRED_Prototype|resizeDuration|addMethods|lv_HalfRight|filter|progid|DXImageTransform|Microsoft|AlphaImageLoader|Ajax|typeExtensions|Updater|gsub|callee|base|basefont|col|frame|hr|lv_Center|link|isindex|meta|range|spacer|wbr|blur|paddingRight|ActiveXObject|Shockwave|Flash|frameBorder|paddingBottom|Class|create|initialize|Parallel|setAttribute|getAttribute|hspace|150|include|lightviewContent_|lv_WrapUp|zA|random|99999|opened|is|titleSplit|strip||eval|REQUIRED_Scriptaculous|typeof|lv_WrapCenter|times||add|error|radio|nodeType|Node|TEXT_NODE|before|lv_contentTop|urn|lightviewController|marginBottom|controllerTop|lv_controllerTop|imgNumberTemplate|lv_controllerCornerWrapperTopLeft|lv_MenuBar|lv_controllerCornerWrapperTopRight|lv_Container|all|lv_controllerCenter|lv_controllerSetNumber|schemas|lv_controllerPrev|controllerPrev|microsoft|lv_controllerNext|controllerNext|controller_next|lv_controllerSlideshow|controllerClose|controller_close|controllerBottom|lv_controllerBottom|lv_controllerCornerWrapperBottomLeft|lv_controllerCornerWrapperBottomRight|lv_Sides|com|vml|childElements|paddingLeft|up|lv_PrevSide'.split('|'),0,{})); \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 05:19:23
|
Revision: 3281 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3281&view=rev Author: hemna Date: 2009-11-24 05:19:15 +0000 (Tue, 24 Nov 2009) Log Message: ----------- added lightview 2.5.2 Added Paths: ----------- trunk/open2300/htdocs/css/lightview/ trunk/open2300/htdocs/css/lightview/lightview.css Added: trunk/open2300/htdocs/css/lightview/lightview.css =================================================================== --- trunk/open2300/htdocs/css/lightview/lightview.css (rev 0) +++ trunk/open2300/htdocs/css/lightview/lightview.css 2009-11-24 05:19:15 UTC (rev 3281) @@ -0,0 +1,485 @@ +/* lightview.css + http://www.nickstakenburg.com/projects/lightview +*/ + +#lightview { + position: absolute; + top: 50%; + left: 50%; + height: 150px; + width: 150px; + margin: -75px 0 0 -75px; + padding: 0; + text-align: left; +} + +/* The container that holds everything */ +.lv_Container { + position: relative; + width: 100%; + height: 100%; + background: none; + padding: 0; + margin: 0; +} + +.lv_Button { + cursor: pointer; + text-decoration: none; + border: none; + background: none; + margin: 0; + padding: 0; +} + +/* The buttons on the side when you view a gallery */ +.lv_Sides { + position: absolute; + top: 50%; + left: 0; + clear: both; + width: 100%; + padding: 0; + margin: 0; +} +.lv_Sides * { padding: 0; margin: 0; } +.lv_Sides li { + list-style-type: none; + position: relative; +} + +.lv_PrevSide { float: left; } +.lv_NextSide { float: right; } +.lv_Sides .lv_Wrapper { + width: 100%; + height: 100%; + cursor: pointer; +} +.lv_Sides .lv_Button { + float: left; + background: none; +} + +/* The frames above and below the center, that hold the corners. + It's recommended not to change anything here, a lot is done in + javascript to build further upon this based on your settings. +*/ +.lv_Frames { + width: 100%; + height: 100%; + position: relative; + padding: 0; + margin: 0; +} +.lv_Frames li { + list-style-type: none; + margin: 0; + padding: 0; +} +.lv_Frame { + width: 100%; + display: block; +} +.lv_Frame * { padding: 0; margin: 0; } +.lv_FrameTop { + position: absolute; + left: 0; + width: 100%; + display: block; +} +.lv_FrameBottom { + position: relative; + float: left; + clear: both; +} + +.lv_Liquid { + position: relative; + float: left; + width: 100%; + overflow: hidden; + clear: both; +} +.lv_Liquid .lv_Filler { + position: absolute; + height: 100%; + width: 2px; + top: 0; + left: 50%; +} + +.lv_Half { + display: block; + height: 100%; + clear: both; + line-height: 0px; +} +.lv_Half li { list-style-type: none; } +.lv_Corner { + float: left; + position: relative; +} +.lv_CornerTr, .lv_CornerBr { float: right; } + +.lv_Fill { + position: absolute; + top: 0; + width: 100%; + height: 100%; +} + +.lv_Half .lv_CornerWrapper { + float: left; + position: relative; + width: 50%; + height: 100%; + overflow: hidden; +} +.lv_HalfRight .lv_CornerWrapper { float: right; } + +.lv_Corner { position: relative; } +.lv_Corner canvas { position: relative; } +.lv_HalfLeft .lv_Corner { float: left; } +.lv_HalfRight .lv_Corner { + position: relative; + float: right; +} + +/* To position content correctly in the center with correct + rounded corner display we need a few wrappers. + This is to get it right on all browsers. +*/ +.lv_Center { + position: relative; + clear: both; + height: 100%; + overflow: hidden; + background: none; + padding: 0; + margin: 0; +} +.lv_WrapUp { + position: absolute; + left: 0; + height: 100%; + width: 100%; + overflow: hidden; + padding: 0; + margin: 0; +} +.lv_WrapDown { + position: relative; + height: 100%; + width: 100%; + overflow: hidden; + padding: 0; + margin: 0; +} +.lv_WrapCenter { + position: relative; + padding: 0; + margin: 0; +} + +/* The loading indicator */ +.lv_Loading { + position: absolute; + top: 50%; + left: 50%; +} +.lv_Loading .lv_Button { + float: left; + height: 100%; + width: 100%; +} + +.lv_MediaWrapper { + position: relative; + width: 100%; + display: block; + overflow: hidden; + clear: both; + padding: 0; + margin: 0; +} +.lv_MediaWrapper img { + position: relative; + float: left; + padding: 0; + margin: 0; +} + +/* The overlays on top of images that toggle the previous/next buttons */ +.lv_PrevNext { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + padding: 0; + margin: 0; +} +.lv_PrevNext * { padding: 0; margin: 0; } +.lv_PrevNext .lv_Button { + position: relative; + height: 100%; +} +.lv_PrevButton { float: left; } +.lv_NextButton { float: right; } + +/* The bar that holds title, caption, imagenumber, slideshow and closebutton */ +.lv_MenuBar { + clear: both; + position: relative; + width: 100%; + font: 11px Arial, Helvetica, sans-serif; + color: #7a7a7a; + padding: 0; + margin: 0; + text-align: left; +} +.lv_MenuBar * { padding: 0; margin: 0;} + + +.lv_Close { + position: relative; + float: right; + overflow: hidden; + width: 100%; + height: 100%; +} + +.lv_Data { + position: relative; + float: left; + padding-bottom: 3px; + line-height: 13px; + overflow: hidden; +} + +/* simulates padding-left inside .lv_Data +.lv_DataText div, .lv_ImgNumber div { margin-left: 3px; } */ + +.lv_Data li { + list-style-type: none; + float: left; + margin-top: 3px; +} +.lv_DataText { width: 100%; } +.lv_DataText .lv_Title { + font-weight: bold; + margin-bottom: 2px; +} +.lv_DataText .lv_Caption { clear: both; } +.lv_Data .lv_ImgNumber { + color: #a7a7a7; + margin-right: 5px; + margin-top: 5px; +} + +.lv_Data .lv_innerPrevNext, +.lv_Data .lv_Slideshow { + position: relative; + border-left: 1px solid #d7d7d7; + padding: 0 5px; + margin-top: 5px; + vertical-align: middle; +} +.lv_Data .lv_Slideshow { padding-right: 0px; } + +.lv_Data .lv_innerPrevNext .lv_Button, +.lv_Data .lv_Slideshow .lv_Button { /* play and stop */ + float: left; + background-position: center left; + background-repeat: no-repeat; +} + +/* the boxes that hold media or external content */ +.lv_contentTop, +.lv_contentBottom { + position: relative; + float: left; + margin: 0; + padding: 0; + clear: both; +} + +#lightview iframe { + float: left; + border: 0; + clear: both; + padding: 0; + margin: 0; + background: none; +} + +/* The container that hold buttons above the view, currently only topclose */ +.lv_topButtons { + position: absolute; + left: 0; + width: 100%; + overflow: hidden; + margin: 0; + padding: 0; +} +.lv_topcloseButtonImage { cursor: pointer; } + + +/* The error/warning/download message that will appear when + a required plugin is not installed. +*/ +#lightviewError p { padding: 0 0 10px 0; } +#lightviewError div { + padding: 6px; + font: 11px Arial, Helvetica, sans-serif; +} +#lightviewError .message { + background: #fcb5b5; + color: #dd1f1f; + margin-bottom: 3px; +} +#lightviewError .type { font-weight: bold; } +#lightviewError .pluginspage { + background: #b5fcbd; + color: #21be30; +} +#lightviewError a, +#lightviewError a:hover, +#lightviewError a:visited { + color: #21be30; + text-decoration: none; + background: none; + font-weight: bold; + border-bottom: 1px solid #7de689; +} +#lightviewError p { + margin-left: 0; + padding: 0; +} + +#lv_overlay { + position: absolute; /* Opera will use fixed */ + top: 0; + left: 0; + height: 100%; + width: 100%; +} + +/* navbar + Adds a bar below the view that takes over the default Controller +*/ +#lightviewController { + position: fixed; + bottom: 0; + top: 0; + left: 50%; + margin: 0; + padding: 0; + color: #d2d2d2; + font: 11px Arial, Helvetica, sans-serif; +} +* html body #lightviewController { /* IE6 */ + position: absolute; + top: auto; + margin-top: expression( (-1 * this.offsetHeight / 2 + (document.documentElement ? document.documentElement.scrollTop : 0) + (Lightview.controllerOffset || 0)) + 'px'); +} +#lightviewController ul { + display: block; + height: 100%; + float: left; + margin: 0; + padding: 0; + position: relative; +} +.lv_controllerTop, .lv_controllerMiddle, .lv_controllerBottom { + list-style-type: none; + float: left; + display: block; + position: relative; + clear: both; + overflow: hidden; + margin: 0; + padding: 0; +} +.lv_controllerCenter { width: auto; float: left; } +.lv_controllerCornerWrapper { + position: absolute; + width: 100%; + height: 100%; + margin: 0; + padding: 0; +} +.lv_controllerCornerWrapperTopLeft, +.lv_controllerCornerWrapperBottomLeft { top: 0; left: -100%;} +.lv_controllerCornerWrapperTopRight, +.lv_controllerCornerWrapperBottomRight { top: 0; left: 100%;} + +#lightviewController .lv_CornerWrapper { + width: 100%; +} +#lightviewController .lv_Corner { float: left; } +#lightviewController .lv_Corner { + float: right; + position: relative; +} +#lightviewController .lv_CornerTr, #lightviewController .lv_CornerBr { float: left; } +.lv_controllerBetweenCorners { + position: relative; + height: 100%; + overflow: hidden; +} + +.lv_controllerMiddle { + position: relative; + height: 100%; + float: left; +} +.lv_controllerCenter { float: left; width: auto;} +.lv_controllerCenter li { + list-style-type: none; + float: left; + display: inline; + position: relative; + clear: none; +} +.lv_controllerSetNumber { + float: left; + text-align: center; +} + +#lightviewController .lv_Button { + float: left; + position: relative; + height: 100%; + clear: none; +} +.lv_controllerSetNumber { + position: relative; + height: 100%; + padding-right: 3px; +} +.lv_controllerPrev, +.lv_controllerNext, +.lv_controllerSlideshow, +.lv_controllerClose { + float: left; + position: relative; + height: 100%; + padding-left: 3px; +} + +.lv_controllerPrev { border-left: 1px solid #3c3c3c; } +#lightviewController .lv_controllerNext { padding-right: 3px; border-right: 1px solid #3c3c3c; } + +* html #lightview { /* IE6 */ + position: absolute; + margin-top: expression( (-1 * this.offsetHeight / 2 + (document.documentElement ? document.documentElement.scrollTop : 0) - (Lightview.controllerHeight || 0)) + 'px'); + margin-left: expression( -1 * this.offsetWidth / 2 + (document.documentElement ? document.documentElement.scrollLeft : 0) + 'px'); +} + +/* Always cover 100% of the screen in IE6 */ +html #lv_overlay { + position: absolute; + height: expression(((window.Enumerable && window.Enumerable.max) ? [document.body.scrollHeight, document.documentElement.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight].max() : document.documentElement.scrollHeight) + 'px' ); + width: expression(((window.Enumerable && window.Enumerable.max) ? [document.body.scrollWidth, document.documentElement.scrollWidth, document.body.offsetWidth, document.documentElement.clientHeight].max() : document.documentElement.scrollWidth) + 'px' ); +} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-11 03:53:10
|
Revision: 3280 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3280&view=rev Author: hemna Date: 2009-11-11 03:53:03 +0000 (Wed, 11 Nov 2009) Log Message: ----------- added limit Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc trunk/open2300/lib/modules/home/page/WeatherDataListPage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-10-16 04:16:21 UTC (rev 3279) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-11 03:53:03 UTC (rev 3280) @@ -16,7 +16,7 @@ function __construct() { parent::__construct('Hemna WX Station'); - $this->wx = weatherDataObject::find("1=1 order by datetime desc"); + $this->wx = weatherDataObject::find("1=1 order by datetime desc limit 0,1"); } public function request_vars() { Modified: trunk/open2300/lib/modules/home/page/WeatherDataListPage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/WeatherDataListPage.inc 2009-10-16 04:16:21 UTC (rev 3279) +++ trunk/open2300/lib/modules/home/page/WeatherDataListPage.inc 2009-11-11 03:53:03 UTC (rev 3280) @@ -24,7 +24,7 @@ $container = Container::factory(); $container->add(' ', BRtag::factory(3)); - $wx = weatherDataObject::find("1=1 order by datetime desc"); + $wx = weatherDataObject::find("1=1 order by datetime desc limit 0,1"); $left_div = new DIVtag(array('id'=> 'idLeftContent')); @@ -46,4 +46,4 @@ return $container; } } -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-16 04:16:27
|
Revision: 3279 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3279&view=rev Author: hemna Date: 2009-10-16 04:16:21 +0000 (Fri, 16 Oct 2009) Log Message: ----------- color of low temp Modified Paths: -------------- trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php Modified: trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php 2009-10-16 04:07:40 UTC (rev 3278) +++ trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php 2009-10-16 04:16:21 UTC (rev 3279) @@ -50,8 +50,8 @@ <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='ff0000' /> </move> <move start_y_offset='0' end_y_offset='XX_LOW_TEMP_XX' shake_frequency='0'> - <line x1='40' y1='251' x2='44' y2='251' thickness='2' color='0000ff' /> - <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='0000ff' /> + <line x1='40' y1='251' x2='44' y2='251' thickness='2' color='487aff' /> + <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='487aff' /> </move> <update url='/index.php?target=my-temperature-flash-gauge&foo=$ts' delay='60' delay_type='1' /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-16 04:07:46
|
Revision: 3278 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3278&view=rev Author: hemna Date: 2009-10-16 04:07:40 +0000 (Fri, 16 Oct 2009) Log Message: ----------- refresh times Modified Paths: -------------- trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php Modified: trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php 2009-10-16 04:01:14 UTC (rev 3277) +++ trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php 2009-10-16 04:07:40 UTC (rev 3278) @@ -37,7 +37,7 @@ <!-- current rainfall text --> <text x='40' y='260' width='56' size='14' align='center' color='cccccc'>XX_CURR_XXin</text> - <update url='/index.php?target=my-rain-flash-gauge&mode=XX_MODE_XX&foo=$ts' delay='60' delay_type='1' /> + <update url='/index.php?target=my-rain-flash-gauge&mode=XX_MODE_XX&foo=$ts' delay='XX_REFRESH_XX' delay_type='1' /> </gauge> EOL; @@ -53,17 +53,21 @@ switch ($this->mode) { case "1hr": $this->rain_amount = $current_do->get_rain_1h(); - $this->desc = "1 H R R A I N"; + $this->desc = "1 H R R A I N"; + $this->refresh = 120; break; case "24hr": $this->rain_amount = $current_do->get_rain_24h(); $this->desc = "24 H R R A I N"; + $this->refresh = 240; break; case "total": $this->rain_amount = $current_do->get_rain_total(); $this->desc = "Y E A R R A I N"; + $this->refresh = 240; + $db = open2300DB::singleton(); $year = date("Y"); @@ -84,9 +88,9 @@ } public function render() { - $search_arr = array("XX_CURR_XX", "XX_VAL_XX", "XX_MODE_XX", "XX_DESC_XX"); + $search_arr = array("XX_CURR_XX", "XX_VAL_XX", "XX_MODE_XX", "XX_DESC_XX", 'XX_REFRESH_XX'); $replace_arr = array($this->rain_amount, $this->translate_num($this->rain_amount), - $this->mode, $this->desc); + $this->mode, $this->desc, $this->refresh); $output = str_replace($search_arr, $replace_arr, $this->xml); echo $output; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-16 04:01:25
|
Revision: 3277 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3277&view=rev Author: hemna Date: 2009-10-16 04:01:14 +0000 (Fri, 16 Oct 2009) Log Message: ----------- updated refresh url for cache issues Modified Paths: -------------- trunk/open2300/lib/modules/graphs/gauge/myHumidityFlashGauge.php trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php Modified: trunk/open2300/lib/modules/graphs/gauge/myHumidityFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myHumidityFlashGauge.php 2009-10-16 03:35:07 UTC (rev 3276) +++ trunk/open2300/lib/modules/graphs/gauge/myHumidityFlashGauge.php 2009-10-16 04:01:14 UTC (rev 3277) @@ -11,6 +11,7 @@ public function __construct() { parent::__construct(); + $ts = time(); $this->xml = <<<EOL <gauge> @@ -40,7 +41,7 @@ <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='87eee1' /> </move> - <update url='/index.php?target=my-humidity-flash-gauge' delay='60' delay_type='1' /> + <update url='/index.php?target=my-humidity-flash-gauge&foo=$ts' delay='60' delay_type='1' /> </gauge> EOL; Modified: trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php 2009-10-16 03:35:07 UTC (rev 3276) +++ trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php 2009-10-16 04:01:14 UTC (rev 3277) @@ -13,7 +13,9 @@ protected $rain_amount = 0; public function __construct() { - parent::__construct(); + parent::__construct(); + + $ts = time(); $this->xml = <<<EOL <gauge> @@ -23,7 +25,9 @@ <text x='0' y='0' width='136' size='14' align='center' color='999999'>XX_DESC_XX</text> <text x='12' y='26' width='200' size='14' color='cccccc'>in in</text> -<line x1='100' y1='250' x2='104' y2='250' thickness='2' color='666666' /><text x='105' y='242' width='30' align='left' size='12' color='999999'>0</text><line x1='100' y1='230' x2='104' y2='230' thickness='2' color='666666' /><text x='105' y='222' width='30' align='left' size='12' color='999999'>1</text><line x1='100' y1='210' x2='104' y2='210' thickness='2' color='666666' /><text x='105' y='202' width='30' align='left' size='12' color='999999'>2</text><line x1='100' y1='190' x2='104' y2='190' thickness='2' color='666666' /><text x='105' y='182' width='30' align='left' size='12' color='999999'>3</text><line x1='100' y1='170' x2='104' y2='170' thickness='2' color='666666' /><text x='105' y='162' width='30' align='left' size='12' color='999999'>4</text><line x1='100' y1='150' x2='104' y2='150' thickness='2' color='666666' /><text x='105' y='142' width='30' align='left' size='12' color='999999'>5</text><line x1='100' y1='130' x2='104' y2='130' thickness='2' color='666666' /><text x='105' y='122' width='30' align='left' size='12' color='999999'>6</text><line x1='100' y1='110' x2='104' y2='110' thickness='2' color='666666' /><text x='105' y='102' width='30' align='left' size='12' color='999999'>7</text><line x1='100' y1='90' x2='104' y2='90' thickness='2' color='666666' /><text x='105' y='82' width='30' align='left' size='12' color='999999'>8</text><line x1='100' y1='70' x2='104' y2='70' thickness='2' color='666666' /><text x='105' y='62' width='30' align='left' size='12' color='999999'>9</text><line x1='100' y1='50' x2='104' y2='50' thickness='2' color='666666' /><text x='105' y='42' width='30' align='left' size='12' color='999999'>10</text><line x1='32' y1='250' x2='36' y2='250' thickness='2' color='666666' /><text x='0' y='242' width='30' align='right' size='12' color='999999'>0</text><line x1='32' y1='230' x2='36' y2='230' thickness='2' color='666666' /><text x='0' y='222' width='30' align='right' size='12' color='999999'>1</text><line x1='32' y1='210' x2='36' y2='210' thickness='2' color='666666' /><text x='0' y='202' width='30' align='right' size='12' color='999999'>2</text><line x1='32' y1='190' x2='36' y2='190' thickness='2' color='666666' /><text x='0' y='182' width='30' align='right' size='12' color='999999'>3</text><line x1='32' y1='170' x2='36' y2='170' thickness='2' color='666666' /><text x='0' y='162' width='30' align='right' size='12' color='999999'>4</text><line x1='32' y1='150' x2='36' y2='150' thickness='2' color='666666' /><text x='0' y='142' width='30' align='right' size='12' color='999999'>5</text><line x1='32' y1='130' x2='36' y2='130' thickness='2' color='666666' /><text x='0' y='122' width='30' align='right' size='12' color='999999'>6</text><line x1='32' y1='110' x2='36' y2='110' thickness='2' color='666666' /><text x='0' y='102' width='30' align='right' size='12' color='999999'>7</text><line x1='32' y1='90' x2='36' y2='90' thickness='2' color='666666' /><text x='0' y='82' width='30' align='right' size='12' color='999999'>8</text><line x1='32' y1='70' x2='36' y2='70' thickness='2' color='666666' /><text x='0' y='62' width='30' align='right' size='12' color='999999'>9</text><line x1='32' y1='50' x2='36' y2='50' thickness='2' color='666666' /><text x='0' y='42' width='30' align='right' size='12' color='999999'>10</text> + <line x1='100' y1='250' x2='104' y2='250' thickness='2' color='666666' /> + <text x='105' y='242' width='30' align='left' size='12' color='999999'>0</text> + <line x1='100' y1='230' x2='104' y2='230' thickness='2' color='666666' /><text x='105' y='222' width='30' align='left' size='12' color='999999'>1</text><line x1='100' y1='210' x2='104' y2='210' thickness='2' color='666666' /><text x='105' y='202' width='30' align='left' size='12' color='999999'>2</text><line x1='100' y1='190' x2='104' y2='190' thickness='2' color='666666' /><text x='105' y='182' width='30' align='left' size='12' color='999999'>3</text><line x1='100' y1='170' x2='104' y2='170' thickness='2' color='666666' /><text x='105' y='162' width='30' align='left' size='12' color='999999'>4</text><line x1='100' y1='150' x2='104' y2='150' thickness='2' color='666666' /><text x='105' y='142' width='30' align='left' size='12' color='999999'>5</text><line x1='100' y1='130' x2='104' y2='130' thickness='2' color='666666' /><text x='105' y='122' width='30' align='left' size='12' color='999999'>6</text><line x1='100' y1='110' x2='104' y2='110' thickness='2' color='666666' /><text x='105' y='102' width='30' align='left' size='12' color='999999'>7</text><line x1='100' y1='90' x2='104' y2='90' thickness='2' color='666666' /><text x='105' y='82' width='30' align='left' size='12' color='999999'>8</text><line x1='100' y1='70' x2='104' y2='70' thickness='2' color='666666' /><text x='105' y='62' width='30' align='left' size='12' color='999999'>9</text><line x1='100' y1='50' x2='104' y2='50' thickness='2' color='666666' /><text x='105' y='42' width='30' align='left' size='12' color='999999'>10</text><line x1='32' y1='250' x2='36' y2='250' thickness='2' color='666666' /><text x='0' y='242' width='30' align='right' size='12' color='999999'>0</text><line x1='32' y1='230' x2='36' y2='230' thickness='2' color='666666' /><text x='0' y='222' width='30' align='right' size='12' color='999999'>1</text><line x1='32' y1='210' x2='36' y2='210' thickness='2' color='666666' /><text x='0' y='202' width='30' align='right' size='12' color='999999'>2</text><line x1='32' y1='190' x2='36' y2='190' thickness='2' color='666666' /><text x='0' y='182' width='30' align='right' size='12' color='999999'>3</text><line x1='32' y1='170' x2='36' y2='170' thickness='2' color='666666' /><text x='0' y='162' width='30' align='right' size='12' color='999999'>4</text><line x1='32' y1='150' x2='36' y2='150' thickness='2' color='666666' /><text x='0' y='142' width='30' align='right' size='12' color='999999'>5</text><line x1='32' y1='130' x2='36' y2='130' thickness='2' color='666666' /><text x='0' y='122' width='30' align='right' size='12' color='999999'>6</text><line x1='32' y1='110' x2='36' y2='110' thickness='2' color='666666' /><text x='0' y='102' width='30' align='right' size='12' color='999999'>7</text><line x1='32' y1='90' x2='36' y2='90' thickness='2' color='666666' /><text x='0' y='82' width='30' align='right' size='12' color='999999'>8</text><line x1='32' y1='70' x2='36' y2='70' thickness='2' color='666666' /><text x='0' y='62' width='30' align='right' size='12' color='999999'>9</text><line x1='32' y1='50' x2='36' y2='50' thickness='2' color='666666' /><text x='0' y='42' width='30' align='right' size='12' color='999999'>10</text> <!-- rain gauge pointer animated only if rainfall has changed--> <scale x='44' y='250' start_scale='0' end_scale='XX_VAL_XX' direction='vertical' step='1' shake_span='0' shake_frequency='0' shadow_alpha='0'> @@ -33,7 +37,7 @@ <!-- current rainfall text --> <text x='40' y='260' width='56' size='14' align='center' color='cccccc'>XX_CURR_XXin</text> - <update url='/index.php?target=my-rain-flash-gauge&mode=XX_MODE_XX' delay='60' delay_type='1' /> + <update url='/index.php?target=my-rain-flash-gauge&mode=XX_MODE_XX&foo=$ts' delay='60' delay_type='1' /> </gauge> EOL; Modified: trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php 2009-10-16 03:35:07 UTC (rev 3276) +++ trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php 2009-10-16 04:01:14 UTC (rev 3277) @@ -11,6 +11,8 @@ public function __construct() { parent::__construct(); + + $ts = time(); $this->xml = <<<EOL <gauge> @@ -52,7 +54,7 @@ <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='0000ff' /> </move> - <update url='/index.php?target=my-temperature-flash-gauge' delay='10' delay_type='1' /> + <update url='/index.php?target=my-temperature-flash-gauge&foo=$ts' delay='60' delay_type='1' /> </gauge> EOL; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-16 03:35:15
|
Revision: 3276 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3276&view=rev Author: hemna Date: 2009-10-16 03:35:07 +0000 (Fri, 16 Oct 2009) Log Message: ----------- fixed temp marks Modified Paths: -------------- trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php Modified: trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php 2009-10-15 20:28:43 UTC (rev 3275) +++ trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php 2009-10-16 03:35:07 UTC (rev 3276) @@ -19,27 +19,19 @@ <text x='0' y='0' width='136' size='14' align='center' color='999999'>T E M P</text> <text x='12' y='26' width='200' size='14' color='cccccc'>°C °F</text> - <line x1='100' y1='230' x2='104' y2='230' thickness='2' color='666666' /> - <text x='105' y='222' width='30' align='left' size='12' color='999999'>30</text> - <line x1='100' y1='210' x2='104' y2='210' thickness='2' color='666666' /> - <text x='105' y='202' width='30' align='left' size='12' color='999999'>40</text> - <line x1='100' y1='190' x2='104' y2='190' thickness='2' color='666666' /> - <text x='105' y='182' width='30' align='left' size='12' color='999999'>50</text> - <line x1='100' y1='170' x2='104' y2='170' thickness='2' color='666666' /> - <text x='105' y='162' width='30' align='left' size='12' color='999999'>60</text> - <line x1='100' y1='150' x2='104' y2='150' thickness='2' color='666666' /> - <text x='105' y='142' width='30' align='left' size='12' color='999999'>70</text> - <line x1='100' y1='130' x2='104' y2='130' thickness='2' color='666666' /> - <text x='105' y='122' width='30' align='left' size='12' color='999999'>80</text> - <line x1='100' y1='110' x2='104' y2='110' thickness='2' color='666666' /> - <text x='105' y='102' width='30' align='left' size='12' color='999999'>90</text> - <line x1='100' y1='90' x2='104' y2='90' thickness='2' color='666666' /> - <text x='105' y='82' width='30' align='left' size='12' color='999999'>100</text> - <line x1='100' y1='70' x2='104' y2='70' thickness='2' color='666666' /> - <text x='105' y='62' width='30' align='left' size='12' color='999999'>110</text> - <line x1='32' y1='226' x2='36' y2='226' thickness='2' color='666666' /> - <text x='0' y='218' width='30' align='right' size='12' color='999999'>0</text> - <line x1='32' y1='208' x2='36' y2='208' thickness='2' color='666666' /><text x='0' y='200' width='30' align='right' size='12' color='999999'>5</text><line x1='32' y1='190' x2='36' y2='190' thickness='2' color='666666' /><text x='0' y='182' width='30' align='right' size='12' color='999999'>10</text><line x1='32' y1='172' x2='36' y2='172' thickness='2' color='666666' /><text x='0' y='164' width='30' align='right' size='12' color='999999'>15</text><line x1='32' y1='154' x2='36' y2='154' thickness='2' color='666666' /><text x='0' y='146' width='30' align='right' size='12' color='999999'>20</text><line x1='32' y1='136' x2='36' y2='136' thickness='2' color='666666' /><text x='0' y='128' width='30' align='right' size='12' color='999999'>25</text><line x1='32' y1='118' x2='36' y2='118' thickness='2' color='666666' /><text x='0' y='110' width='30' align='right' size='12' color='999999'>30</text><line x1='32' y1='100' x2='36' y2='100' thickness='2' color='666666' /><text x='0' y='92' width='30' align='right' size='12' color='999999'>35</text><line x1='32' y1='82' x2='36' y2='82' thickness='2' color='666666' /><text x='0' y='74' width='30' align='right' size='12' color='999999'>40</text><line x1='32' y1='64' x2='36' y2='64' thickness='2' color='666666' /><text x='0' y='56' width='30' align='right' size='12' color='999999'>45</text> + <line x1='100' y1='230' x2='104' y2='230' thickness='2' color='666666' /><text x='105' y='222' width='30' align='left' size='12' color='999999'>30</text> + <line x1='100' y1='210' x2='104' y2='210' thickness='2' color='666666' /><text x='105' y='202' width='30' align='left' size='12' color='999999'>40</text> + <line x1='100' y1='190' x2='104' y2='190' thickness='2' color='666666' /><text x='105' y='182' width='30' align='left' size='12' color='999999'>50</text> + <line x1='100' y1='170' x2='104' y2='170' thickness='2' color='666666' /><text x='105' y='162' width='30' align='left' size='12' color='999999'>60</text> + <line x1='100' y1='150' x2='104' y2='150' thickness='2' color='666666' /><text x='105' y='142' width='30' align='left' size='12' color='999999'>70</text> + <line x1='100' y1='130' x2='104' y2='130' thickness='2' color='666666' /><text x='105' y='122' width='30' align='left' size='12' color='999999'>80</text> + <line x1='100' y1='110' x2='104' y2='110' thickness='2' color='666666' /><text x='105' y='102' width='30' align='left' size='12' color='999999'>90</text> + <line x1='100' y1='90' x2='104' y2='90' thickness='2' color='666666' /><text x='105' y='82' width='30' align='left' size='12' color='999999'>100</text> + <line x1='100' y1='70' x2='104' y2='70' thickness='2' color='666666' /><text x='105' y='62' width='30' align='left' size='12' color='999999'>110</text> + + <line x1='32' y1='226' x2='36' y2='226' thickness='2' color='666666' /><text x='0' y='218' width='30' align='right' size='12' color='999999'>0</text> + <line x1='32' y1='208' x2='36' y2='208' thickness='2' color='666666' /><text x='0' y='200' width='30' align='right' size='12' color='999999'>5</text> + <line x1='32' y1='190' x2='36' y2='190' thickness='2' color='666666' /><text x='0' y='182' width='30' align='right' size='12' color='999999'>10</text><line x1='32' y1='172' x2='36' y2='172' thickness='2' color='666666' /><text x='0' y='164' width='30' align='right' size='12' color='999999'>15</text><line x1='32' y1='154' x2='36' y2='154' thickness='2' color='666666' /><text x='0' y='146' width='30' align='right' size='12' color='999999'>20</text><line x1='32' y1='136' x2='36' y2='136' thickness='2' color='666666' /><text x='0' y='128' width='30' align='right' size='12' color='999999'>25</text><line x1='32' y1='118' x2='36' y2='118' thickness='2' color='666666' /><text x='0' y='110' width='30' align='right' size='12' color='999999'>30</text><line x1='32' y1='100' x2='36' y2='100' thickness='2' color='666666' /><text x='0' y='92' width='30' align='right' size='12' color='999999'>35</text><line x1='32' y1='82' x2='36' y2='82' thickness='2' color='666666' /><text x='0' y='74' width='30' align='right' size='12' color='999999'>40</text><line x1='32' y1='64' x2='36' y2='64' thickness='2' color='666666' /><text x='0' y='56' width='30' align='right' size='12' color='999999'>45</text> <!-- thermometer pointer animated only if temperature has changed --> <scale x='44' y='250' start_scale='0' end_scale='XX_TEMP_XX' direction='vertical' step='1' shake_span='0' shake_frequency='0' shadow_alpha='0'> @@ -51,7 +43,7 @@ <!-- high / low watermarks animated only if temperature has changed --> - <move start_y_offset='0' end_y_offset='XX_HIGH_TEMP_XX' shake_frequency='0'> + <move start_y_offset='00' end_y_offset='XX_HIGH_TEMP_XX' shake_frequency='0'> <line x1='40' y1='251' x2='44' y2='251' thickness='2' color='ff0000' /> <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='ff0000' /> </move> @@ -60,7 +52,7 @@ <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='0000ff' /> </move> - <update url='/index.php?target=my-temperature-flash-gauge' delay='60' delay_type='1' /> + <update url='/index.php?target=my-temperature-flash-gauge' delay='10' delay_type='1' /> </gauge> EOL; @@ -68,8 +60,6 @@ protected function load_data() { $today = date("Y-m-d"); - //var_dump($today); - //$today = "2009-02-15"; $this->date = $today; $this->do = weatherDataObject::find("1=1 order by datetime desc limit 0,1"); @@ -88,6 +78,10 @@ return $this->temp_low_high; } + /** + * get the high temperature + * + */ protected function get_high() { $high = $this->temp_low_high["high"]; @@ -104,13 +98,13 @@ $absolute_low = -1; $absolute_high = -200; - return ((-20)-$num); + return (($num-20)*-2); } public function render() { $search_arr = array("XX_CURR_TEMP_XX", "XX_TEMP_XX", "XX_HIGH_TEMP_XX", "XX_LOW_TEMP_XX"); $replace_arr = array($this->do->get_temp_out(), ($this->do->get_temp_out()-20), - $this->get_high(), $this->get_low()); + $this->get_high(), $this->get_low()); $output = str_replace($search_arr, $replace_arr, $this->xml); echo $output; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-15 20:28:51
|
Revision: 3275 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3275&view=rev Author: hemna Date: 2009-10-15 20:28:43 +0000 (Thu, 15 Oct 2009) Log Message: ----------- added new banner Modified Paths: -------------- trunk/open2300/htdocs/css/main.css Added Paths: ----------- trunk/open2300/htdocs/images/pano_cropped_banner1.jpg Modified: trunk/open2300/htdocs/css/main.css =================================================================== --- trunk/open2300/htdocs/css/main.css 2009-10-15 04:24:24 UTC (rev 3274) +++ trunk/open2300/htdocs/css/main.css 2009-10-15 20:28:43 UTC (rev 3275) @@ -18,7 +18,7 @@ background-color: #AFB5FF; width: 100%; height:150px; - background: url('/images/top_banner.gif') no-repeat top left; + background: url('/images/pano_cropped_banner1.jpg') no-repeat top center; } #idPageHeadText { Added: trunk/open2300/htdocs/images/pano_cropped_banner1.jpg =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/images/pano_cropped_banner1.jpg ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-15 04:24:32
|
Revision: 3274 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3274&view=rev Author: hemna Date: 2009-10-15 04:24:24 +0000 (Thu, 15 Oct 2009) Log Message: ----------- update total Modified Paths: -------------- trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php Modified: trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php 2009-10-14 16:39:58 UTC (rev 3273) +++ trunk/open2300/lib/modules/graphs/gauge/myRainFlashGauge.php 2009-10-15 04:24:24 UTC (rev 3274) @@ -59,7 +59,15 @@ case "total": $this->rain_amount = $current_do->get_rain_total(); - $this->desc = "Y E A R R A I N"; + $this->desc = "Y E A R R A I N"; + $db = open2300DB::singleton(); + + $year = date("Y"); + + $stmt = $db->queryBindOneRowCache("Select rain_total from weather where datetime like :date order by datetime asc limit 0,1", + array(":date" => $year.'%')); + $year_rain_start = $stmt->rain_total; + $this->rain_amount = sprintf("%0.2f", $current_do->get_rain_total() - $year_rain_start); break; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-14 16:40:14
|
Revision: 3273 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3273&view=rev Author: hemna Date: 2009-10-14 16:39:58 +0000 (Wed, 14 Oct 2009) Log Message: ----------- adjust offset Modified Paths: -------------- trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php Modified: trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php 2009-10-14 16:38:30 UTC (rev 3272) +++ trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php 2009-10-14 16:39:58 UTC (rev 3273) @@ -104,7 +104,7 @@ $absolute_low = -1; $absolute_high = -200; - return ((-19.9)-$num); + return ((-20)-$num); } public function render() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-14 16:38:40
|
Revision: 3272 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3272&view=rev Author: hemna Date: 2009-10-14 16:38:30 +0000 (Wed, 14 Oct 2009) Log Message: ----------- use dynamic #s Modified Paths: -------------- trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php Modified: trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php 2009-10-14 16:36:09 UTC (rev 3271) +++ trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php 2009-10-14 16:38:30 UTC (rev 3272) @@ -28,15 +28,15 @@ </scale> <!-- current temp text --> - <text x='30' y='260' width='76' size='14' align='center' color='cccccc'>29.911in</text> + <text x='30' y='260' width='76' size='14' align='center' color='cccccc'>XX_CURR_XXin</text> <!-- high / low watermarks animated only if pressure has changed --> - <move start_y_offset='0' end_y_offset='-82.2' shake_frequency='0'> + <move start_y_offset='0' end_y_offset=XX_HIGH_XX' shake_frequency='0'> <line x1='40' y1='251' x2='44' y2='251' thickness='2' color='82827D' /> <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='82827D' /> </move> - <move start_y_offset='0' end_y_offset='-34.8' shake_frequency='0'> + <move start_y_offset='0' end_y_offset='XX_LOW_XX' shake_frequency='0'> <line x1='40' y1='251' x2='44' y2='251' thickness='2' color='82827D' /> <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='82827D' /> </move> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-14 16:36:18
|
Revision: 3271 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3271&view=rev Author: hemna Date: 2009-10-14 16:36:09 +0000 (Wed, 14 Oct 2009) Log Message: ----------- fixed call Modified Paths: -------------- trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php Modified: trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php 2009-10-14 16:34:56 UTC (rev 3270) +++ trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php 2009-10-14 16:36:09 UTC (rev 3271) @@ -54,7 +54,7 @@ $this->date = $today; $this->do = weatherDataObject::find("1=1 order by datetime desc limit 0,1"); - $this->getMinMaxHumidity($today); + $this->getMinMaxPressure($today); } protected function getMinMaxPressure($today = null) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-14 16:35:06
|
Revision: 3270 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3270&view=rev Author: hemna Date: 2009-10-14 16:34:56 +0000 (Wed, 14 Oct 2009) Log Message: ----------- show pressure Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-10-14 16:31:36 UTC (rev 3269) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-10-14 16:34:56 UTC (rev 3270) @@ -59,17 +59,39 @@ PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </embed> </object>', - '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" +// '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" +// codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" +// WIDTH="140" +// HEIGHT="300" +// id="gauge" /> +// +//<PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-humidity-flash-gauge" /> +//<PARAM NAME="quality" VALUE="high" /> +//<PARAM NAME="bgcolor" VALUE="#ffffff" /> +//<param name="allowScriptAccess" value="sameDomain" /> +//<EMBED src="/flash/gauge.swf?xml_source=index.php?target=my-humidity-flash-gauge" +// quality="high" +// bgcolor="#ffffff" +// WIDTH="140" +// HEIGHT="300" +// NAME="gauge" +// allowScriptAccess="sameDomain" +// swLiveConnect="true" +// TYPE="application/x-shockwave-flash" +// PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> +//</EMBED> +//</OBJECT> +// ', +'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="140" HEIGHT="300" id="gauge" /> - -<PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-humidity-flash-gauge" /> +<PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-pressure-flash-gauge" /> <PARAM NAME="quality" VALUE="high" /> <PARAM NAME="bgcolor" VALUE="#ffffff" /> <param name="allowScriptAccess" value="sameDomain" /> -<EMBED src="/flash/gauge.swf?xml_source=index.php?target=my-humidity-flash-gauge" +<EMBED src="/flash/gauge.swf?xml_source=index.php?target=my-pressure-flash-gauge" quality="high" bgcolor="#ffffff" WIDTH="140" @@ -81,7 +103,8 @@ PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> - '); +' + ); $left_div->add('<object width="290" height="130"><param name="movie" value="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCASANJO77&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" /><param name="quality" value="high"><embed src="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCACOOL3&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" type="application/x-shockwave-flash" width="300" height="290" /></object>'); $container->add($left_div); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-14 16:31:44
|
Revision: 3269 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3269&view=rev Author: hemna Date: 2009-10-14 16:31:36 +0000 (Wed, 14 Oct 2009) Log Message: ----------- added pressure graph Modified Paths: -------------- trunk/open2300/lib/autoload.inc Added Paths: ----------- trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php Modified: trunk/open2300/lib/autoload.inc =================================================================== --- trunk/open2300/lib/autoload.inc 2009-10-14 16:23:14 UTC (rev 3268) +++ trunk/open2300/lib/autoload.inc 2009-10-14 16:31:36 UTC (rev 3269) @@ -1,7 +1,7 @@ <?php /** * This is an auto-generated file. Please do not modify! - * Generated on 2009-10-13T23:49:20-07:00 by AutoloadGenerator + * Generated on 2009-10-14T09:29:30-07:00 by AutoloadGenerator * * @package open2300 */ @@ -177,6 +177,7 @@ 'myFlashGraph'=>'modules/graphs/flash/myFlashGraph.inc', 'myGraph'=>'modules/graphs/myGraph.inc', 'myHumidityFlashGauge'=>'modules/graphs/gauge/myHumidityFlashGauge.php', +'myPressureFlashGauge'=>'modules/graphs/gauge/myPressureFlashGauge.php', 'myRainFlashGauge'=>'modules/graphs/gauge/myRainFlashGauge.php', 'myTemperatureFlashGauge'=>'modules/graphs/gauge/myTemperatureFlashGauge.php', 'NavTable'=>'external/phphtmllib/src/widgets/NavTable.inc', @@ -279,6 +280,7 @@ 'message-box-w'=>'MessageBoxWidget', 'metar'=>'MetarTextCurrentConditions', 'my-humidity-flash-gauge'=>'myHumidityFlashGauge', +'my-pressure-flash-gauge'=>'myPressureFlashGauge', 'my-rain-flash-gauge'=>'myRainFlashGauge', 'my-temperature-flash-gauge'=>'myTemperatureFlashGauge', 'nav-table'=>'NavTable', @@ -355,6 +357,7 @@ 'MessageBoxWidget'=>'message-box-w', 'MetarTextCurrentConditions'=>'metar', 'myHumidityFlashGauge'=>'my-humidity-flash-gauge', +'myPressureFlashGauge'=>'my-pressure-flash-gauge', 'myRainFlashGauge'=>'my-rain-flash-gauge', 'myTemperatureFlashGauge'=>'my-temperature-flash-gauge', 'NavTable'=>'nav-table', Added: trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php (rev 0) +++ trunk/open2300/lib/modules/graphs/gauge/myPressureFlashGauge.php 2009-10-14 16:31:36 UTC (rev 3269) @@ -0,0 +1,99 @@ +<?php + +class myPressureFlashGauge extends myFlashGauge { + + + protected $xml = ""; + + protected $date; + + protected $data_object; + + public function __construct() { + parent::__construct(); + $this->xml = <<<EOL + +<gauge> + + <!-- barometer design --> + <rect x='40' y='46' width='56' height='208' fill_color='42423D' line_thickness='8' line_color='333333' /> + <text x='0' y='0' width='136' size='14' align='center' color='999999'>P R E S S U R E</text> + <text x='12' y='26' width='200' size='14' color='cccccc'>in in</text> + +<line x1='100' y1='250' x2='104' y2='250' thickness='2' color='666666' /><text x='105' y='242' width='30' align='left' size='12' color='999999'>29.5</text><line x1='100' y1='230' x2='104' y2='230' thickness='2' color='666666' /><text x='105' y='222' width='30' align='left' size='12' color='999999'>29.6</text><line x1='100' y1='210' x2='104' y2='210' thickness='2' color='666666' /><text x='105' y='202' width='30' align='left' size='12' color='999999'>29.7</text><line x1='100' y1='190' x2='104' y2='190' thickness='2' color='666666' /><text x='105' y='182' width='30' align='left' size='12' color='999999'>29.8</text><line x1='100' y1='170' x2='104' y2='170' thickness='2' color='666666' /><text x='105' y='162' width='30' align='left' size='12' color='999999'>29.9</text><line x1='100' y1='150' x2='104' y2='150' thickness='2' color='666666' /><text x='105' y='142' width='30' align='left' size='12' color='999999'>30</text><line x1='100' y1='130' x2='104' y2='130' thickness='2' color='666666' /><text x='105' y='122' width='30' align='left' size='12' color='999999'>30.1</text><line x1='100' y1='110' x2='104' y2='110' thickness='2' color='666666' /><text x='105' y='102' width='30' align='left' size='12' color='999999'>30.2</text><line x1='100' y1='89.999999999998' x2='104' y2='89.999999999998' thickness='2' color='666666' /><text x='105' y='81.999999999998' width='30' align='left' size='12' color='999999'>30.3</text><line x1='100' y1='69.999999999997' x2='104' y2='69.999999999997' thickness='2' color='666666' /><text x='105' y='61.999999999997' width='30' align='left' size='12' color='999999'>30.4</text><line x1='32' y1='250' x2='36' y2='250' thickness='2' color='666666' /><text x='0' y='242' width='30' align='right' size='12' color='999999'>29.5</text><line x1='32' y1='230' x2='36' y2='230' thickness='2' color='666666' /><text x='0' y='222' width='30' align='right' size='12' color='999999'>29.6</text><line x1='32' y1='210' x2='36' y2='210' thickness='2' color='666666' /><text x='0' y='202' width='30' align='right' size='12' color='999999'>29.7</text><line x1='32' y1='190' x2='36' y2='190' thickness='2' color='666666' /><text x='0' y='182' width='30' align='right' size='12' color='999999'>29.8</text><line x1='32' y1='170' x2='36' y2='170' thickness='2' color='666666' /><text x='0' y='162' width='30' align='right' size='12' color='999999'>29.9</text><line x1='32' y1='150' x2='36' y2='150' thickness='2' color='666666' /><text x='0' y='142' width='30' align='right' size='12' color='999999'>30</text><line x1='32' y1='130' x2='36' y2='130' thickness='2' color='666666' /><text x='0' y='122' width='30' align='right' size='12' color='999999'>30.1</text><line x1='32' y1='110' x2='36' y2='110' thickness='2' color='666666' /><text x='0' y='102' width='30' align='right' size='12' color='999999'>30.2</text><line x1='32' y1='89.999999999998' x2='36' y2='89.999999999998' thickness='2' color='666666' /><text x='0' y='81.999999999998' width='30' align='right' size='12' color='999999'>30.3</text><line x1='32' y1='69.999999999997' x2='36' y2='69.999999999997' thickness='2' color='666666' /><text x='0' y='61.999999999997' width='30' align='right' size='12' color='999999'>30.4</text> + + <!-- barometer pointer animated only if pressure has changed --> + <scale x='44' y='250' start_scale='29.5' end_scale='41.1' direction='vertical' step='1' shake_span='0' shake_frequency='0' shadow_alpha='0'> + <rect x='44' y='50' width='48' height='200' fill_color='82827D' /> + </scale> + + <!-- current temp text --> + <text x='30' y='260' width='76' size='14' align='center' color='cccccc'>29.911in</text> + + <!-- high / low watermarks animated only if pressure has changed --> + + <move start_y_offset='0' end_y_offset='-82.2' shake_frequency='0'> + <line x1='40' y1='251' x2='44' y2='251' thickness='2' color='82827D' /> + <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='82827D' /> + </move> + <move start_y_offset='0' end_y_offset='-34.8' shake_frequency='0'> + <line x1='40' y1='251' x2='44' y2='251' thickness='2' color='82827D' /> + <line x1='92' y1='251' x2='96' y2='251' thickness='2' color='82827D' /> + </move> + + <update url='/index.php?target=my-pressure-flash-gauge' delay='300' delay_type='1' /> + +</gauge> +EOL; + } + + protected function load_data() { + $today = date("Y-m-d"); + //var_dump($today); + //$today = "2009-02-15"; + $this->date = $today; + $this->do = weatherDataObject::find("1=1 order by datetime desc limit 0,1"); + + $this->getMinMaxHumidity($today); + } + + protected function getMinMaxPressure($today = null) { + if ($today == null) { + $today = $today = date("Y-m-d"); + } + $stmt = $this->db->queryBindOneRowCache("Select min(rel_pressure) as low, max(rel_pressure) as high from weather where datetime like :date", + array(":date" => $today.'%')); + $this->low_high["low"] = $stmt->low; + $this->low_high["high"] = $stmt->high; + + return $this->temp_low_high; + } + + protected function get_high() { + $high = $this->low_high["high"]; + + return $this->translate_num($high); + } + + protected function get_low() { + $low = $this->low_high["low"]; + + return $this->translate_num($low); + } + + protected function translate_num($num) { + $absolute_low = -1; + $absolute_high = -200; + + return (-2*$num); + } + + public function render() { + $search_arr = array("XX_CURR_XX", "XX_HIGH_XX", "XX_LOW_XX"); + $replace_arr = array($this->do->get_rel_pressure(), $this->get_high(), $this->get_low()); + + $output = str_replace($search_arr, $replace_arr, $this->xml); + echo $output; + } +} +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-14 16:23:31
|
Revision: 3268 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3268&view=rev Author: hemna Date: 2009-10-14 16:23:14 +0000 (Wed, 14 Oct 2009) Log Message: ----------- updated Modified Paths: -------------- trunk/open2300/lib/modules/graphs/gauge/myHumidityFlashGauge.php Modified: trunk/open2300/lib/modules/graphs/gauge/myHumidityFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myHumidityFlashGauge.php 2009-10-14 16:21:13 UTC (rev 3267) +++ trunk/open2300/lib/modules/graphs/gauge/myHumidityFlashGauge.php 2009-10-14 16:23:14 UTC (rev 3268) @@ -22,7 +22,7 @@ <line x1='100' y1='250' x2='104' y2='250' thickness='2' color='666666' /><text x='105' y='242' width='30' align='left' size='12' color='999999'>0</text><line x1='100' y1='230' x2='104' y2='230' thickness='2' color='666666' /><text x='105' y='222' width='30' align='left' size='12' color='999999'>10</text><line x1='100' y1='210' x2='104' y2='210' thickness='2' color='666666' /><text x='105' y='202' width='30' align='left' size='12' color='999999'>20</text><line x1='100' y1='190' x2='104' y2='190' thickness='2' color='666666' /><text x='105' y='182' width='30' align='left' size='12' color='999999'>30</text><line x1='100' y1='170' x2='104' y2='170' thickness='2' color='666666' /><text x='105' y='162' width='30' align='left' size='12' color='999999'>40</text><line x1='100' y1='150' x2='104' y2='150' thickness='2' color='666666' /><text x='105' y='142' width='30' align='left' size='12' color='999999'>50</text><line x1='100' y1='130' x2='104' y2='130' thickness='2' color='666666' /><text x='105' y='122' width='30' align='left' size='12' color='999999'>60</text><line x1='100' y1='110' x2='104' y2='110' thickness='2' color='666666' /><text x='105' y='102' width='30' align='left' size='12' color='999999'>70</text><line x1='100' y1='90' x2='104' y2='90' thickness='2' color='666666' /><text x='105' y='82' width='30' align='left' size='12' color='999999'>80</text><line x1='100' y1='70' x2='104' y2='70' thickness='2' color='666666' /><text x='105' y='62' width='30' align='left' size='12' color='999999'>90</text><line x1='100' y1='50' x2='104' y2='50' thickness='2' color='666666' /><text x='105' y='42' width='30' align='left' size='12' color='999999'>100</text><line x1='32' y1='250' x2='36' y2='250' thickness='2' color='666666' /><text x='0' y='242' width='30' align='right' size='12' color='999999'>0</text><line x1='32' y1='230' x2='36' y2='230' thickness='2' color='666666' /><text x='0' y='222' width='30' align='right' size='12' color='999999'>10</text><line x1='32' y1='210' x2='36' y2='210' thickness='2' color='666666' /><text x='0' y='202' width='30' align='right' size='12' color='999999'>20</text><line x1='32' y1='190' x2='36' y2='190' thickness='2' color='666666' /><text x='0' y='182' width='30' align='right' size='12' color='999999'>30</text><line x1='32' y1='170' x2='36' y2='170' thickness='2' color='666666' /><text x='0' y='162' width='30' align='right' size='12' color='999999'>40</text><line x1='32' y1='150' x2='36' y2='150' thickness='2' color='666666' /><text x='0' y='142' width='30' align='right' size='12' color='999999'>50</text><line x1='32' y1='130' x2='36' y2='130' thickness='2' color='666666' /><text x='0' y='122' width='30' align='right' size='12' color='999999'>60</text><line x1='32' y1='110' x2='36' y2='110' thickness='2' color='666666' /><text x='0' y='102' width='30' align='right' size='12' color='999999'>70</text><line x1='32' y1='90' x2='36' y2='90' thickness='2' color='666666' /><text x='0' y='82' width='30' align='right' size='12' color='999999'>80</text><line x1='32' y1='70' x2='36' y2='70' thickness='2' color='666666' /><text x='0' y='62' width='30' align='right' size='12' color='999999'>90</text><line x1='32' y1='50' x2='36' y2='50' thickness='2' color='666666' /><text x='0' y='42' width='30' align='right' size='12' color='999999'>100</text> <!-- humidity gauge pointer animated only if humidity has changed--> - <scale x='44' y='250' start_scale='0' end_scale='96' direction='vertical' step='1' shake_span='0' shake_frequency='0' shadow_alpha='0'> + <scale x='44' y='250' start_scale='0' end_scale='XX_CURR_XX' direction='vertical' step='1' shake_span='0' shake_frequency='0' shadow_alpha='0'> <rect x='44' y='50' width='48' height='200' fill_color='87eee1' /> </scale> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-14 16:21:33
|
Revision: 3267 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3267&view=rev Author: hemna Date: 2009-10-14 16:21:13 +0000 (Wed, 14 Oct 2009) Log Message: ----------- more changes Modified Paths: -------------- trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php Modified: trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php =================================================================== --- trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php 2009-10-14 16:17:18 UTC (rev 3266) +++ trunk/open2300/lib/modules/graphs/gauge/myTemperatureFlashGauge.php 2009-10-14 16:21:13 UTC (rev 3267) @@ -42,7 +42,7 @@ <line x1='32' y1='208' x2='36' y2='208' thickness='2' color='666666' /><text x='0' y='200' width='30' align='right' size='12' color='999999'>5</text><line x1='32' y1='190' x2='36' y2='190' thickness='2' color='666666' /><text x='0' y='182' width='30' align='right' size='12' color='999999'>10</text><line x1='32' y1='172' x2='36' y2='172' thickness='2' color='666666' /><text x='0' y='164' width='30' align='right' size='12' color='999999'>15</text><line x1='32' y1='154' x2='36' y2='154' thickness='2' color='666666' /><text x='0' y='146' width='30' align='right' size='12' color='999999'>20</text><line x1='32' y1='136' x2='36' y2='136' thickness='2' color='666666' /><text x='0' y='128' width='30' align='right' size='12' color='999999'>25</text><line x1='32' y1='118' x2='36' y2='118' thickness='2' color='666666' /><text x='0' y='110' width='30' align='right' size='12' color='999999'>30</text><line x1='32' y1='100' x2='36' y2='100' thickness='2' color='666666' /><text x='0' y='92' width='30' align='right' size='12' color='999999'>35</text><line x1='32' y1='82' x2='36' y2='82' thickness='2' color='666666' /><text x='0' y='74' width='30' align='right' size='12' color='999999'>40</text><line x1='32' y1='64' x2='36' y2='64' thickness='2' color='666666' /><text x='0' y='56' width='30' align='right' size='12' color='999999'>45</text> <!-- thermometer pointer animated only if temperature has changed --> - <scale x='44' y='250' start_scale='0' end_scale='37.3' direction='vertical' step='1' shake_span='0' shake_frequency='0' shadow_alpha='0'> + <scale x='44' y='250' start_scale='0' end_scale='XX_TEMP_XX' direction='vertical' step='1' shake_span='0' shake_frequency='0' shadow_alpha='0'> <rect x='44' y='50' width='48' height='200' fill_color='ff0000' /> </scale> @@ -108,8 +108,9 @@ } public function render() { - $search_arr = array("XX_CURR_TEMP_XX", "XX_HIGH_TEMP_XX", "XX_LOW_TEMP_XX"); - $replace_arr = array($this->do->get_temp_out(), $this->get_high(), $this->get_low()); + $search_arr = array("XX_CURR_TEMP_XX", "XX_TEMP_XX", "XX_HIGH_TEMP_XX", "XX_LOW_TEMP_XX"); + $replace_arr = array($this->do->get_temp_out(), ($this->do->get_temp_out()-20), + $this->get_high(), $this->get_low()); $output = str_replace($search_arr, $replace_arr, $this->xml); echo $output; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |