Arnish Point Lighthouse, Stornoway Harbour, Scotland
JOIN OUR MAILING LIST
Stay up to date with the latest News and Updates
Risk
rowcount($sheet_index=0); $rowcount2 = $data->rowcount($sheet_index=8); //echo $rowcount; //getDataRAV($data, $rowcount); //echo "
"; //getDataSPTSX($data, $rowcount); //echo "
"; //getDataX($data, $rowcount); /* function getChartHead($data, $rowcount) { return $data->val(1,1); } function getDataRAV($data, $rowcount) { for ($i=3; $i <= $rowcount; $i++) { echo "" . $data->val($i,2) . ""; if($i < $rowcount) { echo ","; } } } function getDataSPTSX($data, $rowcount) { for ($i=3; $i <= $rowcount; $i++) { echo "" . $data->val($i,3) . ""; if($i < $rowcount) { echo ","; } } } function getDataX($data, $rowcount) { for ($i=3; $i <= $rowcount; $i++) { echo "'" . $data->val($i,1) . "'"; if($i < $rowcount) { echo ","; } } } */ function getData2($data, $rowcount2) { $ret = ""; $ret .= ""; $ret .= ""; for ($i=2; $i <= $rowcount2; $i++) { if($i==2) { $rstyle = "margin-left:5px;font-weight:bold;color:#000000"; } elseif ($i==3) { $rstyle = "margin-left:5px;font-weight:bold;color:#DA9100;"; } else { $rstyle = "margin-left:5px;"; } $ret .= "" . "" . "" . "" . "" . ""; } $ret .= "
" . $data->val(1,1,8) . "
" . $data->val($i,1,8) . "" . str_replace("*","",$data->val($i,2,8)) . "" . str_replace("(1)","(1)",$data->val($i,3,8)) . "" . str_replace("(2)","(2)",$data->val($i,4,8)) . "
"; return $ret; } ?>