コード例 #1
0
					<!--[if !IE]>end section<![endif]-->
				</div>
			</div>
			<div id="sidebar">
				<div class="inner">
					<?php 
if (isset($_REQUEST['nu'])) {
    ?>
					<div class="quick_info">
						<div class="quick_info_top">
							<h2>Capa da disciplina</h2>
						</div>
						<div class="quick_info_content">
							<?php 
    $c = new Control();
    $arr = $c->Controle_curso($_GET['nu'], $_GET['ed']);
    for ($i = 0; $i < count($arr); $i++) {
        ?>
								<table align="center">
									<tr>
										<td>
											<a class="inline" href="#<?php 
        echo $arr[$i]->idcurso['idcurso'];
        ?>
" title="Alterar"><img src="<?php 
        echo $arr[$i]->capa['capa'];
        ?>
" alt="" width="160px" /></a>
											<div style='display:none'>
												<div id='<?php 
        echo $arr[$i]->idcurso['idcurso'];
コード例 #2
0
        echo $arr[$i]->descricao['descricao'];
        ?>
</textarea>
																		</span>
																		<span class="system negative"></span>
																	</div>
																</div>	
																<div class="row">
																	<label>Disciplina:</label>
																	<div class="inputs">
																		<span class="input_wrapper blank">
																			<select name="curso_idcurso" id="curso_idcurso" title="">
																				<option selected value="">---</option>
																				<?php 
        $c = new Control();
        $arre = $c->Controle_curso($idi);
        for ($j = 0; $j < count($arre); $j++) {
            ?>
																				<option value="<?php 
            print $arre[$j]->idcurso['idcurso'];
            ?>
" <?php 
            if ($arre[$j]->idcurso['idcurso'] == $arr[$i]->curso_idcurso['curso_idcurso']) {
                echo "selected";
            }
            ?>
><?php 
            print $arre[$j]->nome['nome'];
            ?>
</option>
																				<?php 
コード例 #3
0
																<div class="inputs">
																	<span class="input_wrapper textarea_wrapper">
																		<textarea rows="" cols="" class="text" name="descricao" title="Você tem que escrever uma descrição."></textarea>
																	</span>
																	<span class="system negative"></span>
																</div>
															</div>																											
															<div class="row">
																<label>Disciplina:</label>
																<div class="inputs">
																	<span class="input_wrapper blank">
																		<select name="curso_idcurso" id="curso_idcurso" title="">
																			<option selected value="">---</option>
																			<?php 
$c = new Control();
$arre = $c->Controle_curso($idi = null);
for ($j = 0; $j < count($arre); $j++) {
    ?>
																			<option value="<?php 
    print $arre[$j]->idcurso['idcurso'];
    ?>
"><?php 
    print $arre[$j]->nome['nome'];
    ?>
</option>
																			<?php 
}
?>
																		</select>
																	</span>
																	<span class="system negative"></span>
コード例 #4
0
        echo $arr[$i]->descricao['descricao'];
        ?>
</textarea>
																		</span>
																		<span class="system negative"></span>
																	</div>
																</div>	
																<div class="row">
																	<label>Disciplina:</label>
																	<div class="inputs">
																		<span class="input_wrapper blank">
																			<select name="curso_idcurso" id="curso_idcurso" title="">
																				<option selected value="">---</option>
																				<?php 
        $c = new Control();
        $arre = $c->Controle_curso($idi = null, $_GET["ed"]);
        for ($j = 0; $j < count($arre); $j++) {
            ?>
																				<option value="<?php 
            print $arre[$j]->idcurso['idcurso'];
            ?>
" <?php 
            if ($arre[$j]->idcurso['idcurso'] == $arr[$i]->curso_idcurso['curso_idcurso']) {
                echo "selected";
            }
            ?>
><?php 
            print $arre[$j]->nome['nome'];
            ?>
</option>
																				<?php 
コード例 #5
0
															<thead>
																<tr>
																	<th><a href="#" class="desc"></a></th>
																	<th><a href="#">Nome</a></th>
																	<th><a href="#">Concurso</a></th>
																	<th><a href="#">Valor</a></th>
																	<th><a href="#">Professor</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_curso($id = null);
for ($i = 0; $i < count($arr); $i++) {
    ?>
																<tr class="<? if($i % 2){ echo TABLE1; }else{ echo TABLE2; }?>">
																	<td>#<?php 
    echo $arr[$i]->idcurso['idcurso'];
    ?>
</td>
																    <td><?php 
    echo $arr[$i]->nome['nome'];
    ?>
</td>
																	<td><?php 
    echo $arr[$i]->concursoNome['concursoNome'];
    ?>
</td>