In /includes/lib_transaction.php find1
2
3
4
5
6$arr\[\] = array(
'order\_id' => $row\['order\_id'\],
'order\_sn' => $row\['order\_sn'\],
'order\_time' => local\_date($GLOBALS\['\_CFG'\]\['time\_format'\], $row\['add\_time'\]), 'order\_status' => $row\['order\_status'\],
'total\_fee' => price\_format($row\['total\_fee'\], false),
'handler' => $row\['handler'\]);
Change it to1
2
3
4
5
6$arr\[\] = array(
'order\_id' => $row\['order\_id'\],
'order\_sn' => $row\['order\_sn'\],
'order\_time' => local\_date($GLOBALS\['\_CFG'\]\['time\_format'\], $row\['add\_time'\]), 'order\_status' => $row\['order\_status'\],
'total\_fee' => price\_format($row\['total\_fee'\], false),
'handler' => $row\['handler'\], 'thumb' => $row\['thumb'\]);
And add before it1
$row\['thumb'\] =$GLOBALS\['db'\] ->getOne("select goods\_thumb from". $GLOBALS\['ecs'\]->table("goods"). "where goods\_id =(select min(goods\_id) from". $GLOBALS\['ecs'\]->table("order\_goods"). "where order\_id=".$row\['order\_id'\].")");
In themes/default/user_transaction.dwt find1
<td bgcolor="#ffffff">{$lang.order\_addtime}</td>
and add before it1
<td bgcolor="#ffffff">缩略图</td>
Then find1
<td align="center" bgcolor="#ffffff">{$item.order\_time}</td>
and add before it1
<td align=center bgcolor="#ffffff"><img src="{$item.thumb}" class="img_sstb"/></td>

