orderfrom.tpl.php

来自「a short sketch about linux syntex lines.」· PHP 代码 · 共 36 行

PHP
36
字号
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="<?php echo $this->basedir;?>templates/member/images/list_title_bg.gif"><img src="<?php echo $this->basedir;?>templates/member/images/case_title.gif" width="759" height="50" /></td>
  </tr>
  <tr>
    <td background="<?php echo $this->basedir;?>templates/member/images/title_line_bg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td><table width="100%" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#CCCCCC" style="border-collapse:collapse">
      <tr>
        <td align="center" bgcolor="#F3F3F3">订单号</td>
        <td align="center" bgcolor="#F3F3F3">购买信息</td>
        <td align="center" bgcolor="#F3F3F3">支付方式</td>
        <td align="center" bgcolor="#F3F3F3"><a href="<?php echo $this->installdir;?>?mod=member&action=orderfrom&by=a.addtime">下单时间</a></td>
        <td align="center" bgcolor="#F3F3F3"><a href="<?php echo $this->installdir;?>?mod=member&action=orderfrom&by=a.state">状态</a></td>
      </tr>
	  <?php foreach($this->rows as $rs){?>
      <tr>
        <td width="20%" align="center">{#$rs['orderno']#}</td>
       <td width="27%" align="center"><?php echo $rs['point'];?><?php echo $rs['usertype'] ? '天' : '点';?><?php echo $rs['groupname'];?>会员</td>
        <td width="19%" align="center">{#$rs['payvia']#}</td>
        <td width="22%" align="center">{#date('Y-m-d H:i:s',$rs['addtime'])#}</td>
        <td width="12%" align="center"><a href="<?php echo $this->installdir;?>?mod=member&action=orderfrom&state=<?php echo $rs['state'];?>"><?php echo (int)$rs['state'] ? '<font color="#FF0000">已完成</font>' : '未确认';?></a></td>
      </tr>
	 <?php }?>
    </table>
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><?php echo $this->printPage;?></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td background="<?php echo $this->basedir;?>templates/member/images/title_line_bg.gif">&nbsp;</td>
  </tr>
</table>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?