basketmen
01-09-2009, 03:05 PM
guys, i want to combine this 2 conditional code, please help what is the right code to combine it, because its make my site a little slow to load, so maybe to combine it will make it faster to load so less queries to load
combine
<if condition="$show['member']">
and
<if condition="THIS_SCRIPT=='showthread'">
combine
<if condition="$show['member']">
and
<if condition="(THIS_SCRIPT != 'gtsearch') AND (THIS_SCRIPT != 'privacy')">
combine
<if condition="$bbuserinfo['userid'] == 0">
and
<if condition="(THIS_SCRIPT != 'gtsearch') AND (THIS_SCRIPT != 'privacy')">
combine
<if condition="$show['member']">
and
<if condition="THIS_SCRIPT=='showthread'">
combine
<if condition="$show['member']">
and
<if condition="(THIS_SCRIPT != 'gtsearch') AND (THIS_SCRIPT != 'privacy')">
combine
<if condition="$bbuserinfo['userid'] == 0">
and
<if condition="(THIS_SCRIPT != 'gtsearch') AND (THIS_SCRIPT != 'privacy')">