www.gusucode.com > citySHOP B2C商城系统 进销存 2.0.6码程序 > upload/data/templates/1_user_mycodes.tpl.php
<? if(!defined('IN_APP')) exit('Access Denied'); ?> <table> <tr class="uhead"> <th colspan="6">我的推广</th> </tr> <tr> <th>活动名称</th> <th>每个价值</th> <th>剩余时间</th> <th>数量</th> <th>已消费(元)</th> <th>查看</th> </tr> <? if(empty($proms)) { ?> <tr> <td colspan="6" class="cred">当前没有属于你的推广活动!</td> </tr> <? } else { ?> <? if(is_array($proms)) { foreach($proms as $pm) { ?><tr> <td><?=$pm['name']?></td> <td><?=$pm['xprice']?></td> <td><?=$pm['endtime']?></td> <td><?=$pm['num']?></td> <td><?=$pm['tgmoney']?></td> <td><a href="user.php?act=seeuse&promid=<?=$pm['promid']?>">[使用情况]</a></td> </tr> <? } } ?> <? } ?> </table>