質問 > フロント機能 > 全てのレビューを表示させる方法について |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
sakurai07 |
投稿日時: 2011/1/24 18:07
対応状況: −−−
|
長老 登録日: 2008/2/29 居住地: 投稿: 179 |
Re: トップページに新規レビューを表示させたい ファイル複製して、myadminのphp_pathに複製ファイルを設定してみました。
管理画面のブロック管理で、下記のようにしたのですが、表示されず、管理画面の設定方法をご指導いただけませんでしょうか? <!--{* * This file is part of EC-CUBE * * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *}--> <div id="newsarea"> <h2> <img src="<!--{$TPL_DIR}-->img/top/news.jpg" width="680" height="30" alt="新着情報" /> </h2> function lfGetReview(){ $conn = new SC_DBConn(); $sql = "SELECT *, cast(substring(create_date,1,10) as date) as review_date_disp FROM dtb_review WHERE del_flg = '0' AND status = '1' ORDER BY create_date DESC"; $list_data = $conn->getAll($sql); return $list_data; } </div> |
フラット表示 | 前のトピック | 次のトピック |