<?php
function loadMyFiles($dir) {
$ignoreMyFiles = '.|..|.htaccess|index.php|.tmp';
$uploads = makefilelist(UPLOAD_FOLDER.$dir, $ignoreMyFiles, TRUE, 'files');
return (isset($uploads)) ? $uploads : false;
}
?>
opentable("Uploaded Files");
include INFUSIONS."news_letter_panel/include/functions.php";
$uploads = loadMyFiles(UPLOAD_FOLDER);
if (is_array($uploads) && count($uploads) > 0) {
echo "<table width='730' align='center' border='0' class='tbl-brdr3'><tr>n";
echo "<td bgcolor='#840000' colspan='6' align='center'><span style='color:white;'><h4><strong>Uploaded Filenames For Attachments</strong></h4></span></td></tr><tr>n";
$i = 1;
foreach($uploads AS $file_name) {
echo "<td bgcolor='#B7DBFF' align='center'><b>$file_name</b></td>n";
if ($i % 6 == 0) {
echo "</tr><tr>n";
}
$i++;
}
}
echo "</tr></table>n";
closetable();
$uploads = loadMyFiles(UPLOAD_FOLDER);
$uploads = loadMyFiles($uploads);
Category Forum
Modifications and Requests - 8Labels
Statistics
1 participant
Notifications
You are not receiving notifications from this thread.
Related Questions