| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/coaching_sites/usbusinessfundingsolutions.com/member/ |
Upload File : |
<?php
//what type of files we are looking for
$filter = ".pdf";
// relative path to the directory you want to scan
$directory = "forms/";
// read through the directory and filter files to an array
@$d = dir($directory);
if ($d) {
while($entry=$d->read()) {
$ps = strpos(strtolower($entry), $filter);
if (!($ps === false)) {
$items[] = $entry;
}
}
$d->close();
sort($items);
$items = array_reverse($items);
}
//build the links
$datemontharray = array();
for( $i=0; $i < sizeof($items); $i++ )
{
$url = ($directory.$items[$i]);
$title = htmlspecialchars( $items[$i] );
$entry = '<a class="forms" href="'.$url.'" target=_blank>'.$title.'</a>';
//create monthly arrays
$forms[] = $entry;
}
//print_r($datemontharray);
$title = 'Funding Forms';
$body_id = 'form';
require_once('header.php');
?>
<div id="content" class="size">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="680" class="borderBot">
<h1>USBFS Small Business Funding Tools</h1>
<p>Each of the files below are part of the USBFS grant funding helpbook. Click on each link to open.</p>
<a class="forms" href="/member/businessplan/Synergy Grant Funding Book.pdf" target="_blank">Synergy Grant Funding Book</a>
<a class="forms" href="/member/businessplan/Synergy Small Business Toolbox.pdf" target="_blank">Synergy Small Business Toolbox</a>
<a class="forms" href="/member/businessplan/Synergy Small Business Training Manual.pdf" target="_blank">Synergy Small Business Training Manual</a>
<a class="forms" href="/member/businessplan/Synergy Small Business Workbook.pdf" target="_blank">Synergy Small Business Workbook</a>
<a class="forms" href="/member/businessplan/Synergy Ultimate New Business Starup Manual.pdf" target="_blank">Synergy's Ultimate New Business Startup Manual</a>
</td>
<td width="275" rowspan="3" class="columnData">
<? include("sidebar_archives.php"); ?>
<? include($_SERVER['DOCUMENT_ROOT'].'/sidebar_quotes.php'); ?>
</td>
</tr>
<tr>
<td class="boxData borderTop">
<h1>General Forms</h1>
<p>Below are a collection of the necessary forms for obtaining government, corporate, or foundation funding.</p>
<?
foreach($forms as $listItem)
{?>
<?=$listItem?>
<?
}
?>
</td>
</tr>
</table>
</div>
<?php
require_once('footer.php');
?>