Always store previous account ID
Replace empty tag with new line when processing HTML in attr
Show attribute in TradeMe listing when it has value
Use standard classes for user interface consistency
Rewrite php code a bit; fix indents
Code formatting and cleanup