Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

login / logout within css menu


aspenation

Recommended Posts

Posted

Is it possible to have this

 

<?php if ( tep_session_is_registered('customer_id') ) { echo '<a href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '">Logout</a>';} else { echo '<a href="' . tep_href_link(FILENAME_LOGIN, '', 'SSL') . '">Login</a>';}?>

 

 

in something like this:

 

<li>

<a class="menu" href="nogo"><b class="pad"></b><b class="cssmenu"><b class="b1"></b><b class="b2 red"></b><b class="b3 red"></b><b class=" red"></b><span class="boxcontent red">Login</span>

</b></a>

</li>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...