Location: PHPKode > scripts > Bohemian Image Gallery > w3easyAdmin/modules/w3eA_phftp_frame.php
<?php
if (file_exists("phftp/index.html")){
	// <p><iframe src='phftp/index.html' width='908' height='535' frameborder='0' scrolling='no'>phftp</iframe></p>
	$phftp_iframe  = "<p><iframe src='phftp/index.html' width='908' height='535' frameborder='0' scrolling='no'>phftp</iframe></p>";
}
else {
	$phftp_iframe  = "<div style='width:600px; margin:30px auto; padding:10px; border:2px solid #33cc33;'>\n";
	$phftp_iframe .= "<p><strong>The PHFTP online ftp manager was not found.</strong></p>";
	$phftp_iframe .= "<p>Make sure, that the PHFTP manager scriptfolder is in the 'w3easyAdmin/modules/' directory.</p>";
	$phftp_iframe .= "<p>Presumably you could download the PHFTP manager from it's website ";
	$phftp_iframe .= "<a href='http://sourceforge.net/projects/phftp/' target='_blank'>sourceforge.net/projects/phftp/</a>.</p>";
	$phftp_iframe .= "<p>Read in the w3easyAdmin help file how to integrate the PHFTP manager.</p></div>";
}
?>
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<title>PHFTP FTP Manager</title>
<style type='text/css'>
*       {margin:0; padding:0;}
body    {font-family:Arial, Helvetica, sans-serif; font-size:12px;
         background:#ddd url(../styles/verlauf_grau2.bmp); background-repeat:repeat-x;}
h1      {font-size:24px; color:#33cc33;}
h1,p    {text-align:center; margin:5px 0;}
div     {width:908px; margin:10px auto; background:#ddd url(../styles/verlauf_grau.bmp) repeat-x; border:1px solid #fff;}
iframe  {display:block; width:908px; margin:0px auto;}
</style>
</head>

<body>
<div>
<h1>PHFTP FTP Manager</h1>
<?php echo $phftp_iframe; ?>
<p><iframe src='jscrypt/w3eA_jscrypt.php' width='908' height='280' frameborder='0' scrolling='no'>jscrypt</iframe></p>
</div>
</body>

</html>
Return current item: Bohemian Image Gallery