public function getQuote()
 {
     require_once 'autoLoad.php';
     require_once 'db.php';
     $quotes = array();
     if ($q = $link->query("SELECT * FROM quotes")) {
         while ($row = $q->fetch_row()) {
             $tempQuote = new Quote();
             $tempQuote->Setid($row[0]);
             $tempQuote->Setname($row[1]);
             $tempQuote->Setdate($row[2]);
             $tempQuote->Setemail($row[3]);
             $tempQuote->SetjobName($row[4]);
             $tempQuote->Setlink($row[5]);
             $tempQuote->SetflatSize($row[6]);
             $tempQuote->SetfinishedSize($row[7]);
             $tempQuote->Setpaper($row[8]);
             $tempQuote->Setproofs($row[9]);
             $tempQuote->Setcolors($row[10]);
             $tempQuote->Setbleed($row[11]);
             $tempQuote->Setbindary($row[12]);
             $tempQuote->Setquantity($row[13]);
             $tempQuote->SetpaymentType($row[14]);
             $tempQuote->SetagencyOrg($row[15]);
             $tempQuote->SetpaymentOther($row[16]);
             $tempQuote->SetinvoiceRec($row[17]);
             $tempQuote->SetdeliveryMethod($row[18]);
             $tempQuote->SetdueDate($row[19]);
             $tempQuote->Setcomments($row[20]);
             $tempQuote->SetpagesPer($row[21]);
             $tempQuote->Setbytes($row[22]);
             $quotes[] = $tempQuote;
         }
         $q->close();
     }
     $link->close();
     return $quotes;
 }