= '".date("Y;m;d",strtotime("-1 week"))."' or amr_recommend = '1')"; if (is_numeric($_GET['shop'])) { $shopname = $SHOP_OBJ[$_GET['shop']]; $where .= "and amr_shop like '%{$_GET['shop']}%'"; } $sql = "select room.amr_id" . $table . $where . $order; $rs = getDbResult($sql, "ショップ別最新おすすめ物件を取得できません。".$sql); $total = mysql_num_rows($rs); $sql = "select " . $param . $table . $where . $order . $limit; $rs = getDbResult($sql, "ショップ別最新おすすめ物件を取得できません。".$sql); // ページを表示 if ($_GET['dsp'] == "list") { include("_shop_s_list.php"); } else { include("_shop_s_thumb.php"); } ?>