function px($price, $pct, $year, $initprice, $rental, $roi, $counter, &$result) { if ($counter == 0) { return $roi; } else { $price = $price + $price * ($pct / 100); $counter--; $rental = $rental + $rental; $roi = ($price - $initprice + $rental) / $initprice; $result = $roi; //print $price.' '.number_format($roi * 100, 1,'.',',').'%<br />'; px($price, $pct, $year, $initprice, $rental, $roi, $counter, $result); } }
width: 0px; height: 5px; } div.jp-play-time, div.jp-total-time { position: absolute; top: <?php px($play_time_top); ?> ; left: <?php px($play_time_left); ?> ; width: <?php px($progress_width + 2); ?> ; font-size: .64em; font-style: oblique; } div.jp-total-time { text-align: right; } div.jp-playlist ul { list-style-type: none; margin: 0; padding-left: 0; background-color: #ccc; font-size: .72em;