1){ $offset = ($page - 1) * $limit; }
$params = array(
'blog_id' => $blog_id
,'keyword' => $keyword
,'genre' => $genre
,'limit' => $limit
,'offset' => $offset
,'page' => $page
,'address' => $address
,'school' => $school
,'catering' => $catering
,'category_id' => $category_id
);
$search_list = $search_recipe->fn_get_search_list($params);
$search_list_count = count($search_list);
$search_list_index = 0;
$all_count = $search_recipe->max_count;
$line_count = $limit;
$param = '';
#if ($blog_id != ''){ $param .= '&blog_id=' . urlencode($blog_id);}
if ($keyword != ''){ $param .= '&keyword=' . urlencode($keyword);}
if ($genre != ''){ $param .= '&genre=' . urlencode($genre);}
if ($address != ''){ $param .= '&address=' . urlencode($address);}
#if ($school != ''){ $param .= '&school=' . urlencode($school);}
#if ($catering != ''){ $param .= '&catering=' . urlencode($catering);}
if ($category_id != ''){ $param .= '&category_id=' . urlencode($category_id);}
foreach( $search_list as $search_rec ){
$blog_id = $search_rec['entry_blog_id'];
$entry_id = $search_rec['entry_id'];
$user_id = $search_rec['entry_author_id'];
?>
全max_count; } ?> 件
-
fn_get_entry_custom_data($entry_id, 'recipe_cat1');;
if (!empty($val)){
?>
fn_get_entry_custom_data($entry_id, 'recipe_cat2');;
if (!empty($val)){
?>
fn_get_entry_custom_data($entry_id, 'recipe_cat3');;
if (!empty($val)){
?>
fn_get_entry_custom_data($entry_id, 'recipe_cat4');;
if (!empty($val)){
?>
fn_get_entry_custom_data($entry_id, 'recipe_cat5');;
if (!empty($val)){
?>
fn_get_entry_custom_data($entry_id, 'recipe_cat6');;
if (!empty($val)){
?>
fn_get_entry_custom_data($entry_id, 'recipe_cat7');;
if (!empty($val)){
?>
fn_get_entry_custom_data($entry_id, 'recipe_cat8');;
if (!empty($val)){
?>
fn_get_entry_custom_data($entry_id, 'recipe_cat9');;
if (!empty($val)){
?>
fn_get_entry_custom_data($entry_id, 'recipe_cat10');;
if (!empty($val)){
?>
fn_format_date($search_rec['entry_authored_on'], 'm月d日'); print htmlentities($date, ENT_QUOTES, mb_internal_encoding()); } ?>
fn_get_entry_custom_data($entry_id, 'comment'); if ($custom <> ''){ print htmlentities($custom, ENT_QUOTES, mb_internal_encoding()); } ?>