Пример #1
0
	if (isset($_POST['del_sec'])) {
		$num = @$_POST['num'];
		unset($sections[$num]);
		$sections = array_merge($sections);
		save_array($sections, 'sections.txt');
	}

	?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/index.css">
<script type="text/javascript" src="functions.js"></script>
</head>
<body>
<?php fBAcctHeader(); ?>
<script type="text/javascript" src="wz_tooltip.js"></script>
<MAP name='farm'>
<?php
$item_loc = array();
for ($x = 0; $x < $sizeX; $x++) {
	for ($y = 0; $y < $sizeY; $y++) {
		$item_loc[$x][$y] = (object) array('name' => '', 'icon' => '');
	}
}

foreach($objects as $oID=>$o) {
	#      $u = $units[$o['itemName']];
	$u = Units_GetUnitByName($o['itemName']);

	if (!isset($u['sizeX'])) {
Пример #2
0
<html>
<head>
<link rel="stylesheet" type="text/css" href="Grifter.css" />
</head>
<body>
<script type='text/javascript'>	
			function SubmitGRIFT() { 
				GRIFT.submit(); 
			
			}
			
                      

		</script>
<?php 
fBAcctHeader();
?>


<h4>Grifter by StrmCkr - v<?php 
echo Grifter_version;
?>
 — [Jan 4th, 2010]</h4>
<small>it may happen that if you change settings while Grifter runs the settings will not be saved properly</small>
<br>
&nbsp;

<table width='100%' class='tableWhite'>

	<tr>
		<td width='15%' align='center'><a href='<?php