$( "#dialog_guide" ).dialog( "open" ); } }, error: function(data){}, complete: function(data){} }); }); var step_url = "<?php echo $_smarty_tpl->getVariable('app')->value['guide_data'][0]['STEP_URL']; ?> ";var current_url = "<?php echo $_SERVER['REQUEST_URI']; ?> ";var directions_current = "<?php echo smarty_modifier_i18n($_smarty_tpl->getVariable('app')->value['guide_data'][0]['DIRECTIONS_CURRENT']); ?> ";var directions_other = "<?php echo smarty_modifier_i18n($_smarty_tpl->getVariable('app')->value['guide_data'][0]['DIRECTIONS_OTHER']); ?> ";/* alert( step_url ); *//* alert(current_url); *//* alert( 'abcd'.indexOf( 'a' ) ); */if( current_url.indexOf( step_url.substr( 0, getPosition( step_url, "_", 3 ) + 1 ) ) > 0 || current_url == '/' ) {/*如果当前页面是当前step则显示当前的说明内容*/$( '#directions' ).text( directions_current );} else {$( '#directions' ).text( directions_other );}/* 处理第一步、最后一步、回到第一步的按钮隐藏 */if ( "<?php echo $_smarty_tpl->getVariable('app')->value['guide_data'][0]['PRE_STEP_ID']; ?> " == "" ) {$( "#pre_step_btn" ).css( "display", "none" );$( "#restart_btn" ).css( "display", "none" );}if ( "<?php echo $_smarty_tpl->getVariable('app')->value['guide_data'][0]['NEXT_STEP_ID']; ?> " == "" ) {$( "#next_step_btn" ).css( "display", "none" );}if ( "<?php echo $_SESSION['guide_modal']; ?> " == "1" ) {$( "#dialog_guide" ).dialog( "open" );} else {$( "#dialog_guide" ).dialog( "close" );}});</script></body></html>
</dd></dl><p><dl><dd><?php ob_start(); echo smarty_modifier_i18n('ログイン'); $_tmp2 = ob_get_clean(); echo smarty_function_form_submit(array('type' => "submit", 'name' => "action_loginDo", 'class' => "submit_btn_big", 'value' => $_tmp2), $_smarty_tpl); if (!empty($_smarty_tpl->getVariable('app', null, true, false)->value['company_id'])) { ?> <input type="hidden" name="company_id" value="<?php echo $_smarty_tpl->getVariable('app')->value['company_id']; ?> "><?php } ?> <input type="hidden" name="locale" value="<?php echo $_smarty_tpl->getVariable('form')->value['locale']; ?> "><a style="margin-left:4px;" href="?action_resetpwd_detail_edit=true&locale=<?php echo $_smarty_tpl->getVariable('form')->value['locale']; ?> "><?php echo smarty_modifier_i18n('パスワードリセット'); ?> </a></dd></dl></p><?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_form(array('ethna_action' => "loginDo", 'action' => "index.php", 'method' => "post", 'name' => "home", 'id' => "login"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </body></html>