<?php
/*
   $_SESSION[USER]->ID = "1";
   $_SESSION[USER]->USERNAME = "pj";
   $_SESSION[USER]->EMAIL = "pj@overdrive.co.za";
   $_SESSION[USER]->SECURITYGROUPID = "1";
*/
   include_once("_nemo.basic.cls.php");


   $page = new NemoBasic();
//print_rr($page);

   $oneBasic = "<a class='textBlack textU imgButton textBold' onclick='jsShowElement(\"divBasic\", blnShowBasic); '><span class='textRed'>1</span> for <span class='textRed'>Basic</span></a>";
   $one20 = "<a class='textBlack textU imgButton textBold' onclick='jsShowElement(\"div20\", blnShow20); '><span class='textRed'>1</span> for <span class='textRed'>20</span></a>";
   $one40 = "<a class='textBlack textU imgButton textBold' onclick='jsShowElement(\"div40\", blnShow40); '><span class='textRed'>1</span> for <span class='textRed'>40</span></a>";
   $one80 = "<a class='textBlack textU imgButton textBold' onclick='jsShowElement(\"div80\", blnShow80); '><span class='textRed'>1</span> for <span class='textRed'>80</span></a>";
   $oneF = "<a class='textBlack textU imgButton textBold' onclick='jsShowElement(\"divF\", blnShowF); '><span class='textRed'>1</span> for the <span class='textRed'>Function</span></a>";
   $oneNM = "<a class='textBlack textU imgButton textBold' onclick='jsShowElement(\"divNM\", blnShowNM); '><span class='textRed'>1</span> for <span class='textRed'>Non-Members</span></a>";
   
   
   $tblOptions = "<table border='0' cellpadding='2' cellspacing='1' width='100%' id='tblOptions'>
         <caption>Compare the options</caption>
         <tr>
            <th></th>
            <th width='$x'>$oneBasic</th>
            <th width='$x'>$one20</th>
            <th width='$x'>$one40</th>
            <th width='$x'>$one80</th>
            <th width='$x'>$oneF</th>
            <!-- <th width='$x'>$oneNM</th> -->
         </tr>
         <tr>
            <td>Free KM's included (km)</td>
            <td align=center>n/a</td>
            <td align=center>20</td>
            <td align=center>40</td>
            <td align=center>80</td>
            <td align=center>n/a</td>
            <!-- <td align=center>n/a</td> -->
         </tr>
         <tr>
            <td align=left>Minimum trip (km)</td>
            <td align=center>15</td>
            <td align=center>5</td>
            <td align=center>15</td>
            <td align=center>15</td>
            <td align=center>n/a</td>
            <!-- <td align=center>10</td> -->
         </tr>
         <tr>
            <td align=left>Charge per KM (R)</td>
            <td align=center>12.71</td>
            <td align=center>13.92</td>
            <td align=center>10.59</td>
            <td align=center>8.47</td>
            <td align=center>n/a</td>
            <!-- <td align=center>10.00</td> -->
         </tr>
         <tr>
            <td align=left>Monthly subscription (R)</td>
            <td align=center>99.00</td>
            <td align=center>275.00</td>
            <td align=center>418.00</td>
            <td align=center>677.00</td>
            <td align=center>n/a</td>
            <!-- <td align=center>n/a</td> -->
         </tr>
         <tr>
            <td align=left>Minimum charge (R)</td>
            <td align=center>n/a</td>
            <td align=center>n/a</td>
            <td align=center>n/a</td>
            <td align=center>n/a</td>
            <td align=center>n/a</td>
            <!-- <td align=center>200</td> -->
         </tr>
         <tr>
            <td align=left></td>
            <td align=center><a href='register.php?PID=1'>pick me!</a></td>
            <td align=center><a href='register.php?PID=2'>pick me!</a></td>
            <td align=center><a href='register.php?PID=3'>pick me!</a></td>
            <td align=center><a href='register.php?PID=4'>pick me!</a></td>
            <td align=center><a href='register.php?PID=5'>pick me!</a></td>
            <!-- <td align=center><a href='register.php?PID=6'>pick me!</a></td> -->
         </tr>
      </table>";

   $page->Content = "
   <p><span class='heading'>What we offer</span></p>
   <p>". $page->get1ForTheRoad() ." is a flexible and responsible transport solution for anyone who enjoys a drink and needs to get home safely in their own car. Whether it's a big night out in town with the boys/girls, a boozy client dinner or a chilled braai at friends', the minute you've had more than two drinks you are legally not fit to drive.</p>
   <p>There's no need to cut the party short. In fact, having the peace of mind that you'll be driven home safely in your own car by one of our reliable drivers means you can really enjoy yourself.</p>

   <p><span class='heading'>Member Packages</span></p>
   <p>Choose from a variety of different package options depending on how frequently you'd like to use the service. To determine which one is best suited visit the <a href='packages.php'>Packages</a> page.
   <p><B class='textRed'>New tariffs as from March 2015</B>
      $tblOptions
   </p>
   <p><span class='heading'>How this works</span></p>
   <p>Once you have completed a membership form, and selected a package from the various options available, you can begin using ". $page->get1ForTheRoad() ." with immediate effect. Find out more <a href='faq.php#howitworks'>here</a>...</p>

   <p><span class='heading'>Function Service</span></p>
   <p>". $page->get1ForTheRoad() ." also provides a function service, so that a team of drivers can be booked for client events, corporate functions or any event (eg.40th birthdays) that requires a
   number of people to be driven home safely in their own cars. Why not <a href='contactus.php'>contact us</a> for a tailor made package that suits you!
<!--
   <p><span class='heading'> 1 for Non-Members</span></p>
   <p>While the membership route makes more sense as it works out to be more affordable, we do also accept first-time call-ins. Call <span class='textbold textred'>0861 622 642</span> and if we can accommodate you we will. Indemnity forms will need to be signed, and payment can be made in cash on the night, or EFT the following day. </p>
-->
   <p><span class='heading'>Hours of operation</span></p>
   <p>By pre-booking ". $page->get1ForTheRoad() ." you are essentially able to make use of a 24/7 transport service. On-the-night bookings, however, need to fall within the following operating hours:
      <ul>
         <li>Mondays to Thursdays: 16h00 - 02h00</li>
         <li>Fridays: 15h00 - 02h00</li>
         <li>Public holidays & Sat/Sun: 15h00 - 02h00</li>
      </ul>
   </p>

   ";

   $page->Display();

?>