���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/design/defaulttheme/tpl/lhform/embed.tpl.php
���ѧ٧ѧ�
<?php include(erLhcoreClassDesign::designtpl('lhform/getstatus/options_variable.tpl.php')); ?> var lhc_FormEmbed = function() { var self = this; this.showVotingForm = function() { this.initial_iframe_url = "<?php echo erLhcoreClassSystem::getHost()?><?php echo erLhcoreClassDesign::baseurl('form/formwidget')?>/<?php echo $form_id,$identifier?>"; this.iframe_html = '<iframe id="lhcform_iframe_embed" allowTransparency="true" scrolling="no" class="loading" frameborder="0" ' + ( this.initial_iframe_url != '' ? ' src="' + this.initial_iframe_url + '"' : '' ) + ' width="100%"' + ' height="350"' + ' style="width: 100%; height: 350px;"></iframe>'; document.getElementById('lhc_form_embed_container').innerHTML = this.iframe_html; }; this.handleMessage = function(e) { if (typeof e.data !== 'string') { return; } var action = e.data.split(':')[0]; if (action == 'lhc_sizing_form_embed') { var height = e.data.split(':')[1]; var elementObject = document.getElementById('lhcform_iframe_embed'); elementObject.height = height; elementObject.style.height = height+'px'; }; }; this.showVotingForm(); }; var lhcFormEmbed = new lhc_FormEmbed(); if ( window.attachEvent ) { // IE window.attachEvent("onmessage",function(e){lhcFormEmbed.handleMessage(e);}); }; if ( document.attachEvent ) { // IE document.attachEvent("onmessage",function(e){lhcFormEmbed.handleMessage(e);}); }; if ( window.addEventListener ){ // FF window.addEventListener("message",function(e){lhcFormEmbed.handleMessage(e);}, false); };
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�