<!DOCTYPE HTML>
<html class="  ">
<head>
<meta name="renderer" content="webkit">
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta name="generator" content="author"  data-variable="/,cn,10001,,10001,M1156014" />
<title>[fh_title]</title>
<link href="media/[fh_ico]" rel="shortcut icon" />
<meta name="description" content="[fh_description]" />
<meta name="keywords" content="[fh_keyword]" />

<link rel='stylesheet' href='template/t13/skin/css/index.css'>
<style>

 @media only screen and (min-width: 1024px) {
.scms-pic{float: none !important;display:inline-block !important;vertical-align:top;}
 }

</style>
</head>
<body>
<!--[if lte IE 8]>
<div class="text-center padding-top-50 padding-bottom-50 bg-blue-grey-100">
  <p class="browserupgrade font-size-18">
	你正在使用一个<strong>过时</strong>的浏览器。请<a href="http://browsehappy.com/" target="_blank">升级您的浏览器</a>，以提高您的体验。
  </p>
</div>
<![endif]-->
<div class="load-box"></div>
<header>
  <div class="head-box" style="background: #ffffff;height: 70px;">
    <div class="container">
      <div class="head-left">
        <div class="head-left-wrapper">
          <div class="head-left-slide">
            <div class="logo-box" style="height: 70px;line-height: 70px;"> <a href="./" title="[fh_title]"> <img src="media/[fh_logo]" alt="[fh_title]" style="max-height: 70px"> </a> </div>
            <div class="search-box hidden-xs" style="margin: 15px ">
          <div class="search-cut">
            <form  name="formsearch" action="./?type=search" method="post" style="border: solid 1px #EEEEEE;border-radius: 20px; ">
              <input type="text" name="keyword" value="" placeholder="输入关键词" style="border-radius: 20px;border: none;height: 40px">
              <button class="fa fa-search" type="submit" style="border-radius: 25px;border: none;height: 40px;line-height: 38px"></button>
            </form>
          </div>
        </div>
          </div>
        </div>
      </div>
      <div style="position: absolute;top: 15px;right: 10px;">
        <div style="display: inline-block;" class="hidden-xs">
        <a href="member/history.php?type=2">学习记录</a> &nbsp;|&nbsp; 
        <a href="member/vip.php">会员特权</a>&nbsp; &nbsp; &nbsp; 
      </div>
      
      <div style="background: #FFD500;border-radius: 20px;padding: 0 20px;top:15px;display: inline-block;"> 
        <fh-function>
      if($_SESSION["M_login"]==""){
        $api="<a class=\"login\" href=\"member/login.php\">登录</a>
              &nbsp;|&nbsp;
              <a class=\"login\" href=\"member/reg.php\">注册</a>";
      }else{
        $api="<a class=\"login\" href=\"member\">".$_SESSION["M_login"]."</a>
              &nbsp;|&nbsp;
              <a class=\"login\" href=\"member/login.php?action=unlogin\">退出</a>";
      }
      </fh-function>
      </div>
      </div>
    </div>
  </div>
  <nav>
    <div class="neck-box" style="background: #f7f7f7">
      <div class="container">
        <div class="nav-box index" style="margin: 5px;float: left;">
          
          <div class="nav-cut">
            <ul class="nav-ul">

              <fh-function>
                $sql="select * from sl_menu where U_hide=0 and U_del=0 and U_sub=0 order by U_order,U_id desc";
                s[[
                  if($type==$row["U_type"] && $id==$row["U_typeid"]){
                    $class="nav-li active";
                  }else{
                    $class="nav-li margin-left-0";
                  }

                  if($row["U_type"]=="link"){
                    $link=$row["U_link"];
                    $target="_blank";
                  }else{
                    $link="?type=".$row["U_type"]."&id=".$row["U_typeid"];
                    $target="_self";
                  }
                    $api=$api."<li class=\"".$class."\"><a href=\"".$link."\" target=\"".$target."\" title=\"".$row["U_title"]."\" >".$row["U_title"]."</a></li>";
                ]]

              </fh-function>
            </ul>
          </div>
          <div class="nav-hover">

            <fh-function>
            $sql="select * from sl_menu where U_hide=0 and U_del=0 and U_sub=0 order by U_order,U_id desc";
                s[[
                $api=$api."<ul>";

                    $sql2="select * from sl_menu where U_hide=0 and U_del=0 and U_sub=".$row["U_id"]." order by U_order,U_id desc";
                    s2[[
                      
                      if($row2["U_type"]=="link"){
                        $link2=$row2["U_link"];
                        $target="_blank";
                      }else{
                        $link2="?type=".$row2["U_type"]."&id=".$row2["U_typeid"];
                        $target="_self";
                      }
                            $api=$api."<li><a href=\"".$link2."\" target=\"".$target."\" title=\"".$row2["U_title"]."\" >".$row2["U_title"]."</a></li>";
                        ]]

                  $api=$api."</ul>";
                    ]]
            </fh-function>
            
          </div>
        </div>
      </div>
    </div>
  </nav>
  <div class="container mobile-not-padding" style="margin-top: 20px;">
    <div class="product-cut auto">
      <div class="product-class has-banner index">
        <ul class="product-class-wrapper">
          <fh-function>
          $sql="select * from sl_usort where S_del=0 and S_sub=0 order by S_order,S_id desc";
          s[[$api=$api."<li class=\"product-class-slide\"><a href=\"?type=course&id=".$row["S_id"]."\" title=\"".$row["S_title"]."\" >".$row["S_title"]."</a><i class=\"fa fa-angle-right\"></i></li>";]]
        </fh-function>
        </ul>
      </div>
<fh-function>
$sql="select * from sl_usort where S_del=0 and S_sub=0 order by S_order,S_id desc";
                s[[
                $api=$api."<div class=\"product-content index\">
        <div class=\"product-list\">
          <ul class=\"product-ul\">
            <li class=\"product-li\">"; 

                $sql2="select * from sl_usort where S_del=0 and S_sub=".$row["S_id"]." order by S_order,S_id desc";
                s2[[
                        $api=$api."<a href=\"?type=course&id=".$row2["S_id"]."\" title=\"".$row2["S_title"]."\"> 
                        <b data-original=\"".pic($row2["S_pic"])."\"></b>
                        <p>".$row2["S_title"]."</p>
                        </a>";
                    ]]

                $api=$api."</li>
          </ul>
        </div>
      </div>";
                    }
                }
</fh-function>

      <div class="met-banner banner-ny-h index" data-height='' style=''> 
        <fh-function>
if(getrs("select count(S_id) as S_count from sl_slide where S_del=0 and S_mid=$fmid","S_count")>0 && $fmid>0){
  $sql="select * from sl_slide where S_del=0 and S_mid=$fmid order by S_order,S_id desc";
}else{
  $sql="select * from sl_slide where S_del=0 and S_mid=0 order by S_order,S_id desc";
}
                s[[
                        $api=$api."<div class=\"slick-slide\"> <img class=\"cover-image\" src=\"".pic($row["S_pic"])."\" srcset=\"".pic($row["S_pic"])."\" sizes=\"(max-width: 767px) 767px\"> </div>";
                    ]]

        </fh-function>
        

 </div>
    </div>
  </div>
</header>
<div class="container" style="margin-top: 20px;margin-bottom: -10px">
网站公告：
<marquee direction="left" style="width: calc(100% - 80px);background: #f7f7f7;vertical-align:top; " onMouseOver="this.stop()" onMouseOut="this.start()">[fh_notice]</marquee>
</div>
<div class="groom-box">
  <div class="container">
    <div class="title-box">
      <div class="title-name"> <h3>最新上架</h3> </div>
      <div class="title-move"> <i class="fa fa-chevron-left"></i> <i class="fa fa-chevron-right"></i> </div>
    </div>
    <div class="groom-cut">
      <ul class="groom-cut-wraper">

<fh-function>
$sql="select * from sl_course where C_del=0 and C_sh=1 order by C_top desc,C_id desc limit 10";
                s[[
                
                        $api=$api."<li class=\"groom-cut-slide\"> <a href=\"?type=courseintro&id=".$row["C_id"]."\" title=\"".$row["C_title"]."\">


<img src=\"".pic($row["C_pic"])."\">

                        	

                        	 <b>".$zy.$row["C_title"]."</b> <i> </i>
          <p>
          	<span style=\"font-weight:bold;margin-right:10px\">￥".p($row["C_price"])."</span>  
          	<span style=\"color: #999999\">".$row["C_view"]."人学习</span>
          </p>
          </a> </li>";
                    ]]
</fh-function>
      </ul>
    </div>
  </div>
</div>
<div class="grey-box">

<fh-function>
$i=1;
$sql="select * from sl_usort where S_show=1 and S_del=0 and S_sub=0 order by S_order,S_id desc";
s[[


$sql2="select * from sl_course,sl_usort where C_sort=S_id and C_del=0 and S_sub=".$row["S_id"];
s2[[
$lesson=$lesson.$row2["C_lesson"]."||";
]]

$lession=explode("||",$lesson);
for($i=0;$i<count($lession);$i++){
  if(strpos($lession[$i],"_")!==false){
    $l=$l.$lession[$i]."||";
  }
}

$C_count=count(explode("||",$l))-1;
$lesson="";
$l="";


$api=$api."<div class=\"host-box\">
    <div class=\"container\">
      <div class=\"host-title title-box\">
        <div class=\"title-name\"> <h3>".$row["S_title"]." <span style=\"font-size:16px;margin-left:20px\"> 共<span style=\"color:#f11533\">".$C_count."</span>节课</span></h3> </div>
        <div class=\"title-nav\">
          <ul>
          	<li class=\"active\"><a href=\"\">热门</a></li>";

$sql2="select * from sl_usort where S_show=1 and S_del=0 and S_sub=".$row["S_id"]." order by S_order,S_id desc";
s2[[$api=$api."<li><a href=\"?type=course&id=".$row2["S_id"]."\" title=\"".$row2["S_title"]."\">".$row2["S_title"]."</a></li>";]]

          $api=$api."</ul>
        </div>
      </div>
      <div class=\"host-cut tags\">
        
<div class=\"host-list index active\">
          <ul class=\"host-list-wraper\">";
$sql2="select * from sl_course,sl_usort where C_sh=1 and S_del=0 and S_show=1 and C_del=0  and C_sort=S_id and S_sub=".$row["S_id"]." order by C_top desc,C_order,C_id desc limit 10";
s2[[
		$api=$api."<li class=\"host-list-slide scms-pic\"> <a href=\"?type=courseintro&id=".$row2["C_id"]."\" title=\"".$row2["C_title"]."\"> 

			<img src=\"".pic($row2["C_pic"])."\">

			 <span> <b>".$row2["C_title"]."</b> <i> </i>
              <p><span style=\"font-weight:bold;text-align:left\">￥".p($row2["C_price"])."</span>  <span style=\"color: #999999;float:right;margin-top:-20px;\">".$row2["C_view"]."人学习</span></p>
              </span> </a> </li>";
              
	]]
$api=$api."
          </ul>
</div>";
$sql2="select * from sl_usort where S_del=0 and S_show=1 and S_sub=".$row["S_id"]." order by S_order,S_id desc";
s2[[
		$api=$api."<div class=\"host-list index\">
          <ul class=\"host-list-wraper\">";
$sql3="select * from sl_course where C_sh=1 and C_del=0  and C_sort=".$row2["S_id"]." order by C_top desc,C_order,C_id desc limit 10";
s3[[
$api=$api."<li class=\"host-list-slide scms-pic\"> <a href=\"?type=courseintro&id=".$row3["C_id"]."\" title=\"".$row3["C_title"]."\"> 

<img src=\"".pic($row3["C_pic"])."\">
	 <span> <b>".$row3["C_title"]."</b> <i> </i>
              <p><span style=\"font-weight:bold;text-align:left\">￥".p($row3["C_price"])."</span>  <span style=\"color: #999999;float:right;margin-top:-20px;\">".$row3["C_view"]."人学习</span></p>
              </span> </a> </li>";
	]]
          $api=$api."</ul>
        </div>";
	]]

$api=$api."
      </div>
    </div>
  </div>";
  $i=$i+1;
    ]]
</fh-function>
  <div class="info-box">
    <div class="container">
      <div class="title-box">
        <div class="title-name"> <h3>文章资讯</h3> </div>
        <div class="title-move"> <i class="fa fa-chevron-left"></i> <i class="fa fa-chevron-right"></i> </div>
      </div>
      <div class="info-cut index">
      <ul class="info-cut-wraper">
      	<fh-function>
      	$sql="select * from sl_news,sl_nsort where N_sh=1 and N_sort=S_id and N_del=0 ".$M_ninfo."  order by N_top desc,N_order,N_id desc limit 10";
                s[[
  if(strpos($row["N_content"],"[fh_free]")!==false || p($row["N_price"])==0){
    $intro=mb_substr(strip_tags(splitx($row["N_content"],"[fh_free]",0)),0,200,"utf-8");
  }else{
    $intro="内容加密";
  }

                $api=$api."<li class=\"info-cut-slide\"> <a href=\"?type=newsinfo&id=".$row["N_id"]."\" title=\"".$row["N_title"]."\"> <img src=\"".pic($row["N_pic"])."\" alt=\"".$row["N_title"]."\"> <span>
          <p>".$intro."</p>
          <i>发布日期<em>".date("Y-m-d",strtotime($row["N_date"]))."</em> <b style=\"float:right;margin-top:-3px;color:#FF0000\">￥".p($row["N_price"])."</b></i> <b>".$row["N_title"]."</b> </span> </a> </li>";
                    ]]
      	</fh-function>
        </div>
      </ul>
    </div>
  </div>
</div>

<div style="padding-top: 20px;">
<div class="container">
  
<p>
<img src="media/[fh_logo]" alt="[fh_title]" style="margin-bottom: 10px;max-width: 200px">
</p>
<p>
<fh-function>
                $sql="select * from sl_menu where U_hide=0 and not U_type='index' and not U_type='link' and U_del=0 and U_sub=0 order by U_order,U_id desc";
                s[[
                  $api=$api."<a style=\"margin-right:20px\" target=\"_blank\" href=\"?type=".$row["U_type"]."&id=".$row["U_typeid"]."\"  title=\"".$row["U_title"]."\">".$row["U_title"]."</a> ";
                  ]]

            
        </fh-function>
</p>
<img src="media/[fh_qrcode]" style="width: 80px;float: right;margin-top: -120px">

  
</div>
<hr>

  <div class="container">
    <div class="met-links">
      <ol class="breadcrumb">
        <a style="margin-right:30px;font-size:13px;">友情链接 :</a>
        <fh-function>
        $sql="select * from sl_link where L_del=0 order by L_id desc";
        s[[$api=$api."<a style=\"margin-right:30px;font-size:13px;\" href=\"".$row["L_link"]."\" target=\"_blank\">".$row["L_title"]."</a>";]]
        </fh-function>
      </ol>
    </div>

<div style="margin: 20px 0;">
    [fh_copyright][fh_beian][fh_code] 在线客服：<a href="?type=contact">联系客服</a>
  </div>

  </div>
</div>
<button type="button" class="btn btn-icon btn-primary btn-squared met-scroll-top hide"><i class="icon wb-chevron-up" aria-hidden="true"></i></button>

<script src="template/t13/skin/js/shop_lang_cn.js"></script> 
<script src="template/t13/skin/js/index.js"></script> 

[fh_kefu]


<fh-function>
if(isMobile()){
  $api=$api.'<style>
.tab_bar{position: fixed;bottom: 0px;left: 0px;z-index: 9999;background: #fff;height: 55px;width: 100%;border-top: solid 1px #DDD;padding-top: 5px;font-size: 12px;}
.tab_bar .tab{}
.tab_bar .active{color: #ff0000}
.tab_bar img{height: 27px;}
.tab_bar table{width: 100%;}
.tab_bar table tr td{text-align: center;}
.h50{height: 50px;}

</style>

<div class="h50"></div>
<div class="tab_bar">
  <table>
    <tr>
  <td><a class="tab" href="./">
    <img src="template/t13/skin/images/tab1_2.png">
    <div class="active">首页</div>
  </a></td>';

  if($config->course!="false"){
    $api=$api.'<td><a class="tab" href="?type=course&id=0">
        <img src="template/t13/skin/images/tab5.png">
        <div >课程</div>
      </a></td>';
  }

  if($config->news!="false"){
    $api=$api.'<td><a class="tab" href="?type=news&id=0">
      <img src="template/t13/skin/images/tab3.png">
      <div>文章</div>
    </a></td>';
  }

  if($config->product!="false"){
    $api=$api.'<td><a class="tab" href="?type=product&id=0">
      <img src="template/t13/skin/images/tab2.png">
      <div>商品</div>
    </a></td>';
  }

  $api=$api.'<td><a class="tab" href="member">
    <img src="template/t13/skin/images/tab4.png">
    <div>我的</div>
  </a></td>
</tr>
</table>
</div>';
}
</fh-function>


</body>
</html>