Location: PHPKode > projects > NOLA > apvendlist.php
<? include('includes/main.php'); ?>
<? //apvendlist.php - April 2001 copyright Noguska - Fostoria, OH  44830
        $recordSet = &$conn->Execute('select count(*) from vendor where vendor.gencompanyid='.sqlprep($active_company).' and vendor.cancel=0');
        if ($recordSet->EOF) die(texterror('No vendors found.'));
        echo '<a href="apvendcsvlist.php"'.tooltip('This link generates a comma delimited (CSV) list of vendors.  This file may be displayed in your browser if Microsft Excel or another handler is installed, else you will be prompted to save the file.').'>CSV List</a><br>'."\n";
        echo '<a href="apvendlistview.php"'.tooltip('This link generates an on screen list of the Order From information for your vendors.').'>Vendor List (Order From)</a><br>'."\n";
        echo '<a href="apvendlistview.php?payto=1"'.tooltip('This link generates an on screen list of the Pay To information for your vendors.').'>Vendor List (Pay To)</a><br>'."\n";
        for ($i=1; $recordSet->fields[0]-(30*($i-1))>=0; $i++) {
            echo '<a href="labels.php?vendor=1&companyid='.$active_company.'" target="_new"'.tooltip('This link generates a page of mailing labels for your Order From vendors.  This file may be displayed as a PDF document in a new window.  It requires Adobe Acrobat Reader or another PDF viewer to display itself correctly.').'>Mailing Labels (Order From: Page '.$i.')</a><br>'."\n";
            echo '<a href="labels.php?vendorpayto=1&companyid='.$active_company.'" target="_new"'.tooltip('This link generates a page of mailing labels for your Pay To vendors.  This file may be displayed as a PDF document in a new window.  It requires Adobe Acrobat Reader or another PDF viewer to display itself correctly.').'>Mailing Labels (Pay To: Page '.$i.')</a><br>'."\n";
        };
?>
<? include('includes/footer.php'); ?>
Return current item: NOLA