read()) {
if(!ereg('(^\.$)|(^\.\.$)', $file)) {
$pos = strpos($file, "Data");
if (!is_bool($pos) || $pos) {
$pos = strpos($file, "xml");
if (!is_bool($pos) || $pos) {
List($no) = sscanf($file, "Data%d.xml");
if (strlen($no)) {
$files[] = $file;
}
}
}
}
}
$dir->close();
}
sort($files);
?>
$end = count($files);
$cnt = 0;
foreach($files as $filename) {
//ドキュメント読み込み
$SettingFiles = "../conf/" . $filename;
$objCategory = new Class_Category($SettingFiles);
if ($objCategory->Initialize() == false){
/*ドキュメントの読み込みエラー*/
$logger->error($SettingFiles.'読み込み失敗');
exit;
}
?>
 |
 |
$subTitles = $objCategory->getSubCategoryTitleArray();
foreach($subTitles as $key => $value) {
$subCategory = $objCategory->getSubCategoryObject($key);
foreach($subCategory->arr_DETAIL as $datail) {
if (strcmp($datail->TYPE, "3") != 0) {
continue;
}
$subName = $value;
$subUrl = "./details.html?TYPE=" . $objCategory->KEY . "&KEY=" . $key;
// foreach($datail->arr_PRODUCT as $product) {
// $subName = $value . " / " . $product->NAME;
?>
 |
foreach($datail->arr_PRODUCT as $product) {
$specUrl = "./spec.html?TYPE=" . $objCategory->KEY . "&KEY=" . $key . "&ID=" . $product->ID;
?>
} ?>
|
}} ?>
|
if (++$cnt != $end) { ?>
}} ?>
include "../ga.php"; ?>