{include file="header.tpl" title=$lang['订购产品'] hostname=$c['网站名称']}

        <div class="wrapper">
<div class="container-fluid">

<div class="row">
<div class="col-12">
<div class="page-title-box">
<!-- <div class="page-title-right">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="javascript: void(0);">UBold</a></li>
<li class="breadcrumb-item"><a href="javascript: void(0);">Pages</a></li>
<li class="breadcrumb-item active">Starter</li>
</ol>
</div>-->
<h4 class="page-title">在线购买</h4>
</div>
</div>
</div>

<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
  
  
  


{include file="alert.tpl"}
  <div align="center">
{foreach from=$farray item=fs}
    
<a class="{if $fs['选中']=='1'}btn btn-warning{else}btn btn-default{/if}" href="{if $fs['选中']!='1'}{if $c['伪静态开关']=='0'}/index.php{/if}/buy/index/{$fs['id']}/{/if}#">
  <font color="black">{$fs['分类名称']}</font></a>
{/foreach}
</div><p>

  <div class="row">{foreach from=$buys item=buy nocache}

    

   <div class="col-lg-3 col-md-4 col-sm-6">
      <div class="panel b-a">
        <div class="panel-heading text-center bg-info no-border">

          <div class="panel panel-default">
<div class="panel-heading">
<li class="list-group-item">
{$buy['名称']} </div>
</div></li>

            	     
          <h2 class="m-t-none">
            {if is_array($buy['周期'])}
            <sup class="pos-rlt" style="top:-22px"></sup>
            
									{foreach $buy['周期'] as $num=>$row nocache}
            
										<option value="{$num}">{$row['名称']} {$row['价格']}{$c['交易币名称']}/{$row['时间']}{$lang['天']}</option>
									{foreachelse}
										{$lang['无法购买']}
									{/foreach}
            {else}
            <span class="text-2x text-lt">{if $buy['价格']=='免费'}{$lang['免费']}{else}<!-- { $c['前缀']} -->￥{$buy['价格']}{/if}</span>
            <span class="text-xs">/{$lang[$buy['周期']]}</span>
            {/if}
          </h2>
        </div>
  <ul class="list-group">
{$buy['描述']}


</ul><p>
        <div class="panel-footer text-center">
          <a href="{if $c['伪静态开关']=='0'}/index.php{/if}/buy/cart/{$buy['id']}/" class="btn btn-info font-bold m">{$lang['订购产品']}</a><p>
        </div>
      </div>
    </div>

	{/foreach}
          </div>
    </div>
          </div>  </div>  </div><p>
{include file="footer.tpl"}