ecshop商城怎么加手机版啊

解决方案 »

  1.   

    比如说你的程序路径是http://localhost/ecshop,在该目录下有个mobile,进去就是手机版http://localhost/ecshop/mobile,后台是http://localhost/ecshop/mobile/admin
      

  2.   

    ECSHOP 有手机文件夹  就是重新用HTML5写一下模板
      

  3.   

    ecshop下面有个mobile手机版的目录
    你可以http://127.0.0.1/ecshop/mobile
    访问即可
      

  4.   

    在mobile目录里,templates里放模版,PHP文件是处理程序。
    ECshop根目录首页index.php文件会判断是否是手机端,是的话转入mobile目录程序处理,下面是index.php的判断程序$ua = strtolower($_SERVER['HTTP_USER_AGENT']);$uachar = "/(nokia|sony|ericsson|mot|samsung|sgh|lg|philips|panasonic|alcatel|lenovo|cldc|midp|mobile)/i";if(($ua == '' || preg_match($uachar, $ua))&& !strpos(strtolower($_SERVER['REQUEST_URI']),'wap'))
    {
        $Loaction = 'mobile/';    if (!empty($Loaction))
        {
            ecs_header("Location: $Loaction\n");        exit;
        }}
      

  5.   

    用ecmobile