"" ) return $str; return "              "; } //ファイルサイズ取得 function getfilesize( $filename ){ $path='/home/alphas/pdf/manual/'; $file=$path.strtolower($filename); if ( is_file($file) ) return filesize( $file ); else return -1; } ?>
取扱説明書・施工説明書
(".$category.")\n"; } else { echo "\n"; } ?>
資料一覧 \"\"
PDFアイコンをクリックすると該当資料をご覧いただけます。
GetTileCategoryList("category"); while(!$cls->EOF()){ $categoryname[$cls->category]=$cls->cateogyr; $cls->MoveNext("category"); } //全ページ閲覧用のもののみ抽出 $cond = "B.record not LIKE '%#_%' ESCAPE '#'"; //ステータス if ($status == 1) { $cond .= " AND B.shipment='現行品'"; } //適用区分 if ($category) $cond .= " AND B.category='" . $category . "'"; // $cond .= " ORDER BY B.title, B.code"; $cond .= " ORDER BY B.category, B.title"; $cond = " WHERE " . $cond; $cls->GetTileInfo($cond,"tile"); ?>
現行商品のみ"; } else { $presentshow = "現行商品のみ"; } if ($status == 1) { $allshow = "すべて"; } else { $allshow = "すべて"; } ?>
counts) { ?>
EOF()) { //タイプ設定 if ($cls->type_a == 0) $type_a = "×"; elseif ($cls->type_a == 1) $type_a = "◎"; elseif ($cls->type_a == 2) $type_a = "○"; else $type_a = ""; if ($cls->type_b == 0) $type_b = "×"; elseif ($cls->type_b == 1) $type_b = "◎"; elseif ($cls->type_b == 2) $type_b = "○"; else $type_b = ""; if ($cls->type_c == 0) $type_c = "×"; elseif ($cls->type_c == 1) $type_c = "◎"; elseif ($cls->type_c == 2) $type_c = "○"; else $type_c = ""; if ($cls->type_d == 0) $type_d = "×"; elseif ($cls->type_d == 1) $type_d = "◎"; elseif ($cls->type_d == 2) $type_d = "○"; else $type_d = ""; if ($cls->type_e == 0) $type_e = "×"; elseif ($cls->type_e == 1) $type_e = "◎"; elseif ($cls->type_e == 2) $type_e = "○"; else $type_e = ""; //ファイルサイズ取得 if ($cls->file != "") { $filesize = getfilesize($cls->file.".".$cls->dataform); $filesize = ceil((float)($filesize / 1024)); if ($filesize) { $dl = "file).".".$cls->dataform."\" target=\"_blank\">\"\"".nosp($filesize)."KB"; } else { $dl = " "; } } else { $filesize = ""; $dl=" "; } if($cls->file=="工事中") $dl=$cls->file; $categorydisp=$cls->category; $categoryary=array(); $categoryary[$cls->category]=1; if( !$category ) if( $cls->categorycnt > 1){ for($i=1;$i<$cls->categorycnt;$i++){ $cls->MoveNext("tile"); if($categorydisp) $categorydisp.="、
"; $categorydisp.=$cls->category; $categoryary[$cls->category]=1; } } //分割閲覧 if ($cls->recordcnt > 1) { $division = "code)."&record=".rawurlencode($cls->record)."&product=".rawurlencode($cls->product)."&title=".rawurlencode($cls->title)."&category=".rawurlencode($category)."&switching=".rawurlencode($cls->switching)."&completion=".rawurlencode($cls->completion)."&filename=".rawurlencode($cls->file.".".$cls->dataform)."&filesize=".rawurlencode($filesize)."\">\"分割閲覧\""; } else { $division = " "; } echo "\n"; if( $category ) { echo "\n"; } echo "\n"; echo "\n"; if( !$category ) { echo "\n"; } echo "\n"; echo "\n"; echo "\n"; $cls->MoveNext("tile"); } ?>
適用区分 資料番号 タイトル 適用区分 発行日 閲覧
".nosp($cls->category)."".mb_convert_kana(nosp($cls->product),"KVa")." ".nosp($cls->title)."".nosp($categorydisp)." ".nosp(substr($cls->switching,0,7))." ".$dl."