$0
<xf:if is="property('LightSwitch_On') == 'Enabled'">
<xf:if is="{$xf.visitor.style_id} == property('Light_Switch')">
    <a href="{{ link('misc/style', null, {'style_id': property('Dark_Switch'),'_xfRedirect': $xf.fullUri,'t': csrf_token()}) }}">
    <img src="{{ base_url('styles/default/bp/lightswitch/bulb-off.png', true) }}">
           </a>
    </xf:if>
      <xf:if is="{$xf.visitor.style_id} == property('Dark_Switch')">
   
    <a href="{{ link('misc/style', null, {'style_id': property('Light_Switch'),'_xfRedirect': $xf.fullUri,'t': csrf_token()}) }}">
            <img src="{{ base_url('styles/default/bp/lightswitch/bulb-on.png', true) }}">
       
           </a>
</xf:if>
<xf:if is="{$xf.visitor.style_id} == property('Light_Switch2')">
    <a href="{{ link('misc/style', null, {'style_id': property('Dark_Switch2'),'_xfRedirect': $xf.fullUri,'t': csrf_token()}) }}">
        <img src="{{ base_url('styles/default/bp/lightswitch/bulb-off.png', true) }}">
    </a>
</xf:if>
   
    <xf:if is="{$xf.visitor.style_id} == property('Dark_Switch2')">
    <a href="{{ link('misc/style', null, {'style_id': property('Light_Switch2'),'_xfRedirect': $xf.fullUri,'t': csrf_token()}) }}">
        <img src="{{ base_url('styles/default/bp/lightswitch/bulb-on.png', true) }}">
    </a>
</xf:if>
<xf:if is="{$xf.visitor.style_id} == property('Light_Switch3')">
    <a href="{{ link('misc/style', null, {'style_id': property('Dark_Switch3'),'_xfRedirect': $xf.fullUri,'t': csrf_token()}) }}">
        <img src="{{ base_url('styles/default/bp/lightswitch/bulb-off.png', true) }}">
    </a>
</xf:if>
   
    <xf:if is="{$xf.visitor.style_id} == property('Dark_Switch3')">
    <a href="{{ link('misc/style', null, {'style_id': property('Light_Switch3'),'_xfRedirect': $xf.fullUri,'t': csrf_token()}) }}">
        <img src="{{ base_url('styles/default/bp/lightswitch/bulb-on.png', true) }}">
    </a>
</xf:if>
<xf:if is="{$xf.visitor.style_id} == property('Light_Switch4')">
    <a href="{{ link('misc/style', null, {'style_id': property('Dark_Switch4'),'_xfRedirect': $xf.fullUri,'t': csrf_token()}) }}">
        <img src="{{ base_url('styles/default/bp/lightswitch/bulb-off.png', true) }}">
    </a>
</xf:if>
   
    <xf:if is="{$xf.visitor.style_id} == property('Dark_Switch4')">
    <a href="{{ link('misc/style', null, {'style_id': property('Light_Switch4'),'_xfRedirect': $xf.fullUri,'t': csrf_token()}) }}">
        <img src="{{ base_url('styles/default/bp/lightswitch/bulb-on.png', true) }}">
    </a>
</xf:if>
<xf:if is="{$xf.visitor.style_id} == property('Light_Switch5')">
    <a href="{{ link('misc/style', null, {'style_id': property('Dark_Switch5'),'_xfRedirect': $xf.fullUri,'t': csrf_token()}) }}">
        <img src="{{ base_url('styles/default/bp/lightswitch/bulb-off.png', true) }}">
    </a>
</xf:if>
   
    <xf:if is="{$xf.visitor.style_id} == property('Dark_Switch5')">
    <a href="{{ link('misc/style', null, {'style_id': property('Light_Switch5'),'_xfRedirect': $xf.fullUri,'t': csrf_token()}) }}">
        <img src="{{ base_url('styles/default/bp/lightswitch/bulb-on.png', true) }}">
    </a>
</xf:if>
</xf:if>