生产 getfirst($eeesql); echo "--- ".$xbc['yibc'].""; } ?>

query("select distinct(yibc),yibcid from zx_sc"); while($row=$db->getarray($result)){ echo "".$row['yibc']." "; } echo "

"; if($c){ $result1 = $db->query("select distinct(yilc),yilcid from zx_sc where yilcid=$c"); $d2j=''; $i=0; while($row1=$db->getarray($result1)){ $d2j.= "".$row1['yilc']." "; $i=$i+1; } } if($i>1)echo "

".$d2j."

"; //分页 //echo $where1."+++++++"; if($c){ $where1=' where yibcid='.$c.''; $where[]='yibcid='.$c.''; } $count=$db->getcount("select * from zx_sc".$where1); $where[]="yibcid != ''"; //取表的数据 //$plussql=' LIMIT '.$start.','.$perpage; //$listarr = selecttable('50_eq', array(), $where, $plussql); $plussql='order by yid desc LIMIT '.$start.','.$perpage.''; $listarr = selecttable2('zx_sc', array(), $where, $plussql); /* $burl="http://".$_SERVER ['HTTP_HOST'].$_SERVER['REQUEST_URI']; $parse_url=parse_url($burl); $url_query=$parse_url["query"]; if($url_query)$burl=ereg_replace('[&?]b=[0-9]','',$burl); $burl .= strpos($burl, '?') ? '&' : '?'; */ $para_str ="?"; $paras = array(); if($m){ $paras[] ="m={$m}"; } if($z){ $paras[]="z={$z}"; } if($c){ $paras[]="c={$c}"; } if($b){ $paras[]="b={$b}"; } if($x){ $paras[]="x={$x}"; } if($i_){ $paras[]="i={$i_}"; } if($i2_){ $paras[] = "i2={$i2_}"; } if($n_){ $paras[] = "name={$n_}"; } if($lc){ $paras[] = "lc={$lc}"; } if($page){ $paras[] = "page={$page}"; } $para_str .= implode("&",$paras);; $mpurl="http://".$_SERVER ['HTTP_HOST']. $_SERVER['SCRIPT_NAME'].$para_str; ?>
300){ $count2=300; }else{ $count2=$count; } //echo 11111; //var_dump($_GET); echo multi($count2, $perpage, $page, $mpurl); ?>
"; } ?>
生产名称 生产类别 生成物品数目
".$listvalue['yiname']." ".$listvalue['yibc']." ".$scwp['name'].":".$listvalue['yismxx1']."-".$listvalue['yismsx1']."