Server : Apache
System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
User : www ( 1000)
PHP Version : 5.6.40
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Directory :  /www/wwwroot/saimikebio.com/mobile/themes/lingshi/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/saimikebio.com/mobile/themes/lingshi/category_all.dwt
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>{$page_title}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<link href="{$ectouch_themes}/images/touch-icon.png" rel="apple-touch-icon-precomposed" />
<link href="{$ectouch_themes}/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="{$ectouch_css}" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{$ectouch_themes}/js/jquery.min.js"></script>
</head>

<body>
<header id="header">
  <div class="header_l header_return"> <a class="ico_10" href="index.php"> 返回 </a> </div>
  <div id="search_box" style="display:block;padding:0;margin:0 1rem 0 3.2rem">
    <div class="search_box">
      <form method="post" action="search.php" name="searchForm" id="searchForm_id">
        <input placeholder="请输入商品名称" name="keywords" type="text" id="keywordBox" />
        <button class="ico_07" type="submit" onclick="return check('keywordBox')"> </button>
      </form>
    </div>
    </div>
</header>

<!--分类切换--> 
<div class="container">    
  <div class="category-box">
    <div class="category1" style="outline: none;" tabindex="5000">
      <ul class="clearfix">
       <!--{foreach from=$categories item=cat name=name}-->
        <li {if $smarty.foreach.name.first}class="cur"{/if}>{$cat.name|escape:html}</li>
<!--{/foreach}-->
      </ul>
    </div>
    <div class="category2" style=" outline: none; overflow-y:scroll" tabindex="5001">
    <!--{foreach from=$categories item=cat name=name}-->      
      <dl style="display: none;{if $smarty.foreach.name.first}display: block;{/if}"> 
        <a href="{$cat.url}" class="all" style=" color:#FFF">进入{$cat.name|escape:html}频道&nbsp;></a>
          
        <dd> 
        <div class="fenimg">
           <!--{foreach from=$cat.cat_id item=child name=child}--> 
           {if $childer.ico} 
        <div class="fen_img">     
        <a {if $cat.is_hot_cat}class="hot_cat"{/if} href="{$cat.url}"><span><img alt="" src="{$cat.ico}"></span><em>{$cat.name}</em></a> 
        </div>
        {else}
        <div class="fen">
        <a {if $cat.is_hot_cat}class="hot_cat"{/if} href="{$cat.url}">{$cat.name}</a> 
        </div>  
		{/if}  
   		 <!--{/foreach}-->
    	</div>
     
         </dd>

      </dl>
   <!--{/foreach}-->
    </div>
  </div>
</div>
<!---切换js----->
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
<script type="text/javascript" src="{$ectouch_themes}/js/jquery.nicescroll.min.js"></script> 
<script type="text/javascript">
$(function () {
    //滚动条

    //图片延迟加载
 //   $(".lazyload").scrollLoading({ container: $(".category2") });
    //点击切换2 3级分类
    $(".category1").niceScroll({ cursorwidth: 0,cursorborder:0 });

    $('.category-box').height($(window).height());

    //点击切换2 3级分类
	var array=new Array();
	$('.category1 li').each(function(){ 
		array.push($(this).position().top-45);
	});
	
	$('.category1 li').click(function() {
		var index=$(this).index();
		$('.category1').delay(200).animate({scrollTop:array[index]},300);
		$(this).addClass('cur').siblings().removeClass();
		$('.category2 dl').eq(index).show().siblings().hide();
                $('.category2').scrollTop(0);
	});

});

/* 搜索验证 */
function check(Id){
	var strings = document.getElementById(Id).value;
	if(strings.replace(/(^\s*)|(\s*$)/g, "").length == 0){
		return false;
	}
	return true;
}
</script>
</body>
</html>