Пример #1
0
<?php

defined("NET2FTP") or die("Direct access to this location is not allowed.");
?>
<!-- Template /skins/blue/browse_popup.template.php begin -->
<form id="DirectoryTreeForm"  action="<?php 
echo $net2ftp_globals["action_url"];
?>
" method="post">
<?php 
printLoginInfo();
?>
<input type="hidden" name="state"  value="browse" />
<input type="hidden" name="state2" value="popup" />
<input type="hidden" name="entry"  value="" />
<input type="hidden" name="updirectory" value="<?php 
echo $updirectory_html;
?>
" />
<input type="hidden" name="FormAndFieldName" value="<?php 
echo $FormAndFieldName;
?>
" />
<input type="text" name="directory" value="<?php 
echo $directory_html;
?>
" style="width: 65%;" /> 
<input type="button" class="smallbutton" value="<?php 
echo __("Choose");
?>
" onclick="opener.document.<?php 
Пример #2
0
		</div>
		<!-- ENDS HEADER -->
			
		<!-- MAIN -->
		<div id="main">

			<!-- content -->
			<div id="content">
				
				<!-- title -->
				<div id="page-title">
					<span class="title"><?php echo $net2ftp_globals["ftpserver"]; ?></span>
					<div style="text-align: right; margin-top: 10px;">
						<form id="StatusbarForm" method="post" action="<?php echo $net2ftp_globals["action_url"]; ?>">
<?php						printLoginInfo(); ?>
						<input type="hidden" name="state"         value="browse" />
						<input type="hidden" name="state2"        value="main" />
						<input type="hidden" name="directory"     value="<?php echo $net2ftp_globals["directory_html"]; ?>" />
						<input type="hidden" name="url_withpw"    value="<?php echo printPHP_SELF("bookmark_withpw"); ?>" />
						<input type="hidden" name="url_withoutpw" value="<?php echo printPHP_SELF("bookmark_withoutpw"); ?>" />
						<input type="hidden" name="text"          value="net2ftp <?php echo $net2ftp_globals["ftpserver"]; ?>" />
<?php	//					if ($net2ftp_globals["state"] != "bookmark") { printActionIcon("bookmark", "document.forms['StatusbarForm'].state.value='bookmark';document.forms['StatusbarForm'].submit();"); } ?>
<?php						if (getBrowser("agent") != "Chrome")         { printActionIcon("refresh",  "window.location.reload();"); } ?>
<?php						printActionIcon("help",     "void(window.open('" . $net2ftp_globals["application_rootdir_url"] . "/modules/help/help-user.html','Help','location,menubar,resizable,scrollbars,status,toolbar'));"); ?>
<?php						printActionIcon("logout",   "document.forms['StatusbarForm'].state.value='logout';document.forms['StatusbarForm'].submit();"); ?>
						</form>
					</div>
				</div>
				<!-- ENDS title -->