本文整理汇总了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