<div class="tab-content content-box col-xs-12">
				    <div class="container-fluid">

					  <form action="load_balancer_relay_protocol.php" method="post" name="iform" id="iform">

								<div class="table-responsive">
<?
			$t = new MainTable();
			$t->edit_uri('load_balancer_relay_protocol_edit.php');
			$t->my_uri('load_balancer_relay_protocol.php');
			$t->add_column(gettext('Name'),'name',20);
			$t->add_column(gettext('Type'),'type',10);
			$t->add_column(gettext('Options'),'options',30);
			$t->add_column(gettext('Description'),'descr',30);
			$t->add_button('edit');
			$t->add_button('dup');
			$t->add_button('del');
			$t->add_content_array($a_protocol);
			$t->display();
?>
								</div>
					  </form>
				    </div>
					</div>
			    </section>
			</div>
		</div>
	</section>

<?php 
include "foot.inc";
display_top_tabs($tab_array);
?>
  </td></tr>
  <tr>
    <td>
	<div id="mainarea">
<?php 
$t = new MainTable();
$t->edit_uri('load_balancer_relay_action_edit.php');
$t->my_uri('load_balancer_relay_action.php');
$t->add_column(gettext('Name'), 'name', 20);
$t->add_column(gettext('Type'), 'type', 10);
$t->add_column(gettext('Options'), 'options', 30);
$t->add_column(gettext('Description'), 'descr', 30);
$t->add_button('edit');
$t->add_button('dup');
$t->add_button('del');
$t->add_content_array($a_action);
$t->display();
?>
	</div>
    </td>
  </tr>
</table>
</form>
<?php 
include "fend.inc";
?>
</body>
</html>
					  <form action="load_balancer_virtual_server.php" method="post" name="iform" id="iform">

								<div class="table-responsive">

								<?php 
$t = new MainTable();
$t->edit_uri('load_balancer_virtual_server_edit.php');
$t->my_uri('load_balancer_virtual_server.php');
$t->add_column(gettext('Name'), 'name', 10);
$t->add_column(gettext('Protocol'), 'relay_protocol', 10);
$t->add_column(gettext('IP Address'), 'ipaddr', 10);
$t->add_column(gettext('Port'), 'port', 10);
$t->add_column(gettext('Pool'), 'poolname', 10);
$t->add_column(gettext('Fall Back Pool'), 'sitedown', 15);
$t->add_column(gettext('Description'), 'descr', 25);
$t->add_button('edit');
$t->add_button('dup');
$t->add_button('del');
$t->add_content_array($a_vs);
$t->display();
?>
								</div>
					  </form>
					</div>
			    </section>
			</div>
		</div>
	</section>

<?php 
include "foot.inc";
					<div class="tab-content content-box col-xs-12">


					  <form action="load_balancer_monitor.php" method="post" name="iform" id="iform">

								<div class="table-responsive">

								<?php 
$t = new MainTable();
$t->edit_uri('load_balancer_monitor_edit.php');
$t->my_uri('load_balancer_monitor.php');
$t->add_column(gettext('Name'), 'name', 20);
$t->add_column(gettext('Type'), 'type', 10);
$t->add_column(gettext('Description'), 'descr', 30);
$t->add_button('edit');
$t->add_button('dup');
$t->add_button('del');
$t->add_content_array($a_monitor);
$t->display();
?>
								</div>
					  </form>
					</div>
			    </section>
			</div>
		</div>
	</section>


<?php 
include "foot.inc";
Пример #5
0

								<?php 
$t = new MainTable();
$t->edit_uri('load_balancer_pool_edit.php');
$t->my_uri('load_balancer_pool.php');
$t->add_column(gettext('Name'), 'name', 10);
$t->add_column(gettext('Mode'), 'mode', 10);
$t->add_column(gettext('Servers'), 'servers', 15);
$t->add_column(gettext('Port'), 'port', 10);
$t->add_column(gettext('Monitor'), 'monitor', 10);
$t->add_column(gettext('Description'), 'descr', 25);
$t->add_button('edit');
$t->add_button('dup');
$t->add_button('del');
$t->add_content_array($a_pool);
$t->display();
?>
								</div>
								<div class="container-fluid">
								<br /><span class="red"><strong><?php 
echo gettext("Hint:");
?>
</strong></span><br />
	<?php 
echo sprintf(gettext("The Load Balancer in %s is for server load balancing, not Multi-WAN. For load balancing or failover for multiple WANs, use "), $g['product_name']);
?>
	<a href="/system_gateway_groups.php"><?php 
echo gettext("Gateway Groups");
?>
</a>