$value) { $$name = $value; } }else{ $cd_kigyo = ""; $cd_kigyo_k = ""; $c_pass = ""; $c_pass_k = ""; $kigyo_m = ""; $syokyu_m = "01"; $gyomu = ""; $cd_yubin = ""; $cd_ken = ""; $j_shi = ""; $j_ban = ""; $tel = ""; $setsuritu = ""; $sihon = ""; $daihyo = ""; $kabu = 1; $jyugyoin = ""; $s_no1 = ""; $s_no2 = ""; $s_no3 = ""; $url = ""; $mail = ""; $tantou = ""; $t_mail = ""; $delset = 0; } // 会社業態 $gyousyuval = KIGyousyu::_view(); $syokyuList = ""; foreach($gyousyuval as $row) { if($row[0] == $syokyu_m){ $syokyuList = $syokyuList."\n"; }else{ $syokyuList = $syokyuList."\n"; } } // 株式公開 if($kabu==0){ $checked1 = "checked='checked'"; $checked2 = ""; }else{ $checked1 = ""; $checked2 = "checked='checked'"; } // 住所 県名 //$cd_ken = KenCount($cd_ken); $kenval = Ken::_view(); $kenList_yu = ""; foreach($kenval as $row) { if($row[0] == $cd_ken){ $kenList_yu = $kenList_yu."\n"; }else{ $kenList_yu = $kenList_yu."\n"; } } // 郵便番号 住所 $kenData = ""; $j = 1; foreach($kenval as $row){ if($j == count($kenval)){ $kenData = $kenData."\"".$row[1]."\""; }else{ $kenData = $kenData."\"".$row[1]."\","; } $j++; } $KENALL = "[".$kenData."]"; ?>