--- /dev/null
+class JavascriptController < ApplicationController
+ caches_page :application
+ after_filter {|c| c.headers["Content-Type"] = 'application/javascript' }
+ def application
+ end
+
+ def thickbox
+ end
+
+ def treemenu
+ end
+end
return_str += ' '
else
return_str += "<li>"
- return_str += " "*depth + "<img src='/images/common/list_ore_s.gif'> " unless image_flg
+ return_str += " "*depth + "<img src='" + ActionController::Base.relative_url_root + "/images/common/list_ore_s.gif'> " unless image_flg
return_str += link_to_category category, type, image_flg
return_str += "</li>"
end
<% content_for :head do %>
- <%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<table class="tb2">
<th>郵便番号<font color="red">※</font></th>
<td>
〒<%= f.text_field :zipcode01, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} %>-<%= f.text_field :zipcode02, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} %>
- <a href="http://search.post.japanpost.jp/zipcode/" target="_blank">郵便番号を調べる</a><br />
- <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('delivery_address_zipcode01','delivery_address_zipcode02', null, 'delivery_address_address_city', 'delivery_address_address_detail', 'delivery_address_prefecture_id', 'accounts');" type="button">
+ <%= link_to "郵便番号を調べる", "http://search.post.japanpost.jp/zipcode/", :target => "_blank" %><br />
+ <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('delivery_address_zipcode01','delivery_address_zipcode02', null, 'delivery_address_address_city', 'delivery_address_address_detail', 'delivery_address_prefecture_id', 'accounts', '<%=h ActionController::Base.relative_url_root %>');" type="button">
郵便番号を入力後、クリックしてください。
</td>
</tr>
<% content_for :head do %>
<%= stylesheet_link_tag "front/entry" %>
<%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<table class="tb2">
<th>郵便番号<span class="must">※</span></th>
<td>
〒<%= f.text_field :zipcode01, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} -%>-<%= f.text_field :zipcode02, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} %>
- <a href="http://search.post.japanpost.jp/zipcode/" target="_blank">郵便番号を調べる</a><br />
- <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('customer_zipcode01','customer_zipcode02', null, 'customer_address_city', 'customer_address_detail', 'customer_prefecture_id', 'accounts');" type="button">
+ <%= link_to "郵便番号を調べる", "http://search.post.japanpost.jp/zipcode/", :target => "_blank" %><br />
+ <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('customer_zipcode01','customer_zipcode02', null, 'customer_address_city', 'customer_address_detail', 'customer_prefecture_id', 'accounts', '<%=h ActionController::Base.relative_url_root %>');" type="button">
※郵便番号を入力後、クリックしてください。
</td>
</tr>
<%= stylesheet_link_tag "front/entry" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li><%= @customer ? "登録完了" : "登録失敗" %></li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li><%= @customer ? "登録完了" : "登録失敗" %></li></ol>
<h2 class="main_t">会員登録</h2>
<div id="entry">
<% if @customer %>
<p>すでに登録完了されているか、URL が違います。</p>
</div>
<% end %>
-</div>
\ No newline at end of file
+</div>
<%= stylesheet_link_tag "front/mypage" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先確認</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先確認</li></ol>
<h2 class="main_t">マイページ</h2>
<div id="mypage" class="clearfix">
<!-- マイメニュー -->
<%= render :partial=> "user/navigation" %>
<!-- お届け先設定 -->
<div id="mypage_main">
- <h3><img src="/images/mypage/mypage_t3.gif" width="535" height="44" alt="お届け先設定" /></h3>
+ <h3><%= image_tag("mypage/mypage_t3.gif", :width => "535", :height => "44", :alt => "お届け先設定") %></h3>
<div class="mypage_box">
<p class="tb_t">お届け先変更の確認 修正がある場合は、戻るボタンから戻って修正してください。</p>
<%= error_messages_for :delivery_address %>
</div>
<% end %>
</div>
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
</div><!-- /mypage_main -->
</div><!-- /mypage -->
<%= stylesheet_link_tag "front/mypage" %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先編集</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先編集</li></ol>
<h2 class="main_t">マイページ</h2>
<div id="mypage" class="clearfix">
<!-- マイメニュー -->
<!-- お届け先設定 -->
<div id="mypage_main">
- <h3><img src="/images/mypage/mypage_t3.gif" width="535" height="44" alt="お届け先設定" /></h3>
+ <h3><%= image_tag("mypage/mypage_t3.gif", :width => "535", :height => "44", :alt => "お届け先設定") %></h3>
<div class="mypage_box">
<p>下記項目にご入力ください。「<font color="red">※</font>」印は入力必須項目です。</p>
<p>入力後、一番下の「確認ページへ」ボタンをクリックしてください。</p>
<%= hidden_field_tag 'popup', @popup %>
<% end %>
</div><!-- /mypage_box -->
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
</div><!-- /mypage_main -->
</div><!-- /mypage -->
<%= stylesheet_link_tag "front/mypage" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先一覧</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先一覧</li></ol>
<h2 class="main_t">マイページ</h2>
<div id="mypage" class="clearfix">
<!-- マイメニュー -->
<%= render :partial=> "user/navigation" %>
<!-- お届け先設定 -->
<div id="mypage_main">
- <h3><img src="/images/mypage/mypage_t3.gif" width="535" height="44" alt="お届け先設定" /></h3>
+ <h3><%= image_tag("mypage/mypage_t3.gif", :width => "535", :height => "44", :alt => "お届け先設定") %></h3>
<div class="mypage_box">
<div><%= flash[:notice] %></div>
<div><%= flash[:error] %></div>
</table>
<% end %>
</div>
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
</div><!-- /mypage_main -->
-</div><!-- /mypage -->
\ No newline at end of file
+</div><!-- /mypage -->
<%= stylesheet_link_tag "front/mypage" %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先設定</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先設定</li></ol>
<h2 class="main_t">マイページ</h2>
<div id="mypage" class="clearfix">
<!-- マイメニュー -->
<!-- お届け先設定 -->
<div id="mypage_main">
- <h3><img src="/images/mypage/mypage_t3.gif" width="535" height="44" alt="お届け先設定" /></h3>
+ <h3><%= image_tag("mypage/mypage_t3.gif", :width => "535", :height => "44", :alt => "お届け先設定") %></h3>
<div class="mypage_box">
<p class="tb_t">お届け先の追加</p>
<div>
<% end %>
</div>
</div>
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
</div><!-- /mypage_main -->
</div><!-- /mypage -->
<%= stylesheet_link_tag "front/mypage" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>会員登録内容変更</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>会員登録内容変更</li></ol>
<h2 class="main_t">マイページ</h2>
<div id="mypage" class="clearfix">
<!-- マイメニュー -->
<%= render :partial=> "user/navigation" %>
<!-- 会員登録内容変更 -->
<div id="mypage_main">
- <h3><img src="/images/mypage/mypage_t2.gif" width="535" height="44" alt="会員登録内容変更" /></h3>
+ <h3><%= image_tag("mypage/mypage_t2.gif", :width => "535", :height => "44", :alt => "会員登録内容変更") %></h3>
<div class="mypage_box">
<%= error_messages_for :customer %>
<% form_for :customer, :url => {:action => 'edit_confirm'} do |f| %>
<%= render :partial => "form", :locals => {:f => f} %>
<% end %>
</div>
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
</div><!-- /mypage_main -->
</div><!-- /mypage -->
<%= stylesheet_link_tag "front/mypage" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>登録内容変更完了</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>登録内容変更完了</li></ol>
<h2 class="main_t">マイページ</h2>
<div id="mypage" class="clearfix">
<!-- マイメニュー -->
<%= render :partial=> "user/navigation" %>
<!-- 会員登録内容変更 -->
<div id="mypage_main">
- <h3><img src="/images/mypage/mypage_t2.gif" width="535" height="44" alt="会員登録内容変更" /></h3>
+ <h3><%= image_tag("mypage/mypage_t2.gif", :width => "535", :height => "44", :alt => "会員登録内容変更") %></h3>
<div class="mypage_box">
<p class="comp">変更が完了しました。</p>
<p class="comp_s">会員登録内容の変更を受け付けました。</p>
<div class="my_btn"><%= link_to(image_tag("/images/mypage/btn04.gif", :width=>"101", :height=>"28", :alt=>"TOPへ戻る", :class=>"hoverImg"), :controller=>'portal', :action=>'show') %></div>
</div>
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
</div><!-- /mypage_main -->
</div><!-- /mypage -->
<%= stylesheet_link_tag "front/mypage" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>登録内容確認</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>登録内容確認</li></ol>
<h2 class="main_t">マイページ</h2>
<div id="mypage" class="clearfix">
<!-- マイメニュー -->
<%= render :partial=> "user/navigation" %>
<!-- 会員登録内容変更 -->
<div id="mypage_main">
- <h3><img src="/images/mypage/mypage_t2.gif" width="535" height="44" alt="会員登録内容変更" /></h3>
+ <h3><%= image_tag("mypage/mypage_t2.gif", :width => "535", :height => "44", :alt => "会員登録内容変更") %></h3>
<div class="mypage_box">
<%= error_messages_for :customer %>
<%= render :partial => 'confirm' %>
</div>
<% end %>
</div>
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
</div><!-- /mypage_main -->
</div><!-- /mypage -->
<%= stylesheet_link_tag "front/mypage" %>\r
<% end %>\r
\r
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>購入履歴一覧</li></ol>\r
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>購入履歴一覧</li></ol>\r
<h2 class="main_t">マイページ</h2>\r
<div id="mypage" class="clearfix">\r
<!-- マイメニュー -->\r
\r
<!-- 購入履歴一覧 -->\r
<div id="mypage_main">\r
- <h3><img src="/images/mypage/mypage_t1.gif" width="535" height="44" alt="購入履歴一覧" /></h3>\r
+ <h3><%= image_tag("mypage/mypage_t1.gif", :width => "535", :height => "44", :alt => "購入履歴一覧") %></h3>\r
<div class="mypage_box">\r
<% if @orders && !@orders.empty? %>\r
<div class="clearfix"><p class="history"><%= @orders.size %> 件の購入履歴があります。</p><p class="point_right">現在のポイント<%= @login_customer.point.to_i %>pt</p></div>\r
<% end %>\r
</div><!-- /購入履歴一覧 -->\r
\r
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>\r
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>\r
</div><!-- /mypage_main -->\r
</div><!-- /mypage -->\r
<%= stylesheet_link_tag "front/mypage" %>\r
<% end %>\r
\r
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>購入履歴</li></ol>\r
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>購入履歴</li></ol>\r
<h2 class="main_t">マイページ</h2>\r
<div id="mypage" class="clearfix">\r
<!-- マイメニュー -->\r
\r
<!-- 購入履歴一覧 -->\r
<div id="mypage_main">\r
- <h3><img src="/images/mypage/mypage_t1.gif" width="535" height="44" alt="お届け先設定" /></h3>\r
+ <h3><%= image_tag("mypage/mypage_t1.gif", :width => "535", :height => "44", :alt => "お届け先設定") %></h3>\r
<div class="mypage_box">\r
<p class="tb_t">購入履歴詳細</p>\r
<table class="tb1 cntr">\r
</table>\r
<div id="submit"><%= link_to '戻る', :action => 'history' %></div>\r
</div><!-- /mypage_box-->\r
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>\r
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>\r
</div><!-- /mypage_main -->\r
</div><!-- /mypage -->\r
<%= stylesheet_link_tag "front/entry" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li>利用規約</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li>利用規約</li></ol>
<h2 class="main_t">利用規約</h2>
<div id="entry">
<!-- 会員規約 -->
<%= javascript_include_tag 'login' %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li>ログイン</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li>ログイン</li></ol>
<h2 class="main_t">ログイン</h2>
<p class="notice"><%=h flash[:notice] %></p>
<div id="login_area">
<!-- 会員の方 -->
<dl id="member">
- <dt><img src="/images/login/login_t1.gif" width="350" height="49" alt="会員の方" /></dt>
+ <dt><%= image_tag("login/login_t1.gif", :width => "350", :height => "49", :alt => "会員の方") %></dt>
<dd>
<p>会員の方はこちらからログインしてください。</p>
<% form_for(:customer, :url => { :action => "login" } ) do |f| -%>
</dl>
<!-- 新規会員登録 -->
<dl id="join">
- <dt><img src="/images/login/login_t2.gif" width="350" height="49" alt="新規会員登録" /></dt>
+ <dt><%= image_tag("login/login_t2.gif", :width => "350", :height => "49", :alt => "新規会員登録") %></dt>
<dd>
<p>無料で新規登録ができます。<br /><br />
会員登録をすると便利なMyページをご利用いただけます。また、ログインするだけで、毎回お名前や住所などを入力することなくスムーズにお買い物をお楽しみいただけます。</p>
<%= link_to image_tag("/images/common/new_entry_btn.gif", :width=>"176", :height=>"30", :alt=>"新規会員登録", :class => "new_entry_btn"), {:controller => "accounts", :action => "kiyaku"} %>
</dd>
</dl>
- <div><img src="/images/login/login_btm.gif" width="715" height="5" alt="" /></div>
+ <div><%= image_tag("login/login_btm.gif", :width => "715", :height => "5", :alt => "") %></div>
</div><!-- /login_area -->
<p class="cntr">会員登録をしないで商品を購入される方は、こちらより購入手続きが行えます。</p>
<%= link_to image_tag("/images/common/purchase_btn.gif", :width=>"143", :height=>"30", :alt=>"購入手続きへ", :class => "cart_btn"), {:controller => "cart",:action=> "temporary_shipping"} %>
<%= stylesheet_link_tag "front/entry" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li>会員登録</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li>会員登録</li></ol>
<h2 class="main_t">会員登録</h2>
<div id="entry">
<p class="tb_desc">
<%= stylesheet_link_tag "front/entry" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li>入力内容確認</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li>入力内容確認</li></ol>
<h2 class="main_t">会員登録</h2>
<div id="entry">
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li>入力内容確認</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li>入力内容確認</li></ol>
<h2 class="main_t">会員登録</h2>
<div id="entry">
<%= @customer && error_messages_for(:customer) %>
<%= stylesheet_link_tag "front/mypage" %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
<h2 class="main_t">マイページ</h2>
<div class="clearfix" id="mypage">
<%= render :partial=> "user/navigation" %>
<!-- 退会手続き -->
<div id="mypage_main">
- <h3><img src="/images/mypage/mypage_t4.gif" width="535" height="44" alt="退会手続き" /></h3>
+ <h3><%= image_tag("mypage/mypage_t4.gif", :width => "535", :height => "44", :alt => "退会手続き") %></h3>
<div class="mypage_box">
<p class="comp_s">会員を退会されると、現在保存されている購入履歴や、<br />お届け先などの情報は全て削除されます。本当によろしいですか?</p>
<div class="my_btn">
<% end %>
</div>
</div>
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
</div><!-- /mypage_main -->
-</div>
\ No newline at end of file
+</div>
<%= stylesheet_link_tag "front/mypage" %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
<h2 class="main_t">マイページ</h2>
<%= render :partial=> "user/navigation" %>
<!-- 退会手続き -->
<div id="mypage_main">
- <h3><img src="/images/mypage/mypage_t4.gif" width="535" height="44" alt="退会手続き" /></h3>
+ <h3><%= image_tag("mypage/mypage_t4.gif", :width => "535", :height => "44", :alt => "退会手続き") %></h3>
<div class="mypage_box">
<p class="comp">退会完了しました。</p>
<p class="comp_s">退会手続きが完了しました。<br />ご利用いただき、誠にありがとうございました。<br />またのご利用を心よりお待ち申し上げております。</p>
<%= link_to image_tag('/images/mypage/btn04.gif', :size => "101x28", :alt => "TOP戻る", :class => "hoveIme"), :controller => "portal", :action => "show" %>
</div>
</div>
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+ <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
</div><!-- /mypage_main -->
<%= stylesheet_link_tag "front/mypage" %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
<h2 class="main_t">マイページ</h2>
<div id="mypage" class="clearfix">
<!-- 退会手続き -->
<div id="mypage_main">
- <h3><img src="/images/mypage/mypage_t4.gif" width="535" height="44" alt="退会手続き" /></h3>
+ <h3><%= image_tag("mypage/mypage_t4.gif", :width => "535", :height => "44", :alt => "退会手続き") %></h3>
<div class="mypage_box">
<p class="comp">退会手続きを実行します。よろしいですか?</p>
<p class="comp_s">会員を退会された場合、現在保存されている購入履歴や、<br />お届け先などの情報は全て削除されますので、ご注意ください。</p>
<% end %>
</div>
</div>
- <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+ <div><%= image_tag("mypage/mypage_t4.gif", :width => "535", :height => "5", :alt => "") %></div>
</div><!-- /mypage_main -->
</div><!-- /mypage -->
\r
<% form_tag :action=>:login do -%>\r
<div id="login">\r
-<img src="/images/login_logo.png" width="240" height="71" alt="Elephant Commerce" class="login_logo" />\r
+ <%= image_tag("login_logo.png", :width => "240", :height => "71", :alt => "Elephant Commerce", :class => "login_logo") %>\r
\r
<p class="login_notice"><%= flash[:notice] %><%= flash[:error] %></p>\r
<table class="login_table">\r
<div class="btn_box">
<%= f.submit 'この内容で登録する', :class => "btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %) %>
</div>
<% end %>
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
<br />
<div class="btn_box">
<%= f.submit 'この内容で登録する', :class => "btn"%>
- <img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :alt => "", :class => "btn_side") %>
</div>
<% end %>
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
<div id="sub"><!-- サブメニュー -->\r
<div id="menu" class="clearfix"><!-- g_menu -->\r
<% if @system_supplier_use_flag %>\r
- <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img1" /><span>仕入先管理</span></a></p>\r
+ <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img1") %><span>仕入先管理</span></a></p>\r
<ul id="display1" style="display:block">\r
<li><%= link_to '仕入先マスタ管理', {:controller => 'suppliers', :action => 'index'} %></li>\r
<li><%= link_to '仕入先登録', {:controller => 'suppliers', :action => 'new'} %></li>\r
</ul>\r
<%end%>\r
- <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img2" /><span>在庫管理</span></a></p>\r
+ <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img2") %><span>在庫管理</span></a></p>\r
<ul id="display2" style="display:block">\r
<li><%= link_to '入庫管理', {:controller => 'stock_in', :action => 'index'} %></li>\r
<li><%= link_to '在庫管理', {:controller => 'stock_modify', :action => 'index'} %></li>\r
</script>\r
<div id="sub"><!-- サブメニュー -->\r
<div id="menu" class="clearfix"><!-- g_menu -->\r
- <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img1" /><span>商品管理</span></a></p>\r
+ <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img1") %><span>商品管理</span></a></p>\r
<ul id="display1" style="display:block">\r
<li><%= link_to '商品マスタ管理', {:controller => 'products', :action => 'index'} %></li>\r
<li><%= link_to '商品登録', {:controller => 'products', :action => 'new'} %></li>\r
<li><%= link_to('在庫切れ一覧', {:controller => 'products', :action => 'actual_count_index'}) %></li>\r
</ul>\r
\r
- <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img2" /><span>受注集計</span></a></p>\r
+ <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img2") %><span>受注集計</span></a></p>\r
<ul id="display2" style="display:block">\r
<li><%= link_to '期間別集計', {:controller => "totals", :action => "index", :page => 'term'} %></li>\r
<li><%= link_to '商品別集計', {:controller => "totals", :action => "index", :page => 'product'} %></li>\r
<li><%= link_to '会員別集計', {:controller => "totals", :action => "index", :page => 'member'} %></li>\r
</ul>\r
\r
- <p><a href="JavaScript:onClick=Tree('display3');ImgC('img3');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img3" /><span>顧客管理</span></a></p>\r
+ <p><a href="JavaScript:onClick=Tree('display3');ImgC('img3');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img3") %><span>顧客管理</span></a></p>\r
<ul id="display3" style="display:block">\r
<li><%= link_to '顧客マスタ', {:controller => "customers", :action => 'index'} %></li>\r
</ul>\r
\r
- <p><a href="JavaScript:onClick=Tree('display4');ImgC('img4');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img4" /><span>メルマガ管理</span></a></p>\r
+ <p><a href="JavaScript:onClick=Tree('display4');ImgC('img4');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img4") %><span>メルマガ管理</span></a></p>\r
<ul id="display4" style="display:block">\r
<li><%= link_to '配信内容設定', {:controller => 'mail_magazines', :action => 'index'} %></li>\r
<li><%= link_to 'テンプレート設定', {:controller => 'mail_magazine_templates', :action => 'index'} %></li>\r
<li><%= link_to '配信履歴', {:controller => 'mail_magazines', :action => 'history'} %></li>\r
</ul>\r
\r
- <p><a href="JavaScript:onClick=Tree('display5');ImgC('img5');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img5" /><span>受注管理</span></a></p>\r
+ <p><a href="JavaScript:onClick=Tree('display5');ImgC('img5');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img5") %><span>受注管理</span></a></p>\r
<ul id="display5" style="display:block">\r
<li><%= link_to '受注管理', {:controller => 'orders', :action => 'index'} %></li>\r
<li><%= link_to 'ステータス管理', {:controller => 'order_statuses', :action => 'index'} %></li>\r
</script>
<div id="sub"><!-- サブメニュー -->
<div id="menu" class="clearfix"><!-- g_menu -->
- <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img1" /><span>基本情報管理</span></a></p>
+ <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img1") %><span>基本情報管理</span></a></p>
<ul id="display1" style="display:block">
<li><%= link_to 'SHOPマスタ', {:controller => 'shops', :action => 'index'} %></li>
<li><%= link_to '特定商取引法', {:controller => 'shops', :action => 'tradelaw_index'} %></li>
<li><%= link_to 'プライバシーポリシー設定', {:controller => 'shops', :action => 'privacy'} %></li>
</ul>
- <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img2" /><span>コンテンツ管理</span></a></p>
+ <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img2") %><span>コンテンツ管理</span></a></p>
<ul id="display2" style="display:block">
<li><%= link_to '新着情報管理', {:controller => 'new_informations', :action => 'index'} %></li>
<li><%= link_to 'オススメ商品管理', {:controller => 'recommend_products', :action => 'index'} %></li>
<li><%= link_to '特集管理', {:controller => 'features', :action => 'index'} %></li>
</ul>
- <p><a href="JavaScript:onClick=Tree('display3');ImgC('img3');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img3" /><span>デザイン管理</span></a></p>
+ <p><a href="JavaScript:onClick=Tree('display3');ImgC('img3');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img3") %><span>デザイン管理</span></a></p>
<ul id="display3" style="display:block">
<li><%= link_to 'PCフリースペース編集', {:controller => 'designs', :action => 'pc'} %></li>
<li><%= link_to '携帯フリースペース編集', {:controller => 'designs', :action => 'mobile'} %></li>
</ul>
- <p><a href="JavaScript:onClick=Tree('display4');ImgC('img4');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img4" /><span>システム管理</span></a></p>
+ <p><a href="JavaScript:onClick=Tree('display4');ImgC('img4');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img4") %><span>システム管理</span></a></p>
<ul id="display4" style="display:block">
<li><%= link_to 'メンバー管理', {:controller => 'admin_users', :action => 'index'} %></li>
<li><%= link_to '管理者権限管理', {:controller => 'authorities', :action => 'index'} %></li>
</table>
<div class="btn_box">
<%= f.submit "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class => "btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
<br />
<div class="btn_box">
<%= button_to_function "登録する", "regist()", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<%= button_to_function "プレビュー表示", "preview()", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<input type="button" value="登録ページへ戻る" onClick="location.href='<%= admin_campaigns_path %>'" class ="btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
<%= f.hidden_field :parent_id %>
<%= hidden_field_tag :id, @category.id %>
<%= f.submit "この内容で登録", :confirm => "この内容で登録して宜しいですか?", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
〒 <%= confirm_tag :text_field, :customer, :zipcode01, :size => 10 %>-\r
<%= confirm_tag :text_field, :customer, :zipcode02, :size => 10 %>\r
<% unless (params[:action] =~ /confirm/ || params[:action] =~ /update/) && @customer.errors.empty? %>\r
- <input name="zipcode_input" value="住所入力" onclick="address_by_zip('customer_zipcode01','customer_zipcode02', 'customer_prefecture_name', 'customer_address_city', 'customer_address_detail', 'customer_prefecture_id', 'admin/customers');" type="button" class="btn_s">\r
+ <input name="zipcode_input" value="住所入力" onclick="address_by_zip('customer_zipcode01','customer_zipcode02', 'customer_prefecture_name', 'customer_address_city', 'customer_address_detail', 'customer_prefecture_id', 'admin/customers', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">\r
<% end %>\r
</td>\r
</tr>\r
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
<%= f.hidden_field column.to_s %>
<% end %>
<%= f.submit "この内容で登録する", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<% end %>
<% form_for [:admin, @customer], :url=>{:action=>"edit", :id=>params[:id]}, :html=>{:method=>"get"} do |f| %>
<% @customer.attribute_names.each do |column| %>
<%= f.hidden_field column.to_s %>
<% end %>
<%= f.submit "戻る", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<% end %>
</div>
<%= render :partial => "form", :locals => {:f => f} %>
<div class="btn_box">
<%= f.submit "確認する", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif" />
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
</div>
<p>>>検索結果一覧 <%=@customers.total_entries %>件 が該当しました</p>\r
<div class="btn_box space20_bottom">\r
<%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
</div>\r
<% end %>\r
<table class="data2 clear" cellspacing="1">\r
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
<br />\r
<div class="btn_box">\r
<%= f.submit "この内容で登録する", :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
</div>\r
<% end %>\r
\r
-<%= stylesheet_link_tag "design/design" %>\r
<%= render :partial => "submenu" %>\r
\r
<div id="main"><!-- メイン -->\r
<br />\r
<div class="btn_box">\r
<%= f.submit "この内容で登録する", :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
</div>\r
<% end %>\r
\r
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
<% end %>
<%= hidden_field_tag "id", params[:id] %>
<%= @confirm_hidden_field %>
- <%= submit_tag '登録する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+ <%= submit_tag '登録する', :class => "btn"%>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<% end %>
<% form_for([:admin, @feature_product],:url=>{:action => ( params[:id] ? "edit" : "new" ), :id => params[:id]}, :html=>{:method => "get"}) do%>
<% end %>
<%= hidden_field_tag "id", params[:id] %>
<%= @confirm_hidden_field %>
- <%= submit_tag '戻る', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+ <%= submit_tag '戻る', :class => "btn"%>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<% end %>
</div>
</div><!-- /メイン -->
<%= f.hidden_field :feature_id %>
<%= f.hidden_field :product_id %>
<div class="btn_box">
- <%= submit_tag '確認する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+ <%= submit_tag '確認する', :class => "btn"%>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
</div><!-- /メイン -->
<%= f.hidden_field :feature_id %>
<%= f.hidden_field :product_id %>
<div class="btn_box">
- <%= submit_tag '確認する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+ <%= submit_tag '確認する', :class => "btn"%>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
-</div><!-- /メイン -->
\ No newline at end of file
+</div><!-- /メイン -->
<%end%>\r
</td>\r
</tr>\r
-</table>
\ No newline at end of file
+</table>
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
\r
<%= hidden_field_tag "id", params[:id] %>\r
<%= @confirm_hidden_field %>\r
- <%= submit_tag 'この内容で登録する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>\r
+ <%= submit_tag 'この内容で登録する', :class => "btn"%>\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
<% end %>\r
\r
<% form_for([:admin, @feature],:url=>{:action => ( params[:id] ? "edit" : "new" ), :id => params[:id]}, :html=>{:method => "get"}) do%>\r
<% end %>\r
<%= hidden_field_tag "id", params[:id] %>\r
<%= @confirm_hidden_field %>\r
- <%= submit_tag '戻る', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>\r
+ <%= submit_tag '戻る', :class => "btn"%>\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
<% end %>\r
</div>\r
</div><!-- /メイン -->\r
<%= render :partial => "form" %>
<%= f.hidden_field :feature_type %>
<div class="btn_box">
- <%= submit_tag '確認する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+ <%= submit_tag '確認する', :class => "btn"%>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
</div><!-- /メイン -->
<%= render :partial => "form" %>
<%= f.hidden_field :feature_type %>
<div class="btn_box">
- <%= submit_tag '確認する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+ <%= submit_tag '確認する', :class => "btn"%>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
</div><!-- /メイン -->
<div id="sub"><!-- サブカラム -->
<div id="menu" class="clearfix"><!-- メニュー -->
- <p><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img1" /><span>お知らせ</span></p>
+ <p><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img1") %><span>お知らせ</span></p>
<dl class="info">
<dt>2009/12/14</dt>
<dd>ECサイト構築パッケージ「エレコマ」がリリースされました。</dd>
<div id="main"><!-- メイン -->
<div id="category" class="clearfix"><!-- カテゴリ選択 -->
<p id="category_info">編集したいカテゴリをクリックして下さい。</p>
- <a href="/admin/shops"><img src="/images/store_btn_l.gif" width="222" height="138" alt="店舗管理" /></a>
- <a href="/admin/products"><img src="/images/goods_btn_l.gif" width="222" height="138" alt="商品管理" id="category_img" /></a>
+ <%= link_to image_tag("store_btn_l.gif", :width => "222", :height => "138", :alt => "店舗管理"), :controller => "shops", :action => "index" %>
+ <%= link_to image_tag("goods_btn_l.gif", :width => "222", :height => "138", :alt => "商品管理", :id => "category_img"), :controller => "products", :action => "index" %>
<% if @system_supplier_use_flag %>
- <a href="/admin/suppliers"><img src="/images/order_btn_l.gif" width="222" height="138" alt="発注・出荷管理" /></a>
- <%else%>
- <a href="/admin/stock_in"><img src="/images/order_btn_l.gif" width="222" height="138" alt="発注・出荷管理" /></a>
- <%end%>
+ <%= link_to image_tag("order_btn_l.gif", :width => "222", :height => "138", :alt => "発注・出荷管理"), :controller => "suppliers", :action => "index" %>
+ <%else%>
+ <%= link_to image_tag("order_btn_l.gif", :width => "222", :height => "138", :alt => "発注・出荷管理"), :controller => "stock_in", :action => "index" %>
+ <%end%>
</div><!-- /カテゴリ選択 -->
<%= flash[:notice] %>
<h2>ショップの状況</h2>
<%= javascript_include_tag 'admin/mail_magazine' %>
<script type="text/javascript">
function textTypeChange(value){
- writeRichText('mail_magazine_template[body]','<%=h_apos @mail_magazine_template.body %>', 400, 690, true, false, value);
+ writeRichText('mail_magazine_template[body]','<%=h_apos @mail_magazine_template.body %>', 400, 690, true, false, value, "<%=h ActionController::relative_url_root + '/images/emoticons/' %>");
}
function toConfirm() {
if (document.getElementById('mail_magazine_template[body]').contentDocument != null) {
<td colspan=2>
<div id='emoji_area_mail_magazine_template[body]'>
<script type="text/javascript">
- writeRichText('mail_magazine_template[body]','<%=h_apos @mail_magazine_template.body %>', 400, 690, true, false, '<%=h @mail_magazine_template.form %>');
+ writeRichText('mail_magazine_template[body]','<%=h_apos @mail_magazine_template.body %>', 400, 690, true, false, '<%=h @mail_magazine_template.form %>', "<%=h ActionController::Base.relative_url_root + '/images/emoticons' %>");
</script>
</div>
</td>
<%= hidden_field :mail_magazine_template, :body %>
<div class="btn_box">
<%= f.submit "この内容で登録する", :confirm=>"本当に登録しても宜しいですか?", :class=>"btn", :onclick => "toConfirm()" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end -%>
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
-<%= stylesheet_link_tag "mail_magazine/mail_magazine_template" %>
-
<%= render :partial => "submenu" %>
<div id="main"><!-- メイン -->
<td><%=h mmt.get_form_name %></td>
<td><%= link_to "編集", edit_admin_mail_magazine_template_path(mmt.id) %></td>
<td><%= link_to "削除", admin_mail_magazine_template_path(mmt.id), :confirm=>"本当に削除しますか?", :method=>"delete" %></td>
- <td><a href="javascript:fnSubWindow('/admin/mail_magazine_templates/preview/<%=h mmt.id %>', 'mail_magazine_template', '600', '600');">プレビュー</a></td>
+ <td><a href="javascript:fnSubWindow('<%= url_for(:controller => :mail_magazine_templates, :action => :preview, :id => mmt.id) %>', 'mail_magazine_template', '600', '600');">プレビュー</a></td>
</tr>
<% end -%>
<% end -%>
-<%= stylesheet_link_tag "mail_magazine/mail_magazine_template" %>
-
<%= render :partial => "submenu" %>
<div id="main"><!-- メイン -->
<% unless (params[:action] =~ /confirm/ && !@contents.body.blank?) %>\r
<div id='emoji_area_contents[body]'>\r
<script language="JavaScript" type="text/javascript">\r
- writeRichText('contents[body]','<%=h_apos @contents.body %>', 400, 690, true, false, '<%= @contents.form_type %>');\r
+ writeRichText('contents[body]','<%=h_apos @contents.body %>', 400, 690, true, false, '<%= @contents.form_type %>', "<%=h ActionController::relative_url_root + '/images/emoticons/' %>");\r
</script>\r
</div>\r
<% else %>\r
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
<%= hidden_field_tag 'customer_ids', @customer_ids %>\r
<%= render :partial => "mail_contents", :locals => {:f => f} %>\r
<%= f.submit '配信する', :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
<% end %>\r
\r
<% form_for :contents, :url => {:action => 'template_search'} do |f| %>\r
<%= f.hidden_field :body %>\r
<%= hidden_field_tag 'customer_ids', @customer_ids %>\r
<%= f.submit 'テンプレート設定画面に戻る', :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
<% end %>\r
</div>\r
\r
<p>>>検索結果一覧 <%=@customers.total_entries %>件 が該当しました</p>\r
<div class="btn_box space20_bottom">\r
<%= submit_tag '配信内容を設定する', :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
</div>\r
<table class="data2 clear" cellspacing="1">\r
<tr>\r
document.getElementById('contents_body').value = document.getElementById('contents[body]').value;\r
}\r
}\r
+ var image_path = "/elecoma/images/emoticons";\r
+\r
</script>\r
\r
<h2>配信内容設定</h2>\r
<%= hidden_field_tag 'customer_ids', @customer_ids %>\r
<div class="btn_box">\r
<%= f.submit "確認する", :class=>"btn", :onclick => "toConfirm()" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
</div>\r
\r
<% end %>\r
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
<%= f.hidden_field :id %>\r
\r
<%= f.submit "この内容で登録する", :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
<% end %>\r
<% form_for [:admin, @new_information], :url => {:action => (params[:id].blank? ? "new" : "edit")}, :html => {:method => "post"} do |f| %>\r
<%= f.hidden_field :date %>\r
<%= f.hidden_field :id %>\r
\r
<%= f.submit "戻る", :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
<% end %>\r
</div>\r
\r
<%= hidden_field_tag "id", params[:id] %>\r
<div class="btn_box">\r
<%= f.submit "確認する", :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
</div>\r
<% end %>\r
\r
<%= render :partial => "form", :locals=>{:f => f}%>\r
<div class="btn_box">\r
<%= f.submit "確認する", :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
</div>\r
<% end %>\r
</div><!-- /メイン -->\r
<th>郵便番号</th>
<td>
〒<%= f.text_field "deliv_zipcode01", :class=>"data_s" %>-<%= f.text_field "deliv_zipcode02", :class=>"data_s" %>
- <input name="zipcode_input" value="住所入力" onclick="address_by_zip('order_delivery_deliv_zipcode01','order_delivery_deliv_zipcode02', 'order_delivery_deliv_pref_name', 'order_delivery_deliv_address_city', 'order_delivery_deliv_address_detail', 'order_delivery_deliv_pref_id', 'admin/orders');" type="button" class="btn_s">
+ <input name="zipcode_input" value="住所入力" onclick="address_by_zip('order_delivery_deliv_zipcode01','order_delivery_deliv_zipcode02', 'order_delivery_deliv_pref_name', 'order_delivery_deliv_address_city', 'order_delivery_deliv_address_detail', 'order_delivery_deliv_pref_id', 'admin/orders', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">
</td>
<th>TEL</th>
<td><%= f.text_field :deliv_tel01, :class=>"data_s" -%>
<div class="btn_box">
<%= submit_tag "この内容で登録", :confirm => 'この内容で登録してもよろしいでしょうか?', :class => "btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
<p>>>検索結果一覧 <%=@order_deliveries.total_entries %>件 が該当しました</p>
<div class="btn_box space20_bottom">
<%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
<table class="data2 clear" cellspacing="1">
<%= render :partial => "form" %>
<div class="btn_box">
<%= submit_tag "確認する", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
<% end %>
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
</table>
<div class="btn_box">
<%= submit_tag "この内容で登録する", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<input type="button" value="戻る" onClick="location.href='<%= new_admin_product_style_path(:id=>params[:product_id]) %>'" class="btn">
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
<div class="btn_box">
<%if request.referer =~ /(admin\/products\/complete)/%>
<%= button_to_function "検索に戻る ", "form.action = '#{url_for admin_products_index_path}'; form.submit()", :onclick => true, :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<%else %>
<%= button_to_function '戻る', 'history.back()', :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<%end %>
<%= submit_to_remote '', "表示する", :update => "style_create", :url => {:action => "create_form", :id => params[:id] || params[:product_id] }, :submit => "setting", :html => {:class=>"btn"} %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
<% end %>
<p>>>検索結果一覧 <%=@products.total_entries %>件 が該当しました</p>
<div class="btn_box space20_bottom">
<%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
<table class="data2 clear" cellspacing="1">
<%= hidden_field_tag "id", params[:id] %>
<%= @confirm_hidden_field %>
<%= submit_tag "この内容で登録する", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<% end %>
<% form_for [:admin, @product], :url => {:action => ( params[:id].blank? ? "new" : "edit" ), :id => params[:id]}, :html => {:method => "get"} do |f| %>
<% end %>
<%= @confirm_hidden_field %>
<%= submit_tag "戻る", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<% end %>
</div><!-- /メイン -->
<%= render :partial => "form", :locals => {:f => f} %>
<div class="btn_box">
<%= submit_tag "確認する", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
<%= render :partial => "form", :locals => {:f => f} %>
<div class="btn_box">
<%= submit_tag "確認する", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
<p>>>検索結果一覧 <%=@products.total_entries %>件 が該当しました</p>
<div class="btn_box space20_bottom">
<%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
<% form_tag :action => "permit_setting" do %>
<%= hidden_field_tag "id", @id %>
<div class="btn_box">
<%= submit_tag "この内容で登録する", :class=>"btn", :confirm => "本当に登録しますか?" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<input type="button" value="クリア" class="btn" onclick="fn_form_clear();">
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<%= f.hidden_field :id %>
<div class="btn_box">
<%= f.submit "この内容で登録する", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
</table>
<div class="btn_box">
<%= button_to_function " 前のページに戻る ", "form.action = '#{url_for :action => 'delivery_list'}'; form.submit()", :onclick => true, :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
<%= submit_tag "この内容で登録する", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<tr>
<th>郵便番号 <span class="pnt">※</span></th>
<td><%= text_field "shop", "zipcode01", :size => "3" %>- <%= text_field "shop", "zipcode02" , :size => "4" %>
- <input name="zipcode_input" value="住所入力" class="btn_s" onclick="address_by_zip('shop_zipcode01','shop_zipcode02', 'shop_prefecture_id', 'shop_address_city', 'shop_address_detail', 'shop_prefecture_id', 'admin/shops');" type="button">
+ <input name="zipcode_input" value="住所入力" class="btn_s" onclick="address_by_zip('shop_zipcode01','shop_zipcode02', 'shop_prefecture_id', 'shop_address_city', 'shop_address_detail', 'shop_prefecture_id', 'admin/shops', '<%=h ActionController::Base.relative_url_root %>');" type="button">
</td>
</tr>
<tr>
</table>
<div class="btn_box">
<%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
</table>
<div class="btn_box">
<%= submit_tag "この内容で登録する", :class => "btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
</table>
<div class="btn_box">
<%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% @seos.each_with_index do | seo, idx | %>
<% form_tag :action => "seo_update" do%>
<% fields_for seo do | f | %>
- <h3><%= Seo::TYPE_NAMES[idx]%><a href="#" id="switch<%=idx%>" style="color:#ffff99" onClick="fnDispChange('disp<%=idx%>', 'switch<%=idx%>', 'disp_flg<%=idx%>');"> >> 非表示</a></h3>
+ <h3><%= Seo::TYPE_NAMES[idx]%><a href="#" id="switch<%=idx%>" style="color:#ffff99" onClick="fnDispChange('disp<%=idx%>', 'switch<%=idx%>', 'disp_flg<%=idx%>');"> >> 非表示</a></h3>
<div id="disp<%=idx%>" style="display:">
<table cellspacing="1" class="data2">
<tr>
<%= f.hidden_field :page_type %>
<div class="btn_box">
<%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class => "btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
</div>
<div class="clearfix" style="padding-bottom:10px;"></div>
<div class="btn_box">
<%= hidden_field_tag "set_id","1"%>
<%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
-<% end %>
\ No newline at end of file
+<% end %>
<th>郵便番号 <span class="pnt">※</span></th>
<td>
〒<%= f.text_field :zipcode01, :size=>3 %>- <%= f.text_field :zipcode02, :size=>4 %>
- <input name="zipcode_input" value="住所入力" onclick="address_by_zip('law_zipcode01','law_zipcode02', 'law_prefecture_name', 'law_address_city', 'law_address_detail', 'law_prefecture_id', 'admin/shops');" type="button" class="btn_s">
+ <input name="zipcode_input" value="住所入力" onclick="address_by_zip('law_zipcode01','law_zipcode02', 'law_prefecture_name', 'law_address_city', 'law_address_detail', 'law_prefecture_id', 'admin/shops', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">
</td>
</tr>
<tr>
<%= render :partial => "kiyaku_form" %>
<div class="btn_box" style="padding-bottom:18px;">
<%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class => "btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<%end-%>
</div>
<div class="btn_box">
<%= f.submit 'この内容で登録する', :id => 'next_button', :confirm => '登録しても宜しいですか', :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
</head>
<body onload="back()">
</body>
-</html>
\ No newline at end of file
+</html>
<%=hidden_field_tag "preview_id"%>
<div class="btn_box">
<%= button_to_function "この内容で登録する", "regist()", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
<%end%>
</div>
<p class="my_btn2">
- <a href="#"><img src="/images/common/btn02.gif" width="101" height="28" align="戻る"></a>
- <a href="#"><img src="/images/common/ask_btn.gif" width="101" height="28" align="個人情報の取り扱いについて同意した上でお問い合わせ"></a>
+ <a href="#"><%= image_tag("common/btn02.gif", :width => "101", :height => "28", :alt => "戻る") %></a>
+ <a href="#"><%= image_tag("common/ask_btn.gif", :width => "101", :height => "28", :alt => "個人情報の取り扱いについて同意した上でお問い合わせ") %></a>
</p>
</div>
<%elsif @preview_id == '2'%>
<% content_for :head do %>
- <%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<%= stylesheet_link_tag "front/portal" %>
<% end %>
<div id="container" class="clearfix">
<%= @privacy.content_privacy %>
<%end%>
</div>
-<%end%>
\ No newline at end of file
+<%end%>
<%= @privacy.content_privacy_mobile %>
<%end%>
</div>
-<%end%>
\ No newline at end of file
+<%end%>
<%= render :partial => "tradelaw_form" %>
<div class="btn_box">
<%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
</div>
<% end %>
-<%= render :partial => "submenu" %>\r
-\r
-<div id="main"><!-- メイン -->\r
-\r
-<h2>棚卸用 CSV 出力</h2>\r
-<h3>棚卸データ出力</h3><br/>\r
-<% form_tag :action => 'new' do %>\r
- <p>現在時刻時点での在庫情報を出力</p>\r
- <div class="btn_box space20_bottom">\r
- <%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
- </div>\r
-<% end %><br/><br/><br/><br/><br/>\r
-\r
-<h3>再出力</h3><br/>\r
-<%unless @dates.blank?%>\r
-<table class="data" cellspacing="1">\r
- <tr>\r
- <th>対象年月</th>\r
- <th>再出力</th>\r
- </tr>\r
-<% @dates.zip(@urls).each do |date, url| %>\r
- <tr>\r
- <td><%= date.strftime('%Y/%m/%d %H:%M:%S') %></td>\r
- <td><%= link_to 'CSV DOWNLOAD', url %></td>\r
- </tr>\r
-<% end %>\r
-</table>\r
-<% end %>\r
-</div><!-- /メイン -->
\ No newline at end of file
+<%= render :partial => "submenu" %>
+
+<div id="main"><!-- メイン -->
+
+<h2>棚卸用 CSV 出力</h2>
+<h3>棚卸データ出力</h3><br/>
+<% form_tag :action => 'new' do %>
+ <p>現在時刻時点での在庫情報を出力</p>
+ <div class="btn_box space20_bottom">
+ <%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
+ </div>
+<% end %><br/><br/><br/><br/><br/>
+
+<h3>再出力</h3><br/>
+<%unless @dates.blank?%>
+<table class="data" cellspacing="1">
+ <tr>
+ <th>対象年月</th>
+ <th>再出力</th>
+ </tr>
+<% @dates.zip(@urls).each do |date, url| %>
+ <tr>
+ <td><%= date.strftime('%Y/%m/%d %H:%M:%S') %></td>
+ <td><%= link_to 'CSV DOWNLOAD', url %></td>
+ </tr>
+<% end %>
+</table>
+<% end %>
+</div><!-- /メイン -->
<%= f.text_area :comment,{:size=>"60x10",:style=>"ime-mode:active" }%>
</td>
</tr>
-</table>
\ No newline at end of file
+</table>
-<%= render :partial => "submenu" %>\r
-\r
-<div id="main"><!-- メイン -->\r
-\r
-<h2>入庫登録/編集</h2>\r
-<p class="req"><span class="pnt">※</span>は必須入力です</p>\r
-<span class="pnt"><%= flash[:error] %></span>\r
-<%= error_messages_for :stock_history %>\r
-<% form_for :stock_history, :url => {:action => 'update', :id=> @product_style } do |f| %>\r
- <%= render :partial => "info"%>\r
- <%= render :partial => "form", :locals => {:f => f} %>\r
- <div class="btn_box">\r
- <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
- </div>\r
-<% end %>\r
-\r
+<%= render :partial => "submenu" %>
+
+<div id="main"><!-- メイン -->
+
+<h2>入庫登録/編集</h2>
+<p class="req"><span class="pnt">※</span>は必須入力です</p>
+<span class="pnt"><%= flash[:error] %></span>
+<%= error_messages_for :stock_history %>
+<% form_for :stock_history, :url => {:action => 'update', :id=> @product_style } do |f| %>
+ <%= render :partial => "info"%>
+ <%= render :partial => "form", :locals => {:f => f} %>
+ <div class="btn_box">
+ <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
+ </div>
+<% end %>
+
</div><!-- /メイン -->
<%= f.text_area :comment,{:size=>"60x10",:style=>"ime-mode:active" }%>
</td>
</tr>
-</table>
\ No newline at end of file
+</table>
-<%= render :partial => "submenu" %>\r
-\r
-<div id="main"><!-- メイン -->\r
-\r
-<h2>在庫調整</h2>\r
-<p class="req"><span class="pnt">※</span>は必須入力です</p>\r
-<span class="pnt"><%= flash[:error] %></span>\r
-<%= error_messages_for :stock_history %>\r
-<% form_for :stock_history, :url => {:action => 'update', :id=> @product_style } do |f| %>\r
- <%= render :partial => "info"%>\r
- <%= render :partial => "form", :locals => {:f => f} %>\r
- <div class="btn_box">\r
- <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
- </div>\r
-<% end %>\r
-\r
+<%= render :partial => "submenu" %>
+
+<div id="main"><!-- メイン -->
+
+<h2>在庫調整</h2>
+<p class="req"><span class="pnt">※</span>は必須入力です</p>
+<span class="pnt"><%= flash[:error] %></span>
+<%= error_messages_for :stock_history %>
+<% form_for :stock_history, :url => {:action => 'update', :id=> @product_style } do |f| %>
+ <%= render :partial => "info"%>
+ <%= render :partial => "form", :locals => {:f => f} %>
+ <div class="btn_box">
+ <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
+ </div>
+<% end %>
+
</div><!-- /メイン -->
〒 <%= confirm_tag :text_field, :supplier, :zipcode01, {:size => 10,:style=>"ime-mode:inactive"} %>-
<%= confirm_tag :text_field, :supplier, :zipcode02, {:size => 10,:style=>"ime-mode:inactive"} %>
<% unless params[:action] =~ /confirm/ && @supplier.errors.empty? %>
- <input name="zipcode_input" value="住所入力" onclick="address_by_zip('supplier_zipcode01','supplier_zipcode02', 'supplier_prefecture_name', 'supplier_address_city', 'supplier_address_detail', 'supplier_prefecture_id', 'admin/suppliers');" type="button" class="btn_s">
+ <input name="zipcode_input" value="住所入力" onclick="address_by_zip('supplier_zipcode01','supplier_zipcode02', 'supplier_prefecture_name', 'supplier_address_city', 'supplier_address_detail', 'supplier_prefecture_id', 'admin/suppliers', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">
<% end %>
</td>
</tr>
<% @supplier.attribute_names.each do | column | %>
<%= hidden_field "supplier", column.to_s %>
<% end %>
- <%= submit_tag 'この内容で登録する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+ <%= submit_tag 'この内容で登録する', :class => "btn"%><%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side", :alt => "") %>
<% end %>
<% form_for([:admin, @supplier],:url=>{:action => ( !params[:id].blank? ? "edit" : "new" ), :id => @supplier}, :html=>{:method => "get"}) do%>
<% @supplier.attribute_names.each do | column | %>
<%= hidden_field "supplier", column.to_s %>
<% end %>
- <%= submit_tag '戻る', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+ <%= submit_tag '戻る', :class => "btn"%><%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side", :alt => "") %>
<% end %>
</div>
<% form_for [:admin, @supplier], :url => {:action => 'confirm',:id =>@supplier} do |f| %>
<%= render :partial => "form", :locals => {:f => f} %>
<div class="btn_box">
- <%= submit_tag '確認する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+ <%= submit_tag '確認する', :class => "btn"%>
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side", :alt => "") %>
</div>
<% end %>
</div><!-- /メイン -->
<%= render :partial => "form", :locals => {:f => f} %>\r
<div class="btn_box">\r
<%= submit_tag "確認する", :class=>"btn" %>\r
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side", :alt => "") %>\r
</div>\r
<% end %>\r
\r
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
<%= hidden_field('search', name) if @search.send(name) %>
<% end %>
<%= submit_tag '検索結果を CSV ダウンロード', :class=>"btn" %>
- <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+ <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side", :alt => "") %>
</div>
<% end %>
<p><%= image_tag url_for(:action=>:graph), :alt=>'' %></p>
<li class="move gt"><a id="reco-<%=key%>-next" style="cursor:pointer;visibility:hidden"><%= image_tag "/images/item/gt.gif", :alt=>"→" %></a></li>
</ul>
</div>
- <div class="m_btm"><img src="/images/item/reco_bg_btm.gif" width="530" height="5" alt="" /></div>
+ <div class="m_btm"><%= image_tag("item/reco_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>
<% end %>
<% end %>
<%= link_to_product recommend_product.product -%><br />
<%= simple_format h recommend_product.description -%>
<br clear="all" />
- <div style="clear:both; background-color:#F3F3EC; text-align:center;"><img src="/images/mobile/border.gif" width="226" height="2" /><br /></div>
+ <div style="clear:both; background-color:#F3F3EC; text-align:center;"><%= image_tag("mobile/border.gif", :width => "226", :height => "2") %><br /></div>
<%- end -%>
<div style="background-color:#998A83;"><%= image_tag_mobile "spacer", :width => "100%", :height => "1" %><br /></div>
<%- @recommend_xmls.each_with_index do | rx, idx | -%>
<li class="rank<%=h idx+1 %>">
<%= link_to((product_image_tag(rx.recommend, :small, :class=>"rank_item")), {:controller => "/products", :action => "show", :id => (rx.recommend_id),:category_id => rx.recommend.category_id}) %>
- <div class="rank_img"><img src="/images/top/rank<%=h idx+1 %>.gif" width="41" height="41" alt="人気商品第<%=h idx+1 %>位" /></div>
+ <div class="rank_img">
+ <%= image_tag("top/rank" + (idx + 1) + ".gif", :width => "41", :height => "41", :alt => "人気商品第" + (idx + 1) + "位") %>
+ </div>
<div class="rank_t"><p><%= link_to_product rx.recommend -%></p></div>
</li>
<%- end -%>
<%= link_to_product recommend_xml.recommend, "#{recommend_xml.name}" %><br />
<%= simple_format h recommend_xml.recommend.introduction -%>
<br clear="all" />
- <div style="clear:both; background-color:#F3F3EC; text-align:center;"><img src="/images/mobile/border.gif" width="226" height="2" /><br /></div>
+ <div style="clear:both; background-color:#F3F3EC; text-align:center;">
+ <%= image_tag("mobile/border.gif", :width => "226", :height => "2") %><br /></div>
<%- end -%>
<div style="background-color:#998A83;"><%= image_tag_mobile "spacer", :width => "100%", :height => "1" %><br /></div>
</div>
<ol>
<% @recommend_xmls.each_with_index do | recommend_xml, i | %>
<%- rank = i + 1 -%>
- <%- img_src = "/images/common/kuchi_0"+rank.to_s+".gif" -%>
+ <%- img_src = "common/kuchi_0"+rank.to_s+".gif" -%>
<%- img_alt = "人気商品ランキング"+rank.to_s+"位" -%>
<li>
- <div class="kuchi_img"><img src='<%=img_src%>' width="35" height="36" alt='<%=img_alt%>' /></div><div class="kuchi_t"><p><%= link_to_product recommend_xml.recommend, "#{recommend_xml.name}" %></p></div>
+ <div class="kuchi_img"><%= image_tag(img_src, :width => "35", :height => "36", :alt => img_alt) %></div><div class="kuchi_t"><p><%= link_to_product recommend_xml.recommend, "#{recommend_xml.name}" %></p></div>
<p class="kuchi_txt"><%=h recommend_xml.recommend.introduction%></p>
</li>
<% end %>
</ol>
</div>
- <div class="top_box_btm"><img src="/images/common/side_bg_btm.gif" width="200" height="5" alt="" /></div>
+ <div class="top_box_btm"><%= image_tag("common/side_bg_btm.gif", :width => "200", :height => "5", :alt => "") %></div>
<% end %>
<% end %>
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag "jquery" %>
<%= javascript_include_tag "no_confrict" %>
- <%= javascript_include_tag "thickbox" %>
+ <%= javascript_include_tag js_url(:action => "thickbox") %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<h2 class="main_t"><%= (@campaign ? h(@campaign.name) : "キャンペーン") %></h2>
<%= flash[:notice] %>
<div class="campaign_box">
<% if !@campaign.product_id.blank? && @status == "open" %>
- <div><img src="/images/common/box_bg_top.gif" width="530" height="5" alt="" /></div>
+ <div><%= image_tag("common/box_bg_top.gif", :width => "530", :height => "5", :alt => "") %></div>
<div id="item_box" class="main_box">
<div class="clearfix">
<div class="item_pic">
</p>
</div>
<!-- /item_box -->
- <div class="m_btm"><img src="/images/common/box_bg_btm.gif" width="530" height="5" alt="" /></div>
+ <div class="m_btm"><%= image_tag("common/box_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>
<% else %>
<%= @free_spaces[@free_space_names[3]] %>
<% end %>
<!-- 会員の方 -->
<dl id="member">
- <dt><img src="/images/login/login_t1.gif" width="350" height="49" alt="会員の方" /></dt>
+ <dt><%= image_tag("login/login_t1.gif", :width => "350", :height => "49", :alt => "会員の方") %></dt>
<dd>
<h3>会員登録がお済みのお客様</h3>
<p>会員の方は、登録時に入力されたメールアドレスとパスワードでログインしてください。</p>
<div id="remind">パスワードを忘れた方は<%= link_to 'こちら', {:controller => 'account', :action => 'reminder'} %></div>
<div id="remind">メールアドレスを忘れた方は<%= link_to 'お問い合せページ', {:controller => 'inquiries', :action => 'new'} %>からお問い合わせください。</div>
</dd>
-</dl>
\ No newline at end of file
+</dl>
<%= stylesheet_link_tag "front/cart" %>
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag "recommender_details" %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<h2 class="main_t">ご注文の完了</h2>
<div id="cart">
- <img src="/images/cart/route04.gif" width="583" height="31" alt="ご購入の流れ" class="route" />
+ <%= image_tag("cart/route04.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
<p class="comp">ご注文ありがとうございました。</p>
<p class="comp_s">只今、ご注文の確認メールをお送りさせていただきました。<br />
<h2 class="main_t">ショッピングカート</h2>
<div id="cart">
<!-- ショッピングカート -->
- <img src="/images/cart/route03.gif" width="583" height="31" alt="ご購入の流れ" class="route" />
+ <%= image_tag("cart/route03.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
<p class="tb_t">ご入力内容のご確認</p>
<p class="m_btm">下記ご注文内容で送信してもよろしいでしょうか?<br />
よろしければ、一番下の「ご注文完了ページへ」ボタンをクリックしてください。</p>
<%= stylesheet_link_tag "front/cart" %>
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag 'cart_purchase' %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<h2 class="main_t">ショッピングカート</h2>
<div id="cart">
<!-- ショッピングカート -->
- <img src="/images/cart/route03.gif" width="583" height="31" alt="ご購入の流れ" class="route" />
+ <%= image_tag("cart/route03.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
<span class="must"><%= flash[:notice] %></span>
<span class="must"><%= flash[:error] %></span>
<%= @order_delivery && error_messages_for(:order_delivery) %>
<div id="pt_box" class="clearfix">
<!-- お支払い方法 -->
<dl id="payment">
- <dt><img src="/images/cart/cart_t1.gif" width="260" height="49" alt="お支払い方法" /></dt>
+ <dt><%= image_tag("cart/cart_t1.gif", :width => "260", :height => "49", :alt => "お支払い方法") %></dt>
<dd>
<p>支払方法をお選びください。</p>
<ul>
<!-- お届け時間 -->
<dl id="time">
- <dt><img src="/images/cart/cart_t2.gif" width="260" height="49" alt="お届け時間" /></dt>
+ <dt><%= image_tag("cart/cart_t2.gif", :width => "260", :height => "49", :alt => "お届け時間") %></dt>
<dd>
<p>ご希望の時間帯をお選びください。</p>
<span class="must">(※お支払方法を選択しないと、時間帯をお選びいただけません。)</span><br />
</select>
</dd>
</dl>
- <div><img src="/images/cart/cart_btm.gif" width="545" height="5" alt="" /></div>
+ <div><%= image_tag("cart/cart_btm.gif", :width => "545", :height => "5", :alt => "") %></div>
</div><!-- /pt_box -->
<% if @login_customer %>
<% content_for :head do %>
<%= stylesheet_link_tag "front/cart" %>
<%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<%= popup_for_delivery_address_script %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to 'ショッピングカート', :action => 'show' %></li><li>お届け先住所</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to 'ショッピングカート', :action => 'show' %></li><li>お届け先住所</li></ol>
<h2 class="main_t">お届け先の指定</h2>
<div id="cart">
<!-- ショッピングカート -->
- <img src="/images/cart/route03.gif" width="583" height="31" alt="ご購入の流れ" class="route" />
+ <%= image_tag("cart/route03.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
<p id="caption">
下記一覧よりお届け先住所を選択して、「次へ」ボタンをクリックしてください。<br />
<%= javascript_include_tag :defaults %>
<%= stylesheet_link_tag "front/cart" %>
<%= javascript_include_tag "recommender_details" %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li>ショッピングカート</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li>ショッピングカート</li></ol>
<h2 class="main_t">ショッピングカート</h2>
<div id="cart">
<!-- ショッピングカート -->
- <img src="/images/cart/route01.gif" width="583" height="31" alt="ご購入の流れ" class="route" />
+ <%= image_tag("cart/route01.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
<p><%= flash[:notice] %><%= flash[:error] %><%= flash[:cart_add_product] %></p>
<% content_for :head do %>
<%= stylesheet_link_tag "front/cart" %>
<%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<h2 class="main_t">お客様情報入力</h2>
<th>郵便番号<span class="must">※</span></th>
<td>
〒<%= f.text_field :zipcode01, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} -%>-<%= f.text_field :zipcode02, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} %>
- <a href="http://search.post.japanpost.jp/zipcode/" target="_blank">郵便番号を調べる</a><br />
- <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('temporary_customer_zipcode01','temporary_customer_zipcode02', null, 'temporary_customer_address_city', 'temporary_customer_address_detail', 'temporary_customer_prefecture_id', 'cart');" type="button" class="btn_s">
+ <%= link_to "郵便番号を調べる", "http://search.post.japanpost.jp/zipcode/", :target => "_blank" %><br />
+ <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('temporary_customer_zipcode01','temporary_customer_zipcode02', null, 'temporary_customer_address_city', 'temporary_customer_address_detail', 'temporary_customer_prefecture_id', 'cart', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">
※郵便番号を入力後、クリックしてください。
</td>
</tr>
<th>郵便番号<span class="must">※</span></th>
<td>
〒<%= f.text_field :zipcode01, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} -%>-<%= f.text_field :zipcode02, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} %>
- <a href="http://search.post.japanpost.jp/zipcode/" target="_blank">郵便番号を調べる</a><br />
- <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('optional_address_zipcode01','optional_address_zipcode02', null, 'optional_address_address_city', 'optional_address_address_detail', 'optional_address_prefecture_id', 'cart');" type="button" class="btn_s">
+ <%= link_to "郵便番号を調べる", "http://search.post.japanpost.jp/zipcode/", :target => "_blank" %><br />
+ <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('optional_address_zipcode01','optional_address_zipcode02', null, 'optional_address_address_city', 'optional_address_address_detail', 'optional_address_prefecture_id', 'cart', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">
※郵便番号を入力後、クリックしてください。
</td>
</tr>
<% unless @feature.body.blank? %> \r
-<!--説明文 -->\r
-<div><img src="/images/common/box_bg_top.gif" width="530" height="5" alt="" /></div>\r
+ <div><%= image_tag("common/box_bg_top.gif", :width => "530", :height => "5", :alt => "") %></div>\r
<div id="main_comment" class="main_box">\r
<%=@feature.body%> \r
</div>\r
-<div class="m_btm"><img src="/images/common/box_bg_btm.gif" width="530" height="5" alt="" /></div>\r
-<% end %>
\ No newline at end of file
+<div class="m_btm"><%= image_tag("common/box_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>\r
+<% end %>\r
<% unless @feature.body.blank? %>
<!--説明文 -->
-<div><img src="/images/common/box_bg_top.gif" width="530" height="5" alt="" /></div>
+<div><%= image_tag("common/box_bg_top.gif", :width => "530", :height => "5", :alt => "") %></div>
<div id="main_comment" class="main_box"><%=@feature.body%></div>
-<div class="m_btm"><img src="/images/common/box_bg_btm.gif" width="530" height="5" alt="" /></div>
+<div class="m_btm"><%= image_tag("common/box_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>
<% end %>
<!--商品一覧 -->
<% content_for :head do %>
<%= javascript_include_tag :defaults %>
<%= stylesheet_link_tag "front/features" %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<div id="left_box" class="clearfix">
<% content_for :head do %>
<%= javascript_include_tag :defaults %>
<%= stylesheet_link_tag "front/portal" %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<div id="container" class="clearfix">
<% content_for :head do %>
<%= javascript_include_tag :defaults %>
<%= stylesheet_link_tag "front/portal" %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<div id="container" class="clearfix">
<% content_for :head do %>
<%= javascript_include_tag :defaults %>
<%= stylesheet_link_tag "front/portal" %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<div id="container" class="clearfix">
<%= stylesheet_link_tag "front/entry" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li>お問い合わせ</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li>お問い合わせ</li></ol>
<h2 class="main_t">問合せ個人情報の取扱いについて</h2>
<div id="entry">
<div class="agreement_box">
<%= link_to image_tag("/images/common/btn02.gif", :width=>"101", :height=>"28", :alt=>"戻る"), :controller=>'inquiries', :action=>'show' %>
<%= link_to image_tag("/images/common/ask_btn.gif", :width=>"101", :height=>"28", :alt=>"個人情報の取り扱いについて同意した上でお問い合わせ"), :controller=>'inquiries', :action=>'new' %>
</p>
-</div>
\ No newline at end of file
+</div>
<%= stylesheet_link_tag "front/entry" %>
<% end %>
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li>お問い合わせ</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li>お問い合わせ</li></ol>
<h2 class="main_t">お問い合わせ</h2>
<div id="entry">
<p class="agreement_t">ご意見やご感想、ご質問はこちらで受けております。</p>
お問い合わせは<%= link_to 'こちらへ', :controller => "inquiries", :action => "new" %><br /><br />
</div>
-</div><!-- /entry -->
\ No newline at end of file
+</div><!-- /entry -->
--- /dev/null
+Event.observe(window, 'load', function() {
+ var img = document.createElement('img');
+ document.body.appendChild(img);
+ img.id = 'loading-image';
+ img.alt = 'loading...';
+ with (img.style) {
+ display = 'none';
+ position = 'fixed';
+ top = '50%';
+ left = '50%';
+ }
+ img.src = '<%=h image_path('indicator.gif') %>';
+ if (img.width) {
+ img.style.marginLeft = String(-(img.width / 2)) + 'px';
+ img.style.marginTop = String(-(img.height / 2)) + 'px';
+ }
+});
+
--- /dev/null
+/*
+ * Thickbox 3.1 - One Box To Rule Them All.
+ * By Cody Lindley (http://www.codylindley.com)
+ * Copyright (c) 2007 cody lindley
+ * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
+*/
+
+/* var tb_pathToImage = "/images/loadingAnimation.gif"; */
+var tb_pathToImage = "<%= image_path("loadingAnimation.gif") %>";
+
+/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
+
+//on page load call tb_init
+j$(document).ready(function(){
+ tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox
+ imgLoader = new Image();// preload image
+ imgLoader.src = tb_pathToImage;
+});
+
+//add thickbox to href & area elements that have a class of .thickbox
+function tb_init(domChunk){
+ j$(domChunk).click(function(){
+ var t = this.title || this.name || null;
+ var a = this.href || this.alt;
+ var g = this.rel || false;
+ tb_show(t,a,g);
+ this.blur();
+ return false;
+ });
+}
+
+function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link
+
+ try {
+ if (typeof document.body.style.maxHeight === "undefined") {//if IE 6
+ j$("body","html").css({height: "100%", width: "100%"});
+ j$("html").css("overflow","hidden");
+ if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6
+ j$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");
+ j$("#TB_overlay").click(tb_remove);
+ }
+ }else{//all others
+ if(document.getElementById("TB_overlay") === null){
+ j$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");
+ j$("#TB_overlay").click(tb_remove);
+ }
+ }
+
+ if(tb_detectMacXFF()){
+ j$("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash
+ }else{
+ j$("#TB_overlay").addClass("TB_overlayBG");//use background and opacity
+ }
+
+ if(caption===null){caption="";}
+ j$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");//add loader to the page
+ j$('#TB_load').show();//show loader
+
+ var baseURL;
+ if(url.indexOf("?")!==-1){ //ff there is a query string involved
+ baseURL = url.substr(0, url.indexOf("?"));
+ }else{
+ baseURL = url;
+ }
+
+ var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
+ var urlType = baseURL.toLowerCase().match(urlString);
+
+ if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images
+
+ TB_PrevCaption = "";
+ TB_PrevURL = "";
+ TB_PrevHTML = "";
+ TB_NextCaption = "";
+ TB_NextURL = "";
+ TB_NextHTML = "";
+ TB_imageCount = "";
+ TB_FoundURL = false;
+ if(imageGroup){
+ TB_TempArray = j$("a[@rel="+imageGroup+"]").get();
+ for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) {
+ var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString);
+ if (!(TB_TempArray[TB_Counter].href == url)) {
+ if (TB_FoundURL) {
+ TB_NextCaption = TB_TempArray[TB_Counter].title;
+ TB_NextURL = TB_TempArray[TB_Counter].href;
+ TB_NextHTML = "<span id='TB_next'> <a href='#'>Next ></a></span>";
+ } else {
+ TB_PrevCaption = TB_TempArray[TB_Counter].title;
+ TB_PrevURL = TB_TempArray[TB_Counter].href;
+ TB_PrevHTML = "<span id='TB_prev'> <a href='#'>< Prev</a></span>";
+ }
+ } else {
+ TB_FoundURL = true;
+ TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length);
+ }
+ }
+ }
+
+ imgPreloader = new Image();
+ imgPreloader.onload = function(){
+ imgPreloader.onload = null;
+
+ // Resizing large images - orginal by Christian Montoya edited by me.
+ var pagesize = tb_getPageSize();
+ var x = pagesize[0] - 150;
+ var y = pagesize[1] - 150;
+ var imageWidth = imgPreloader.width;
+ var imageHeight = imgPreloader.height;
+ if (imageWidth > x) {
+ imageHeight = imageHeight * (x / imageWidth);
+ imageWidth = x;
+ if (imageHeight > y) {
+ imageWidth = imageWidth * (y / imageHeight);
+ imageHeight = y;
+ }
+ } else if (imageHeight > y) {
+ imageWidth = imageWidth * (y / imageHeight);
+ imageHeight = y;
+ if (imageWidth > x) {
+ imageHeight = imageHeight * (x / imageWidth);
+ imageWidth = x;
+ }
+ }
+ // End Resizing
+
+ TB_WIDTH = imageWidth + 30;
+ TB_HEIGHT = imageHeight + 60;
+ j$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'><img src='/images/common/close.png' width='53' height='21' border='0' /></a></div>");
+
+ j$("#TB_closeWindowButton").click(tb_remove);
+
+ if (!(TB_PrevHTML === "")) {
+ function goPrev(){
+ if(j$(document).unbind("click",goPrev)){j$(document).unbind("click",goPrev);}
+ j$("#TB_window").remove();
+ j$("body").append("<div id='TB_window'></div>");
+ tb_show(TB_PrevCaption, TB_PrevURL, imageGroup);
+ return false;
+ }
+ j$("#TB_prev").click(goPrev);
+ }
+
+ if (!(TB_NextHTML === "")) {
+ function goNext(){
+ j$("#TB_window").remove();
+ j$("body").append("<div id='TB_window'></div>");
+ tb_show(TB_NextCaption, TB_NextURL, imageGroup);
+ return false;
+ }
+ j$("#TB_next").click(goNext);
+
+ }
+
+ document.onkeydown = function(e){
+ if (e == null) { // ie
+ keycode = event.keyCode;
+ } else { // mozilla
+ keycode = e.which;
+ }
+ if(keycode == 27){ // close
+ tb_remove();
+ } else if(keycode == 190){ // display previous image
+ if(!(TB_NextHTML == "")){
+ document.onkeydown = "";
+ goNext();
+ }
+ } else if(keycode == 188){ // display next image
+ if(!(TB_PrevHTML == "")){
+ document.onkeydown = "";
+ goPrev();
+ }
+ }
+ };
+
+ tb_position();
+ j$("#TB_load").remove();
+ j$("#TB_ImageOff").click(tb_remove);
+ j$("#TB_window").css({display:"block"}); //for safari using css instead of show
+ };
+
+ imgPreloader.src = url;
+ }else{//code to show html
+
+ var queryString = url.replace(/^[^\?]+\??/,'');
+ var params = tb_parseQuery( queryString );
+
+ TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL
+ TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL
+ ajaxContentW = TB_WIDTH - 30;
+ ajaxContentH = TB_HEIGHT - 45;
+
+ if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window
+ urlNoQuery = url.split('TB_');
+ j$("#TB_iframeContent").remove();
+ if(params['modal'] != "true"){//iframe no modal
+ j$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;' > </iframe>");
+ }else{//iframe modal
+ j$("#TB_overlay").unbind();
+ j$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;'> </iframe>");
+ }
+ }else{// not an iframe, ajax
+ if(j$("#TB_window").css("display") != "block"){
+ if(params['modal'] != "true"){//ajax no modal
+ j$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>");
+ }else{//ajax modal
+ j$("#TB_overlay").unbind();
+ j$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>");
+ }
+ }else{//this means the window is already up, we are just loading new content via ajax
+ j$("#TB_ajaxContent")[0].style.width = ajaxContentW +"px";
+ j$("#TB_ajaxContent")[0].style.height = ajaxContentH +"px";
+ j$("#TB_ajaxContent")[0].scrollTop = 0;
+ j$("#TB_ajaxWindowTitle").html(caption);
+ }
+ }
+
+ j$("#TB_closeWindowButton").click(tb_remove);
+
+ if(url.indexOf('TB_inline') != -1){
+ j$("#TB_ajaxContent").append(j$('#' + params['inlineId']).children());
+ j$("#TB_window").unload(function () {
+ j$('#' + params['inlineId']).append( j$("#TB_ajaxContent").children() ); // move elements back when you're finished
+ });
+ tb_position();
+ j$("#TB_load").remove();
+ j$("#TB_window").css({display:"block"});
+ }else if(url.indexOf('TB_iframe') != -1){
+ tb_position();
+ if(j$.browser.safari){//safari needs help because it will not fire iframe onload
+ j$("#TB_load").remove();
+ j$("#TB_window").css({display:"block"});
+ }
+ }else{
+ j$("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method
+ tb_position();
+ j$("#TB_load").remove();
+ tb_init("#TB_ajaxContent a.thickbox");
+ j$("#TB_window").css({display:"block"});
+ });
+ }
+
+ }
+
+ if(!params['modal']){
+ document.onkeyup = function(e){
+ if (e == null) { // ie
+ keycode = event.keyCode;
+ } else { // mozilla
+ keycode = e.which;
+ }
+ if(keycode == 27){ // close
+ tb_remove();
+ }
+ };
+ }
+
+ } catch(e) {
+ //nothing here
+ }
+}
+
+//helper functions below
+function tb_showIframe(){
+ j$("#TB_load").remove();
+ j$("#TB_window").css({display:"block"});
+}
+
+function tb_remove() {
+ j$("#TB_imageOff").unbind("click");
+ j$("#TB_closeWindowButton").unbind("click");
+ j$("#TB_window").fadeOut("fast",function(){j$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();});
+ j$("#TB_load").remove();
+ if (typeof document.body.style.maxHeight == "undefined") {//if IE 6
+ j$("body","html").css({height: "auto", width: "auto"});
+ j$("html").css("overflow","");
+ }
+ document.onkeydown = "";
+ document.onkeyup = "";
+ return false;
+}
+
+function tb_position() {
+j$("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'});
+ if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6
+ j$("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
+ }
+}
+
+function tb_parseQuery ( query ) {
+ var Params = {};
+ if ( ! query ) {return Params;}// return empty object
+ var Pairs = query.split(/[;&]/);
+ for ( var i = 0; i < Pairs.length; i++ ) {
+ var KeyVal = Pairs[i].split('=');
+ if ( ! KeyVal || KeyVal.length != 2 ) {continue;}
+ var key = unescape( KeyVal[0] );
+ var val = unescape( KeyVal[1] );
+ val = val.replace(/\+/g, ' ');
+ Params[key] = val;
+ }
+ return Params;
+}
+
+function tb_getPageSize(){
+ var de = document.documentElement;
+ var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;
+ var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight;
+ arrayPageSize = [w,h];
+ return arrayPageSize;
+}
+
+function tb_detectMacXFF() {
+ var userAgent = navigator.userAgent.toLowerCase();
+ if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) {
+ return true;
+ }
+}
+
+
--- /dev/null
+//imagefile = new Array("/images/menu_icon_on.gif", "/images/menu_icon.gif");\r
+imagefile = new Array("<%= image_path("menu_icon_on.gif") %>", "<%= image_path("menu_icon.gif") %>");\r
+\r
+image = new Array(imagefile.length);\r
+for(count = 0; count < (imagefile.length - 1); count++){\r
+ image[count] = new Image();\r
+ image[count].src = imagefile[count];\r
+}\r
+\r
+function ImgC(id){\r
+ if(window.document.images[id].src.indexOf(imagefile[0]) != -1){\r
+ window.document.images[id].src = imagefile[1];\r
+ }else{\r
+ window.document.images[id].src = imagefile[0];\r
+ }\r
+}\r
+\r
+function Tree(id){\r
+ if(document.all){\r
+ if(document.all(id).style.display == "block"){\r
+ document.all(id).style.display = "none";\r
+ }else if(document.all(id).style.display == "none"){\r
+ document.all(id).style.display = "block";\r
+ }\r
+ }else if(document.getElementById){\r
+ if(document.getElementById(id).style.display == "block"){\r
+ document.getElementById(id).style.display = "none";\r
+ }else if(document.getElementById(id).style.display == "none"){\r
+ document.getElementById(id).style.display = "block";\r
+ }\r
+ }\r
+}\r
<title><%= @title || "管理画面" %></title>
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag "admin/common" %>
- <%= javascript_include_tag "treemenu" %>
+ <%= javascript_include_tag js_url(:action => "treemenu") %>
<%= javascript_include_tag "rollover" %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<%= stylesheet_link_tag "admin" %>
<%= yield :head -%>
</head>
<div id="wrapper" class="clearfix">
<div id="header" class="clearfix"><!-- ヘッダー -->
<div id="head_l">
- <h1><a href="/admin/home"><img src="/images/logo.gif" width="169" height="50" alt="ECパッケージ管理画面" /></a></h1>
+ <h1><%= link_to image_tag("logo.gif", :width => "169", :height => "50", :alt => "ECパッケージ管理画面"), :controller => "home", :action => "index" %></h1>
</div>
<div id="head_m" class="clearfix">
<ul id="con_menu" class="clearfix">
- <li><a href="/admin/shops" id="shop"><img src="/images/store_btn.gif" width="122" height="51" alt="店舗管理" class="hoverImg" /></a></li>
- <li><a href="/admin/products" id="product"><img src="/images/goods_btn.gif" width="122" height="51" alt="商品管理" class="hoverImg" /></a></li>
+ <li><%= link_to image_tag("store_btn.gif", :width => "122", :height => "51", :alt => "店舗管理", :class => "hoverImg"), {:controller => "shops", :action => "index"}, :id => "shop" %></li>
+ <li><%= link_to image_tag("goods_btn.gif", :width => "122", :height => "51", :alt => "商品管理", :class => "hoverImg"), {:controller => "products", :action => "index"}, :id => "product" %></li>
<% if @system_supplier_use_flag %>
- <li><a href="/admin/suppliers" id="depot"><img src="/images/order_btn.gif" width="122" height="51" alt="発注出荷管理" class="hoverImg" /></a></li>
+ <li><%= link_to image_tag("order_btn.gif", :width => "122", :height => "51", :alt => "発注出荷管理", :class => "hoverImg"), {:controller => "suppliers", :action => "index"}, :id => "depot" %></li>
<%else%>
- <li><a href="/admin/stock_in" id="depot"><img src="/images/order_btn.gif" width="122" height="51" alt="発注出荷管理" class="hoverImg" /></a></li>
+ <li><%= link_to image_tag("order_btn.gif", :width => "122", :height => "51", :alt => "発注出荷管理", :class => "hoverImg"), {:controller => "stock_in", :action => "index"}, :id => "depot" %></li>
<%end%>
- <li><a href="/"><img src="/images/site_btn.gif" width="122" height="51" alt="サイトを表示" class="hoverImg" /></a></li>
+ <li><%= link_to image_tag("site_btn.gif", :width => "122", :height => "51", :alt => "サイトを表示", :class => "hoverImg"), {:controller => "/portal", :action => "show"} %></li>
</ul>
<div id="head_r" class="clearfix">
<p id="user_name"><a href="#"><%=h session[:admin_user].name %></a> 様</p>
<%= compound_title_tag(['K&B style', nil, nil, nil]) %>
<%= javascript_include_tag 'sorry' %>
-<%= javascript_include_tag 'treemenu' %>
+<%= javascript_include_tag js_url(:action => "treemenu") %>
<%= javascript_include_tag 'rollover' %>
<%= stylesheet_link_tag "front/common" %>
<%= yield :head -%>
<body>
<div id="wrapper" class="clearfix">
<div id="header" class="clearfix"><!-- ヘッダー -->
- <h1><a href="#"><img alt="K&Bstyle" height="37" src="/images/common/logo.gif" width="133" /></a></h1>
+ <h1><a href="#"><%= image_tag("common/logo.gif", :width => "133", :height => "37", :alt => "K&Bstyle") %></a></h1>
<div id="store_desc"><span>オシャレな女性のためのお手軽通販サイト</span></div>
<div id="my_menubox" class="clearfix">
<p>
<address>Copyright (c) 2000-2009 K&Bstyle CO.LTD. All Rights Reserved.</address>
</div>
<div id="foot_r">
- <a href="#header"><img width="79" height="24" alt="page top" src="/images/common/pagetop_btn.gif"/></a>
+ <a href="#header"><%= image_tag("common/pagetop_btn.gif", :width => "79", :height => "79", :alt => "page top") %></a>
</div>
</div><!-- /footer -->
</body>
<%= compound_title_tag(['K&B style', @product_name, @category_name, @campaign_name]) %>
<%= javascript_include_tag 'sorry' %>
-<%= javascript_include_tag 'treemenu' %>
+<%= javascript_include_tag js_url(:action => "treemenu") %>
<%= javascript_include_tag 'rollover' %>
<%= stylesheet_link_tag "front/common" %>
<%= yield :head -%>
<address>Copyright (c) 2000-2009 K&Bstyle CO.LTD. All Rights Reserved.</address>
</div>
<div id="foot_r">
- <a href="#header"><img width="79" height="24" alt="page top" src="/images/common/pagetop_btn.gif"/></a>
+ <a href="#header"><%= image_tag("common/pagetop_btn.gif", :width => "79", :height => "24", :alt => "page top") %></a>
</div>
</div><!-- /footer -->
</body>
<% content_for :head do %>\r
<%= javascript_include_tag :defaults %>\r
<%= stylesheet_link_tag "front/portal" %>\r
+ <%= javascript_include_tag js_url(:action => "application") %>\r
<% end %>\r
\r
<div id="container" class="clearfix">\r
<% content_for :head do %>\r
<%= javascript_include_tag :defaults %>\r
<%= stylesheet_link_tag "front/portal" %>\r
+ <%= javascript_include_tag js_url(:action => "application") %>\r
<% end %>\r
\r
<div id="container" class="clearfix">\r
<div id="left_box" class="clearfix">
<div id="top_img">
- <img height="200" width="740" alt="カジュアルアイテム在庫一掃セール" src="images/common/top_img.jpg">
+ <%= image_tag("common/top_img.jpg", :width => "740", :height => "200", :alt => "カジュアルアイテム在庫一掃セール") %>
</div>
<%= render :partial => '/base/left_sidebar' %>
<div id="main"><!-- メイン -->
<% content_for :head do %>\r
<%= javascript_include_tag :defaults %>\r
<%= stylesheet_link_tag "front/portal" %>\r
+ <%= javascript_include_tag js_url(:action => "application") %>\r
<% end %>\r
<div id="container" class="clearfix">\r
<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => 'portal', :action => 'show' %></li><li>特定商取引に関する法律に基づく表記</li></ol>\r
<!--カテゴリ画像 -->
<%= view_resource_id @category.resource_id,{:width=>"530px",:height=>"213px",:class =>"m_btm",:alt=>@category.free_space}%>
<% end %>
- <div><img src="/images/common/box_bg_top.gif" width="530" height="5" alt="" /></div>
+ <div><%= image_tag("common/box_bg_top.gif", :width => "530", :height => "5", :alt => "") %></div>
<div id="main_search" class="main_box">
<dl class="clearfix">
<dt>並び替え</dt>
<dd><ul><li><%= link_order "price" %></li><li><%= link_order "update" %></li></ul></dd>
</dl>
</div>
- <div class="m_btm"><img src="/images/common/box_bg_btm.gif" width="530" height="5" alt="" /></div>
+ <div class="m_btm"><%= image_tag("common/box_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>
<!-- pager -->
<div id="pager_box" class="clearfix">
<p><%=h ((@products.current_page-1)*@products.per_page)+1 %>~<%=h paginate_item_count(@products.current_page, @products.per_page, @products.total_entries) %> (<%=h @products.total_entries %>件中)</p>
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag "jquery" %>
<%= javascript_include_tag "no_confrict" %>
- <%= javascript_include_tag "thickbox" %>
+ <%= javascript_include_tag js_url(:action => "thickbox") %>
<%= javascript_include_tag "recommender_details" %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<div id="left_box" class="clearfix">
<!-- メイン -->
<div id="main">
- <ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to("商品一覧", { :controller => "/products", :action => "index"}) %></li><li><%= @product.name %></li></ol>
+ <ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to("商品一覧", { :controller => "/products", :action => "index"}) %></li><li><%= @product.name %></li></ol>
<!-- 商品詳細 -->
- <div><img src="/images/common/box_bg_top.gif" width="530" height="5" alt="" /></div>
+ <div><%= image_tag("common/box_bg_top.gif", :width => "530", :height => "5", :alt => "") %></div>
<div id="item_box" class="main_box">
<div id="item_box_top" class="clearfix">
<div class="item_pic"><%= link_to((product_image_tag(@product, :medium, :width=>250)), { :controller => "/image_resource", :action => "show", :id => (@product.large_resource_id || @product.medium_resource_id),:format => "png", :height => 640, :width => 480 }, {:title => "#{@product.name}", :class => "thickbox"} ) %><p><%= h_br @product.medium_resource_comment unless @product.medium_resource_comment.blank? %></p><br /></div>
</p>
</div><!-- /item_box -->
- <div class="m_btm"><img src="/images/common/box_bg_btm.gif" width="530" height="5" alt="" /></div>
+ <div class="m_btm"><%= image_tag("common/box_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>
<div id="under_line"></div>
<% @reco_no = 0 %>
<% content_for :head do %>
<%= stylesheet_link_tag "front/questionnaire" %>
<%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<% end %>
<div id="container" class="clearfix">
<th>郵便番号<span class="pnt">※</span></th>
<td>
〒 <%= text_field "respondent", "zipcode01", :size => "3" %> - <%= text_field "respondent", "zipcode02", :size => "4" %> <%= link_to "郵便番号を調べる", "http://search.post.japanpost.jp/zipcode/", {:target => "_blank"} %> <br />
- <input name="zipcode_input" class="btn_s" value="住所入力" onclick="address_by_zip('respondent_zipcode01','respondent_zipcode02', 'respondent_prefecture_name', 'respondent_address_city', 'respondent_address_details', 'respondent_prefecture_id', 'questionnaires');" type="button">
+ <input name="zipcode_input" class="btn_s" value="住所入力" onclick="address_by_zip('respondent_zipcode01','respondent_zipcode02', 'respondent_prefecture_name', 'respondent_address_city', 'respondent_address_details', 'respondent_prefecture_id', 'questionnaires', '<%=h ActionController::Base.relative_url_root %>');" type="button">
※郵便番号を入力後、クリックしてください。
</td>
</tr>
<!-- マイメニュー -->
<dl id="mymenu">
- <dt><img src="/images/mypage/mymenu_t.gif" width="170" height="40" alt="マイメニュー" /></dt>
+ <dt><%= image_tag("mypage/mymenu_t.gif", :width => "170", :height => "40", :alt => "マイメニュー") %></dt>
<dd><%= link_to image_tag("/images/mypage/mymenu_1.gif", :width=>"170", :height=>"40", :alt=>"購入履歴一覧"), :controller=>'accounts', :action=>'history_list' %></dd>
<dd><%= link_to image_tag("/images/mypage/mymenu_2.gif", :width=>"170", :height=>"40", :alt=>"会員登録内容変更", :class=>"hoverImg"), :controller=>'accounts', :action=>'edit' %></dd>
<dd><%= link_to image_tag("/images/mypage/mymenu_3.gif", :width=>"170", :height=>"40", :alt=>"お届け先追加・変更", :class=>"hoverImg"), :controller=>'accounts', :action=>'delivery' %></dd>
<%= stylesheet_link_tag "front/user/user" %>
<%= stylesheet_link_tag "front/user/address_new" %>
<%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<%= closer_for_delivery_address_script %>
</head>
<body onload="closeDeliveryAddress('<%= h(@back_from_url) %>'); window.close();">
<head>
<%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
</head>
<body>
<h1>EC</h1>
<head>
<%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
</head>
<body>
<h1>EC</h1>
<%= stylesheet_link_tag "front/user/user" %>
<%= stylesheet_link_tag "front/user/address_list" %>
<%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<%= popup_for_delivery_address_script %>
</head>
<body>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>お届け先追加・変更</title>
<%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
<%= popup_for_delivery_address_script %>
</head>
<body>
<head>
<%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag js_url(:action => "application") %>
</head>
<body>
<h1>EC</h1>
# Be sure to restart your server when you modify this file
# Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
+#RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
# my page
map.connect 'accounts', :controller => 'accounts', :action => 'history'
+ # javascript
+ map.js 'js/:action.js', :controller => 'javascript'
+
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
end
host = script_tag.src.match(/^https*:\/\/[^\/]+/i);\r
}\r
\r
-var image_path = "/images/emoticons";\r
+//var image_path = "/images/emoticons";\r
\r
var isRichText = false;\r
var rng;\r
}\r
\r
\r
-function writeRichText(id_name, html, width, height, buttons, readOnly, use_emoji) {\r
+function writeRichText(id_name, html, width, height, buttons, readOnly, use_emoji, _image_path) {\r
+ var image_path = _image_path;\r
//init variables\r
var target_area = "";\r
if (document.all) {\r
area_html += ' <span id="emoji_' + id_name + '"><INPUT type="button" value="絵文字を使用する" onClick="dlgEmojiPalette(\'' + id_name + '\', \'emoji\')" class="btn_s"></span>\n';\r
}\r
area_html += ' <div style="position: absolute; color: white; background: white; border:1px solid #000000; padding: 0px; text-align: center; display: none;" id="emoji' + id_name + '" >\n';\r
- area_html += ' <img src="'+ host +'/images/emoticons/emoticons.gif" style="border: 0px none \;" usemap="#emoji" alt="">\n';\r
+ //area_html += ' <img src="'+ host +'/images/emoticons/emoticons.gif" style="border: 0px none \;" usemap="#emoji" alt="">\n';\r
+ area_html += ' <img src="'+ image_path +'/emoticons.gif" style="border: 0px none \;" usemap="#emoji" alt="">\n';\r
area_html += ' <map name="emoji" id="emoji_map'+id_name+'">\n';\r
\r
var size=20;\r
target_area.innerHTML = area_html;\r
document.getElementById('hdn' + id_name).value = html;\r
enableDesignMode(id_name, html, readOnly);\r
- addMapEvent(id_name);\r
+ addMapEvent(id_name, image_path);\r
} else {\r
if (!readOnly) {\r
area_html += '<textarea name="' + id_name + '" id="' + id_name + '" style="width: ' + width + 'px; height: ' + height + 'px;">' + html + '</textarea>\n';\r
\r
\r
\r
-var emojiBase = host + image_path +"/";\r
+//var emojiBase = host + image_path +"/";\r
\r
-function setEmojiTag(emoji) {\r
+function setEmojiTag(emoji, image_path) {\r
+ var emojiBase = host + image_path +"/";\r
var img_url = emojiBase + emoji +".gif";\r
window.setEmoji(img_url);\r
}\r
callback(i,array[i],array);\r
}\r
\r
-function addMapEvent(id_name){\r
+function addMapEvent(id_name, image_path){\r
var area = document.getElementById("emoji_map"+id_name).getElementsByTagName("area");\r
foreach(area, function(i,el){\r
- addEvent(el, "mouseup", function(){ setEmojiTag( el.id );\r
+ addEvent(el, "mouseup", function(){ setEmojiTag( el.id, image_path );\r
});\r
});\r
}\r
WIN.focus();
}
-function address_by_zip(zipcode_first, zipcode_second, prefecture_name, city_name, town_name, prefecture_id, controller){
+function address_by_zip(zipcode_first, zipcode_second, prefecture_name, city_name, town_name, prefecture_id, controller, base_path){
//郵便番号から住所を自動入力
var first = $F(zipcode_first);
var second = $F(zipcode_second);
return;
}
var params = $H({first: first, second: second});
- new Ajax.Request('/'+controller+'/get_address?' + params.toQueryString(), {
+ new Ajax.Request(base_path + '/'+controller+'/get_address?' + params.toQueryString(), {
method: "get",
onSuccess: function(request) {
var data = request.responseText.split("/");
});
}
-
+/*
Event.observe(window, 'load', function() {
var img = document.createElement('img');
document.body.appendChild(img);
img.style.marginTop = String(-(img.height / 2)) + 'px';
}
});
-
+*/
Ajax.Responders.register({
onCreate: function() {
Element.show('loading-image');
@charset "utf-8";\r
-/*------����------*/\r
+/*------共通------*/\r
body, div, h1, h2, h3, h4, h5, h6,\r
p, brockquote, pre, address,\r
ul, ol, li, dl, dt, dd,\r
li { list-style-type: none; }\r
textarea { font-size: 100%; }\r
\r
-/*------�����N�F------*/\r
+/*------リンク色------*/\r
a {\r
text-decoration: none;\r
font-weight: normal;\r
}\r
a:active { color: #414d8d; }\r
\r
-/*---------------�S��--------------*/\r
+/*---------------全体--------------*/\r
body {\r
width: 100%;\r
height: 100%;\r
background-color: #f6f6f6;\r
- font-family: Verdana, Osaka, "�l�r �o�S�V�b�N", sans-serif;\r
+ font-family: Verdana, Osaka, "ï¼ï¼³ ï¼°ã\82´ã\82·ã\83\83ã\82¯", sans-serif;\r
font-size: 75%;\r
}\r
\r
border-right: 3px solid #ffffff;\r
}\r
\r
-/*-----------�w�b�_�[-----------*/\r
+/*-----------ヘッダー-----------*/\r
#header {\r
width: 950px;\r
}\r
background: url("../images/list_mizu.gif") no-repeat 0 center;\r
}\r
\r
-/*------�J�������C�A�E�g------*/\r
+/*------カラムレイアウト------*/\r
#sub {\r
float: left;\r
width: 200px;\r
background-color: #ffffec;\r
}\r
\r
-/*------���j���[------*/\r
+/*------メニュー------*/\r
#menu {\r
width: 190px;\r
background-color: #84d0db;\r
display: block;\r
}\r
\r
-/*----------�t�b�^�[----------*/\r
+/*----------フッター----------*/\r
#footer {\r
width: 944px;\r
height: 60px;\r
line-height: 0;\r
}\r
\r
-/*-------���o��-------*/\r
+/*-------見出し-------*/\r
h2 {\r
width: 672px;\r
height: 43px;\r
color: #ffffff;\r
}\r
\r
-/*-------�e�[�u�����-------*/\r
+/*-------テーブル周り-------*/\r
.req {\r
text-align: right;\r
margin: -11px 0 4px 0;\r
background-color: #ffffff;\r
}\r
\r
-/*---------�t�H�[��---------*/\r
+/*---------フォーム---------*/\r
.data input {\r
border: 1px solid #bbbbbb;\r
margin-right: 5px;\r
background: url(../images/btn_s.gif) repeat-x;\r
}\r
\r
-/*----------�{�^��----------*/\r
+/*----------ボタン----------*/\r
.btn {\r
height: 34px;\r
padding: 0 18px;\r
}\r
\r
\r
-/*-------���ʃ{�b�N�X-------*/\r
+/*-------共通ボックス-------*/\r
#input_area .mybtn input,\r
#input_area .mybtn2 input {\r
border: none;\r
-}
\ No newline at end of file
+}\r
\r
.main_t {\r
width: 690px;\r
- background: url(/images/common/main_t_l.gif) no-repeat;\r
+ background: url(../../images/common/main_t_l.gif) no-repeat;\r
}\r
\r
#main select {\r
}\r
\r
.main_box {\r
- background: url(/images/common/box_bg.gif) repeat-y;\r
+ background: url(../../images/common/box_bg.gif) repeat-y;\r
width: 510px;\r
}\r
\r
height: 2px;\r
width: 510px;\r
margin: 10px 0;\r
- background: url(/images/common/main_hr.gif) no-repeat;\r
+ background: url(../../images/common/main_hr.gif) no-repeat;\r
}\r
\r
.description {\r
\r
.btn_s {\r
height: 22px;\r
- background: url(/images/btn_s.gif) repeat-x;\r
+ background: url(../../images/btn_s.gif) repeat-x;\r
cursor: pointer;\r
}\r
\r
\r
.main_t {\r
width: 690px;\r
- background: url(/images/common/main_t_l.gif) no-repeat;\r
+ background: url(../../images/common/main_t_l.gif) no-repeat;\r
}\r
\r
#cart {\r
\r
.cart_complete a {\r
margin: 0 10px;\r
- background: url(/images/common/list_pink.gif) no-repeat 0 6px;\r
+ background: url(../../images/common/list_pink.gif) no-repeat 0 6px;\r
padding: 3px 0 3px 15px;\r
}\r
\r
\r
/*---Payment Delivery time---*/\r
#pt_box {\r
- background: url(/images/cart/cart_bg.gif) repeat-y;\r
+ background: url(../../images/cart/cart_bg.gif) repeat-y;\r
width: 545px;\r
margin: 0 auto 30px;\r
}\r
@charset "utf-8";\r
\r
.main_box {\r
- background: url(/images/common/box_bg.gif) repeat-y;\r
+ background: url(../../images/common/box_bg.gif) repeat-y;\r
}\r
\r
-/*------�J�e�S���̟��-------*/\r
+/*----Category Search----*/\r
#main_search {\r
padding: 7px 20px;\r
}\r
margin-bottom: -4px;\r
}\r
\r
-/*------�y�[�W���[-------*/\r
+/*----Pager----*/\r
#pager_box {\r
padding-bottom: 7px;\r
margin-bottom: 10px;\r
font-weight: bold;\r
}\r
\r
-/*------�J�e�S�����i�ꗗ-------*/\r
+/*----Category Product Lists----*/\r
#ctgr_box {\r
margin-bottom: 15px;\r
}\r
text-align: right;\r
}\r
\r
-/*------�����L���O�ꗗ-------*/\r
+/*----Ranking List----*/\r
.rank_t {\r
width: 490px;\r
height: 41px;\r
- background: url(/images/category/rank_t_bg.gif) no-repeat;\r
+ background: url(../../images/category/rank_t_bg.gif) no-repeat;\r
padding-left: 40px;\r
line-height: 41px;\r
font-size: 130%;\r
}\r
\r
#ctgr_box li.rank1 {\r
- background: url(/images/category/rank1.gif) no-repeat center top;\r
+ background: url(../../images/category/rank1.gif) no-repeat center top;\r
padding-top: 30px;\r
margin-top: 5px;\r
}\r
\r
#ctgr_box li.rank2 {\r
- background: url(/images/category/rank2.gif) no-repeat center top;\r
+ background: url(../../images/category/rank2.gif) no-repeat center top;\r
padding-top: 30px;\r
margin-top: 5px;\r
}\r
\r
#ctgr_box li.rank3 {\r
- background: url(/images/category/rank3.gif) no-repeat center top;\r
+ background: url(../../images/category/rank3.gif) no-repeat center top;\r
padding-top: 30px;\r
margin-top: 5px;\r
}\r
\r
#ctgr_box li.rank4 {\r
- background: url(/images/category/rank4.gif) no-repeat center top;\r
+ background: url(../../images/category/rank4.gif) no-repeat center top;\r
padding-top: 30px;\r
margin-top: 5px;\r
}\r
body {\r
width: 100%;\r
height: 100%;\r
- background: url("/images/common/body_bg.gif") repeat-x;\r
- font-family: Verdana, Osaka, "?l?r ?o?S?V?b?N","MS PGothic", Sans-serif;\r
+ background: url("../../images/common/body_bg.gif") repeat-x;\r
+ font-family: Verdana, Osaka, "MS Pゴシック","MS PGothic", Sans-serif;\r
font-size: 75%;\r
}\r
\r
\r
#container {\r
width: 955px;\r
- background: #ffffff url("/images/common/container_bg.gif") repeat-y left 0;\r
+ background: #ffffff url("../../images/common/container_bg.gif") repeat-y left 0;\r
margin-left: 5px;\r
padding: 0 10px 10px 0;\r
}\r
width: 970px;\r
height: 70px;\r
margin-bottom: 10px;\r
- background: url("/images/common/header_bg.jpg") no-repeat;\r
+ background: url("../../images/common/header_bg.jpg") no-repeat;\r
}\r
\r
#header h1 {\r
#bread_list li {\r
display: inline;\r
padding-left: 20px;\r
- background: url("/images/common/gt.gif") no-repeat 6px center;\r
+ background: url("../../images/common/gt.gif") no-repeat 6px center;\r
}\r
\r
#bread_list li.bread_top {\r
padding-left: 45px;\r
font-size: 130%;\r
font-weight: bold;\r
- background: url(/images/common/title_bg.gif) no-repeat;\r
+ background: url(../../images/common/title_bg.gif) no-repeat;\r
line-height: 43px;\r
}\r
\r
/*------left side column------*/\r
.side_box {\r
- background: url("/images/common/side_bg_mid.gif") repeat-y;\r
+ background: url("../../images/common/side_bg_mid.gif") repeat-y;\r
}\r
\r
#h3_t {\r
height: 2px;\r
margin-bottom: 7px;\r
border: 0 none;\r
- background: url("/images/common/side_hr.gif") no-repeat;\r
+ background: url("../../images/common/side_hr.gif") no-repeat;\r
}\r
\r
.side_hr hr {\r
\r
/*---category list---*/\r
#category_list_box {\r
- background: url("/images/common/side_bg_mid.gif") repeat-y;\r
+ background: url("../../images/common/side_bg_mid.gif") repeat-y;\r
padding: 10px 10px 5px;\r
}\r
\r
\r
/*------right side column------*/\r
.side_box_r {\r
- background: url("/images/common/side_bg_mid.gif") repeat-y;\r
+ background: url("../../images/common/side_bg_mid.gif") repeat-y;\r
padding: 6px 10px;\r
}\r
\r
}\r
\r
#remind {\r
- background: url("/images/common/list_pink.gif") no-repeat;\r
+ background: url("../../images/common/list_pink.gif") no-repeat;\r
margin-bottom: 5px;\r
padding-left: 14px;\r
}\r
/*----------information----------*/\r
#info_box li {\r
padding: 3px 0 3px 15px;\r
- background: url("/images/common/list_pink.gif") no-repeat 0 6px;\r
+ background: url("../../images/common/list_pink.gif") no-repeat 0 6px;\r
line-height: 120%;\r
}\r
\r
/*----kuchikomi ranking-----*/\r
#kuchikomi_box {\r
- background: url("/images/common/side_bg_mid.gif") repeat-y;\r
+ background: url("../../images/common/side_bg_mid.gif") repeat-y;\r
padding: 0 10px 6px;\r
}\r
\r
#kuchikomi_box li {\r
- background: url("/images/common/side_hr.gif") no-repeat 0 bottom;\r
+ background: url("../../images/common/side_hr.gif") no-repeat 0 bottom;\r
padding: 5px 0;\r
}\r
\r
text-align: center;\r
font-weight: bold;\r
font-size: 110%;\r
- background: url("/images/common/rank_t_bg.gif") no-repeat;\r
+ background: url("../../images/common/rank_t_bg.gif") no-repeat;\r
}\r
\r
/*----recentry checked----*/\r
width: 970px;\r
height: 88px;\r
margin: -88px auto 0;\r
- background: url("/images/common/footer_bg.gif");\r
+ background: url("../../images/common/footer_bg.gif");\r
}\r
\r
#foot_l {\r
\r
.main_t {\r
width: 690px;\r
- background: url(/images/common/main_t_l.gif) no-repeat;\r
+ background: url(../../images/common/main_t_l.gif) no-repeat;\r
}\r
\r
#entry {\r
@charset "utf-8";
.main_box {
- background: url(/images/common/box_bg.gif) repeat-y;
+ background: url(../../images/common/box_bg.gif) repeat-y;
}
/*------特集商品一覧説明文-------*/
#feature_box dd {
text-align: right;
-}
\ No newline at end of file
+}
}\r
\r
.main_box {\r
- background: url(/images/common/box_bg.gif) repeat-y;\r
+ background: url(../../images/common/box_bg.gif) repeat-y;\r
}\r
\r
/*------商品詳細-------*/\r
height: 2px;\r
width: 510px;\r
margin: 10px 0;\r
- background: url(/images/common/main_hr.gif) no-repeat;\r
+ background: url(../../images/common/main_hr.gif) no-repeat;\r
}\r
\r
.description {\r
\r
/*------レコメンド-------*/\r
#reco_box {\r
- background: url(/images/item/reco_bg.gif) repeat-y;\r
+ background: url(../../images/item/reco_bg.gif) repeat-y;\r
padding: 7px 0 5px;\r
}\r
\r
#reco_box ul {\r
- background: url(/images/item/reco_hr.gif) repeat-y 147px top;\r
+ background: url(../../images/item/reco_hr.gif) repeat-y 147px top;\r
}\r
\r
#reco_box li {\r
\r
/*------クチコミ-------*/\r
#kuchi_box {\r
- background: url(/images/item/reco_bg.gif) repeat-y;\r
+ background: url(../../images/item/reco_bg.gif) repeat-y;\r
padding: 10px 15px 5px;\r
}\r
\r
width: 500px;\r
margin-bottom: 7px;\r
padding-bottom: 7px;\r
- background: url(/images/common/main_hr.gif) no-repeat 0 bottom;\r
+ background: url(../../images/common/main_hr.gif) no-repeat 0 bottom;\r
}\r
\r
#kuchi_box dt {\r
width: 492px;\r
padding: 2px;\r
margin-bottom: 5px;\r
-}
\ No newline at end of file
+}\r
\r
.main_t {\r
width: 690px;\r
- background: url(/images/common/main_t_l.gif) no-repeat;\r
+ background: url(../../images/common/main_t_l.gif) no-repeat;\r
}\r
\r
#login_area {\r
width: 715px;\r
- background: url(/images/login/login_mid.gif) repeat-y;\r
+ background: url(../../images/login/login_mid.gif) repeat-y;\r
margin: 0 auto 40px;\r
}\r
\r
\r
.main_t {\r
width: 690px;\r
- background: url(/images/common/main_t_l.gif) no-repeat;\r
+ background: url(../../images/common/main_t_l.gif) no-repeat;\r
}\r
\r
#mypage {\r
.mypage_box {\r
width: 515px;\r
padding: 1px 10px 10px;\r
- background: url(/images/mypage/mypage_bg.gif) repeat-y;\r
+ background: url(../../images/mypage/mypage_bg.gif) repeat-y;\r
}\r
\r
.tb_t {\r
.mypage_box .my_btn input,\r
.mypage_box .my_btn2 input {\r
border: none;\r
-}
\ No newline at end of file
+}\r
\r
.main_t {\r
width: 690px;\r
- background: url(/images/common/main_t_l.gif) no-repeat;\r
+ background: url(../../images/common/main_t_l.gif) no-repeat;\r
}\r
\r
#cart {\r
float: left;\r
}\r
\r
-/*---�t�H�[�����i---*/\r
+/*----Cart----*/\r
#cart input,\r
#cart select {\r
border: 1px solid #999999;\r
}\r
\r
.m_left {\r
- margin-leftt: 5px;\r
+ margin-left: 5px;\r
}\r
\r
.total2 {\r
width: 700px;\r
}\r
\r
-/*---�������---*/\r
-\r
+/*----Comp----*/\r
.comp {\r
text-align: center;\r
font-size: 140%;\r
padding: 2px 0;\r
}\r
\r
-/*---���x������@�E���͂�����---*/\r
+/*----Payment----*/\r
#pt_box {\r
- background: url(/images/cart/cart_bg.gif) repeat-y;\r
+ background: url(../../images/cart/cart_bg.gif) repeat-y;\r
width: 545px;\r
margin: 0 auto 30px;\r
}\r
}\r
.btn_s {\r
height: 22px;\r
- background: url(/images/btn_s.gif) repeat-x;\r
+ background: url(../../images/btn_s.gif) repeat-x;\r
cursor: pointer;\r
}\r
.errorExplanation {\r
border: 1px solid #ff0000;\r
margin: 5px 0;\r
color: #ff0000;\r
-}
\ No newline at end of file
+}\r
\r
.main_t {\r
width: 690px;\r
- background: url(/images/common/main_t_l.gif) no-repeat;\r
+ background: url(../../images/common/main_t_l.gif) no-repeat;\r
}\r
\r
.error_mes {\r
\r
.btn_s {\r
height: 22px;\r
- background: url(/images/btn_s.gif) repeat-x;\r
+ background: url(../../images/btn_s.gif) repeat-x;\r
cursor: pointer;\r
}\r
\r
width: 107px;\r
height: 34px;\r
padding-top: 16px;\r
- background: url(/images/top/title_r.gif) no-repeat;\r
+ background: url(../../images/top/title_r.gif) no-repeat;\r
}\r
\r
/*-------新着アイテム-------*/\r
#new_item {\r
width: 520px;\r
padding: 0 5px 10px;\r
- background: url(/images/top/top_bg.gif) repeat-y;\r
+ background: url(../../images/top/top_bg.gif) repeat-y;\r
}\r
\r
#new_item li {\r
#ranking {\r
width: 509px;\r
padding: 0 11px 10px 10px;\r
- background: url(/images/top/top_bg.gif) repeat-y;\r
+ background: url(../../images/top/top_bg.gif) repeat-y;\r
}\r
\r
.rank_item {\r
}\r
\r
.rank1 {\r
- background: url(/images/top/rank1_bg.gif) repeat-x;\r
+ background: url(../../images/top/rank1_bg.gif) repeat-x;\r
}\r
\r
.rank2 {\r
- background: url(/images/top/rank2_bg.gif) repeat-x;\r
+ background: url(../../images/top/rank2_bg.gif) repeat-x;\r
}\r
\r
.rank3 {\r
- background: url(/images/top/rank3_bg.gif) repeat-x;\r
+ background: url(../../images/top/rank3_bg.gif) repeat-x;\r
}\r
\r
\r
#reco_item {\r
width: 510px;\r
padding: 0 10px;\r
- background: url(/images/top/top_bg.gif) repeat-y;\r
+ background: url(../../images/top/top_bg.gif) repeat-y;\r
}\r
\r
#reco_item li {\r