2006-04-26 12:28:53 +00:00
< ? php
/*
2013-02-01 09:00:19 +00:00
----------------------------------------------------------------------
LICENSE
This program is free software ; you can redistribute it and / or
modify it under the terms of the GNU General Public License ( GPL )
as published by the Free Software Foundation ; either version 2
of the License , or ( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
To read the license please visit http :// www . gnu . org / copyleft / gpl . html
----------------------------------------------------------------------
*/
2017-10-12 15:54:48 +00:00
/**
* A file browser / manager for AlternC
* Warning : complex spaghetti - style code below .
* allow an account user to browse files , move , copy , upload , rename ,
* and set permissions
* also , uncompress tarballs and zips , and import SQL files
*
* @ copyright AlternC - Team 2000 - 2017 https :// alternc . com /
*/
require_once ( " ../class/config.php " );
2009-09-08 05:29:38 +00:00
include_once ( " head.php " );
2006-04-26 12:28:53 +00:00
2011-03-27 15:03:42 +00:00
$fields = array (
2013-02-01 09:00:19 +00:00
" R " => array ( " request " , " string " , " " ),
2017-10-07 16:01:12 +00:00
" o " => array ( " request " , " array " , array ()),
" d " => array ( " request " , " array " , array ()),
2013-02-01 09:00:19 +00:00
" perm " => array ( " post " , " array " , array ()),
2016-05-23 13:03:13 +00:00
" formu " => array ( " post " , " integer " , " " ),
2013-02-01 09:00:19 +00:00
" actextract " => array ( " request " , " string " , " " ),
" fileextract " => array ( " request " , " string " , " " ),
2016-05-23 13:03:13 +00:00
" actperms " => array ( " post " , " string " , " " ),
" actdel " => array ( " post " , " string " , " " ),
" actcopy " => array ( " post " , " string " , " " ),
" actrename " => array ( " post " , " string " , " " ),
" actmove " => array ( " post " , " string " , " " ),
" actmoveto " => array ( " post " , " string " , " " ),
" nomfich " => array ( " post " , " string " , " " ),
2013-02-01 09:00:19 +00:00
" del_confirm " => array ( " request " , " string " , " " ),
" cancel " => array ( " request " , " string " , " " ),
" showdirsize " => array ( " request " , " integer " , " 0 " ),
2016-05-23 13:03:13 +00:00
" nomfich " => array ( " post " , " string " , " " ),
2013-02-01 09:00:19 +00:00
);
2016-02-23 12:35:21 +00:00
## does not intend to edit oversize files.
$memory_limit = ini_get ( " memory_limit " );
if ( preg_match ( " #([mk])#i " , $memory_limit , $out ))
$memory_limit = $memory_limit * 1024 * ( $out [ 1 ] == " M " ? 1024 : 1 );
2011-03-27 15:03:42 +00:00
getFields ( $fields );
2006-04-26 12:28:53 +00:00
$p = $bro -> GetPrefs ();
2011-03-06 21:28:14 +00:00
if ( ! isset ( $R )) $R = '' ;
2006-04-26 12:28:53 +00:00
if ( ! $R && $p [ " golastdir " ]) {
$R = $p [ " lastdir " ];
}
$R = $bro -> convertabsolute ( $R , 1 );
// on fait ?
2012-08-23 07:56:20 +00:00
if ( ! empty ( $formu ) && $formu ) {
2017-08-16 00:44:54 +00:00
$absolute = $bro -> convertabsolute ( $R , false );
2006-04-26 12:28:53 +00:00
switch ( $formu ) {
2015-11-11 08:43:57 +00:00
case 1 : // Create the folder $R.$nomfich
2017-08-16 00:44:54 +00:00
if ( $bro -> CreateDir ( $R , $nomfich )) {
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The folder '%s' was successfully created " ), $nomfich );
2013-02-01 09:00:19 +00:00
}
$p = $bro -> GetPrefs ();
break ;
2015-11-11 08:43:57 +00:00
case 6 : // Create the file $R.$nomfich
2017-08-16 00:44:54 +00:00
if ( $bro -> CreateFile ( $R , $nomfich )) {
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The file '%s' was successfully created " ), $nomfich );
2013-02-01 09:00:19 +00:00
}
$p = $bro -> GetPrefs ();
if ( $p [ " createfile " ] == 1 ) {
$editfile = $nomfich ;
include ( " bro_editor.php " );
exit ();
}
break ;
case 2 : // act vaut Supprimer Copier ou Renommer.
if ( $actdel ) {
if ( ! empty ( $del_confirm ) ) {
2017-08-16 00:44:54 +00:00
if ( $bro -> DeleteFile ( $d , $R )) {
foreach ( $d as $v ) {
if ( is_dir ( $absolute . " / " . $v ))
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The folder '%s' was successfully deleted " ), $v );
2017-08-16 00:44:54 +00:00
else
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The file '%s' was successfully deleted " ), $v );
2017-08-16 00:44:54 +00:00
}
2013-02-01 09:00:19 +00:00
}
2017-10-07 16:01:12 +00:00
} elseif ( empty ( $cancel ) && count ( $d )) {
2013-02-01 09:00:19 +00:00
include_once ( " head.php " );
?>
< h3 >< ? php printf ( _ ( " Deleting files and/or directories " )); ?> : </h3>
< form action = " bro_main.php " method = " post " name = " main " id = " main " >
2016-05-20 12:21:47 +00:00
< ? php csrf_get (); ?>
2013-02-01 09:00:19 +00:00
< input type = " hidden " name = " formu " value = " 2 " />
< input type = " hidden " name = " actdel " value = " 1 " />
2014-08-21 09:37:48 +00:00
< input type = " hidden " name = " R " value = " <?php ehe( $R )?> " />
2013-10-18 09:59:03 +00:00
< p class = " alert alert-warning " >< ? php __ ( " WARNING: Confirm the deletion of this files " ); ?> </p>
2013-10-18 09:17:45 +00:00
< h2 >< ? php echo $mem -> user [ " login " ] . $R . " / " ; ?> </h2>
< ul >
2013-02-01 09:00:19 +00:00
< ? php foreach ( $d as $editfile ){ ?>
2017-08-16 00:44:54 +00:00
< li >< b > < ? php ehe ( $editfile ); ?> </b></li>
2016-05-23 06:27:58 +00:00
< input type = " hidden " name = " d[] " value = " <?php ehe( $editfile ); ?> " />
2013-10-18 09:17:45 +00:00
< ? php } ?>
</ ul >
2013-02-01 09:00:19 +00:00
< blockquote >
2013-10-18 13:42:18 +00:00
< input type = " submit " class = " inb ok " name = " del_confirm " value = " <?php __( " Yes , delete those files / folders " ); ?> " />& nbsp ; & nbsp ;
2016-05-22 18:14:26 +00:00
< input type = " submit " class = " inb cancel " name = " cancel " value = " <?php __( " No , don ' t delete those files / folders " ); ?> " />
2013-02-01 09:00:19 +00:00
</ blockquote >
</ form >
< ? php
include_once ( " foot.php " );
exit ();
}
}
2017-10-07 16:01:12 +00:00
if ( $actcopy && count ( $d )) {
2017-08-16 00:44:54 +00:00
if ( $bro -> CopyFile ( $d , $R , $actmoveto )) {
if ( count ( $d ) == 1 ) {
if ( is_dir ( $absolute . " / " . $d [ 0 ]))
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The folder '%s' was successfully copied to '%s' " ), array ( $d [ 0 ], $actmoveto ));
2017-08-16 00:44:54 +00:00
else
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The file '%s' was successfully copied to '%s' " ), array ( $d [ 0 ], $actmoveto ));
2017-08-16 00:44:54 +00:00
} else
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The files / folders were successfully copied " ));
2006-11-27 22:18:57 +00:00
}
2006-07-08 09:39:24 +00:00
}
2017-10-07 16:01:12 +00:00
if ( $actmove && count ( $d )) {
2017-08-16 00:44:54 +00:00
if ( $bro -> MoveFile ( $d , $R , $actmoveto )) {
if ( count ( $d ) == 1 ) {
if ( is_dir ( $absolute . " / " . $d [ 0 ]))
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The folder '%s' was successfully moved to '%s' " ), array ( $d [ 0 ], $actmoveto ));
2017-08-16 00:44:54 +00:00
else
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The file '%s' was successfully moved to '%s' " ), array ( $d [ 0 ], $actmoveto ));
2017-08-16 00:44:54 +00:00
} else
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The files / folders were successfully moved " ));
2013-02-01 09:00:19 +00:00
}
}
break ;
case 4 : // Renommage Effectif...
2017-08-16 00:44:54 +00:00
if ( $bro -> RenameFile ( $R , $o , $d )) { // Rename $R (directory) $o (old) $d (new) names
if ( count ( $d ) == 1 ) {
if ( is_dir ( $absolute . " / " . $d [ 0 ]))
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The folder '%s' was successfully renamed to '%s' " ), array ( $o [ 0 ], $d [ 0 ]));
2017-08-16 00:44:54 +00:00
else
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The file '%s' was successfully renamed to '%s' " ), array ( $o [ 0 ], $d [ 0 ]));
2017-08-16 00:44:54 +00:00
} else
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The files / folders were successfully renamed " ));
2013-02-01 09:00:19 +00:00
}
break ;
case 3 : // Upload de fichier...
2017-08-16 00:44:54 +00:00
if ( $bro -> UploadFile ( $R )) {
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The file '%s' was successfully uploaded " ), $_FILES [ 'userfile' ][ 'name' ]);
2008-01-22 02:41:33 +00:00
}
2013-02-01 09:00:19 +00:00
break ;
case 7 : // Changement de permissions [ML]
2017-10-07 17:05:01 +00:00
if ( $bro -> ChangePermissions ( $R , $d , $perm )) {
2017-10-06 16:04:36 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The permissions were successfully set " ));
2006-11-27 22:18:57 +00:00
}
2013-02-01 09:00:19 +00:00
break ;
2006-04-26 12:28:53 +00:00
}
}
2011-03-06 21:28:14 +00:00
if ( isset ( $actextract ) && $actextract ) {
2011-03-27 15:03:42 +00:00
if ( $bro -> ExtractFile ( $R . '/' . $fileextract , $R )) {
2017-10-07 17:08:17 +00:00
$msg -> raise ( " INFO " , " bro " , _ ( " The extraction of the file '%s' succeeded " ), $fileextract );
2008-01-22 04:14:20 +00:00
}
}
2006-04-26 12:28:53 +00:00
?>
2008-04-10 18:05:51 +00:00
< h3 >< ? php __ ( " File browser " ); ?> </h3>
2009-09-08 05:29:38 +00:00
< table border = " 0 " width = " 100% " cellspacing = " 0 " >
< tr >< td >
2006-04-26 12:28:53 +00:00
< hr />
2010-06-24 00:17:20 +00:00
2010-03-04 13:51:32 +00:00
< p class = " breadcrumb " >
2013-02-01 09:00:19 +00:00
< ? php __ ( " Path " ); ?> / <a href="bro_main.php?R=/"><?php echo $mem->user["login"]; ?></a> / <?php echo $bro->PathList($R,"bro_main.php") ?>
2010-03-04 13:51:32 +00:00
</ p >
2013-02-14 17:14:31 +00:00
< ? php
/* Creation de la liste des fichiers courants */
$c = $bro -> filelist ( $R , $showdirsize );
if ( $c === false ) {
2017-08-16 00:44:54 +00:00
echo $msg -> msg_html_all ();
2013-02-14 17:14:31 +00:00
require_once ( 'foot.php' );
exit ;
}
2017-08-16 00:44:54 +00:00
echo $msg -> msg_html_all ();
2013-02-14 17:14:31 +00:00
?>
2006-04-26 12:28:53 +00:00
2010-03-04 13:51:32 +00:00
< table >< tr >
2010-04-06 20:29:08 +00:00
< td class = " formcell " >
2010-03-04 13:51:32 +00:00
2013-02-01 09:00:19 +00:00
< form action = " bro_main.php " enctype = " multipart/form-data " method = " post " >
2016-05-20 12:21:47 +00:00
< ? php csrf_get (); ?>
2016-05-22 18:14:26 +00:00
< input type = " hidden " name = " R " value = " <?php ehe( $R ); ?> " />
2013-02-01 09:00:19 +00:00
< input type = " hidden " name = " formu " value = " 3 " />
2010-03-04 13:51:32 +00:00
2013-02-01 09:00:19 +00:00
< ? php __ ( " Send one file: " ); ?> <br />
2010-03-04 13:51:32 +00:00
< input class = " int " name = " userfile " type = " file " />
< br />
2013-02-01 09:00:19 +00:00
< input type = " submit " id = " sendthisfile " class = " ina " value = " <?php __( " Send this file " ); ?> " />
2014-02-28 16:54:05 +00:00
< ? php echo sprintf ( _ ( " Warning: max size: %s " ), $bro -> getMaxAllowedUploadSize () ); ?>
2018-06-27 19:12:11 +00:00
< ? php __ ( " (If you upload a compressed file, <br />you will be able to uncompress it after.) " ); ?> </form>
2010-03-04 13:51:32 +00:00
</ td >
< td style = " width: 20px " >& nbsp ; </ td >
2010-04-06 20:29:08 +00:00
< td class = " formcell " >
2010-03-04 13:51:32 +00:00
< ? php __ ( " New file or folder: " ); ?> <br />
2006-04-26 12:28:53 +00:00
< form action = " bro_main.php " method = " post " name = " nn " id = " nn " >
2016-05-20 12:21:47 +00:00
< ? php csrf_get (); ?>
2016-05-22 18:14:26 +00:00
< input type = " hidden " name = " R " value = " <?php ehe( $R ); ?> " />
2009-09-08 05:29:38 +00:00
< table >< tr >
2010-06-02 22:20:39 +00:00
< td >< input type = " text " class = " int " name = " nomfich " id = " nomfich " size = " 22 " maxlength = " 255 " /></ td >
2010-03-04 13:51:32 +00:00
< td >< input type = " submit " class = " ina " value = " <?php __( " Create " ); ?> " /></ td >
2006-04-26 12:28:53 +00:00
</ tr >< tr >< td >
< input type = " radio " class = " inc " id = " nfile " onclick = " document.nn.nomfich.focus(); " name = " formu " value = " 6 " < ? php if ( ! $p [ " crff " ]) echo " checked= \" checked \" " ; ?> /><label for="nfile"> <?php __("File"); ?></label>
< input type = " radio " class = " inc " id = " nfold " onclick = " document.nn.nomfich.focus(); " name = " formu " value = " 1 " < ? php if ( $p [ " crff " ]) echo " checked= \" checked \" " ; ?> /><label for="nfold"> <?php __("Folder"); ?></label>
</ td >< td ></ td ></ tr ></ table >
</ form >
</ td ></ tr >
</ table >
2010-03-04 13:51:32 +00:00
2006-04-26 12:28:53 +00:00
</ td ></ tr >
< tr >< td valign = " top " >
< ? php
2016-05-22 18:14:26 +00:00
/* ' */
/* Rename / Copy / Move files: */
2012-06-19 15:26:48 +00:00
if ( isset ( $formu ) && $formu == 2 && isset ( $actrename ) && $actrename && count ( $d )) {
2009-09-08 05:29:38 +00:00
echo " <table cellpadding= \" 6 \" > \n " ;
2006-04-26 12:28:53 +00:00
echo " <form action= \" bro_main.php \" method= \" post \" > \n " ;
2016-05-20 12:21:47 +00:00
csrf_get ();
2016-05-22 18:14:26 +00:00
echo " <input type= \" hidden \" name= \" R \" value= \" " . ehe ( $R , false ) . " \" /> \n " ;
2006-04-26 12:28:53 +00:00
echo " <input type= \" hidden \" name= \" formu \" value= \" 4 \" /> \n " ;
2009-09-08 05:29:38 +00:00
echo " <tr><th colspan= \" 2 \" > " . _ ( " Rename " ) . " </th></tr> " ;
2006-04-26 12:28:53 +00:00
for ( $i = 0 ; $i < count ( $d ); $i ++ ) {
$d [ $i ] = ssla ( $d [ $i ]);
2016-05-22 18:14:26 +00:00
echo " <tr><td><input type= \" hidden \" name= \" o[ $i ] \" value= \" " . ehe ( $d [ $i ], false ) . " \" /> " . ehe ( $d [ $i ], false ) . " </td> " ;
echo " <td><input type= \" text \" class= \" int \" name= \" d[ $i ] \" value= \" " . ehe ( $d [ $i ], false ) . " \" /></td></tr> " ;
2006-04-26 12:28:53 +00:00
}
2009-09-08 05:29:38 +00:00
echo " <tr><td colspan= \" 2 \" align= \" center \" ><input type= \" submit \" class= \" inb \" name= \" submit \" value= \" " . _ ( " Rename " ) . " \" /></td></tr> " ;
echo " </table></form> \n " ;
2006-04-26 12:28:53 +00:00
echo " <hr /> \n " ;
}
2008-04-10 18:40:08 +00:00
/* [ML] Changer les permissions : */
2012-08-21 12:39:26 +00:00
if ( $formu == 2 && ! ( empty ( $actperms )) && count ( $d )) {
2008-04-10 18:40:08 +00:00
echo " <form action= \" bro_main.php \" method= \" post \" > \n " ;
2016-05-20 12:21:47 +00:00
csrf_get ();
2016-05-22 18:14:26 +00:00
echo " <input type= \" hidden \" name= \" R \" value= \" " . ehe ( $R , false ) . " \" /> \n " ;
2008-04-10 18:40:08 +00:00
echo " <input type= \" hidden \" name= \" formu \" value= \" 7 \" /> \n " ;
echo " <p> " . _ ( " Permissions " ) . " </p> " ;
$tmp_absdir = $bro -> convertabsolute ( $R , 0 );
2009-09-08 05:29:38 +00:00
echo " <table border= \" 1 \" cellpadding= \" 4 \" cellspacing= \" 0 \" > " ;
2008-04-10 18:40:08 +00:00
echo " <tr> " ;
2009-09-08 05:29:38 +00:00
echo " <th> " . _ ( " File " ) . " </th><th> " . _ ( " Permissions " ) . " </th> " ;
2008-04-10 18:40:08 +00:00
echo " </tr> " ;
for ( $i = 0 ; $i < count ( $d ); $i ++ ) {
$d [ $i ] = ssla ( $d [ $i ]);
$stats = stat ( $tmp_absdir . '/' . $d [ $i ]);
$modes = $stats [ 2 ];
echo " <tr> " ;
2016-05-22 18:14:26 +00:00
echo " <td> " . ehe ( $d [ $i ], false ) . " </td> " ;
2008-04-10 18:40:08 +00:00
// Owner
echo " <td> " ;
2016-05-22 18:14:26 +00:00
echo " <input type= \" hidden \" name= \" d[ $i ] \" value= \" " . ehe ( $d [ $i ], false ) . " \" /> " ;
2009-09-08 05:29:38 +00:00
echo " <label for= \" permw $i\ " > " ._( " write " ). " </ label > < input type = \ " checkbox \" id= \" permw $i\ " name = \ " perm[ $i ][w] \" value= \" 1 \" " . (( $modes & 0000200 ) ? 'checked="checked"' : '' ) . " /> " ;
2008-04-10 18:40:08 +00:00
echo " </td> " ;
echo " </tr> " ;
}
echo " </table> " ;
echo " <p><input type= \" submit \" class= \" inb \" name= \" submit \" value= \" " . _ ( " Change permissions " ) . " \" /></p> " ;
echo " </form> \n " ;
echo " <hr /> \n " ;
}
2006-04-26 12:28:53 +00:00
/* We draw the file list and button bar only if there is files here ! */
if ( count ( $c )) {
2013-02-01 09:00:19 +00:00
?>
< form action = " bro_main.php " method = " post " name = " main " id = " main " >
2016-05-20 12:21:47 +00:00
< ? php csrf_get (); ?>
2016-05-22 18:14:26 +00:00
< input type = " hidden " name = " R " value = " <?php ehe( $R ); ?> " />
2013-02-01 09:00:19 +00:00
< input type = " hidden " name = " formu " value = " 2 " />
2006-04-26 12:28:53 +00:00
2013-02-01 09:00:19 +00:00
< br />
< table width = " 100% " style = " border: 0px " >
< tr >< td class = " " style = " padding: 4px 4px 8px 4px " >
< input type = " submit " class = " ina " name = " actdel " value = " <?php __( " Delete " ); ?> " />
< input type = " submit " class = " ina " name = " actrename " value = " <?php __( " Rename " ); ?> " />
< input type = " submit " class = " ina " name = " actperms " value = " <?php __( " Permissions " ); ?> " />
& nbsp ; |& nbsp ;
2013-03-03 13:23:22 +00:00
< input type = " submit " class = " ina " name = " actcopy " value = " <?php __( " Copy " ); ?> " onClick = " return actmoveto_not_empty(); " />
< input type = " submit " class = " ina " name = " actmove " value = " <?php __( " Move " ); ?> " onClick = " return actmoveto_not_empty(); " />
2013-02-01 09:00:19 +00:00
< ? php __ ( " To " ); ?>
2015-06-09 09:23:28 +00:00
< input type = " text " class = " int " id = " actmoveto " name = " actmoveto " value = " " />
< ? php display_browser ( " " , " actmoveto " ); ?>
2013-02-01 09:00:19 +00:00
</ td ></ tr >
</ table >
2013-03-03 13:23:22 +00:00
< script type = " text/javascript " >
function actmoveto_not_empty () {
if ( $ ( '#actmoveto' ) . val () == '' ) {
alert ( " <?php __( " Please select a destination folder " );?> " );
return false ;
}
return true ;
}
</ script >
2013-02-01 09:00:19 +00:00
< ? php
switch ( $p [ " listmode " ]) {
case 0 :
/* AFFICHE 1 COLONNE DETAILLEE */
reset ( $c );
2014-03-03 17:24:38 +00:00
echo " <table width= \" 100% \" id='tab_files_w_details' class= \" tlist \" style= \" border: 0px \" cellpadding= \" 2 \" cellspacing= \" 0 \" ><thead> " ;
2013-02-01 09:00:19 +00:00
?>
< tr >< th >
< script type = " text/javascript " >
<!--
document . write ( " <input type= \" checkbox \" id= \" checkall \" value= \" 1 \" class= \" inb \" onclick= \" CheckAll(); \" /> " );
// -->
</ script >
</ th >
< ? php if ( $p [ " showicons " ]) { ?>
2013-04-19 12:39:51 +00:00
< th style = " text-align: center; " >< ? php if ( ! empty ( $R )) { echo $bro -> PathList ( $R , " bro_main.php " , true ); } ?> </th>
2013-02-01 09:00:19 +00:00
< ? php } ?>
< th >< ? php __ ( " Filename " ); ?> </th>
< th >< ? php __ ( " Size " ); ?> </th>
< th >< ? php __ ( " Last modification " ); ?> </th>
< ? php if ( $p [ " showtype " ]) { ?>
< th >< ? php __ ( " File Type " ); ?> </th>
< ? php } ?>
< th ></ th >
2014-03-03 17:24:38 +00:00
</ tr ></ thead >< tbody >
2015-11-11 08:43:57 +00:00
< ? php
2013-02-01 09:00:19 +00:00
for ( $i = 0 ; $i < count ( $c ); $i ++ ) {
2013-05-23 16:18:56 +00:00
echo " <tr class= \" lst \" > \n " ;
2013-02-01 09:00:19 +00:00
if ( $c [ $i ][ " type " ]) {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" /></td> " ;
2013-02-01 09:00:19 +00:00
if ( $p [ " showicons " ]) {
2013-04-19 12:39:51 +00:00
echo " <td style='text-align: center;' width= \" 28 \" ><img src= \" icon/ " . $bro -> icon ( $c [ $i ][ " name " ]) . " \" width= \" 16 \" height= \" 16 \" alt= \" \" /></td> " ;
2013-02-01 09:00:19 +00:00
}
echo " <td><a href= \" " ;
$canedit = $bro -> can_edit ( $R , $c [ $i ][ " name " ]);
2016-02-23 12:35:21 +00:00
if ( $canedit && ( $c [ $i ][ " size " ] < $memory_limit )) {
2013-02-01 09:00:19 +00:00
echo " bro_editor.php?editfile= " . urlencode ( $c [ $i ][ " name " ]) . " &R= " . urlencode ( $R );
} else {
echo " bro_downloadfile.php?dir= " . urlencode ( $R ) . " &file= " . urlencode ( $c [ $i ][ " name " ]);
}
2013-04-19 11:28:47 +00:00
echo " \" > " ; ehe ( $c [ $i ][ " name " ]);
2015-11-11 08:43:57 +00:00
echo " </a> " ;
if ( ! ( $c [ $i ][ " permissions " ] & 0000200 )) {
echo " (<a href= \" bro_main.php?actperms=Permissions&R= " . urlencode ( $R ) . " &formu=2&d[]= " . urlencode ( $c [ $i ][ " name " ]) . " \" > " . _ ( " protected " ) . " </a>) " ;
}
echo " </td> \n " ;
2016-02-23 14:46:27 +00:00
echo " <td data-sort-value= \" " . $c [ $i ][ " size " ] . " \" > " . format_size ( $c [ $i ][ " size " ]) . " </td> " ;
echo " <td data-sort-value= \" " . $c [ $i ][ " date " ] . " \" > " . format_date ( _ ( '%3$d-%2$d-%1$d %4$d:%5$d' ), date ( " Y-m-d H:i:s " , $c [ $i ][ " date " ])) . " <br /></td> " ;
2013-02-01 09:00:19 +00:00
if ( $p [ " showtype " ]) {
echo " <td> " . _ ( $bro -> mime ( $c [ $i ][ " name " ])) . " </td> " ;
}
$vu = $bro -> viewurl ( $R , $c [ $i ][ " name " ]);
if ( $vu ) {
echo " <td><a href= \" $vu\ " > " ._( " View " ). " </ a > " ;
} else {
echo " <td> " ;
}
2014-03-28 16:14:32 +00:00
$e = $bro -> is_extractable ( $c [ $i ][ " name " ]);
2013-02-01 09:00:19 +00:00
if ( $e ) {
echo " <a href= \" bro_main.php?actextract=1&fileextract= " . urlencode ( $c [ $i ][ " name " ]) . " &R= " . urlencode ( $R ) . " \" > " ;
echo _ ( " Extract " );
echo " </a> " ;
}
2014-03-28 16:14:32 +00:00
$ez = $bro -> is_sqlfile ( $c [ $i ][ " name " ]);
2013-03-03 13:23:22 +00:00
if ( $ez ) {
echo " <a href= \" javascript:; \" onClick= \" $ ('#rest_db_ $i ').toggle(); \" > " ;
echo _ ( " Restore SQL " );
echo " </a> " ;
echo " <div id='rest_db_ $i ' style='display:none;'><fieldset><legend> " . _ ( " Restore SQL " ) . " </legend> " . _ ( " In which database to you want to restore this dump? " );
echo " <br/> " ;
2016-05-22 18:14:26 +00:00
echo " <input type='hidden' name ='filename' value=' " . ehe ( $R . " / " . $c [ $i ][ " name " ], false ) . " ' /> " ;
2013-03-03 13:23:22 +00:00
$dbl = array (); foreach ( $mysql -> get_dblist () as $v ) { $dbl [] = $v [ 'db' ];}
echo " <select id='db_name_ $i '> " ; eoption ( $dbl , '' , true ); echo " </select> " ;
2016-05-22 18:14:26 +00:00
echo " <a href='javascript:;' onClick='window.location= \" sql_restore.php?filename= " . eue ( $R . " / " . $c [ $i ][ " name " ], false ) . " &id= \" +encodeURIComponent( $ ( \" #db_name_ $i\ " ) . val ()) ; ' > " ._( " Restore it " ). " </ a > " ;
2013-03-03 13:23:22 +00:00
echo " </fieldset></div> " ;
}
2013-02-01 09:00:19 +00:00
echo " </td> \n " ;
} else { // DOSSIER :
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" /></td> " ;
2013-02-01 09:00:19 +00:00
if ( $p [ " showicons " ]) {
2013-04-19 15:31:04 +00:00
echo " <td width= \" 28 \" style='text-align: center;'><img src= \" icon/folder.png \" width= \" 16 \" height= \" 16 \" alt= \" \" /></td> " ;
2013-02-01 09:00:19 +00:00
}
echo " <td><b><a href= \" " ;
2016-05-22 18:14:26 +00:00
echo " bro_main.php?R= " . eue ( $R . " / " . $c [ $i ][ " name " ], false );
2013-04-19 11:28:47 +00:00
echo " \" > " ; ehe ( $c [ $i ][ " name " ]); echo " /</a></b></td> \n " ;
2016-02-23 14:46:27 +00:00
echo " <td data-sort-value= \" " . $c [ $i ][ " size " ] . " \" > " . format_size ( $c [ $i ][ " size " ]) . " </td> " ;
echo " <td data-sort-value= \" " . $c [ $i ][ " date " ] . " \" > " . format_date ( _ ( '%3$d-%2$d-%1$d %4$d:%5$d' ), date ( " Y-m-d h:i:s " , $c [ $i ][ " date " ])) . " <br /></td> " ;
2013-02-01 09:00:19 +00:00
if ( $p [ " showtype " ]) {
echo " <td> " . _ ( " Folder " ) . " </td> " ;
}
echo " <td> " ;
echo " </td> \n " ;
}
echo " </tr> \n " ;
}
2014-03-03 17:24:38 +00:00
echo " </tbody></table> " ;
2013-02-01 09:00:19 +00:00
break ;
case 1 :
/* AFFICHE 2 COLONNES COURTES */
reset ( $c );
echo " <table width= \" 100% \" border=0 cellpadding=0 cellspacing=0> " ;
echo " <tr><td valign= \" top \" width= \" 50% \" > " ;
echo " <table width= \" 100% \" border=0 cellpadding=0 cellspacing=0> " ;
for ( $i = 0 ; $i < round ( count ( $c ) / 2 ); $i ++ ) {
2013-05-23 16:18:56 +00:00
echo " <tr class= \" lst \" > \n " ;
2013-02-01 09:00:19 +00:00
if ( $c [ $i ][ " type " ]) {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" /></td> " ;
2016-02-23 12:35:21 +00:00
echo " <td><a href= \" " ;
$canedit = $bro -> can_edit ( $R , $c [ $i ][ " name " ]);
2016-05-22 18:14:26 +00:00
if ( $canedit && ( $c [ $i ][ " size " ] < $memory_limit )) {
echo " bro_editor.php?editfile= " . eue ( $c [ $i ][ " name " ], false ) . " &R= " . eue ( $R , false );
2016-02-23 12:35:21 +00:00
} else {
2016-05-22 18:14:26 +00:00
echo " bro_downloadfile.php?dir= " . eue ( $R , false ) . " &file= " . eue ( $c [ $i ][ " name " ], false );
2016-02-23 12:35:21 +00:00
}
echo " \" > " ; ehe ( $c [ $i ][ " name " ]);
echo " </a></td> \n " ;
2013-02-01 09:00:19 +00:00
echo " <td> " . format_size ( $c [ $i ][ " size " ]) . " </td><td> " ;
$vu = $bro -> viewurl ( $R , $c [ $i ][ " name " ]);
if ( $vu ) {
echo " <td><a href= \" $vu\ " > " ._( " V " ). " </ a > " ;
} else {
echo " <td> " ;
}
echo " </td> \n " ;
} else {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" ></td><td><b><a href= \" " ;
echo " bro_main.php?R= " . eue ( $R . " / " . $c [ $i ][ " name " ], false );
echo " \" > " . ehe ( $c [ $i ][ " name " ], false ) . " /</a></b></td> \n " ;
2013-02-01 09:00:19 +00:00
echo " <td> " . format_size ( $c [ $i ][ " size " ]) . " </td><td> " ;
echo " " ;
echo " </td> \n " ;
}
echo " </tr> \n " ;
}
echo " </table> " ;
echo " </td><td valign= \" top \" width= \" 50% \" > " ;
echo " <table width= \" 100% \" border=0 cellpadding=0 cellspacing=0> " ;
for ( $i = round ( count ( $c ) / 2 ); $i < count ( $c ); $i ++ ) {
2013-05-23 16:18:56 +00:00
echo " <tr class= \" lst \" > \n " ;
2013-02-01 09:00:19 +00:00
if ( $c [ $i ][ " type " ]) {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" ></td><td><a href= \" " ;
2016-02-23 12:35:21 +00:00
$canedit = $bro -> can_edit ( $R , $c [ $i ][ " name " ]);
2016-05-22 18:14:26 +00:00
if ( $canedit && ( $c [ $i ][ " size " ] < $memory_limit )) {
2016-02-23 12:35:21 +00:00
echo " bro_editor.php?editfile= " . urlencode ( $c [ $i ][ " name " ]) . " &R= " . urlencode ( $R );
} else {
echo " bro_downloadfile.php?dir= " . urlencode ( $R ) . " &file= " . urlencode ( $c [ $i ][ " name " ]);
}
echo " \" > " ; ehe ( $c [ $i ][ " name " ]);
echo " </a></td> \n " ;
2013-02-01 09:00:19 +00:00
echo " <td> " . format_size ( $c [ $i ][ " size " ]) . " </td><td> " ;
$vu = $bro -> viewurl ( $R , $c [ $i ][ " name " ]);
if ( $vu ) {
echo " <td><a href= \" $vu\ " > " ._( " V " ). " </ a > " ;
} else {
echo " <td> " ;
}
echo " </td> \n " ;
} else {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" ></td><td><b><a href= \" " ;
echo " bro_main.php?R= " . eue ( $R . " / " . $c [ $i ][ " name " ], false );
echo " \" > " . ehe ( $c [ $i ][ " name " ], false ) . " /</a></b></td> \n " ;
2013-02-01 09:00:19 +00:00
echo " <td> " . format_size ( $c [ $i ][ " size " ]) . " </td><td> " ;
echo " " ;
echo " </td> \n " ;
}
echo " </tr> \n " ;
}
echo " </table> " ;
echo " </td></tr> " ;
echo " </table> " ;
break ;
case 2 :
/* AFFICHE 3 COLONNES COURTES */
reset ( $c );
echo " <table width= \" 100% \" border=0 cellpadding=0 cellspacing=0> " ;
echo " <tr><td valign= \" top \" width= \" 33% \" > " ;
echo " <table width= \" 100% \" border=0 cellpadding=0 cellspacing=0> " ;
for ( $i = 0 ; $i < round ( count ( $c ) / 3 ); $i ++ ) {
2013-05-23 16:18:56 +00:00
echo " <tr class= \" lst \" > \n " ;
2013-02-01 09:00:19 +00:00
if ( $c [ $i ][ " type " ]) {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" ></td><td><a href= \" " ;
2016-02-23 12:35:21 +00:00
$canedit = $bro -> can_edit ( $R , $c [ $i ][ " name " ]);
if ( $canedit && ( $c [ $i ][ " size " ] < $memory_limit )) {
2016-05-22 18:14:26 +00:00
echo " bro_editor.php?editfile= " . eue ( $c [ $i ][ " name " ], false ) . " &R= " . eue ( $R , false );
2016-02-23 12:35:21 +00:00
} else {
2016-05-22 18:14:26 +00:00
echo " bro_downloadfile.php?dir= " . eue ( $R , false ) . " &file= " . eue ( $c [ $i ][ " name " ], false );
2016-02-23 12:35:21 +00:00
}
2016-05-22 18:14:26 +00:00
echo " \" > " ; ehe ( $c [ $i ][ " name " ], false );
2016-02-23 12:35:21 +00:00
echo " </a></td> \n " ;
2013-02-01 09:00:19 +00:00
echo " <td> " . format_size ( $c [ $i ][ " size " ]) . " </td><td> " ;
$vu = $bro -> viewurl ( $R , $c [ $i ][ " name " ]);
if ( $vu ) {
echo " <td><a href= \" $vu\ " > " ._( " V " ). " </ a > " ;
} else {
echo " <td> " ;
}
echo " </td> \n " ;
} else {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" ></td><td><b><a href= \" " ;
echo " bro_main.php?R= " . eue ( $R . " / " . $c [ $i ][ " name " ], false );
echo " \" > " . ehe ( $c [ $i ][ " name " ], false ) . " /</a></b></td> \n " ;
2013-02-01 09:00:19 +00:00
echo " <td> " . format_size ( $c [ $i ][ " size " ]) . " </td><td> " ;
echo " " ;
echo " </td> \n " ;
}
echo " </tr> \n " ;
}
echo " </table> " ;
echo " </td><td valign= \" top \" width= \" 33% \" > " ;
echo " <table width= \" 100% \" border=0 cellpadding=0 cellspacing=0> " ;
for ( $i = round ( count ( $c ) / 3 ); $i < round ( 2 * count ( $c ) / 3 ); $i ++ ) {
2013-05-23 16:18:56 +00:00
echo " <tr class= \" lst \" > \n " ;
2013-02-01 09:00:19 +00:00
if ( $c [ $i ][ " type " ]) {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" ></td><td><a href= \" " ;
2016-02-23 12:35:21 +00:00
$canedit = $bro -> can_edit ( $R , $c [ $i ][ " name " ]);
if ( $canedit && ( $c [ $i ][ " size " ] < $memory_limit )) {
2016-05-22 18:14:26 +00:00
echo " bro_editor.php?editfile= " . eue ( $c [ $i ][ " name " ], false ) . " &R= " . eue ( $R , false );
2016-02-23 12:35:21 +00:00
} else {
2016-05-22 18:14:26 +00:00
echo " bro_downloadfile.php?dir= " . eue ( $R , false ) . " &file= " . eue ( $c [ $i ][ " name " ], false );
2016-02-23 12:35:21 +00:00
}
2016-05-22 18:14:26 +00:00
echo " \" > " ; ehe ( $c [ $i ][ " name " ], false );
2016-02-23 12:35:21 +00:00
echo " </a></td> \n " ;
2013-02-01 09:00:19 +00:00
echo " <td> " . format_size ( $c [ $i ][ " size " ]) . " </td><td> " ;
$vu = $bro -> viewurl ( $R , $c [ $i ][ " name " ]);
if ( $vu ) {
echo " <td><a href= \" $vu\ " > " ._( " V " ). " </ a > " ;
} else {
echo " <td> " ;
}
echo " </td> \n " ;
} else {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" ></td><td><b><a href= \" " ;
echo " bro_main.php?R= " . eue ( $R . " / " . $c [ $i ][ " name " ], false );
echo " \" > " . ehe ( $c [ $i ][ " name " ], false ) . " /</a></b></td> \n " ;
2013-02-01 09:00:19 +00:00
echo " <td> " . format_size ( $c [ $i ][ " size " ]) . " </td><td> " ;
echo " " ;
echo " </td> \n " ;
}
echo " </tr> \n " ;
}
echo " </table> " ;
echo " </td><td valign= \" top \" width= \" 33% \" > " ;
echo " <table width= \" 100% \" border=0 cellpadding=0 cellspacing=0> " ;
for ( $i = round ( 2 * count ( $c ) / 3 ); $i < count ( $c ); $i ++ ) {
2013-05-23 16:18:56 +00:00
echo " <tr class= \" lst \" > \n " ;
2013-02-01 09:00:19 +00:00
if ( $c [ $i ][ " type " ]) {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" ></td><td><a href= \" " ;
2016-02-23 12:35:21 +00:00
$canedit = $bro -> can_edit ( $R , $c [ $i ][ " name " ]);
2016-05-22 18:14:26 +00:00
if ( $canedit && ( $c [ $i ][ " size " ] < $memory_limit )) {
echo " bro_editor.php?editfile= " . eue ( $c [ $i ][ " name " ], false ) . " &R= " . eue ( $R , false );
2016-02-23 12:35:21 +00:00
} else {
2016-05-22 18:14:26 +00:00
echo " bro_downloadfile.php?dir= " . eue ( $R ) . " &file= " . eue ( $c [ $i ][ " name " ]);
2016-02-23 12:35:21 +00:00
}
2016-05-22 18:14:26 +00:00
echo " \" > " ; ehe ( $c [ $i ][ " name " ], false );
2016-02-23 12:35:21 +00:00
echo " </a></td> \n " ;
2013-02-01 09:00:19 +00:00
echo " <td> " . format_size ( $c [ $i ][ " size " ]) . " </td><td> " ;
$vu = $bro -> viewurl ( $R , $c [ $i ][ " name " ]);
if ( $vu ) {
echo " <td><a href= \" $vu\ " > " ._( " View " ). " </ a > " ;
} else {
echo " <td> " ;
}
echo " </td> \n " ;
} else {
2016-05-22 18:14:26 +00:00
echo " <td width= \" 28 \" ><input type= \" checkbox \" class= \" inc \" name= \" d[] \" value= \" " . ehe ( $c [ $i ][ " name " ], false ) . " \" ></td><td><b><a href= \" " ;
echo " bro_main.php?R= " . eue ( $R . " / " . $c [ $i ][ " name " ], false );
echo " \" > " . ehe ( $c [ $i ][ " name " ], false ) . " /</a></b></td> \n " ;
2013-02-01 09:00:19 +00:00
echo " <td> " . format_size ( $c [ $i ][ " size " ]) . " </td><td> " ;
echo " " ;
echo " </td> \n " ;
}
echo " </tr> \n " ;
}
echo " </table> " ;
echo " </td></tr> " ;
echo " </table> " ;
break ;
}
?>
</ form >
< ? php
} // is there any files here ?
2006-04-26 12:28:53 +00:00
else {
2013-10-18 09:59:03 +00:00
echo " <p class= \" alert alert-info \" > " . _ ( " No files in this folder " ) . " </p> " ;
2006-04-26 12:28:53 +00:00
}
?>
2013-02-01 09:00:19 +00:00
</ td ></ tr >
< tr >< td colspan = " 2 " style = " " >
2006-04-26 12:28:53 +00:00
2013-02-01 09:00:19 +00:00
< br />
2006-04-26 12:28:53 +00:00
2016-02-23 14:46:27 +00:00
< div class = " showdirsize_button " >
2016-05-22 18:14:26 +00:00
< span class = " ina " >< a href = " bro_main.php?R=<?php eue(( $R )? $R : " / " ,false); ?>&showdirsize=1 " >< ? php __ ( " Show size of directories " ); ?> </a></span> <?php __("(slow)"); ?><br /> <br />
2016-02-23 14:46:27 +00:00
</ div >
2010-03-04 13:51:32 +00:00
< span class = " ina " >< ? php
if ( $hta -> is_protected ( $R )) {
2016-05-22 18:14:26 +00:00
echo " <a href= \" hta_edit.php?dir= " . eue (( $R ) ? $R : " / " , false ) . " \" > " . _ ( " Edit this folder's protection " ) . " </a> " ;
2010-03-04 13:51:32 +00:00
}
else {
2016-05-22 18:14:26 +00:00
echo " <a href= \" hta_add.php?dir= " . eue (( $R ) ? $R : " / " , false ) . " \" > " . _ ( " Protect this folder " ) . " </a> " ;
2010-03-04 13:51:32 +00:00
}
?> </span> <?php __("with a login and a password"); ?>
</ p >< p >
< span class = " ina " >
2016-05-22 18:14:26 +00:00
< a href = " bro_tgzdown.php?dir=<?php eue(( $R )? $R : " / " ); ?> " >< ? php __ ( " Download this folder " ); ?> </a>
2010-03-04 13:51:32 +00:00
</ span > & nbsp ;
2013-02-01 09:00:19 +00:00
< ? php printf ( _ ( " as a %s file " ), $bro -> l_tgz [ $p [ " downfmt " ]]); ?>
</ p >
2010-04-28 23:58:29 +00:00
< ? php
2013-02-01 09:00:19 +00:00
if ( $id = $ftp -> is_ftp ( $R )) {
?>
< span class = " ina " >
2013-07-17 15:47:19 +00:00
< a href = " ftp_edit.php?id=<?php ehe( $id ); ?> " >< ? php __ ( " Edit the ftp account " ); ?> </a>
2013-02-01 09:00:19 +00:00
</ span > & nbsp ; < ? php __ ( " that exists in this folder " ); ?>
< ? php
2006-04-26 12:28:53 +00:00
}
else {
2013-02-01 09:00:19 +00:00
?>
< span class = " ina " >
2013-04-19 12:39:51 +00:00
< a href = " ftp_edit.php?create=1&dir=<?php ehe( $R ); ?> " >< ? php __ ( " Create an ftp account in this folder " ); ?> </a>
2013-02-01 09:00:19 +00:00
</ span > & nbsp ;
< ? php
2006-04-26 12:28:53 +00:00
}
?>
2010-05-24 12:08:10 +00:00
< p >& nbsp ; </ p >
< p >
< span class = " ina " >
2013-02-01 09:00:19 +00:00
< a href = " bro_pref.php " >< ? php __ ( " Configure the file editor " ); ?> </a>
2010-05-24 12:08:10 +00:00
</ span >
</ p >
2006-04-26 12:28:53 +00:00
</ td ></ tr ></ table >
2014-03-03 17:24:38 +00:00
< script type = " text/javascript " >
2016-02-23 14:46:27 +00:00
$ ( document ) . ready ( function () {
$ ( " #tab_files_w_details " ) . tablesorter ({
textExtraction : function ( node ) {
var attr = $ ( node ) . attr ( 'data-sort-value' );
if ( typeof attr !== 'undefined' && attr !== false ) {
return attr ;
}
return $ ( node ) . text ();
}
});
});
2014-03-03 17:24:38 +00:00
</ script >
2009-09-08 05:29:38 +00:00
< ? php include_once ( " foot.php " ); ?>