Here is is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">

<head>

   <link rel="stylesheet" type="text/css" href="/css/ajaxtags.css" />
   <link rel="stylesheet" type="text/css" href="/css/displaytag.css" />
   <title>TBS</title>
   <style type="text/css">
   .error_mark {
       background: #ffcccc;
       color: #990000;
       font-weight: bold;
   }
   .error_markalt {
       background: #ffaaaa;
       color: #990000;
       font-weight: bold;
   }
   .error_messages {
       background: #ffcccc;
       color: #990000;
       margin: 5px;
   }
   .error_messagesalt {
       background: #ffaaaa;
       color: #990000;
       margin: 5px;
   }
   </style>
</head>

<body>
<script language="JavaScript1.2">
function submitForm( type ) {
   document.getElementById( type ).submit();
}
</script>

   <p></p>
   ${v content/}
${bv content}
   <div>
       <div>
           <div id="tabPanelWrapper">
               <div id="tabPanel" class="tabPanel">
                   <ul>
<li><a class="ajaxCurrentTab" href="javascript://nop/">Reservations</a>
                       </li>
                   </ul>
               </div>
           </div>
           <div id="tabContent" class="tabContent">
${v reservationList/}
               ${bv reservationList}
                   <table id="row" class="displaytag">
                       <tr>
                           <th><em>id</em></th>
                           <th><em>tourId</em></th>
                           <th><em>reservationDate</em></th>
                           <th><em>status</em></th>
                           <th><em>nrofRequestedSeats</em></th>
                           <th><em>price</em></th>
                           <th><em>amountPaid</em></th>
                           <th>&nbsp</th>
                           <th style="text-align: right;">
<form name="reservationNew" action="${v SUBMISSION:FORM:reservationNew/}" method="post">
                                   ${v SUBMISSION:PARAMS:reservationNew/}
<input type="submit" name="reservationAction" value="Add new" />
                               </form>
                           </th>
                       </tr>
${v reservations}${/v}
                       ${b reservation}
<tr class="${v oddEvenType/}" bgcolor="${v color/}">
                               <td>${v rl_id/}</td>
                               <td>${v rl_tourId/}</td>
                               <td>${v rl_reservationDate/}</td>
                               <td>${v rl_status/}</td>
                               <td>${v rl_nrofRequestedSeats/}</td>
                               <td>${v rl_price/}</td>
<td width="100%" nowrap>${v rl_priceToBePaid/}</td>
                               <td nowrap>
<form id="rl${v rl_id/}" name="reservationList" action="${v SUBMISSION:FORM:reservationList/}" method="post"> ${v SUBMISSION:PARAMS:reservationList/}
                                       ${v FORM:HIDDEN:rl_id}${/v}
<input type="submit" name="Action" value="Details" /> <input type="submit" name="Action" value="Seats" /> <input type="submit" name="Action" value="Customer" /> <input type="submit" name="Action" value="Payments" />
                                   </form>
                               </td>
<td nowrap style="background-color: #fcf1be;"> <form id="ra${v ra_id/}" name="reservationAction" action="${v SUBMISSION:FORM:reservationAction/}" method="post"> ${v SUBMISSION:PARAMS:reservationAction/}
                                       ${v FORM:HIDDEN:ra_id}${/v}
<input type="submit" name="Action" value="Edit" /> <input type="submit" name="Action" value="Remove" />
                                   </form>
                               </td>
                           </tr>
                       ${/b}
                   </table>
               ${/bv}
</div>
       </div>

       <div>
           &nbsp;
       </div>
${v reservationSeatsCustomerPaymentsTab}${/v}
       ${b reservationSeatsCustomerPaymentsTab}
           <div>
               <div id="tabPanelWrapper">
                   <div id="tabPanel" class="tabPanel">
                       <ul>
                           <li>
<a ${v currentReservationTab/} href='javascript:submitForm( "rd" );'>Reservation</a> <form id="rd" name="reservationDetails" action="${v SUBMISSION:FORM:reservationDetails/}" method="post"> ${v SUBMISSION:PARAMS:reservationDetails/}
                                   ${v FORM:HIDDEN:rd_id}${/v}
                               </form>
                           </li>
                           <li>
<a ${v currentSeatsTab/} href='javascript:submitForm( "sl" );'>Seats</a> <form id="sl" name="seatList" action="${v SUBMISSION:FORM:seatList/}" method="post">
                                   ${v SUBMISSION:PARAMS:seatList/}
                                   ${v FORM:HIDDEN:sl_id}${/v}
                               </form>
                           </li>
                           <li>
<a ${v currentCustomerTab/} href='javascript:submitForm( "c" );'>Customer</a> <form id="c" name="customer" action="${v SUBMISSION:FORM:customer/}" method="post">
                                   ${v SUBMISSION:PARAMS:customer/}
                                   ${v FORM:HIDDEN:c_id}${/v}
                               </form>
                           </li>
                           <li>
<a ${v currentPaymentsTab/} href='javascript:submitForm( "pl" );'>Payments</a> <form id="pl" name="paymentList" action="${v SUBMISSION:FORM:paymentList/}" method="post">
                                   ${v SUBMISSION:PARAMS:paymentList/}
                                   ${v FORM:HIDDEN:pl_id}${/v}
                               </form>
                           </li>
                       </ul>
                   </div>
               </div>
           </div>
       ${/b}

       <div>
           ${v reservationDetails}${/v}
           ${b reservationDetails}
               ${v ELEMENT:.ReservationDetails:/}
           ${/b}
       </div>
<div>
           ${v seatList}${/v}
           ${b seatList}
               <div id="tabContent" class="tabContent">
                   <table id="row" class="displaytag">
                       <tr>
                           <th><em>id</em></th>
                           <th><em>seatId</em></th>
                           <th><em>reservationId</em></th>
                           <th><em>firstName</em></th>
                           <th><em>lastName</em></th>
                           <th><em>birthDate</em></th>
                           <th><em>street</em></th>
                           <th><em>zip</em></th>
                           <th><em>city</em></th>
                           <th><em>country</em></th>
                           <th>&nbsp;</th>
                       </tr>
                       ${v seatDetailsList/}
                       ${b seatEntry}
                           ${v ELEMENT:.SeatEntry:/}
                       ${/b}
                   </table>
               </div>
           ${/b}
       </div>
</div>
   ${/bv}
<p><a href="${v EXIT:QUERY:menu/}">go to menu</a></p>
</body>

</html>
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to