本文整理汇总了PHP中Control::Controle_contato方法的典型用法代码示例。如果您正苦于以下问题:PHP Control::Controle_contato方法的具体用法?PHP Control::Controle_contato怎么用?PHP Control::Controle_contato使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Control
的用法示例。
在下文中一共展示了Control::Controle_contato方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Control
<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 ($_GET['id']) {
$vi = $_GET['id'];
$c = new Control();
$arr = $c->Controle_contato($vi, $a, $b);
for ($i = 0; $i < count($arr); $i++) {
?>
<form id="Contato" action="novo_contato.php?action=edit" method="POST" class="search_form general_form">
<fieldset>
<div class="forms">
<div class="row">
<label>Estabelecimento:</label>
</div>
<div class="row">
<label>Assunto:</label>
<div class="inputs">
<span class="input_wrapper"><input class="text" name="assunto" id="assunto" value="<?php
echo $arr[$i]->assunto['assunto'];
?>
示例2: Control
<div class="table_wrapper_inner">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example" width="100%">
<thead>
<tr>
<th>#Id</th>
<th>Estabelecimento</th>
<th>Assunto</th>
<th>Ações</th>
</tr>
</thead>
<tbody>
<?php
define('TABLE1', 'odd gradeX');
define('TABLE2', 'odd gradeA');
$c = new Control();
$arr = $c->Controle_contato($id, 1, $id_usuario_admin);
for ($i = 0; $i < count($arr); $i++) {
?>
<tr class="<? if($i % 2){ echo TABLE1; }else{ echo TABLE2; }?>" <?php
if ($arr[$i]->novo['novo'] == 1) {
?>
style="font-weight: bold;" <?php
}
?>
>
<td><?php
echo $arr[$i]->id_contato['id_contato'];
?>
</td>
<td><?php
echo $arr[$i]->nome_estabelecimento['nome_estabelecimento'];