[if: (form_param: 'id') == ''][var_set: 'id' = '5'][else][var_set: 'id' = (form_param: 'id')][/if] [inline: -database='nrgsoft', -table='products', -keyfield='product_id', -keyvalue=($id), -search] [inline: -database='nrgsoft', -table='products', -keyfield='product_id', -keyvalue=($id), 'views'=(math_add: (field: 'views'),1), -update] [/inline] [redirect_url: (field: 'product_page'), -Type='MOVED'] [/inline]