| 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/usa_sites/usagrantapplications.org/pom/admin/ |
Upload File : |
<?php
#die("No headers available!");
$headers = array();
$dir = dir("{$_SERVER["DOCUMENT_ROOT"]}/images/headers/");
while (false !== ($entry = $dir->read()))
{
if (strpos($entry,"-h.jpg")>0)
{
$headers[] = $entry;
}
}
$imagecount = 0;
?>
<html>
<body>
<table border="0" cellpadding="4" cellspacing="4" align="center">
<tr>
<th colspan="4" class="noBorder">
Select A Header
</th>
</tr>
<?php
foreach ($headers as $header)
{
if (($imagecount % 2) == 0) { echo "</tr><tr>";}
echo "
<td class=\"noBorder\" align=\"center\">
<a style=\"text-decoration:underline;color:#0000ff;cursor:pointer;\" onclick=\"select_header('$header');\">
<img src=\"/images/headers/$header\" width=\"450\" height=\"40\" />
</a>
</td>
";
$imagecount++;
}
?>
</tr>
</table>
<div align="center">
<input type="button" value="Close" onclick="close_panel();"/>
</div>
</body>
</html>