chengkun
2025-04-18 1bb985f32f2efe0f9dd69f3cf29a1c809b1cf96d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:09:55
         compiled from "E:\ishangstudywebs\zhaopin\app\template\default\backtop.htm" */ ?>
<?php /*%%SmartyHeaderCode:3187067ff73e360b023-76244440%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1da5f3b8d4305ec58657ab7e24ce3078930c687c' => 
    array (
      0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\backtop.htm',
      1 => 1634883842,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3187067ff73e360b023-76244440',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'style' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_67ff73e360cb80_69589343',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67ff73e360cb80_69589343')) {function content_67ff73e360cb80_69589343($_smarty_tpl) {?><?php echo '<script'; ?>
>
    function goTopEx(){
        var obj=document.getElementById("goTopBtn");
        function getScrollTop(){
                return document.documentElement.scrollTop;
            }
        function setScrollTop(value){
                document.documentElement.scrollTop=value;
            }    
        window.onscroll=function(){getScrollTop()>0?obj.style.display="":obj.style.display="none";}
        obj.onclick=function(){
            var goTop=setInterval(scrollMove,10);
            function scrollMove(){
                    setScrollTop(getScrollTop()/1.1);
                    if(getScrollTop()<1)clearInterval(goTop);
                }
        }
    }
<?php echo '</script'; ?>
>
<div class="clear"></div>
<div id="goTopBtn" class="png none" ><img  border=0 src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
/images/lanren_top.png" class="png"></div>
<?php echo '<script'; ?>
 type=text/javascript>goTopEx();<?php echo '</script'; ?>
>
<style>
#goTopBtn {
    POSITION: fixed; 
    TEXT-ALIGN: center; 
    WIDTH: 47px; 
    BOTTOM:3px; 
    HEIGHT: 78px; 
    FONT-SIZE: 12px; 
    CURSOR: pointer; 
    RIGHT:  40px; 
    _position: absolute; 
    _right: 40;
    _position:absolute;
    _bottom:auto;
    _top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||15)-(parseInt(this.currentStyle.marginBottom,10)||15)));
    _background:url(<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
/images/lanren_top.png) no-repeat
}
*html{
background-image:url(about:blank);
background-attachment:fixed;
}
</style><?php }} ?>