query("select count(*) from ".$sqlTb['category'].$WHERES,true); $tonum = $db->result(0); include("inc/_header.php"); ?>

query("select * from ".$sqlTb['category'].$WHERES." order by sort_no desc, seq desc",true); while($crow = $db->fetch($cat_q)) : ?>

<?=$crow['description']?>

    "", 1 => " class=\"sec\"", 2 => " class=\"third\"", 3 => " class=\"lst\"" ); $product_sql = " select a.seq, a.name, a.upfile1, a.print_opt from ".$sqlTb['product']." a, ".$sqlTb['head_box']." b where a.seq = b.product_seq and b.product_category_seq = '".$crow['seq']."' "; $i = 0; $product_q = $db->query($product_sql." order by a.lec_level asc",true); $product_tonum = $db->num_rows($product_q); while($prow = $db->fetch($product_q)) : $exp_print_opt = explode("|",$prow['print_opt']); foreach($exp_print_opt as $_opt){ if($_opt){ break; } } $li_i = ($i % 4); ?> ><?=$prow['name']?>

     

    >
    '; if($i < $product_tonum){ echo '
      '; } } endwhile; if($remain_i = ($i % 4)) : for($i = $remain_i; $i < 4; $i++) : ?> > '; endif; ?>

      자세히보기

1:1 학습상담

    query("select pid,member_id,subject,date_format(wdate,'%Y.%m.%d') as wdate,if(date_add(wdate, interval 1 day) > now(),'Y','N') as new_yn,private_yn from ".$sqlTb['p_consult']." order by pid desc limit 4",true); while($list = $db->fetch($list_q)) : ?>

학습후기

    query("select pid,subject,date_format(wdate,'%Y.%m.%d') as wdate,if(date_add(wdate, interval 1 day) > now(),'Y','N') as new_yn from ".$sqlTb['p_comment']." order by pid desc limit 4",true); while($list = $db->fetch($list_q)) : ?>