\"apply_online\"

"; ?> "; //$url = "http://www.newslookup.com/rss/business/bloomberg.rdf"; //$url = "http://rss.news.yahoo.com/rss/business"; //URL for Yahoo business //$url = "http://feeds.reuters.com/reuters/businessNews"; //$displayname = "Reuters News
"; //$number = 4; //$trunc = 40; //$delim = "<"; //include 'rss_get.php'; echo ""; //$displayname = "Yahoo "; //$url = "http://www.nytimes.com/services/xml/rss/nyt/Business.xml"; //URL for NY Times //$url = "http://www.nytimes.com/services/xml/rss/nyt/YourMoney.xml"; //$url="http://feeds.sfgate.com/sfgate/rss/feeds/business"; //$url= "http://finance.yahoo.com/rss/mortgages"; //$displayname = "New York Times
"; //$number = 4; //$trunc = 40; //$delim = "<"; //include 'rss_get.php'; echo "
"; ?>
"; //$url = "http://rss.cnn.com/rss/money_latest.rss"; //$displayname = "CNN"; echo " "; $url="http://feeds.sfgate.com/sfgate/rss/feeds/business"; //$url = "http://rss.news.yahoo.com/rss/business"; //URL for Yahoo business $displayname = "S.F. Chronicle"; $number = 4; $trunc = 40; $delim = "<"; //include 'rss_get.php'; chip echo " "; $weekday = array ("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Friday" ); $hourdiff = "-3"; // hours difference between server time and local time $timeadjust = ($hourdiff * 60 * 60); $today= date("l",time() + $timeadjust); //$today = date('l'); //echo $today; $nextbizdayindex = 0; $i = 0; while ($i < sizeof ($weekday) ) { if ($today == $weekday[$i]) // 4 { $nextbizdayindex = $i + 1 ; //echo $nextbizdayindex; if ($nextbizdayindex > 4) { $nextbizdayindex = 0; } } $i++; }// close while //echo "next business day is "; //echo $weekday[$nextbizdayindex]; $hour = date ('G'); /* if (($hour > 16) && ($hour < 22)) { echo "

The rate lock window is now closed. Rate locks are generally available between the hours of 8:00 AM and 4:00 PM "; } */ //$filename = 'protected/commentarydata'; //$filename = "//boswinfs02/home/users/web/b1701/ez.mleaver/\\data\\commentarydata" ; $filename = "data/commentarydata" ; $olddate = date ('U', filemtime($filename)); $newdate = date('U'); $diff = $newdate - $olddate; $hours_old = $diff/3600; $hour = $hour - 3; $hourdiff = "-3"; // hours difference between server time and local time $timeadjust = ($hourdiff * 60 * 60); $hour= date("G",time() + $timeadjust); //include ("commentarytempdataV3.txt"); //include ("protected/commentarydata"); $day = date('w'); // day of week as single digit 0-6 0-sun, 1-mon,2-tue,3-wed,4-thur,5-fri if (($day > 0) && ($day < 6)) // open if it is a Mon-Fri { if (($hour >= 0) && ($hour < 10)) // now it is between midnight and 10 in the the morning ... { if ($hours_old < 12) // if commentary is less than 10 hours old (I did a morning update) { echo "

Mortgage News and Commentary
Mark Leaver, Mortgage Broker
Click Here For Email Contact Form or Text to 650.924.1244



"; //include ("//boswinfs02/home/users/web/b1701/ez.mleaver/\\data\\commentarydata"); include ("data/commentarydata"); } else { echo "



Welcome to the Loanlane web site, your best source for current real-time mortgage information. In compliance with the SAFE Mortgage Licensing Act Loanlane is licensed as a National Mortgage Loan Specialist, NMLS ID#278620. This web site is current as of "; echo date ("l, F jS. "); echo "Rates are due to be updated by 9:00 AM "; } } if (($hour >= 10) && ($hour < 21)) // between 10 am and 9 PM { if ($hours_old < 12) // if commentary is less than 10 hours old (I did a morning update) { echo "

Mortgage News and Commentary
Mark Leaver, Mortgage Broker (facebook)
Click Here For Email Contact Form or Text to 650.924.1244



"; include ("data/commentarydata"); echo" Thinking of refinancing? Here's a brief summary on what to expect, and here's a list of the typical forms."; } } if (($hour >= 21) && ($hour <= 23)) // after 4:00 PM and before Midnight { if ($hours_old < 12) // if commentary is less than 10 hours old (I did a morning update) { echo "

Mortgage News and Commentary
Mark Leaver, Mortgage Broker (facebook)
Click Here For Email Contact Form or Text to 650.924.1244

"; //include ("\\boswinfs02\home\users\web\b1701\ez.mleaver\\data\\commentarydata"); include ("data/commentarydata"); } echo "

The rate lock window is now closed. Rate locks are generally available between the hours of 9:00 AM and 5:00 PM. Applications for mortgage approval can be submitted anytime by going here.

Rates are due to be updated ".$weekday[$nextbizdayindex]. " morning by 9:00 AM "; } } // close if it is a Mon-Fri if (($day == 0) || ($day == 6)) // Sunday (0) or Sat (6) { echo "



Welcome to the Loanlane web site, your best source for current real-time mortgage information. In compliance with the SAFE Mortgage Licensing Act Loanlane is licensed as a National Mortgage Loan Specialist, NMLS ID#278620. This web site is current as of "; echo date ("l, F jS. "); echo "

The rate lock window is now closed. Rate locks are generally available between the hours of 9:00 AM and 5:00 PM, Monday through Friday. Applications for mortgage approval can be submitted anytime by going here.

Rates are due to be updated Monday morning by 9:00 AM Pacific Standard Time.

Thinking of refinancing? Here are the typical forms."; } /* $filename = 'protected/commentarydata'; $olddate = date ('U', filemtime($filename)); $newdate = date('U'); $diff = $newdate - $olddate; $hours = $diff/3600; */ //if (file_exists($filename)) //{ //echo "$filename was last modified: " . date ("F d Y H:i:s.", filemtime($filename)); //} /* $diff = $newdate - $olddate; echo "
"; echo "diff :".$diff; echo "
"; echo "Minutes since: ".$diff/60; echo "
"; echo "Hours since: ".$diff/3600; */ echo "

"; include ("maxmind_temp2A.php"); //if ($city == "Washington") //{ //$count_my_page = ("hitcounter.txt"); // $fp = fopen($count_my_page , "a"); // fputs($fp , "$ipaddress"); // fputs($fp , "<-- dc main page \r\n\r\n"); // fclose($fp); //} //if ($city == "New York") //{ //$count_my_page = ("hitcounter.txt"); // $fp = fopen($count_my_page , "a"); // fputs($fp , "$ipaddress"); // fputs($fp , "<--ny main page \r\n\r\n"); // fclose($fp); //} echo "



"; echo ""; //include ("ratestempdataV5.HTML"); //include ("\\boswinfs02\home\users\web\b1701\ez.mleaver\\data\\rates"); include ("data/rates"); include ("footer.inc"); ?>