예제 #1
0
						<th class="bottom lowpriority"> <span class="hastooltip" title="Entry Price">Entry Price</span><div class="none"><?php 
echo $typeStrings->entryHoldingDesc;
?>
</div> </th>
						<th class="bottom "> <span class="hastooltip" title="BioBounce Return">Return</span><div class="none">The current return percent of this stock based on the original price.</div> </th>
						<th class="bottom"> <span class="hastooltip" title="Last Action Taken">Last Action</span><div class="none">The last BioBounce action that was taken.</div> </th>
					</tr>
				</thead>
				<tbody>
<?php 
if ($login->showData) {
    $tablestate = "row_odd";
    $someHoldingHidden = false;
    foreach ($holdings as $holding) {
        $hid = $holding['holdings_id'];
        $highlights = highlights::getHoldingsHighlights($hid);
        $last = $holding['last'];
        $action = $holding['holdings_last_action'];
        $tradeType = $holding['holdings_tradetype'];
        $lastAction = GetLastActionString($tradeType, $action);
        $abandonClass = IsAbandoned($action) ? " abandonRow " : "";
        $hasToolTipString = "";
        if (strlen($holding['holdings_tooltip']) > 0) {
            $hasToolTipString = "hastooltip";
        }
        $iAmHolding = personal_holdings::iAmHolding($login->userId, $hid);
        if (!$iAmHolding) {
            $someHoldingHidden = true;
        }
        $checkedString = $iAmHolding ? "checked" : "";
        $noneString = $iAmHolding ? "" : " none ";