Beispiel #1
0
                echo "Markup";
            } else {
                echo "Discount";
            }
            ?>
 on Sales">Sell: <?php 
            echo $GLOBALS['gsMarkup'];
            ?>
%</span>
					<button type='button'  title="Minimize Gems, Jewelry &amp; Art List"class='minimize btn btn-success'><span class='glyphicon glyphicon-chevron-up'></span></button>
					<button type='button' rel='gjaList' title="Reload Gems, Jewelry, &amp; Art List" ref="getGJA" class='refresh btn btn-success'><span class='glyphicon glyphicon-refresh'></span></button>
				</div>			
			</div>
            <div class="panel-body" id="gjaList">
				<?php 
            getGJA($GLOBALS['vault']);
            ?>
            </div>
        </div>
        <div class="panel panel-primary">
            <div class="panel-heading">
				<span class="panel-title">Items &amp; Equipment</span>
				<div class="pull-right">
					<span class="label label-success" title="<?php 
            if ($GLOBALS['ibMarkup'] >= 0) {
                echo "Markup";
            } else {
                echo "Discount";
            }
            ?>
 on Purchases">Buy: <?php 
Beispiel #2
0
function moveGJA($item)
{
    $q1 = "UPDATE `gemsjewelryart` SET `gjaLoc` = '" . $item[0] . "', changeBy = '" . $GLOBALS['user'] . "' WHERE `gjaId` = '" . $item[1] . "'";
    $r1 = $GLOBALS['mysqli']->query($q1);
    getGJA();
}