お店からのおしらせ

伏見屋の最新情報をブログでお伝えいたします。

伏見屋本店

item as $item ) { if($i>=$num){ } else{ // 各エントリーの処理 $title = $item->title ; // タイトル $link = $item->link ; // リンク $timestamp = strtotime( $item->children('http://purl.org/dc/elements/1.1/')->date) ;//更新日時 $content = $item->children('http://purl.org/rss/1.0/modules/content/') ;// 詳細 $data['content'] = $content; $item->thumbnail = trim($now_url,"/") . "./img/noimage.png";//画像がない場合の指定 if( preg_match_all('//is', $content, $matches) ){ foreach( $matches[0] as $img ){ if( preg_match('/src=[\'"](.+?(jpe?g|png))[\'"]/', $img, $m) ){ $item->thumbnail = $m[1]; } } } $content =str_replace("▼続きを読む","",$content); $content = strip_tags($content); if ( $desW != 0){ $content = mb_strimwidth($content, 0, $desW, "…",'utf-8'); } ?> <?php print $item->title; ?>

つづきを読む

伏見屋本店ブログへ

特売情報

item as $item ) { if($i>=$num){ } else{ // 各エントリーの処理 $title = $item->title ; // タイトル $link = $item->link ; // リンク $timestamp = strtotime( $item->children('http://purl.org/dc/elements/1.1/')->date) ;//更新日時 $content = $item->children('http://purl.org/rss/1.0/modules/content/') ;// 詳細 $data['content'] = $content; $item->thumbnail = trim($now_url,"/") . "./img/noimage.png";//画像がない場合の指定 if( preg_match_all('//is', $content, $matches) ){ foreach( $matches[0] as $img ){ if( preg_match('/src=[\'"](.+?(jpe?g|png))[\'"]/', $img, $m) ){ $item->thumbnail = $m[1]; } } } $content =str_replace("▼続きを読む","",$content); $content = strip_tags($content); if ( $desW != 0){ $content = mb_strimwidth($content, 0, $desW, "…",'utf-8'); } ?> <?php print $item->title; ?>

つづきを読む

お買い得情報へ