{include file="header.html"}
{if SHOWWEEK} {api data=t_cs control=productapi fun=getByWeek()}
{foreach item=t_c key=k from=$t_cs}

{foreach item=c key=kk from=$t_c}
| {$c.title} | ￥{$c.price}
{/foreach}

{/foreach}
{else} {get data=t_cs model=category fun=select(array("where"=>"pid=1 AND status=1","order"=>" orderindex asc"))}
{foreach item=c key=k from=$t_cs}
{api data=t_c control=productapi fun=onlist("$c.id")}

{foreach item=c key=kk from=$t_c}
| {$c.title} | ￥{$c.price}
{/foreach}

{/foreach}
{/if}
{include file="order_cart/cart.html"}
{include file="footer.html"}