<!--[if !IE]>end section content bottom<![endif]-->
							
						</div>
						<!--[if !IE]>end section content<![endif]-->
					</div>
					<?php 
if (isset($_REQUEST['nu'])) {
    ?>
					<div class="quick_info">
						<div class="quick_info_top">
							<h2>Capa da venda</h2>
						</div>
						<div class="quick_info_content">
							<?php 
    $c = new Control();
    $arr = $c->Controle_venda($_GET['nu'], $_GET['ed']);
    for ($i = 0; $i < count($arr); $i++) {
        ?>
								<table align="center">
									<tr>
										<td>
											<a class="inline" href="#<?php 
        echo $arr[$i]->id['id'];
        ?>
" title="Alterar"><img src="<?php 
        echo $arr[$i]->capa['capa'];
        ?>
" alt="" width="160px" /></a>
											<div style='display:none'>
												<div id='<?php 
        echo $arr[$i]->id['id'];
示例#2
0
														<table cellpadding="0" cellspacing="0" border="0" class="display" id="example" width="100%">
															<thead>
																<tr>
																	<th><a href="#" class="desc"></a></th>
																	<th><a href="#">Nome</a></th>
																	<th><a href="#">Valor</a></th>
																	<th><a href="#">Disciplinas do pacote</a></th>																
																	<th style="width: 96px;">A&ccedil;ões</th>
																</tr>
															</thead>
															<tbody>
																<?php 
define('TABLE1', 'first');
define('TABLE2', 'second');
$c = new Control();
$arr = $c->Controle_venda($id = null, $_GET['ed']);
for ($i = 0; $i < count($arr); $i++) {
    ?>
																<tr class="<? if($i % 2){ echo TABLE1; }else{ echo TABLE2; }?>">
																	<td>#<?php 
    echo $arr[$i]->id['id'];
    ?>
</td>
																    <td><?php 
    echo $arr[$i]->nome['nome'];
    ?>
</td>																	
																    <td><?php 
    echo $arr[$i]->valor['valor'];
    ?>
</td>