If satment on the condition of admin or customer.
I would like to set two conditions and its dependant on either if it is a customer or admin viewing the site.
an example for skin1/rectangle_top.tpl.
I would like everybody who visits the site to see it as a center justified window with a width of 1000 pixels.
<table class="Container" cellpadding="0" cellspacing="0" width="{$width|default:"1000"}">
if its an admin, i would like it 100% center justified.
<table class="Container" cellpadding="0" cellspacing="0" width="{$width|default:"100%"}">
this is just for an example,
how would i call out the admin / or customer state.
how would i word the {if} {/if} statment..
Thank you.
__________________
X-Cart - Version 4.1.9
Moondogs Tabbed products mod.
Thank you to:
BCSE &
Green Leaf Media
|