NEWS
-
children() as $child) {
$items[] = $child;
}
$MAX = 10;
$item_num = count($items);
$max_page = ceil($item_num / $MAX);
if(!isset($_GET['start'])){
$now = 1;
}else{
$now = $_GET['start'];
}
$start_no = ($now - 1) * $MAX;
// array_slice()関数を使用して、表示する要素を含む配列を取得する
$disp_data = array_slice($items, $start_no, $MAX, true);
foreach($disp_data as $item) {
if(empty($item->thumbimg)){
$img = 'images/top/news01.jpg';
}else{
$img = $item->thumbimg;
}
?>
-
children() as $child) {
$items[] = $child;
}
$MAX = 4;
$item_num = count($items);
$max_page = ceil($item_num / $MAX);
if(!isset($_GET['start'])){
$now = 1;
}else{
$now = $_GET['start'];
}
$start_no = ($now - 1) * $MAX;
// array_slice()関数を使用して、表示する要素を含む配列を取得する
$disp_data = array_slice($items, $start_no, $MAX, true);
foreach($disp_data as $item) {
if(empty($item->thumbimg)){
$img = 'images/top/news01.jpg';
}else{
$img = $item->thumbimg;
}
?>
-
title; ?>
資料請求
アクセス
お問い合わせ