/goods/<?php 
        echo $shop['id'];
        ?>
" target="_blank" title="<?php 
        echo $shop['title'];
        ?>
"><?php 
        echo $shop['title'];
        ?>
</a></li>
							<li class="gray">价值:¥<?php 
        echo $shop['money'];
        ?>
</li>
							<li class="g-progress"><dl class="m-progress"><dt><b style="width:<?php 
        echo width($shop['canyurenshu'], $shop['zongrenshu'], 266);
        ?>
0px"></"></b></dt><dd><span class="orange fl"><em><?php 
        echo $shop['canyurenshu'];
        ?>
</em>已参与</span><span class="gray6 fl"><em><?php 
        echo $shop['zongrenshu'];
        ?>
</em>总需人次</span><span class="blue fr"><em><?php 
        echo $shop['zongrenshu'] - $shop['canyurenshu'];
        ?>
</em>剩余</span></dd></dl></li>
							<li><a href="<?php 
        echo WEB_PATH;
        ?>
/goods/<?php 
            echo $shop['title'];
            ?>
                        </a>
                    </p>
                    <p class="z-promo">价值:<em class="gray9">¥<?php 
            echo $shop['money'];
            ?>
</em>
                    </p>
                    <div class="Progress-bar">
                        <p class="u-progress" title="已完成<?php 
            echo width($shop['canyurenshu'], $shop['zongrenshu'], 100);
            ?>
%">
                            <span class="pgbar" style="width:width:<?php 
            echo width($shop['canyurenshu'], $shop['zongrenshu'], 100);
            ?>
%;">
                                <span class="pging"></span>
                            </span>
                        </p>
                        <ul class="Pro-bar-li">
                            <li class="P-bar01">
                                <em><?php 
            echo $shop['canyurenshu'];
            ?>
</em>已参与
                            </li>
                            <li class="P-bar02"><em><?php 
            echo $shop['zongrenshu'];
            ?>
Пример #3
0
echo date("j.n.Y, G:i", $imp_min);
?>
 bis <?php 
echo date("j.n.Y, G:i", $imp_max);
?>
, zeitliche Aufl&ouml;sung: <?php 
echo $delta / $teiler;
?>
 s):
			<a href="<?php 
echo $_SERVER['PHP_SELF'];
?>
">(Reset)</a>
		</h3>
    <div id="placeholder" style=" <?php 
width();
?>
"> </div>

		<table width="98%">
			<tr>
				<td width="1%", align="left">
				</td>
				<td width="27%", align="left">
					<a href="<?php 
move_one_third_left();
?>
">&lt;</a>
				</td>
				<td width="35%", align="center">
					<a href="<?php 
<?php

defined('G_IN_SYSTEM') or exit('No permission resources.');
?>
<div class="Progress-bar">
				<p title="已完成<?php 
echo percent($item['canyurenshu'], $item['zongrenshu']);
?>
"><span style="width:<?php 
echo width($item['canyurenshu'], $item['zongrenshu'], 450);
?>
px; display:;"></span></p>
				<ul class="Pro-bar-li">
					<li class="P-bar01"><em><?php 
echo $item['canyurenshu'];
?>
</em>已参与人次</li>
					<li class="P-bar02"><em id="CodeQuantity"><?php 
echo $item['zongrenshu'];
?>
</em>总需人次</li>
					<li class="P-bar03"><em id="CodeLift"><?php 
echo $syrs;
?>
</em>剩余人次</li>
				</ul>
			</div>
		
			<?php 
if ($item['shenyurenshu'] == '0' && $item['xsjx_time'] == '0' && empty($item['q_uid'])) {
    ?>
Пример #5
0
            }

            th {
                height: <?php 
echo COLUMN_HEADER_HEIGHT;
?>
in;
            }

            td {
                position: relative;
            }

            .day {
                width: <?php 
echo width($schedule);
?>
;
                padding: 1em;
            }

            .block {
                border-radius: 3pt;
                border: solid 1pt transparent;
                overflow: visible;
            }

            .details {
                text-align: center;
                position: relative;
                top: 50%;
Пример #6
0
 $left = 0;
 $RIGHT_EDGE = 0;
 $fontSize = 24;
 if (strlen($char_name) > 22) {
     $fontSize = 8;
 } elseif (strlen($char_name) > 18) {
     $fontSize = 12;
 } elseif (strlen($char_name) > 14) {
     $fontSize = 14;
 } elseif (strlen($char_name) > 12) {
     $fontSize = 16;
 } elseif (strlen($char_name) > 10) {
     $fontSize = 20;
 }
 ImageTTFText($img, $fontSize, 0, $new_width + 5, 30, $textcolor, $mainFont, $char_name);
 $left = width($char_name, $fontSize, $mainFont) + 70;
 $textLeft = 85;
 for ($i = 1; $i <= 3; $i++) {
     if (isset($profs[$i - 1]) > 0) {
         $prof = $profs[$i - 1];
         $name = $prof['name'];
         $v = $prof['value'];
         $txt = "{$v} {$name}";
         $textLeft += 100;
         ImageTTFText($img, 8, 0, $textLeft, 90, $textcolor, $plainFont, win2uni($txt));
     }
 }
 $lineWidth = 495 - $new_width - 45 - 45;
 $midWidth = $lineWidth;
 $y = 43;
 ImageLine($img, $new_width + 45, $y, 445, $y, $textcolor);
Пример #7
0
function showipcdiffs($ipcdiff)
{
    krsort($ipcdiff);
    $output = '<table border=0 >
	<tr><th colspan="3">Defender IPC losses in excess of Attacker IPC losses:</th></tr>
	<tr><th style="text-align: right">Probability</th><th style="text-align: left">%</th><th style="text-align: left">IPC loss differential</th></tr>
	';
    $times = $_REQUEST['reps'];
    foreach ($ipcdiff as $diff => $num) {
        $percent = round($num / $times * 100, 1);
        if ($percent > 0) {
            $width = width($percent, 60);
            $output .= '<tr style="font-size: 60%; background: #eef;"><td><span style="background: #999; width: ' . $width . 'px; display: block; float: right; border: 1px solid black; margin:  0; font-size: 50%;" title="' . $percent . '%">&nbsp;</span></td><td>' . $percent . '%</td><td>' . $diff . ' IPCs</td></tr> ';
        }
    }
    $output .= '</table>';
    return $output;
    debugarray($ipcdiff);
}
?>
"></a></div>
			</div>
			<?php 
if ($itemzx) {
    ?>
			<div class="Result_LConduct">
				<dl>
					<dt><span>第<?php 
    echo $itemzx['qishu'];
    ?>
期</span>正在进行</dt>
					<dd>
						<div class="Result_Progress-bar">
							<p><span style="width:<?php 
    echo width($itemzx['canyurenshu'], $itemzx['zongrenshu'], 208);
    ?>
px;"></span></p>
							<ul class="Pro-bar-li">
								<li class="P-bar01"><em><?php 
    echo $itemzx['canyurenshu'];
    ?>
</em>已参与人次</li>
								<li class="P-bar02"><em><?php 
    echo $itemzx['zongrenshu'];
    ?>
</em>总需人次</li>
								<li class="P-bar03"><em><?php 
    echo $itemzx['shenyurenshu'];
    ?>
</em>剩余人次</li>