get_elements_by_tagname("entry"); foreach($entries as $entry) { $story_array[$counter] = new xml_story(); $element = $entry; $titles = $element->get_elements_by_tagname("title"); $title = $titles[0]; $story_array[$counter]->headline = $title->get_content(); $publish = $element->get_elements_by_tagname("published"); $date = $publish[0]; $story_array[$counter]->date = getDateFormat($date->get_content()); $content = $element->get_elements_by_tagname("content"); $description = $content[0]; $story_array[$counter]->description = $description->get_content(); $links = $element->get_elements_by_tagname("link"); $link = $links[0]; $href = $link->get_attribute_node("href"); $story_array[$counter]->href = $href->value(); $counter++; $labels = $element->get_elements_by_tagname("category"); foreach($labels as $label){ $labelTerm = $label->get_attribute_node("term"); $flag = 0; for($x = 0; $x < sizeof($labelArray); $x++){ if($labelArray[$x]['label'] == $labelTerm->value()){ $labelArray[$x]['num']++; $flag = 1; break; } } if($flag == 0){ $tempArray = array(); $tempArray['label'] = $labelTerm->value(); $tempArray['num'] = 1; $labelArray[sizeof($labelArray)] = $tempArray; } } } function getDateFormat($stamp){ $T = strrpos($stamp,"T"); $date = substr($stamp,0,$T); $year = substr($date,0,4); $month = substr($date,5,2); $day = substr($date,8,2); $time = substr($stamp,$T); $hour = substr($time,1,2); $min = substr($time,4,2); $format = "F jS, Y g:ia"; return date($format, mktime($hour, $min, 0, $month, $day, $year)); } ?> Welcome to SHINE TV! - SHINE TV by Lightship Mutual

'; } ?>
   Learn about SHINE TV      


Welcome to SHINE TV!


It's with great pleasure that we announce our newest online venture...SHINE TV.

You've kept it a secret until now...but we know all about your love affair with online video, and we also know how frustrated you feel with the lack of access to professional financial advice. Our goal is to provide a dedicated channel for you to ask those nagging questions and to get specific answers relating to saving, investing, major life events, and all of your other financial goals.

In fact, we strongly encourage you subscribe to SHINE TV so you'll get first dibs on each episode. Be sure to also send us your questions so that we may answer them in upcoming videos. You can learn more about the various ways to submit your inquiries to us by clicking the "Learn About SHINE TV" link above.

Oh, and while you're here, we have a special message. Take a look...

Labels:

Comments:
Good stuff guys...looking forward to more videos. Very helpful (and timely) right now w/ the econ. crashing.
-----
 
Thanks, Justin. I appreciate your insight and forthrightness. -mariat
-----
 
Post a Comment


View Additional Blog Entries





   Services    •    Community Forum   •   SHINE TV™   •   Contact Us   •   About Us   

Copyright © 2008, Lightship Mutual LLC. All Rights Reserved.   •  Media Relations  •   Privacy and Disclosure

CFP®, CERTIFIED FINANCIAL PLANNER™ and CFP (with flame logo) are certification marks owned by Certified Financial Planner Board of Standards Inc.  These marks are awarded to individuals who successfully complete CFP Board's initial and ongoing certification requirements.