| 1 | <script type="text/javascript"> |
---|
| 2 | $(function() { |
---|
| 3 | var page_id = '<!--{$page_id|h}-->'; |
---|
| 4 | if (page_id != '1') { |
---|
| 5 | $('.anywhere').attr('disabled', true); |
---|
| 6 | $('.anywhere:checked').each(function() { |
---|
| 7 | $(this).parents('.sort').children('input[type=hidden]').each(function() { |
---|
| 8 | $(this).remove(); |
---|
| 9 | }); |
---|
| 10 | }); |
---|
| 11 | } |
---|
| 12 | }); |
---|
| 13 | function doPreview(){ |
---|
| 14 | document.form1.mode.value="preview" |
---|
| 15 | document.form1.target = "_blank"; |
---|
| 16 | document.form1.submit(); |
---|
| 17 | } |
---|
| 18 | function fnTargetSelf(){ |
---|
| 19 | document.form1.target = "_self"; |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | </script> |
---|
| 23 | |
---|
| 24 | <script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/ui.core.js"></script> |
---|
| 25 | <script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/ui.sortable.js"></script> |
---|
| 26 | <script type="text/javascript" src="<!--{$TPL_URLPATH}-->js/layout_design.js"></script> |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | <form name="form1" id="form1" method="post" action="?"> |
---|
| 30 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 31 | <input type="hidden" name="mode" value="" /> |
---|
| 32 | <input type="hidden" name="page_id" value="<!--{$page_id|h}-->" /> |
---|
| 33 | <input type="hidden" name="bloc_cnt" value="<!--{$bloc_cnt|h}-->" /> |
---|
| 34 | <input type="hidden" name="device_type_id" value="<!--{$device_type_id|h}-->" /> |
---|
| 35 | |
---|
| 36 | <div id="design" class="contents-main"> |
---|
| 37 | <!--{* ▼レイアウトここから *}--> |
---|
| 38 | <div style="float: left; width: 75%;" align="center"> |
---|
| 39 | <table id="design-layout-used" class="design-layout"> |
---|
| 40 | <tr> |
---|
| 41 | <th colspan="3"><head></th> |
---|
| 42 | </tr> |
---|
| 43 | <tr> |
---|
| 44 | <!-- ★☆★ HEADタグ内テーブル ☆★☆ --> |
---|
| 45 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_HEAD]}-->" class="ui-sortable"> |
---|
| 46 | <!--{assign var="firstflg" value=false}--> |
---|
| 47 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 48 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_HEAD]}--> |
---|
| 49 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 50 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 51 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 52 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 53 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 54 | <!--{$item.name}--> |
---|
| 55 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 56 | </div> |
---|
| 57 | <!--{assign var="firstflg" value=true}--> |
---|
| 58 | <!--{/if}--> |
---|
| 59 | <!--{/foreach}--> |
---|
| 60 | </td> |
---|
| 61 | <!-- ★☆★ Headタグ内テーブル ☆★☆ --> |
---|
| 62 | </tr> |
---|
| 63 | <tr> |
---|
| 64 | <th colspan="3"></head></th> |
---|
| 65 | </tr> |
---|
| 66 | <tr> |
---|
| 67 | <!-- ★☆★ ヘッダより上部ナビテーブル ☆★☆ --> |
---|
| 68 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_HEAD_TOP]}-->" class="ui-sortable"> |
---|
| 69 | <!--{assign var="firstflg" value=false}--> |
---|
| 70 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 71 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_HEAD_TOP]}--> |
---|
| 72 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 73 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 74 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 75 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 76 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 77 | <!--{$item.name}--> |
---|
| 78 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 79 | </div> |
---|
| 80 | <!--{assign var="firstflg" value=true}--> |
---|
| 81 | <!--{/if}--> |
---|
| 82 | <!--{/foreach}--> |
---|
| 83 | </td> |
---|
| 84 | <!-- ★☆★ ヘッダより上部ナビテーブル ☆★☆ --> |
---|
| 85 | </tr> |
---|
| 86 | <tr> |
---|
| 87 | <!-- ★☆★ ヘッダ内部ナビテーブル ☆★☆ --> |
---|
| 88 | <th id="layout-header">ヘッダー部</th> |
---|
| 89 | <td colspan="2" id="<!--{$arrTarget[$smarty.const.TARGET_ID_HEADER_INTERNAL]}-->" class="ui-sortable"> |
---|
| 90 | <!--{assign var="firstflg" value=false}--> |
---|
| 91 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 92 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_HEADER_INTERNAL]}--> |
---|
| 93 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 94 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 95 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 96 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 97 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 98 | <!--{$item.name}--> |
---|
| 99 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 100 | </div> |
---|
| 101 | <!--{assign var="firstflg" value=true}--> |
---|
| 102 | <!--{/if}--> |
---|
| 103 | <!--{/foreach}--> |
---|
| 104 | </td> |
---|
| 105 | <!-- ★☆★ ヘッダ内部ナビテーブル ☆★☆ --> |
---|
| 106 | </tr> |
---|
| 107 | <tr> |
---|
| 108 | <!-- ★☆★ 上部ナビテーブル ☆★☆ --> |
---|
| 109 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_TOP]}-->" class="ui-sortable"> |
---|
| 110 | <!--{assign var="firstflg" value=false}--> |
---|
| 111 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 112 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_TOP]}--> |
---|
| 113 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 114 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 115 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 116 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 117 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 118 | <!--{$item.name}--> |
---|
| 119 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 120 | </div> |
---|
| 121 | <!--{assign var="firstflg" value=true}--> |
---|
| 122 | <!--{/if}--> |
---|
| 123 | <!--{/foreach}--> |
---|
| 124 | </td> |
---|
| 125 | <!-- ★☆★ 上部ナビテーブル ☆★☆ --> |
---|
| 126 | </tr> |
---|
| 127 | |
---|
| 128 | <!--{if $device_type_id == $smarty.const.DEVICE_TYPE_MOBILE || $device_type_id == $smarty.const.DEVICE_TYPE_SMARTPHONE}--> |
---|
| 129 | <!--{* メイン上部テーブルここから *}--> |
---|
| 130 | <tr> |
---|
| 131 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}-->" class="ui-sortable"> |
---|
| 132 | <!--{assign var="firstflg" value=false}--> |
---|
| 133 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 134 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}--> |
---|
| 135 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 136 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 137 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 138 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 139 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 140 | <!--{$item.name}--> |
---|
| 141 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 142 | </div> |
---|
| 143 | <!--{assign var="firstflg" value=true}--> |
---|
| 144 | <!--{/if}--> |
---|
| 145 | <!--{/foreach}--> |
---|
| 146 | </td> |
---|
| 147 | </tr> |
---|
| 148 | <!--{* メイン上部テーブルここまで *}--> |
---|
| 149 | <!--{* メインここから *}--> |
---|
| 150 | <tr> |
---|
| 151 | <th colspan="3" id="layout-main">メイン</th> |
---|
| 152 | </tr> |
---|
| 153 | <!--{* メインここまで *}--> |
---|
| 154 | <!--{* メイン下部ここから *}--> |
---|
| 155 | <tr> |
---|
| 156 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}-->" class="ui-sortable"> |
---|
| 157 | <!--{assign var="firstflg" value=false}--> |
---|
| 158 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 159 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}--> |
---|
| 160 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 161 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 162 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 163 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 164 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 165 | <!--{$item.name}--> |
---|
| 166 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 167 | </div> |
---|
| 168 | <!--{assign var="firstflg" value=true}--> |
---|
| 169 | <!--{/if}--> |
---|
| 170 | <!--{/foreach}--> |
---|
| 171 | </td> |
---|
| 172 | </tr> |
---|
| 173 | <!--{else}--> |
---|
| 174 | <tr> |
---|
| 175 | <!--{* 左ナビテーブルここから *}--> |
---|
| 176 | <td rowspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_LEFT]}-->" class="ui-sortable"> |
---|
| 177 | <!--{assign var="firstflg" value=false}--> |
---|
| 178 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 179 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_LEFT]}--> |
---|
| 180 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 181 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 182 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 183 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 184 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 185 | <!--{$item.name}--> |
---|
| 186 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 187 | </div> |
---|
| 188 | <!--{assign var="firstflg" value=true}--> |
---|
| 189 | <!--{/if}--> |
---|
| 190 | <!--{/foreach}--> |
---|
| 191 | </td> |
---|
| 192 | <!--{* 左ナビテーブルここまで *}--> |
---|
| 193 | <!--{* メイン上部テーブルここから *}--> |
---|
| 194 | <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}-->" class="ui-sortable"> |
---|
| 195 | <!--{assign var="firstflg" value=false}--> |
---|
| 196 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 197 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}--> |
---|
| 198 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 199 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 200 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 201 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 202 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 203 | <!--{$item.name}--> |
---|
| 204 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 205 | </div> |
---|
| 206 | <!--{assign var="firstflg" value=true}--> |
---|
| 207 | <!--{/if}--> |
---|
| 208 | <!--{/foreach}--> |
---|
| 209 | </td> |
---|
| 210 | <!--{* メイン上部テーブルここまで *}--> |
---|
| 211 | <!--{* 右ナビここから *}--> |
---|
| 212 | <td rowspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_RIGHT]}-->" class="ui-sortable"> |
---|
| 213 | <!--{assign var="firstflg" value=false}--> |
---|
| 214 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 215 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_RIGHT]}--> |
---|
| 216 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 217 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 218 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 219 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 220 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 221 | <!--{$item.name}--> |
---|
| 222 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 223 | </div> |
---|
| 224 | <!--{assign var="firstflg" value=true}--> |
---|
| 225 | <!--{/if}--> |
---|
| 226 | <!--{/foreach}--> |
---|
| 227 | </td> |
---|
| 228 | <!--{* 右ナビここまで *}--> |
---|
| 229 | </tr> |
---|
| 230 | <!--{* メインここから *}--> |
---|
| 231 | <tr> |
---|
| 232 | <th id="layout-main">メイン</th> |
---|
| 233 | </tr> |
---|
| 234 | <!--{* メインここまで *}--> |
---|
| 235 | <!--{* メイン下部ここから *}--> |
---|
| 236 | <tr> |
---|
| 237 | <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}-->" class="ui-sortable"> |
---|
| 238 | <!--{assign var="firstflg" value=false}--> |
---|
| 239 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 240 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}--> |
---|
| 241 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 242 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 243 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 244 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 245 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 246 | <!--{$item.name}--> |
---|
| 247 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 248 | </div> |
---|
| 249 | <!--{assign var="firstflg" value=true}--> |
---|
| 250 | <!--{/if}--> |
---|
| 251 | <!--{/foreach}--> |
---|
| 252 | </td> |
---|
| 253 | </tr> |
---|
| 254 | <!--{/if}--> |
---|
| 255 | <tr> |
---|
| 256 | <!--{* メイン下部ここまで *}--> |
---|
| 257 | <!-- ★☆★ 下部ナビテーブル ☆★☆ --> |
---|
| 258 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_BOTTOM]}-->" class="ui-sortable"> |
---|
| 259 | <!--{assign var="firstflg" value=false}--> |
---|
| 260 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 261 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_BOTTOM]}--> |
---|
| 262 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 263 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 264 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 265 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 266 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 267 | <!--{$item.name}--> |
---|
| 268 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 269 | </div> |
---|
| 270 | <!--{assign var="firstflg" value=true}--> |
---|
| 271 | <!--{/if}--> |
---|
| 272 | <!--{/foreach}--> |
---|
| 273 | </td> |
---|
| 274 | <!-- ★☆★ 下部ナビテーブル ☆★☆ --> |
---|
| 275 | </tr> |
---|
| 276 | <tr> |
---|
| 277 | <th colspan="3" id="layout-footer">フッター部</th> |
---|
| 278 | </tr> |
---|
| 279 | <tr> |
---|
| 280 | <!-- ★☆★ フッタより下部ナビテーブル ☆★☆ --> |
---|
| 281 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_FOOTER_BOTTOM]}-->" class="ui-sortable"> |
---|
| 282 | <!--{assign var="firstflg" value=false}--> |
---|
| 283 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 284 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_FOOTER_BOTTOM]}--> |
---|
| 285 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 286 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 287 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 288 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 289 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 290 | <!--{$item.name}--> |
---|
| 291 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 292 | </div> |
---|
| 293 | <!--{assign var="firstflg" value=true}--> |
---|
| 294 | <!--{/if}--> |
---|
| 295 | <!--{/foreach}--> |
---|
| 296 | </td> |
---|
| 297 | <!-- ★☆★ フッタより下部ナビテーブル ☆★☆ --> |
---|
| 298 | </tr> |
---|
| 299 | </table> |
---|
| 300 | </div> |
---|
| 301 | <!--{* ▲レイアウトここまで *}--> |
---|
| 302 | |
---|
| 303 | <!--{* ▼未使用ブロックここから *}--> |
---|
| 304 | <div style="float: left; width: 25%;" align="center"> |
---|
| 305 | <table id="design-layout-unused" class="design-layout"> |
---|
| 306 | <tr> |
---|
| 307 | <th>未使用ブロック</th> |
---|
| 308 | </tr> |
---|
| 309 | <tr> |
---|
| 310 | <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_UNUSED]}-->" class="ui-sortable" style="width: 145px;"> |
---|
| 311 | <!--{assign var="firstflg" value=false}--> |
---|
| 312 | <!--{foreach key=key item=item from=$arrBlocs name="bloc_loop"}--> |
---|
| 313 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_UNUSED]}--> |
---|
| 314 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 315 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 316 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 317 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 318 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 319 | <!--{$item.name}--> |
---|
| 320 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{if $item.anywhere == 1}-->checked="checked"<!--{/if}--> />全ページ)</label> |
---|
| 321 | </div> |
---|
| 322 | <!--{assign var="firstflg" value=true}--> |
---|
| 323 | <!--{/if}--> |
---|
| 324 | <!--{/foreach}--> |
---|
| 325 | </td> |
---|
| 326 | </tr> |
---|
| 327 | </table> |
---|
| 328 | <div class="btn"><a class="btn-normal" href="javascript:;" onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_bloc','',''); return false;"><span>ブロックを新規入力</span></a></div> |
---|
| 329 | </div> |
---|
| 330 | <!--{* ▲未使用ブロックここまで *}--> |
---|
| 331 | <div class="btn-area"> |
---|
| 332 | <ul> |
---|
| 333 | <!--{if $device_type_id == $smarty.const.DEVICE_TYPE_PC}--> |
---|
| 334 | <li><a class="btn-action" href="javascript:;" name='preview' onclick="doPreview();"><span class="btn-prev">プレビュー</span></a></li> |
---|
| 335 | <!--{/if}--> |
---|
| 336 | <li><a class="btn-action" href="javascript:;" name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form1','confirm','',''); return false;"><span class="btn-next">登録する</span></a></li> |
---|
| 337 | </ul> |
---|
| 338 | </div> |
---|
| 339 | <!--▲レイアウト編集 ここまで--> |
---|
| 340 | |
---|
| 341 | <!--▼ページ一覧 ここから--> |
---|
| 342 | <h2 style="clear: both;">編集可能ページ一覧</h2> |
---|
| 343 | <div class="btn addnew"> |
---|
| 344 | <a class="btn-normal" href="javascript:;" onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_page','',''); return false;"><span>ページを新規入力</span></a> |
---|
| 345 | </div> |
---|
| 346 | <table class="list"> |
---|
| 347 | <tr> |
---|
| 348 | <th>名称</th> |
---|
| 349 | <th class="edit">レイアウト</th> |
---|
| 350 | <th class="edit center">ページ詳細</th> |
---|
| 351 | <th class="delete center">削除</th> |
---|
| 352 | </tr> |
---|
| 353 | <!--{foreach key=key item=item from=$arrEditPage}--> |
---|
| 354 | <tr style="background-color:<!--{if $item.page_id == $page_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;"> |
---|
| 355 | <td> |
---|
| 356 | <!--{$item.page_name}--> |
---|
| 357 | </td> |
---|
| 358 | <td class="center"> |
---|
| 359 | <a href="?page_id=<!--{$item.page_id}-->&device_type_id=<!--{$item.device_type_id}-->" >編集</a> |
---|
| 360 | </td> |
---|
| 361 | <td class="center"> |
---|
| 362 | <!--{if $item.filename|strlen >= 1}--> |
---|
| 363 | <a href="main_edit.php?page_id=<!--{$item.page_id}-->&device_type_id=<!--{$item.device_type_id}-->">編集</a> |
---|
| 364 | <!--{/if}--> |
---|
| 365 | </td> |
---|
| 366 | <td class="center"> |
---|
| 367 | <!--{if $item.edit_flg == 1}--> |
---|
| 368 | <a href="#" onclick="fnTargetSelf(); fnFormModeSubmit('form1','delete','page_id','<!--{$item.page_id|h}-->'); return false;">削除</a> |
---|
| 369 | <!--{/if}--> |
---|
| 370 | </td> |
---|
| 371 | </tr> |
---|
| 372 | <!--{/foreach}--> |
---|
| 373 | </table> |
---|
| 374 | <!--▲ページ一覧 ここまで--> |
---|
| 375 | </div> |
---|
| 376 | </form> |
---|