diff --git a/familyhistory/index.html b/familyhistory/index.html new file mode 100644 index 0000000..fc012d3 --- /dev/null +++ b/familyhistory/index.html @@ -0,0 +1,78 @@ + + + + +Family History + + + +
+ +

Family History

+
+
+
+
+

Pictures and Videos

+ + +

Articles and Documents

+ +
+ + + + diff --git a/familyhistory/slideshow/index.php b/familyhistory/slideshow/index.php new file mode 100644 index 0000000..1587b14 --- /dev/null +++ b/familyhistory/slideshow/index.php @@ -0,0 +1,175 @@ + 5.0 +*/ +// set the absolute path to the directory containing the images +define('IMGDIR2', '/home/members/jelkner/sites/elkner.net/users/jelkner/web/familyhistory/slideshow/photos/'); +// same but for www +define('WEBIMGDIR2', 'https://elkner.net/familyhistory/slideshow/photos/'); +// set session name for slideshow "cookie" +define('SS_SESSNAME2', 'slideshow_sess2'); +// global error variable +$err = ''; +// start img session +session_name(SS_SESSNAME2); +session_start(); +// init slideshow class +$ss = new slideshow($err); +if (($err = $ss->init()) != '') +{ + header('HTTP/1.1 500 Internal Server Error'); + echo $err; + exit(); +} +// get image files from directory +$ss->get_images(); +// set variables, done. +list($curr, $caption, $first, $prev, $next, $last) = $ss->run(); +/* +slideshow class, can be used stand-alone +*/ +class slideshow +{ + private $files_arr = NULL; + private $err = NULL; + + public function __construct(&$err) + { + $this->files_arr = array(); + $this->err = $err; + } + public function init() + { + // run actions only if img array session var is empty + // check if image directory exists + if (!$this->dir_exists()) + { + return 'Error retrieving images, missing directory'; + } + return ''; + } + public function get_images() + { + // run actions only if img array session var is empty + if (isset($_SESSION['imgarr'])) + { + $this->files_arr = $_SESSION['imgarr']; + } + else + { + if ($dh = opendir(IMGDIR2)) + { + while (false !== ($file = readdir($dh))) + { + if (preg_match('/^.*\.(jpg|jpeg|gif|png)$/i', $file)) + { + $this->files_arr[] = $file; + } + } + closedir($dh); + } + $_SESSION['imgarr'] = $this->files_arr; + } + } + public function run() + { + $curr = 1; + $last = count($this->files_arr); + if (isset($_GET['img'])) + { + if (preg_match('/^[0-9]+$/', $_GET['img'])) $curr = (int) $_GET['img']; + if ($curr <= 0 || $curr > $last) $curr = 1; + } + if ($curr <= 1) + { + $prev = $curr; + $next = $curr + 1; + } + else if ($curr >= $last) + { + $prev = $last - 1; + $next = $last; + } + else + { + $prev = $curr - 1; + $next = $curr + 1; + } + // line below sets the caption name... + $caption = str_replace('-', ' ', $this->files_arr[$curr - 1]); + $caption = str_replace('_', ' ', $caption); + $caption = preg_replace('/\.(jpe?g|gif|png)$/i', '', $caption); + $caption = ucfirst($caption); + return array($this->files_arr[$curr - 1], $caption, 1, $prev, $next, $last); + } + private function dir_exists() + { + return file_exists(IMGDIR2); + } +} +?> + + + + + +Slideshow + + + + + + diff --git a/familyhistory/slideshow/photos/egg_harbor_high_school_seniors_mount_veronon_june_14_1929.jpg b/familyhistory/slideshow/photos/egg_harbor_high_school_seniors_mount_veronon_june_14_1929.jpg new file mode 100644 index 0000000..bbd6b1b Binary files /dev/null and b/familyhistory/slideshow/photos/egg_harbor_high_school_seniors_mount_veronon_june_14_1929.jpg differ diff --git a/heleneyoung/documents/ProjectWithAnOlderAdult_BarbaraReynolds_2007-06-12.odt b/heleneyoung/documents/ProjectWithAnOlderAdult_BarbaraReynolds_2007-06-12.odt new file mode 100644 index 0000000..17863b4 Binary files /dev/null and b/heleneyoung/documents/ProjectWithAnOlderAdult_BarbaraReynolds_2007-06-12.odt differ diff --git a/heleneyoung/documents/ProjectWithAnOlderAdult_BarbaraReynolds_2007-06-12.pdf b/heleneyoung/documents/ProjectWithAnOlderAdult_BarbaraReynolds_2007-06-12.pdf new file mode 100644 index 0000000..6e9f6c1 Binary files /dev/null and b/heleneyoung/documents/ProjectWithAnOlderAdult_BarbaraReynolds_2007-06-12.pdf differ diff --git a/heleneyoung/documents/ProjectWithAnOlderAdult_BarbaraReynolds_2007-06-12_original.pdf b/heleneyoung/documents/ProjectWithAnOlderAdult_BarbaraReynolds_2007-06-12_original.pdf new file mode 100644 index 0000000..610a131 Binary files /dev/null and b/heleneyoung/documents/ProjectWithAnOlderAdult_BarbaraReynolds_2007-06-12_original.pdf differ diff --git a/heleneyoung/documents/country_biking.txt b/heleneyoung/documents/country_biking.txt new file mode 100644 index 0000000..3958acb --- /dev/null +++ b/heleneyoung/documents/country_biking.txt @@ -0,0 +1,62 @@ +Country Biking +============== + +A cool, fresh breeze, +Scented by green pine trees, +A warm sun on high +In a blue and white sky. + +These are the things that make my day +As I bike merrily along my way, +Seeking the quiet rural by-wasy, +Avoiding the noisy congested highways. + +There's a feeling of freedom beyond compare +When you're riding through the fresh country air, +Gliding along like a bird in flight +On a day that is pleasant, calm and bright. + +When weather conditions are not the best, +Meet the challenge and take the test. +Afer facing the wind and cold, +You'll feel you've earned the Olympic gold. + +Of course it helps when the roads are free +Of potholes, glass and other debris, +If dogs remain in their own domain +And drivers of cars are sober and sane. + +In winter when the cold winds blow, +Warmer clothing is needed, you'll know, +But when roads are free of ice and snow, +Biking is still the way to go. + +And when at last the spring breaks through, +Nature blossoms forth anew. +It's great to ride through April showers, +Knowing that soon they'll bring May flowers. + +In summer when the days grow hot, +Morning and evening hours are not. +Then biking joy is at it's height +With waking birds and pale moonlight. + +In autumn when the leaves change hue, +The glory of nature comes into view. +All your troubles will soon take flight +In the presence of such a wondrous sight. + +If your spirits are low or your patience is tried, +Hop on your bike and go for a ride. +Greeting friends along the way +Will help to brighten your day. + +And when you tire of jogging and hiking, +Try a little country biking. +Good for your body and good for your mind, +Recreation of the finest kind. + +Other sports may have more clout, +But for me, without a doubt, +In winter, summer, spring or fall, +Country biking is best of all. diff --git a/heleneyoung/index.html b/heleneyoung/index.html new file mode 100644 index 0000000..d00fe99 --- /dev/null +++ b/heleneyoung/index.html @@ -0,0 +1,92 @@ + + + + +Helene Young + + + +
+Still smiling at 105 +

Helene Young (1915-2021)

+
+In loving memory of Helene Young, know to many of us as Mom-mom, who as +the wonderfully eccentric matriach of our family, supported us, guided us, and +inspired us. Her memory will always be present in our thoughts, and our love +for her will always be present in our hearts. +
+
+
+

Pictures and Videos

+ + +

Articles and Documents

+ +
+ + + + diff --git a/heleneyoung/resources/links.txt b/heleneyoung/resources/links.txt new file mode 100644 index 0000000..32cfbee --- /dev/null +++ b/heleneyoung/resources/links.txt @@ -0,0 +1,5 @@ +Peace Pilgrim Speaking to College Class +https://www.youtube.com/watch?v=6CAsjZqYPME + +PHP image slideshow auto +https://youtu.be/9QKAIWGrFnY diff --git a/heleneyoung/slideshow/index.php b/heleneyoung/slideshow/index.php new file mode 100644 index 0000000..bc36e75 --- /dev/null +++ b/heleneyoung/slideshow/index.php @@ -0,0 +1,175 @@ + 5.0 +*/ +// set the absolute path to the directory containing the images +define('IMGDIR', '/home/members/jelkner/sites/elkner.net/users/jelkner/web/heleneyoung/slideshow/photos/'); +// same but for www +define('WEBIMGDIR', 'https://elkner.net/heleneyoung/slideshow/photos/'); +// set session name for slideshow "cookie" +define('SS_SESSNAME', 'slideshow_sess'); +// global error variable +$err = ''; +// start img session +session_name(SS_SESSNAME); +session_start(); +// init slideshow class +$ss = new slideshow($err); +if (($err = $ss->init()) != '') +{ + header('HTTP/1.1 500 Internal Server Error'); + echo $err; + exit(); +} +// get image files from directory +$ss->get_images(); +// set variables, done. +list($curr, $caption, $first, $prev, $next, $last) = $ss->run(); +/* +slideshow class, can be used stand-alone +*/ +class slideshow +{ + private $files_arr = NULL; + private $err = NULL; + + public function __construct(&$err) + { + $this->files_arr = array(); + $this->err = $err; + } + public function init() + { + // run actions only if img array session var is empty + // check if image directory exists + if (!$this->dir_exists()) + { + return 'Error retrieving images, missing directory'; + } + return ''; + } + public function get_images() + { + // run actions only if img array session var is empty + if (isset($_SESSION['imgarr'])) + { + $this->files_arr = $_SESSION['imgarr']; + } + else + { + if ($dh = opendir(IMGDIR)) + { + while (false !== ($file = readdir($dh))) + { + if (preg_match('/^.*\.(jpg|jpeg|gif|png)$/i', $file)) + { + $this->files_arr[] = $file; + } + } + closedir($dh); + } + $_SESSION['imgarr'] = $this->files_arr; + } + } + public function run() + { + $curr = 1; + $last = count($this->files_arr); + if (isset($_GET['img'])) + { + if (preg_match('/^[0-9]+$/', $_GET['img'])) $curr = (int) $_GET['img']; + if ($curr <= 0 || $curr > $last) $curr = 1; + } + if ($curr <= 1) + { + $prev = $curr; + $next = $curr + 1; + } + else if ($curr >= $last) + { + $prev = $last - 1; + $next = $last; + } + else + { + $prev = $curr - 1; + $next = $curr + 1; + } + // line below sets the caption name... + $caption = str_replace('-', ' ', $this->files_arr[$curr - 1]); + $caption = str_replace('_', ' ', $caption); + $caption = preg_replace('/\.(jpe?g|gif|png)$/i', '', $caption); + $caption = ucfirst($caption); + return array($this->files_arr[$curr - 1], $caption, 1, $prev, $next, $last); + } + private function dir_exists() + { + return file_exists(IMGDIR); + } +} +?> + + + + + +Slideshow + + + + + + diff --git a/heleneyoung/slideshow/photos/dancing_with_roxana_at_100_bday.jpg b/heleneyoung/slideshow/photos/dancing_with_roxana_at_100_bday.jpg new file mode 100644 index 0000000..c23be5a Binary files /dev/null and b/heleneyoung/slideshow/photos/dancing_with_roxana_at_100_bday.jpg differ diff --git a/heleneyoung/slideshow/photos/highway_pickup.jpg b/heleneyoung/slideshow/photos/highway_pickup.jpg new file mode 100644 index 0000000..859cbfd Binary files /dev/null and b/heleneyoung/slideshow/photos/highway_pickup.jpg differ diff --git a/heleneyoung/slideshow/photos/mommom_and_ken.jpg b/heleneyoung/slideshow/photos/mommom_and_ken.jpg new file mode 100644 index 0000000..e23b37f Binary files /dev/null and b/heleneyoung/slideshow/photos/mommom_and_ken.jpg differ diff --git a/heleneyoung/slideshow/photos/on_bike_no_hands.jpg b/heleneyoung/slideshow/photos/on_bike_no_hands.jpg new file mode 100644 index 0000000..f19c247 Binary files /dev/null and b/heleneyoung/slideshow/photos/on_bike_no_hands.jpg differ diff --git a/heleneyoung/slideshow/photos/still_smiling_at_105.jpg b/heleneyoung/slideshow/photos/still_smiling_at_105.jpg new file mode 100644 index 0000000..efaa932 Binary files /dev/null and b/heleneyoung/slideshow/photos/still_smiling_at_105.jpg differ diff --git a/heleneyoung/slideshow/photos/talking_with_arnie_at_100_bday.jpg b/heleneyoung/slideshow/photos/talking_with_arnie_at_100_bday.jpg new file mode 100644 index 0000000..fba066a Binary files /dev/null and b/heleneyoung/slideshow/photos/talking_with_arnie_at_100_bday.jpg differ diff --git a/heleneyoung/slideshow/photos/toasting_with_sandy_100_bday.jpg b/heleneyoung/slideshow/photos/toasting_with_sandy_100_bday.jpg new file mode 100644 index 0000000..e27bef2 Binary files /dev/null and b/heleneyoung/slideshow/photos/toasting_with_sandy_100_bday.jpg differ diff --git a/heleneyoung/slideshow/photos/with_bear_at_105.jpg b/heleneyoung/slideshow/photos/with_bear_at_105.jpg new file mode 100644 index 0000000..fdcec25 Binary files /dev/null and b/heleneyoung/slideshow/photos/with_bear_at_105.jpg differ diff --git a/heleneyoung/slideshow/photos/with_jeff_2020.jpg b/heleneyoung/slideshow/photos/with_jeff_2020.jpg new file mode 100644 index 0000000..d42b051 Binary files /dev/null and b/heleneyoung/slideshow/photos/with_jeff_2020.jpg differ diff --git a/heleneyoung/slideshow/photos/with_ken_at_piano.jpg b/heleneyoung/slideshow/photos/with_ken_at_piano.jpg new file mode 100644 index 0000000..164d519 Binary files /dev/null and b/heleneyoung/slideshow/photos/with_ken_at_piano.jpg differ diff --git a/heleneyoung/slideshow/photos/with_louie_dec_29_2020.jpg b/heleneyoung/slideshow/photos/with_louie_dec_29_2020.jpg new file mode 100644 index 0000000..100c6bd Binary files /dev/null and b/heleneyoung/slideshow/photos/with_louie_dec_29_2020.jpg differ diff --git a/heleneyoung/slideshow/photos/with_osvaldo_jeff_100_bday.jpg b/heleneyoung/slideshow/photos/with_osvaldo_jeff_100_bday.jpg new file mode 100644 index 0000000..f069e15 Binary files /dev/null and b/heleneyoung/slideshow/photos/with_osvaldo_jeff_100_bday.jpg differ diff --git a/heleneyoung/slideshow/photos/with_roxana_at_eggharbor_diner.jpg b/heleneyoung/slideshow/photos/with_roxana_at_eggharbor_diner.jpg new file mode 100644 index 0000000..cdf53ab Binary files /dev/null and b/heleneyoung/slideshow/photos/with_roxana_at_eggharbor_diner.jpg differ diff --git a/heleneyoung/slideshow/photos/with_roxana_osvaldo_jeff_100_bday.jpg b/heleneyoung/slideshow/photos/with_roxana_osvaldo_jeff_100_bday.jpg new file mode 100644 index 0000000..ca6198d Binary files /dev/null and b/heleneyoung/slideshow/photos/with_roxana_osvaldo_jeff_100_bday.jpg differ diff --git a/heleneyoung/unsorted/mommom.jpg b/heleneyoung/unsorted/mommom.jpg new file mode 100644 index 0000000..79b5e41 Binary files /dev/null and b/heleneyoung/unsorted/mommom.jpg differ