1
carpman
wht does this kill theme.html
  • 2004/8/31 17:40

  • carpman

  • Just popping in

  • Posts: 7

  • Since: 2004/8/31


Hello, trying to get the code below to work in theme.html but it just kills it and all i get is blank page when i try and site.

What i am trying to do is do away with user menu and have 2 different view for logged on and logged out users


<{if $xoops_isuser}> Welcome back <{$xoops_uname}>
<br>
<{if $xoops_isuser}> <a href="<{$xoops_url}>/user.php">View account</a>
<span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span>
<{if $xoops_isuser}> <a href="<{$xoops_url}>/viewpmsg.php">Inbox</a>
<span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span>
<{if $xoops_isuser}> <a href="<{$xoops_url}>/notifications.php">Notifications</a>
<span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span>
<{if $xoops_isuser}> <a href="<{$xoops_url}>/user.php?op=logout">logout</a>

<{else}> <a href="<{$xoops_url}>/register.php">Register!</a> or <{/if}></span> <span class="right">
<{else}> <a href="<{$xoops_url}>/user.php">log in</a> <{/if}></span><span class="right">



cheers

2
Herko
Re: wht does this kill theme.html
  • 2004/8/31 18:01

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


In the beginning of the code, I see a lot of unclosed <{if}> tags. Close them with <{/if}>

Herko

Login

Who's Online

229 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits