Location: PHPKode > projects > Replex > replex-0.9.0/admin/tabbed_menu.php
<?php
/*************************************************************
$Id: tabbed_menu.php,v 1.5 2001/05/02 15:08:31 jimir Exp $
 
 ***************************************************************/

$bgcol=($activetab%4);

function menu_html_trail()
{
  global $bgcol;
?>
  </td>
  <td background="images/tabbody/<%=$bgcol%>_mr.png"><img src="images/spacer.gif" width="17" height="1"></td>
</tr>
<tr>
  <td width="17" height="17" background="images/tabbody/<%=$bgcol%>_ll.png">&nbsp;<!--<img src="images/spacer.gif" width="17" height="17" border="0">--></td>
  <td background="images/tabbody/<%=$bgcol%>_l.png">&nbsp;</td>
  <td width="17" height="17" background="images/tabbody/<%=$bgcol%>_lr.png">&nbsp;<!--<img src="images/spacer.gif" width="17" height="17" border="0">--></td>
</tr>
</table>
</body>
</html>
<?php
}
?>
<html>
<head>
<title><%=$pagetitle%></title>
<link rel="stylesheet" href="unitab.php?activetab=<%=$activetab%4%>" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFFFF" text="#000000" link="#CCCCCC" vlink="#CCCCCC" alink="#000000">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td colspan="3">
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr>
    <% for ($i=0;$i<$showtabs; $i++): %>
  <td width="1" background="images/tabtop/<%=$activetab%4%>_<%=($i%4)%><%=($i>3&&$activetab%4==$i%4&&$i!=$activetab)||($activetab>$i&&$activetab%4==$i%4)?'_n':''%>_bg.png"><% if (($activetab>0&&$i/3>1&&$i%4==0)||($i==0&&$activetab%4==0&&$activetab>0)): %><img src="images/tabtop/<%=$activetab%4==1?'0_1_n_l':($activetab%4==2?'0_2_n_l':(($activetab%4==3&&($activetab+1)==$i)?'0_3_n_l':($activetab%4==3?'0_3_n_x_l':($i==0?'0_0_n_x_l':($activetab==$i?'0_0_x_l':'0_0_n_l')))))%>.png"><% else: %><img src="images/tabtop/<%=$i%4%>_<%=$activetab%4%><%=($activetab!=$i&&$activetab%4==$i%4)||($activetab!=($i-1)&&$activetab%4==($i-1)%4)?'_n':''%>_l.png"><% endif %></td>
      <td nowrap background="images/tabtop/<%=$activetab%4%>_<%=($i%4)%><%=($i>3&&$activetab%4==$i%4&&$i!=$activetab)||($activetab>$i&&$activetab%4==$i%4)?'_n':''%>_bg.png"><b><a href="<%=$tabs[$i][url]%>" class="tab"><%=$tabs[$i][title]%></a></b></td>
<% endfor %>
      <td width="1" background="images/tabtop/<%=$activetab%>_tbg.png"><img src="images/tabtop/<%=(($i-1)%4)%>_<%=$activetab%4%>_<%=($i-1)==$activetab?'act_':''%>end.png"></td>
      <td background="images/tabtop/<%=$activetab%4%>_tbg.png">&nbsp;</td>
      <td width="99%" align="right" background="images/tabtop/<%=($activetab%4)%>_tbg.png"><img src="images/tabtop/<%=$activetab%4%>_tr.png"></td>
    </tr>
    </table>
  </td>
</tr>
<tr>
  <td background="images/tabbody/<%=$bgcol%>_ml.png" width="16"><img src="images/spacer.gif" width="16" height="1"></td>
  <td background="images/tabbody/<%=$bgcol%>_bg.png" width="3000">
Return current item: Replex