setParam( 'limit', $max_kiji_top ); $query = $obj->getSpecialList(); // SQLの実行 $qdo = new QueryDo(); $qdo->setQuery( $query ); if ( $return_value = $qdo->setSelectQuery() ) { $arr_top = $qdo->getData(); $count_top = count($arr_top); } $obj = ''; // 一覧表の表示行数 $max_kiji = 5; global $ARR_SHOP; global $ARR_SHOP_MINI; /** * * ニュース情報の取得 * **/ $obj = new QuerySelect(); $obj->setParam( 'limit', $max_kiji ); $query = $obj->getNewsList(); // SQLの実行 $qdo = new QueryDo(); $qdo->setQuery( $query ); if ( $return_value = $qdo->setSelectQuery() ) { $arr_data = $qdo->getData(); $count = count($arr_data); } $obj = ''; $arr_data = mb_convert_encoding($arr_data, "SJIS", "UTF-8"); // 画面表示 require ( './tpl/index.tpl' ); exit();