Exemplo n.º 1
0
            $selected = set_selected($selected, $temp);
        }
    }
    ?>
        </div>
        <div class="col-sm-6">    
             
<?php 
    if ($size_records % 2 == 0) {
        for ($i = $size_records / 2; $i < $size_records; $i++) {
            $temp = printButton($db_schools[$i], $school);
            $selected = set_selected($selected, $temp);
        }
    } else {
        for ($i = (int) ($size_records / 2) + 1; $i < $size_records; $i++) {
            $temp = printButton($db_schools[$i], $school);
            $selected = set_selected($selected, $temp);
        }
    }
} else {
    echo "No School";
}
?>
            <p><button type="submit" 
                       name="school" 
                       id="school" 
                       value="Andere" 
                       class="btn btn-lg btn-block 
                    <?php 
if ($selected == true) {
    echo "btn-warning";
Exemplo n.º 2
0
if (isset($_POST['add_over_head'])) {
    ob_end_clean();
    header("Location:" . BASE_URL . "index.php?page=addOverhead&markId={$markDetailId}");
} else {
    if (isset($_POST['add_conversion'])) {
        ob_end_clean();
        header("Location:" . BASE_URL . "index.php?page=addConversion&markId={$markDetailId}");
    }
}
$economicsId = $_REQUEST['i_ecnomics_master_id'];
if ($economicsId == '') {
    $ecmomicsMaster = $common->getEcnomicsMaster($markDetailId);
    $ecnomicsId = $ecmomicsMaster['id'];
} else {
    $ecnomicsId = $economicsId;
}
$timberDO = new TimberDO();
$markDetail = new MarkDetailDO();
$allForestPoints = $common->getAllForestPoints($markDetailId);
$allTransportationDetail = $common->getTransportaionProgressDetail($markDetailId);
$allTransportationInventoryDetail = $common->getTransportaionInventoryDetail($markDetailId);
$exitType = $markDetail->getExitTypes();
printButton('800', 'javascript:window.print()', '10px');
?>
<br>
<table cellpadding="1px" cellspacing="1px" style='width:900px;text-align:center' >
<?php 
include 'inventory/inventoryLocationHTML.php';
?>
</table>
Exemplo n.º 3
0
echo '<form method="post"action="">';
$NameArray = explode('|', $nametotal);
// var_dump($NameArray[2]);
$tmp = $NameArray[2];
unset($NameArray[2]);
// var_dump($NameArray);
// var_dump($tmp);
$array_tmp = explode(';', $tmp);
unset($array_tmp[0]);
array_merge($array_tmp);
// var_dump($array_tmp);
$NameArray = array_merge($NameArray, $array_tmp);
// $NameArray = $NameArray + $array_tmp;
// var_dump($NameArray);
for ($i = 0; $i < count($NameArray) && count($NameArray) != 1; $i++) {
    printButton($yosan, $NameArray[$i], $i, $food, 0);
}
echo '</form>';
echo '</form></table></div>';
// -----------------------------------------------------------
?>

	</table>

	<div>

		<table class="Day2" cellpadding="10">
			<tr>
				<?php 
for ($i = 1; $i <= 4; $i++) {
    if ($i == 1) {
Exemplo n.º 4
0
}

.evenrow {
	background-color: #cccccc;
}

.oddrow {
	background-color: #eeeeee;
}
</style>
<br>
<?php 
$selectList = $common->getEcnomicsDateSelect($markDetailId);
$totalVolume = 0;
if ($selectList != '') {
    printButton('900', 'javascript:window.print()');
    ?>
<a href="index.php?page=ecnomicreportsEls&markId=<?php 
    echo $markDetailId;
    ?>
" target="_blank" >
Export
</a>	
<div id="tabs-1"><?php 
    if ($economicsId == '') {
        $common->generateForm($_SERVER, $pageKey, $markDetailId, 0);
    } else {
        $common->generateForm($_SERVER, $pageKey, $markDetailId, $economicsId);
    }
    ?>
<center>
Exemplo n.º 5
0
        $selected = set_selected($selected, $temp);
    }
}
?>
        </div>
        <div class="col-sm-6">    
             
<?php 
if ($size_records % 2 == 0) {
    for ($i = $size_records / 2; $i < $size_records; $i++) {
        $temp = printButton($db_regions[$i], $region);
        $selected = set_selected($selected, $temp);
    }
} else {
    for ($i = (int) ($size_records / 2) + 1; $i < $size_records; $i++) {
        $temp = printButton($db_regions[$i], $region);
        $selected = set_selected($selected, $temp);
    }
}
?>
            <p><button type="submit" 
                       name="provincie" 
                       id="provincie" 
                       value="Andere" 
                       class="btn btn-lg btn-block 
                    <?php 
if ($selected == true) {
    echo "btn-warning";
} elseif ($andere == true) {
    echo "btn-success";
} else {