Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table>
- {foreach from=$results item=row}
- <tr>
- <td>
- <h3>{$row["title"]}</h3>
- <p>Price: {$row.price}</p>
- <p><em>{$row.category}</em></p>
- {wikiplugin _name="addtocart"
- code=$row.id|replace:"~/np~":""|replace:"~np~":""
- description=$row.title_raw|escape|replace:"~/np~":""|replace:"~np~":""
- price=$row.price_raw|replace:"~/np~":""|replace:"~np~":""}{/wikiplugin}
- </td>
- </tr>
- {/foreach}
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement