(4) data/class/sc_display.php 1) function setdevice($device = DEVICE_TYPE_PC) 内 変 更 前 case DEVICE_TYPE_SMARTPHONE: $this->setview(new SC_SmartphoneVie



Similar documents
CSS

●70974_100_AC009160_KAPヘ<3099>ーシス自動車約款(11.10).indb

REALV5_A4…p_Ł\1_4A_OCF

untitled

「都市から地方への人材誘致・移住促進に関する調査」

<91498EE88CA D815B2E786C73>

〔 大 会 役 員 〕

橡本体資料+参考条文.PDF

Lecture on

scripty公開資料_マイナーブラウザ編


CSSの基礎

HTML5 CSS

07_経営論集2010 小松先生.indd

経営論集2011_07_小松先生.indd

インターネットマガジン2004年3月号―INTERNET magazine No.110

【お試し版】Web制作者のためのCSS設計の教科書(非売品)


Taro13-第6章(まとめ).PDF


m_sotsuron

Microsoft PowerPoint - CSSガイドライン_ ppt [互換モード]


HTML5&CSS3 レッスンブック



橡Taro9-生徒の活動.PDF

第6回 CSS入門(つづき)

textbook.indd

No.28

( ) [18 30] [21 00] 2 3 ( ( ) ) ( ) ( ) a b

項 目

untitled

B5‘·¢‡Ì…X…X…†PDFŠp

JPROM-PRINT

サービス付き高齢者向け住宅賠償責任保険.indd

™…

bumon_pro.indd

表紙2.eps

2012_05_GLK_cover.indd

EPSON

2.8% 2.0% 2.4% 2.4% 0.4% 0.1% 0.3% 0.5% 3.8% 5.6% 25.6% 29.3% 64.6% 60.0% 1

sbhc01b.ai

01-.indd


.z {..5.15

‡o‡P†C‡P‡Q”R„û†^‡P†C‡P‡Q


Q & A

Microsoft Word - class_specification_guide_v60.doc



untitled

改訂版 :基本的な文字化の原則(Basic Transcription System for Japanese: BTSJ)

imagio Wide 7040

コンピュータサイエンス 1. ウェブの基本

1. はじめにこのドキュメントは IBMi 上のデータを HTML のテーブルで表示するためのカスタマイズ方法について説明するものです この手法を用いることで スムーズなスクロールによる照会画面 (HTML のテーブル ) を 5250 画面に挿 することが出来ます ( 下図参照 ) なお このドキ

16 (2) 23 - <div class="col-12 col-md-4"> </div> 23 + <div class="col-12 col-md-4 bg-info text-white text-md-right"> </div> HTML bg-info #17

Taro-CSS.jtd

ch31.dvi

<4D F736F F D208DEC90AC837D836A B81698F4390B394C5816A2E646F63>

(1)

アメブロは そのままで使えるおしゃれなテンプレートが豊富にそろっているのが特徴ですがさらにデザインをカスタマイズすることによって 見やすく集客しやすいブログにすることができます このテキストでは 2016 年 3 月にリリースされた CSS 編集用デザイン を使用して あなただけのデザインにアメブロ

Web データ管理 HTML+CSS (3) (2 章 ) 2011/10/19( 水 ) 湘南工科大学講義資料 Web データ管理 (2011) 阿倍 1/23

115px 500px

2

Transcription:

コピー 用 のテキストファイル(データベースと 必 要 ファイ ル.txt)が 同 梱 されていますので そちらを 利 用 してコピー &ペーストしてください コードの 前 には タブスペースがありますので 段 落 を 選 択 してコピーするようにしてください (1) html/user_data/packages/default/css/import.css 最 後 に 追 加 @import url("./landing.css"); (2) html/user_data/packages/default/css/bloc.css 任 意 の 箇 所 に 追 加 /* =============================================== ランディングページメニュー =============================================== */ #landing_area.block_body { border:none; #landing_area h2 { padding: 5px; background-color:#eee; margin-bottom:5px; #landing_area ul.landing_button_like li { margin-bottom:5px; padding: 0 0 1px 0; background: url("../img/background/bg_btn_list.jpg") bottom repeat-x; #landing_area ul.landing_button_like a { margin: 0; padding: 5px; border: 1px solid #ccc; border-bottom: none; display: block; text-decoration: none; outline: none; (3) data/class/sc_product.php 152 行 目 付 近,main_large_image を 追 加 EOS ;,status,del_flg,update_date,main_large_image $res = $objquery->select($col, $this->alldtlsql()); return $res;

(4) data/class/sc_display.php 1) function setdevice($device = DEVICE_TYPE_PC) 内 変 更 前 case DEVICE_TYPE_SMARTPHONE: $this->setview(new SC_SmartphoneView_Ex()); 変 更 後 case DEVICE_TYPE_SMARTPHONE: if (strstr($_server["php_self"], "/landing/index.php") or strstr($_server["php_self"], "/landing/ lp_contact.php") or strstr($_server["php_self"], "/landing/lp_complete.php")) { $this->setview(new SC_SiteView_Ex()); else { $this->setview(new SC_SmartphoneView_Ex()); 2) function detectdevice() 内 変 更 前 return DEVICE_TYPE_SMARTPHONE; 変 更 後 if (strstr($_server["php_self"], "/landing/index.php") or strstr($_server["php_self"], "/landing/lp_ contact.php") or strstr($_server["php_self"], "/landing/lp_complete.php")) { return DEVICE_TYPE_PC; else { return DEVICE_TYPE_SMARTPHONE;

(5) data/class/pages/lc_page.php public function init() 内 // ランディングページ1 / 2 $this->arrlandingframe = $this->lfgetlandingframe(); 最 後 に // ランディングページ2 / 2 function lfgetlandingframe() { $objquery =& SC_Query_Ex::getSingletonInstance(); $landing = $_GET['landing']; $admin = $_GET['admin']; $col = '*'; $arrwhereval); if ($admin == "" OR $admin!= AUTH_MAGIC) { $where = 'del_flg = 0 AND status = 1'; elseif ($admin == AUTH_MAGIC) { $where = 'del_flg = 0'; if ($landing!= '') { return $arrret[0]; $where.= ' AND url_name =?'; $arrwhereval = array($landing); $arrret = $objquery->select($col, 'dtb_landing', $where, (6) data/smarty/templates/admin/main_frame.tpl <head> ~ </head> に 以 下 を 追 加 ---------------------------------------------------- <!--CKeditor--> <!--{assign var=landing_input value="`$smarty.const.root_urlpath``$smarty.const.admin_dir`contents/landing_input.php"--> <!--{if $smarty.server.php_self==$landing_input--> <script type="text/javascript" src="<!--{$smarty.const.root_urlpath-->user_data/ckeditor4.4.0/ckeditor/ckeditor.js"></script> <script type="text/javascript" src="<!--{$smarty.const.root_urlpath-->user_data/ckeditor4.4.0/ckfinder/ckfinder.js"></script> <!--{/if--> ---------------------------------------------------- (7) data/smarty/templates/admin/contents/subnavi.tpl 追 加 ------------------------------------- <li<!--{if $tpl_subno == 'landing'--> class="on"<!--{/if--> id="navi-contents-landing"><a href="<!--{$smarty.const.root_urlpath--><!-- {$smarty.const.admin_dir-->contents/landing.php"><span> ランディングページ 管 理 </span></a></li> -------------------------------------

(8) data/smarty/templates/default/site_frame.tpl 最 初 に <!--{assign var=landing value="`$smarty.const.root_urlpath`landing/index.php"--> <!--{assign var=lp_contact value="`$smarty.const.root_urlpath`landing/lp_contact.php"--> <!--{assign var=lp_complete value="`$smarty.const.root_urlpath`landing/lp_complete.php"--> <!--{if $smarty.server.php_self==$landing and $arrlandingframe.frame_check == 1 or $smarty.server.php_self==$lp_contact or $smarty.server. PHP_SELF == $lp_complete--> <!--{include file='./landing/site_frame_landing.tpl'--> <!--{else--> </head> の 次 に <!--{/if--> <!--{if $smarty.server.php_self==$landing and $arrlandingframe.frame_check == 1--> <!--{include file='./landing/index.tpl'--> <!--{else--> <!-- BODY 部 エンド --> の 次 に <!--{/if-->

(9) data/smarty/templates/default/site_main.tpl 最 初 に <!--{assign var=lp_contact value="`$smarty.const.root_ URLPATH`landing/lp_contact.php"--> <!--{assign var=lp_complete value="`$smarty.const.root_ URLPATH`landing/lp_complete.php"--> <!--{* HeaderHeaderTop COLUMN*--> の 前 に server.php_self == $lp_complete--><!-- ランディングページお 問 い 合 わ <!--{else--> <!--{* HEADER *--> の 次 に <!--{/if--><!-- --> server.php_self == $lp_complete--><!-- ランディングページお 問 い 合 わ <!--{else--> <!-- メイン --> の 前 に <!--{/if--><!-- --> <!-- メイン --> の 次 に server.php_self == $lp_complete--><!-- ランディングページお 問 い 合 わ <!--{else--> </body> の 前 に <!--{/if--><!-- -->