'".$date["pre"]."-01' and a_time < '".$date["after"]."-01' and a_type = ".ARTICLE_WATCH_FROG." and a_state = 1 order by a_time desc limit 0,6"; $frogdb->runsql($sql_frogwatch); $result_frogwatch = $frogdb->data; $count = 0; $frogwatch_str = ""; while($frogwatch = mysql_fetch_array($result_frogwatch)) { $img_html = strip_tags($frogwatch["a_content"],""); if($img_html == "") {$img_src = "lib/no_graph.png";} else { $img_src = get_first_img($img_html); if($img_src == "") {$img_src = "lib/no_graph.png";} } $frogwatch_str .= '
  • '; $a_gps[] = $frogwatch["a_gps_e"].",".$frogwatch["a_gps_n"]; $a_id[] = $frogwatch["a_id"]; $count++; } while($count < 6) { $frogwatch_str .= '
  • '; $count++; } ?>

    '.$issue["a_title"][$i].'
    ';} else {echo ''.$issue["a_title"][$i].'
    ';} } } else {echo "目前還沒有,等待你來分享喔";} ?>


      runsql("select * from blog_official_category order by oc_order asc;"); $result_oc = $frogdb->data; $div_str = ''; while($oc = mysql_fetch_array($result_oc)) { echo '
    • '.$oc["oc_name"].'
    • '; $div_str .= '
      '; $div_str .=' '; #搜尋該分類最新文章 $div_str .='
      '; $div_str .= ''; #搜尋該分類熱門文章 $div_str .= '
      '; $div_str .= ''; $div_str .= '
      '; } ?>