���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/design/defaulttheme/tpl/lhsystem/htmlcodebeta.tpl.php
���ѧ٧ѧ�
<h1><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','HTML code');?></h1> <div role="tabpanel" ng-non-bindable> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="nav-item"><a class="active nav-link" href="#general" aria-controls="general" role="tab" data-bs-toggle="tab"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','General');?></a></li> <li role="presentation" class="nav-item"><a class="nav-link" href="#design" aria-controls="design" role="tab" data-bs-toggle="tab"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Design');?></a></li> <li role="presentation" class="nav-item"><a class="nav-link" href="#staticimage" aria-controls="design" role="tab" data-bs-toggle="tab"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Static image');?></a></li> <?php include(erLhcoreClassDesign::designtpl('lhsystem/htmlcode_tab_multiinclude.tpl.php'));?> </ul> <!-- Tab panes --> <div class="tab-content"> <div role="tabpanel" class="tab-pane active pt-2" id="general"> <div class="row"> <div class="col-md-6"> <div> <label><input type="checkbox" id="id_fresh" value="on"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','On each refresh start a new chat. Users will loose chat session browsing through pages! Usefull in embed mode.');?></label> </div> </div> <div class="col-md-6"> <div> <label><input type="checkbox" id="id_show_leave_form" checked="checked" value="on"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Show a ‘leave a message form’ when there are no online operators');?></label> </div> </div> <div class="col-md-6"> <div> <label><input type="checkbox" id="id_check_messages_operator" value="on"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Check for operator invitation messages. If you are planning to send messages to online visitors manually you can check this.');?></label> </div> </div> <div class="col-md-6"> <div> <label><input type="checkbox" id="id_disable_pro_active_invitations" value="on"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Disable proactive invitations');?></label> </div> </div> </div> <hr> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','For what domain you are generating embed code?');?></label> <input type="text" class="form-control" id="id_embed_domain" placeholder="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','example.com');?>" value="" /> </div> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Department')?></label> <select id="DepartmentID" multiple="multiple" size="5" class="form-control"> <option value="0"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Any');?></option> <?php foreach (erLhcoreClassModelDepartament::getList($departmentParams) as $departament) : ?> <option value="<?php echo $departament->alias != '' ? htmlspecialchars($departament->alias) : $departament->id?>"><?php echo htmlspecialchars($departament->name)?></option> <?php endforeach; ?> </select> </div> </div> <div class="col-md-6"> <?php /*<div> <label><input type="checkbox" id="id_internal_popup" checked="checked" value="on"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Show the page widget when a mouse is clicked');?></label> </div>*/ ?> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Widget embed/click mode');?></label> <select id="id_widget_mode" class="form-control"> <option value="widget"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','widget (default)');?></option> <option value="embed">embed</option> <option value="popup">popup</option> </select> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Widget position');?></label> <select id="id_widget_position" class="form-control"> <option value=""><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Default');?></option> <option value="api">api</option> </select> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Widget position placement.');?></label> <select id="id_position_placement" class="form-control"> <option value=""><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Bottom right');?></option> <option value="bottom_left"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Bottom left');?></option> <option value="middle_right"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Middle right');?></option> <option value="middle_left"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Middle left');?></option> <option value="full_height_right"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Bottom right, full height');?></option> <option value="full_height_left"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Bottom left, full height');?></option> </select> </div> <div class="col-md-6"> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Choose prefered http mode');?></label> <select id="HttpMode" class="form-control"> <option value=""><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Based on site (default)');?></option> <option value="http:">http:</option> <option value="https:">https:</option> </select> </div> </div> <div class="col-md-12"> <div class="row"> <div class="col-6"> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Choose a language');?></label> <select id="LocaleID" class="form-control"> <?php foreach ($locales as $locale ) : ?> <option value="<?php echo $locale?>/"><?php echo $locale?></option> <?php endforeach; ?> </select> </div> <div class="form-group"> <label><input type="checkbox" id="DetectLanguage" value="on"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Try to detect language automatically');?></label> </div> </div> <div class="col-6"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Operator ID')?></label> <input type="text" class="form-control" id="id_operator" placeholder="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','To what operator chat should be assigned automatically?')?>" title="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','To what operator chat should be assigned automatically?')?>" value="" /> </div> </div> <div class="col-md-6"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Survey at the end of chat')?></label> <?php echo erLhcoreClassRenderHelper::renderCombobox( array ( 'input_name' => 'Survey', 'optional_field' => erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','no survey'), 'selected_id' => 0, 'css_class' => 'form-control', 'list_function' => 'erLhAbstractModelSurvey::getList' )); ?> </div> </div> </div> </div> </div> </div> <?php if (erLhcoreClassModelChatConfig::fetch('product_enabled_module')->current_value == 1) : ?> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Product')?></label> <?php echo erLhcoreClassRenderHelper::renderCombobox( array ( 'input_name' => 'product_id', 'selected_id' => 0, 'css_class' => 'form-control', 'display_name' => 'name_department', 'multiple' => true, 'list_function' => 'erLhAbstractModelProduct::getList' )); ?> </div> </div> </div> <?php endif;?> </div> <div role="tabpanel" class="tab-pane" id="design"> <?php /*<div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Minimize action, applies only if status widget is at the bottom');?></label> <select id="MinimizeID" class="form-control"> <option value=""><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Keep where it was');?></option> <option value="br" selected="selected"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Minimize to bottom of the screen');?></option> </select> </div>*/ ?> <div class="row"> <?php /*<div class="col-md-6"> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Position');?></label> <select id="PositionID" class="form-control"> <option value="original"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Native placement - it will be shown where the html is embedded');?></option> <option value="bottom_right" selected="selected"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Bottom right corner of the screen');?></option> <option value="bottom_left"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Bottom left corner of the screen');?></option> <option value="middle_right"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Middle right side of the screen');?></option> <option value="middle_left"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Middle left side of the screen');?></option> <option value="api"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Invisible, only JS API will be included');?></option> <option value="full_height_right"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Full height right');?></option> <option value="full_height_left"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Full height left');?></option> </select> </div> </div>*/ ?> <div class="col-md-6"> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Theme')?></label> <select id="ThemeID" class="form-control"> <option value="0"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Default');?></option> <?php foreach (erLhAbstractModelWidgetTheme::getList(array('limit' => 1000)) as $theme) : ?> <option value="<?php echo $theme->alias != '' ? htmlspecialchars($theme->alias) : $theme->id?>"><?php echo htmlspecialchars($theme->name)?></option> <?php endforeach; ?> </select> </div> </div> </div> <div class="form-group"> <div class="row"> <div class="col-md-4"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Popup window width')?></label> <input type="text" class="form-control" id="id_popup_width" title="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Popup window width in pixels')?>" value="500" /> </div> <div class="col-md-2"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Height')?></label> <input type="text" class="form-control" id="id_popup_height" title="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Popup window height in pixels')?>" value="520" /> </div> <div class="col-md-4"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Widget width')?></label> <input type="text" class="form-control" id="id_widget_width" title="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Widget width in pixels')?>" value="350" /> </div> <div class="col-md-2"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Height')?></label> <input type="text" class="form-control" id="id_widget_height" title="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Widget height in pixels')?>" value="450" /> </div> </div> </div> <?php /*<div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Position from the top, only used if the middle left or the middle right side is chosen');?></label> <div class="row"> <div class="col-md-8"> <input type="text" class="form-control" id="id_top_text" value="350" /> </div> <div class="col-md-4"> <select id="UnitsTop" class="form-control"> <option value="pixels"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Pixels');?></option> <option value="percents"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Percentage');?></option> </select> </div> </div> </div>*/ ?> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Identifier – enter a unique identifier here. This is useful for separating messages and proactive chat invitations from different domains/web pages. Enter a string without special characters or spaces such as “homepage” or “website1”.');?></label> <input type="text" class="form-control" id="id_site_identifier" maxlength="50" placeholder="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Leave empty if it is not important to you');?>" value="" /> </div> </div> <div role="tabpanel" class="tab-pane" id="staticimage"> <div class="row"> <div class="col-6"> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Online status text')?></label> <input type="text" class="form-control" id="OnlineTextStatic" value="I'm online" /> </div> </div> <div class="col-6"> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Offline status text. If you lave empty we will return empty image.')?></label> <input type="text" class="form-control" id="OfflineTextStatic" value="I'm offline" /> </div> </div> <div class="col-6"> <div class="form-group"> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Width')?></label> <input type="text" class="form-control" id="OnlineImageWidth" value="200" /> </div> </div> </div> <div> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Sample image')?></label><br/> <img id="static-image-url" src="<?php echo erLhcoreClassDesign::baseurl('restapi/onlineimage')?>"> </div> <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Source code with a link')?></label> <textarea class="form-control form-control" style="font-size: 12px;" id="static-image-code"></textarea> <script> function staticImageGeneration(){ var onlineText = $('#OnlineTextStatic').val() != '' ? '&online=' + encodeURIComponent($('#OnlineTextStatic').val()) : ''; var offlineText = $('#OfflineTextStatic').val() != '' ? '&offline=' + encodeURIComponent($('#OfflineTextStatic').val()) : '&offline=0'; var width = parseInt($('#OnlineImageWidth').val()) > 0 ? '&w=' + parseInt($('#OnlineImageWidth').val()) : ''; var department = $('#DepartmentID').val() && $('#DepartmentID').val().length > 0 && $('#DepartmentID').val().join('/') != '0' ? '/(department)/'+$('#DepartmentID').val().join('/') : ''; var operator = $('#id_operator').val() > 0 ? '/(operator)/'+$('#id_operator').val() : ''; var theme = $('#ThemeID').val() != 0 ? '/(theme)/'+$('#ThemeID').val() : ''; var baseURL = '<?php echo erLhcoreClassSystem::getHost()?><?php echo erLhcoreClassDesign::baseurl('restapi/onlineimage')?>' + department + operator + theme + '?' + onlineText + offlineText + width; $('#static-image-url').attr('src', baseURL); $('#static-image-code').val('<a href="'+$('#static-url-generated').val()+'">'+'<img src="' + baseURL + '" alt="" /></a>'); } $('#DepartmentID, #id_operator, #OnlineTextStatic, #OnlineImageWidth, #OfflineTextStatic, #static-url-generated').on('keyup change',function(){ staticImageGeneration(); }); </script> <hr> </div> <?php include(erLhcoreClassDesign::designtpl('lhsystem/htmlcode_tab_content_multiinclude.tpl.php'));?> </div> </div> <p class="explain"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Copy the code from the text area to the page where you want your status to appear');?></p> <textarea style="width: 100%; height: 200px; font-size: 11px;" class="form-control" id="HMLTContent"></textarea> <p>Static URL. You can send this url to your customers</p> <input type="text" class="form-control form-control-sm" value="" id="static-url-generated"> <script type="text/javascript"> var default_site_access = '<?php echo erConfigClassLhConfig::getInstance()->getSetting( 'site', 'default_site_access' ); ?>/'; function generateEmbedCode(){ var siteAccess = $('#LocaleID').val() == default_site_access ? '' : ',lang:\''+$('#LocaleID').val()+'\''; var siteAccessStatic = $('#LocaleID').val() == default_site_access ? '' : $('#LocaleID').val(); var id_widget_mode = $('#id_widget_mode').val(); var id_tag = ''; if (id_widget_mode == 'embed') { id_tag = <?php include(erLhcoreClassDesign::designtpl('lhsystem/htmlcode_title.tpl.php'));?>+"\n"+ '<div id="lhc_status_container_page" ></div>'+"\n\n"+<?php include(erLhcoreClassDesign::designtpl('lhsystem/htmlcode_title_after.tpl.php'));?>+"\n"; } //var id_disable_online_tracking = $('#id_disable_online_tracking').is(':checked') ? ',dot:true' : ''; var id_show_leave_form = $('#id_show_leave_form').is(':checked') ? ',leaveamessage:true' : ''; var id_fresh = $('#id_fresh').is(':checked') ? ',fresh:true' : ''; var id_fresh_status = $('#id_fresh').is(':checked') ? '/(fresh)/true' : ''; var id_disable_pro_active_invitations = $('#id_disable_pro_active_invitations').is(':checked') ? ',proactive:false' : ''; var id_position_placement = $('#id_position_placement').val() != '' ? ',position_placement:\''+$('#id_position_placement').val()+'\'' : ''; var id_department = $('#DepartmentID').val() && $('#DepartmentID').val().length > 0 && $('#DepartmentID').val().join('/') != '0' ? ',department:["'+$('#DepartmentID').val().join('","')+'"]' : ''; var id_department_static = $('#DepartmentID').val() && $('#DepartmentID').val().length > 0 && $('#DepartmentID').val().join('/') != '0' ? '/(department)/'+$('#DepartmentID').val().join('/') : ''; //var id_product = $('#id_product_id').val() && $('#id_product_id').val().length > 0 && $('#id_product_id').val().join('/') != '0' ? '/(prod)/'+$('#id_product_id').val().join('/') : ''; var id_theme = $('#ThemeID').val() != 0 ? ',theme:"'+$('#ThemeID').val()+'"' : ''; var id_theme_static = $('#ThemeID').val() != 0 ? '/(theme)/'+$('#ThemeID').val() : ''; var id_widget_position = $('#id_widget_position').val() != '' ? ',position:\''+$('#id_widget_position').val()+'\'' : ''; var id_check_messages_operator = $('#id_check_messages_operator').is(':checked') ? ',check_messages:true' : ',check_messages:false'; var id_identifier = $('#id_site_identifier').val() != '' ? ',identifier:\''+$('#id_site_identifier').val()+'\'' : ''; var id_identifier_static = $('#id_site_identifier').val() != '' ? '/(identifier)/'+$('#id_site_identifier').val() : ''; <?php //var id_ma = $('#MinimizeID').val() != '' ? '/(ma)/'+$('#MinimizeID').val() : ''; ?> var id_operator = $('#id_operator').val() > 0 ? ',operator:'+$('#id_operator').val() : ''; var id_operator_static = $('#id_operator').val() > 0 ? '/(operator)/'+$('#id_operator').val() : ''; var id_survey = $('#id_Survey').val() > 0 ? ',survey:'+$('#id_Survey').val() : ''; var id_survey_static = $('#id_Survey').val() > 0 ? '/(survey)/'+$('#id_Survey').val() : ''; <?php /*var id_position = '/(position)/'+$('#PositionID').val();*/ ?> /*var id_tag = ''; var top = '/(top)/'+($('#id_top_text').val() == '' ? 350 : $('#id_top_text').val()); var topposition = '/(units)/'+$('#UnitsTop').val(); if ($('#PositionID').val() == 'original'){ id_tag = <?php include(erLhcoreClassDesign::designtpl('lhsystem/htmlcode_title.tpl.php'));?>+"\n"+ '<div id="lhc_status_container" ></div>'+"\n\n"+<?php include(erLhcoreClassDesign::designtpl('lhsystem/htmlcode_title_after.tpl.php'));?>+"\n"; };*/ var id_embed_domain = $('#id_embed_domain').val() != '' ? ',domain:\''+$('#id_embed_domain').val()+'\'' : ''; if (id_embed_domain.indexOf('://') != -1) { alert(<?php echo json_encode(htmlspecialchars_decode(erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Please do not enter protocol, only domain name is required'),ENT_QUOTES))?>); return; }; <?php /*var id_disable_subdomain = $('#id_disable_subdomain').is(':checked') ? ',subdomain:true' : ''; var uaArguments = ''; <?php include(erLhcoreClassDesign::designtpl('lhsystem/htmlcode_custom_generation_multiinclude.tpl.php'));?> if (uaArguments != '') { uaArguments = '/(ua)'+uaArguments; } <?php include(erLhcoreClassDesign::designtpl('lhchat/getstatus/options_variable.tpl.php')); ?> */ ?> var id_detect_language = $('#DetectLanguage').is(':checked') ? true : false; var langDetectScript = ''; if (id_detect_language == true) { langDetectScript = "var _l = '';"+ "var _m = document.getElementsByTagName('meta');"+ "var _cl = '';"+ "for (i=0; i < _m.length; i++) {if ( _m[i].getAttribute('http-equiv') == 'content-language' ) {_cl = _m[i].getAttribute('content');}}"+ "if (document.documentElement.lang != '') _l = document.documentElement.lang;"+ "if (_cl != '' && _cl != _l) _l = _cl;"+ "if (_l == undefined || _l == '') {_l = '" + siteAccess + "';"+ "} else {_l = _l[0].toLowerCase() + _l[1].toLowerCase(); if ('<?php echo erConfigClassLhConfig::getInstance()->getSetting( 'site', 'default_site_access' )?>' == _l) {_l = ''} else {LHC_API.args.lang = _l + '/';}}\n"; } $('#static-url-generated').val($('#HttpMode').val()+'//<?php echo str_replace(['http://','https://'],'',erLhcoreClassSystem::getHost())?><?php echo erLhcoreClassDesign::baseurldirect()?>'+siteAccessStatic +'chat/start'+id_survey_static+id_operator_static+id_fresh_status+id_department_static+id_theme_static+id_identifier_static); staticImageGeneration(); var script = '<script>'+ 'var LHC_API = LHC_API||{};'+"\n"+'LHC_API.args = {mode:\''+id_widget_mode+'\',lhc_base_url:\'' + $('#HttpMode').val() + '//<?php echo str_replace(['http://','https://'],'',erLhcoreClassSystem::getHost())?><?php echo erLhcoreClassDesign::baseurldirect()?>\',wheight:'+$('#id_widget_height').val()+',wwidth:'+$('#id_widget_width').val()+',pheight:'+$('#id_popup_height').val()+',pwidth:'+$('#id_popup_width').val()+id_operator+id_embed_domain+id_fresh+id_show_leave_form+id_department+id_theme+id_survey+id_widget_position+id_check_messages_operator+id_disable_pro_active_invitations+id_identifier+siteAccess+id_position_placement+'};\n'+ '(function() {'+"\n"+langDetectScript+ 'var po = document.createElement(\'script\'); po.type = \'text/javascript\'; po.setAttribute(\'crossorigin\',\'anonymous\'); po.async = true;'+"\n"+ 'var date = new Date();'+ 'po.src = \''+$('#HttpMode').val()+'//<?php echo str_replace(['http://','https://'],'',erLhcoreClassSystem::getHost())?><?php echo erLhcoreClassDesign::design('js/widgetv2/index.js')?>?\'+(""+date.getFullYear() + date.getMonth() + date.getDate());'+"\n"+ 'var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(po, s);'+"\n"+ '})();'+"\n"+ '</scr'+'ipt>'; $('#HMLTContent').text(id_tag+script); }; $('#id_widget_mode,#id_position_placement, #hash_args,#id_check_messages_operator,#id_disable_subdomain,#id_fresh,#id_widget_position,#LocaleID,#id_embed_domain,#DetectLanguage,#id_product_id,#id_disable_online_tracking,#MinimizeID,#id_operator,#DepartmentID,#HttpMode,#ThemeID,#id_Survey,#id_disable_pro_active_invitations,#id_site_identifier,#id_internal_popup,#id_position_bottom,#PositionID,#id_show_leave_form,#id_hide_then_offline,#UnitsTop,#id_top_text,#id_popup_width,#id_popup_height,#id_widget_width,#id_widget_height').change(function(){ generateEmbedCode(); }); generateEmbedCode(); staticImageGeneration(); </script>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�