selectData($sql_select,$sql_table,$sql_where,$sql_order,$sql_limit); $str_newsmain = ""; if (@mysql_num_rows($sql_result) > 0) { if ($r = @mysql_fetch_array($sql_result)) { $title = $common->outputString($r["title"]); $summary = $common->outputString($r["summary"]); $content = $common->outputString($r["content"]); $postdate = $r["postdate"]; $image = $common->showImageDetail($r["pathimage"],"",$width=200,"align='left'"); $image = $common->showImage($r["pathimage"],$width=90,""); $str_newsmain = "
$title
$image $summary $content
"; } } @mysql_free_result($sql_result); } ?>