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