Function edit() { $subproductid = isset($_REQUEST["subproductid"]) ? intval($_REQUEST["subproductid"]) : 0; if ($subproductid ==0) { $subproductid = isset($_REQUEST["pID"]) ? intval($_REQUEST["pID"]) : 0; } $select = "select * from family_product where subproductid = '$subproductid'"; echo $select; $query = tep_db_query($select); $blades[] = array('id' => '+blades', 'text' => '+Blades'); $blades[] = array('id' => 'null', 'text' => 'null'); print "\n"; print "\n"; print "add subproduct\n"; print "\n"; print "\n"; print "\n"; print "
\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "
family image" . tep_draw_file_field("family_picture") . "
family Pic Large for Popup" . tep_draw_file_field("family_pic_large") . "
family desc" . tep_draw_textarea_field("family_desc", "soft", "70", "15", "description") . "
family price" . tep_draw_input_field("family_price") . "
family shipping" . tep_draw_input_field("family_shipping", 0) . "
Family Model" . tep_draw_input_field("family_model") . "
Family Blades" . tep_draw_pull_down_menu('family_blades', $blades) . "
\n"; print "
\n"; print "
"; $this->summary(); print "\n"; print "\n"; }