| Server IP : 180.180.241.3 / Your IP : 216.73.216.25 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/umedia3/root.importer_indexword/ |
Upload File : |
<?php
;
include ("../inc/config.inc.php");
head();
mn_root("importer_indexword");
pagesection(getlang("นำเข้าข้อมูลคำ::l::Word Importer"));
if ($delll!="" && (strpos($delll,"..")===false)) {
unlink($dcrs.'/_input/import/' . "$delll");
}
?><BR><TABLE align=center width=550>
<?
// Note that !== did not exist until 4.0.0-RC2
if ($handle = opendir('../_input/import/')) {
// echo "Directory handle: $handle\n";
//echo "Files:\n";
/* This is the correct way to loop over the directory. */
while (false !== ($file = readdir($handle))) {
if ($file!="." && $file !=".." && $file !="import") {
$fileurl="step1.php?file=$file";
?><TR>
<TD><IMG SRC="../neoimg/View.gif" WIDTH="16" HEIGHT="16" BORDER="0" ALT="" align=absmiddle> <?
echo "<A HREF=\"$fileurl\" >$file</A><BR>\n";
?></TD><TD><A HREF="index.php?delll=<? echo $file;?>"><IMG SRC="../neoimg/Delete.gif" WIDTH="16" HEIGHT="16" BORDER="0" ALT="" align=absmiddle> Delete</A></TD>
</TR><?
}
}
closedir($handle);
}
?>
</TABLE>
<BR><BR>
<HR><TABLE width=600 align=center>
<TR>
<TD>
<? echo getlang("<B>หมายเหตุ</B> รายการดังกล่าวเป็นไฟล์ที่มีผู้นำไปไว้ที่โฟลเดอร์ /_input/import/ <BR>
ซึ่งสามารถนำไปไว้ได้ทั้งวิธีการคัดลอกไฟล์ไปไว้ <A HREF='UPLOAD.php'>หรืออัพโหลดผ่านแบบฟอร์ม</A> ที่เตรียมไว้ให้ ::l::
<B>Note</B> Files in folder /_input/import/ are shown above. To upload more files Administrator might upload files mannually or by <A HREF='UPLOAD.php'>provided form</A>"); ?>
<BR></TD>
</TR>
</TABLE><?
foot();
?>