function inlineDisplay() { unset($_SESSION['captcha_authed']); $this->createKeyword(); $swfURL = getUrl() . 'addons/captcha/swf/play.swf'; Context::unloadFile('./addons/captcha/captcha.min.js'); Context::loadFile(array('./addons/captcha/inline_captcha.js', 'body')); global $lang; $tags = <<<EOD <img src="%s" id="captcha_image" alt="CAPTCHA" width="240" height="50" style="width:240px; height:50px; border:1px solid #b0b0b0" /> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="0" height="0" id="captcha_audio" align="middle"> \t<param name="allowScriptAccess" value="always" /> \t<param name="quality" value="high" /> \t<param name="movie" value="%s" /> \t<param name="wmode" value="window" /> \t<param name="allowFullScreen" value="false"> \t<param name="bgcolor" value="#fffff" /> \t<embed src="%s" quality="high" wmode="window" allowFullScreen="false" bgcolor="#ffffff" width="0" height="0" name="captcha_audio" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <button type="button" class="captchaReload text">%s</button> <button type="button" class="captchaPlay text">%s</button><br /> <input type="hidden" name="captchaType" value="inline" /> <input name="secret_text" type="text" id="secret_text" /> EOD; $tags = sprintf($tags, getUrl('captcha_action', 'captchaImage', 'rand', mt_rand(10000, 99999)), $swfURL, $swfURL, $lang->reload, $lang->play); return $tags; }
<?php if (!defined("__XE__")) { exit; } require_once './classes/xml/XmlJsFilter.class.php'; $__xmlFilter = new XmlJsFilter('modules/nproduct/tpl/filter', 'update_item.xml'); $__xmlFilter->compile(); require_once './classes/xml/XmlJsFilter.class.php'; $__xmlFilter = new XmlJsFilter('modules/nproduct/tpl/filter', 'delete_item.xml'); $__xmlFilter->compile(); Context::unloadFile('modules/menu/tpl/css/themes/default/style.css', '', ''); ?> <!--#Meta:modules/nproduct/tpl/js/script.js--><?php $__tmp = array('modules/nproduct/tpl/js/script.js', '', '', ''); Context::loadFile($__tmp); unset($__tmp); ?> <!--#Meta:modules/nproduct/tpl/js/updateitem.js--><?php $__tmp = array('modules/nproduct/tpl/js/updateitem.js', '', '', ''); Context::loadFile($__tmp); unset($__tmp); ?> <!--#Meta:modules/nproduct/tpl/js/jstree.min.js--><?php $__tmp = array('modules/nproduct/tpl/js/jstree.min.js', '', '', ''); Context::loadFile($__tmp); unset($__tmp); ?> <!--#Meta:modules/nproduct/tpl/css/themes/default/style.css--><?php $__tmp = array('modules/nproduct/tpl/css/themes/default/style.css', '', '', ''); Context::loadFile($__tmp);