Пример #1
0
?>
		Nagios resources are used as macros when defining Nagios commands.  Text strings which are commonly used are good examples of 
		resources.  These include passwords, file paths and usernames.
		<form name="resource_config[resource_config_form" method="post" action="resources.php">
		<input type="hidden" name="request" value="update" />
		<table width="100%" cellspacing="10" align="center" border="0">
		<tr>
			<td width="50%" valign="top">
			<b>$USER1$:</b> <input type="text" size="60" name="resource_config[user1]" value="<?php 
echo $resourceCfg->getUser1();
?>
"><br />
			<br />
			
			<b>$USER2$:</b> <input type="text" size="60" name="resource_config[user2]" value="<?php 
echo $resourceCfg->getUser2();
?>
"><br />
			<br />
			
			<b>$USER3$:</b> <input type="text" size="60" name="resource_config[user3]" value="<?php 
echo $resourceCfg->getUser3();
?>
"><br />
			<br />
			
			<b>$USER4$:</b> <input type="text" size="60" name="resource_config[user4]" value="<?php 
echo $resourceCfg->getUser4();
?>
"><br />
			<br />