-<table style="margin-left: auto; margin-right: auto">
- <tr>
- <td>
- <form action="{rel}/marketing/promo" method="get">
- <div>
- <input type="hidden" name="promo" value="{$promo-10}" />
- <input type="submit" value="<<" />
- </div>
- </form>
- </td>
- <td>
- <form action="{rel}/marketing/promo" method="get">
- <div>
- <input type="hidden" name="promo" value="{$promo-1}" />
- <input type="submit" value="<" />
- </div>
- </form>
- </td>
- <td>
- <form action="{rel}/marketing/promo" method="get">
- <div>
- Promotion : <input type="text" name="promo" value="{$promo}" size="4" maxlength="4" />
- <input type="submit" value="GO" />
- </div>
- </form>
- </td>
- <td>
- <form action="{rel}/marketing/promo" method="get">
- <div>
- <input type="hidden" name="promo" value="{$promo+1}" />
- <input type="submit" value=">" />
- </div>
- </form>
- </td>
- <td>
- <form action="{rel}/marketing/promo" method="get">
- <div>
- <input type="hidden" name="promo" value="{$promo+10}" />
- <input type="submit" value=">>" />
- </div>
- </form>
- </td>
- </tr>
-</table>
+<form action="marketing/promo/" method="post" onsubmit="this.action += this.promo.value">
+ <div class="center">
+ Promo :<input type="text" name="promo" value="{$promo}" size="5" maxlength="5" /><input type="submit" value="GO" />
+ </div>
+</form>