<?php
   include_once("_nemo.basic.cls.php");

   $page = new NemoBasic();
   $page->title = " - Packages";
   //print_rr($page);
   //$rst = $xdb->doQuery("SELECT * FROM tblPackages ORDER BY strDisplayOrder, strPackage");
   //make page dynamic: phase 2

   $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>";

   $x = "12%";
//onclick='jsShowElement(\"tblOptions\", blnShowOptions); '<div id='divOptions' xstyle='display:none;'>
   $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 = js("var blnShowBasic = Object();
                        var blnShow20 = Object();
                        var blnShow40 = Object();
                        var blnShow80 = Object();
                        var blnShowF = Object();
                        var blnShowNM = Object();") ."
   <p><span class='heading'>Membership & Packages</span></p>

   <p>Acquiring membership of ". $page->get1ForTheRoad() ." is simple. We've kept it that way because we aim to provide a hassle free service from first point of contact until your drop off at home at the end of an evening.</p>
   <p>All you have to do is:<ol>
      <li>Decide which package below is best suited to your lifestyle.</li>
      <li>Complete the membership application form, providing your bank details so we can set up a debit order.</li>
      <li>You are ready to go - simply call <span class='textbold textred'>0861 622 642</span> to book a driver for your next night out. </li></ol>
   </p>

   <p><B class='textRed'>Packages - New tariffs as from March 2015</B>
      $tblOptions
   </p>

   <p>$oneBasic</p>
   <div class='blokkie' id='divBasic' style='display:none;'>
      <p>You are likely to be an infrequent or occasional user to the service. You nevertheless want the peace of mind that you can make use of ". $page->get1ForTheRoad() ." if you need it.
      There is a monthly membership fee and a charge per kilometre of usage, with no free kilometres provided.</p>
   </div>
   <p>$one20</p>
   <div class='blokkie' id='div20' style='display:none;'>
      <p>You will use the service a few times a month. You live quite close to where you socialise so the minimum 5km trip charge will provide the best value.
      There is a monthly membership fee (R250) and you have 20km free.</p>
   </div>
   <p>$one40</p>
   <div class='blokkie' id='div40' style='display:none;'>
      <p>You are a moderate but regular user - probably using the service twice per month. You would like to take advantage of a better rate than the $one20 option.
      There is a monthly membership fee (R380) and you have 40km free with a discounted rate per kilometre thereafter.</p>
   </div>

   <p>$one80</p>
   <div class='blokkie' id='div80' style='display:none;'>
      <p>You have an active social life and as a regular user of ". $page->get1ForTheRoad() .", you want the best rate available.
      There is a monthly membership fee (R615) and you have 80km free with the maximum discounted rate per kilometre thereafter.</p>
   </div>

   <p>$oneF</p>
   <div class='blokkie' id='divF' style='display:none;'>
      <p>Ideal for companies that plan corporate events and client functions, as well as private functions at your home (eg.40th birthday party) the $oneF means you can ensure your
      clients, customers, friends or staff enjoy the evening right up until the last moment. Providing a responsible transport solution after a night of entertaining will leave a lasting good impression.
      There is a monthly membership fee and tailored packages can be created to suit your needs.</p>
   </div>

   <p>$oneNM</p>
   <div class='blokkie' id='divNM' style='display:none;'>
      <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.
      Payment can be made in cash on the night or via EFT the following day.</p>
   </div>

   <p><B>Family discounts</B></p>
   <p>Family members on the <B><span class='textRed'>1</span> for <span class='textRed'>20</span>/<span class='textRed'>40</span>/<span class='textRed'>80</span></B> packages, living in the same household can take advantage of discounted membership and pay only R40 per person, per month.</p>

   ";

   $page->Display();

?>
