本文整理匯總了PHP中Control::Controle_aluno方法的典型用法代碼示例。如果您正苦於以下問題:PHP Control::Controle_aluno方法的具體用法?PHP Control::Controle_aluno怎麽用?PHP Control::Controle_aluno使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Control
的用法示例。
在下文中一共展示了Control::Controle_aluno方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: include
<span class="title_wrapper_left"></span>
<span class="title_wrapper_right"></span>
</div>
<!--[if !IE]>end title wrapper<![endif]-->
<!--[if !IE]>start section content<![endif]-->
<div class="section_content">
<!--[if !IE]>start section content top<![endif]-->
<? include('includes/alerta.php') ?>
<div class="sct">
<div class="sct_left">
<div class="sct_right">
<div class="sct_left">
<div class="sct_right">
<?php
$c = new Control();
$arr = $c->Controle_aluno($_SESSION['idAluno']);
for ($i = 0; $i < count($arr); $i++) {
?>
<h3>Editar aluno: <?php
echo $arr[$i]->nome['nome'];
?>
</h3>
<form id="alunoIN" action="?action=edit" method="POST" class="search_form general_form">
<fieldset>
<div class="forms">
<div class="row">
<label>Nome:</label>
<div class="inputs">
<span class="input_wrapper">
<input class="text" name="nome" id="nome" value="<?php
示例2: Control
<thead>
<tr>
<th><a href="#" class="desc"></a></th>
<th><a href="#">Nome</a></th>
<th><a href="#">E-mail</a></th>
<th><a href="#">Telefone</a></th>
<th><a href="#">Celular</a></th>
<th style="width: 96px;">Ações</th>
</tr>
</thead>
<tbody>
<?php
define('TABLE1', 'first');
define('TABLE2', 'second');
$c = new Control();
$arr = $c->Controle_aluno($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]->idaluno['idaluno'];
?>
</td>
<td><?php
echo $arr[$i]->nome['nome'];
?>
</td>
<td><?php
echo $arr[$i]->email['email'];
?>
</td>
示例3: Control
<span class="title_wrapper_left"></span>
<span class="title_wrapper_right"></span>
</div>
<!--[if !IE]>end title wrapper<![endif]-->
<!--[if !IE]>start section content<![endif]-->
<div class="section_content">
<!--[if !IE]>start section content top<![endif]-->
<div class="sct">
<div class="sct_left">
<div class="sct_right">
<div class="sct_left">
<div class="sct_right">
<?php
if (isset($_GET['nu'])) {
$c = new Control();
$arr = $c->Controle_aluno($_GET['nu'], $_GET['ed'] = null);
for ($i = 0; $i < count($arr); $i++) {
?>
<h3>Editar aluno: <?php
echo $arr[$i]->nome['nome'];
?>
</h3>
<form id="Aluno" action="?action=edit" method="POST" class="search_form general_form">
<fieldset>
<div class="forms">
<div class="row">
<label>Nome:</label>
<div class="inputs">
<span class="input_wrapper">
<input class="text" name="nome" id="nome" value="<?php