<?php
$str="";
$book=get_rows('',"tbPN,tbPONumber,tbProductName,tbModelNO,tbClientPONo,tbShippingQty,tbSerialNO,tbRemark,tbSampleSize,tbSpec,tbPiece","`tbPONumber`='".$tbPONumber."' ","reports","tbPN");
if($book!='')
{
			 foreach($book as $v)
			 {
			 $str.="<div class='b_line'><li style='width:150px;'> &nbsp; ".$v['tbProductName']." &nbsp; </li><li style='width:330px;'> &nbsp; ".$v['tbModelNO']." &nbsp; </li><li style='width:75px;'> &nbsp; ".$v['tbClientPONo']." &nbsp; </li><li> &nbsp; ".$v['tbShippingQty']." &nbsp; </li><li> &nbsp; ".$v['tbSampleSize']." &nbsp; </li><li style='width:240px;'> &nbsp; ".$v['tbSerialNO']." &nbsp; </li><li> &nbsp; ".$v['tbSpec']." &nbsp; </li><li> &nbsp; ".$v['tbPiece']." &nbsp; </li><li style='width:75px;'> &nbsp; ".$v['tbRemark']." &nbsp; </li><li style='width:80px;'><img src='pics/edit.png' onclick=\"edititem('".$pre."','".$v['tbPONumber']."','".$v['tbPN']."');\" title='Edit(编辑)' style='cursor:pointer;' />&nbsp;&nbsp;<img src='pics/remove.png' onclick=\"delitem('".$pre."','".$v['tbPONumber']."','".$v['tbPN']."');\" title='Remove(删除)' style='cursor:pointer;' /></li></div>";
			 }
}
//echo $str;
?>