You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/gys_system/views/product.php

64 lines
2.7 KiB
PHTML

<div class="container-fluid">
<div class="well">
<h2><?php echo $product_req->CCP_BLTitle; ?></h2>
<p>
<?php echo $product_req->CCP_BLContent; ?>
</p>
<?php if ($lmi_sn==5327){ ?> <p class="pull-right"> <a href="/ccpadmin/Bulletinpost.aspx?hbsn=240">编辑公告</a> </p><?php } ?>
</div>
<table class="table table-bordered">
<thead>
<tr>
<th class="col-md-2">产品类型</th>
<th class="col-md-10">
<div class="row">
<div class="col-md-6">产品名称</div>
<div class="col-md-6">产品状态</div>
<div class="col-md-6">发布时间</div>
</div>
</th>
</tr>
</thead>
<tbody>
<?php foreach ($product_type_list as $item_type_key => $item_type) { ?>
<tr>
<td>
<a href="<?php echo "http://p.mycht.cn/Product/productlist.aspx?ptype=$item_type_key&lmisn=$lmi_sn"; ?>"><?php echo $item_type; ?></a>
<br/>
<br/>
<a href="<?php echo "http://p.mycht.cn/Product/addnewproduct.aspx?ptype=$item_type_key"; ?>" class="label label-danger">发布该类产品</a>
</td>
<td>
<?php
$index = 0;
foreach ($product_list as $item_product) {
if ($item_product->PI_TypeID == $item_type_key) {
$index++;
?>
<div class="row">
<div class="col-md-6"><a href="<?php echo 'http://p.mycht.cn/Product/productdetail.aspx?pid=' . $item_product->PI_ID ?>"> <?php echo $index . '.' . $item_product->PI_CH_Name; ?> </a> </div>
<div class="col-md-6"> <?php echo get_product_status($item_product->PI_State); ?> </div>
<div class="col-md-6"> <?php echo $item_product->PI_AddTime; ?></div>
</div>
<?php } } ?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
<p class="lead">
产品类型的说明:<br/>
包价产品:按照小包价来结算的产品,如一日游,几天的线路包价产品等<br/>
娱乐项目主要是指夜间的show以及客人体验式的产品胡同剪纸北京边三轮等<br/>
餐厅:向客人推荐的各地新的餐厅<br/>
景点:向客人推荐的各地新的景点<br/>
酒店:向客人推荐的各地新的酒店<br/>
</p>
</div>