All pastes #391437 Raw Edit

Someone

public php v1 · immutable
·published 2007-03-12 03:59 UTC
rendered paste body
function csstabs( $activehref ) {       $lis = array(           'Home'     => '/',           'Add Type' => 'index.php?action=addtype',           '#'        => 'statler',           '#'        => 'more',           '#'        => 'must have more',           '#'        => 'COOKIES!!!!!',           '#'        => 'COOKIES!!!!!',           '#'        => 'COOKIES!!!!!'       );       ?><ul id="tabnav"><?php       foreach ( $lis as $href => $caption )               ?><li><a href="<?php              echo $href;              ?>"<?php              if ( $activehref == $href ) {                     ?> class="active"><?php              }              ?>><?php              echo $caption;              ?></a></li><?php       }       ?></ul><?php}