过滤 法语助手 划词搜索
- font size decrease font size increase font size
- Print Email
frdic.com/dic_resource/frdic_grab.js
原代码如下
frdic.com/dic_resource/frdic_grab.js
原代码如下
var dict_is_ie = true; var dict_host = 'http://www.frdic.com/'; var dict_help = 'http://www.frdic.com/service.aspx'; var dict_partner = ''; var dict_enable = false; var dict_old_word = ''; var dict_moving = 0; var dict_onmove = 0; var dict_onlayer = 0; var dict_startx = 0; var dict_starty = 0; var dict_cx = 0; var dict_cy = 0; var dict_x = 0; var dict_y = 0; var dict_layer; var dict_iframe; /* * 描述:跨浏览器的设置 innerHTML 方法 * 允许插入的 HTML 代码中包含 script 和 style * 作者:kenxu * 日期:2006-03-23 * 参数: * el: 合法的 DOM 树中的节点 * htmlCode: 合法的 HTML 代码 * 经测试的浏览器:ie5+, firefox1.5+, opera8.5+ */ var setInnerHTML = function (el, htmlCode) { var ua = navigator.userAgent.toLowerCase(); if (ua.indexOf('msie') >= 0 && ua.indexOf('opera') < 0) { htmlCode = '' + htmlCode; htmlCode = htmlCode.replace(/]*)>/gi, ''); el.innerHTML = htmlCode; el.removeChild(el.firstChild); } else { var el_next = el.nextSibling; var el_parent = el.parentNode; el_parent.removeChild(el); el.innerHTML = htmlCode; if (el_next) { el_parent.insertBefore(el, el_next) } else { el_parent.appendChild(el); } } } /* * 描述:通过重定义 document.write 函数,避免在使用 setInnerHTML 时, * 插入的 HTML 代码中包含 document.write ,导致原页面受到破坏的情况。 */ document.write = function() { var body = document.getElementsByTagName('body')[0]; for (var i = 0; i < arguments.length; i++) { argument = arguments[i]; if (typeof argument == 'string') { var el = body.appendChild(document.createElement('div')); setInnerHTML(el, argument) } } } //--> function dictInit(){ var agt = navigator.userAgent.toLowerCase(); dict_is_ie = (agt.indexOf("msie")!=-1 && document.all); var h = '
Last modified onSunday, 14 October 2012 04:07
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0009 | 403464 | {main}( ) | .../index.php:0 |
2 | 0.0510 | 1321312 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0510 | 1321312 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.1904 | 2979584 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.1909 | 3004168 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.1916 | 3059496 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.1916 | 3076552 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.1986 | 3220640 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.1986 | 3220640 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.2046 | 3489720 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.2046 | 3489720 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.2057 | 3508240 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.2088 | 3528656 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.3073 | 4082080 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.3073 | 4082080 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.3109 | 4256800 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in ADbloc
- Read 3563 times
( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0009 | 403464 | {main}( ) | .../index.php:0 |
2 | 0.0510 | 1321312 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0510 | 1321312 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.1904 | 2979584 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.1909 | 3004168 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.1916 | 3059496 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.1916 | 3076552 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.1986 | 3220640 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.1986 | 3220640 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.2046 | 3489720 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.2046 | 3489720 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.2057 | 3508240 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.2088 | 3528656 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.3073 | 4082080 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.3073 | 4082080 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.3109 | 4256800 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |