• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP verifica_nivel函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中verifica_nivel函数的典型用法代码示例。如果您正苦于以下问题:PHP verifica_nivel函数的具体用法?PHP verifica_nivel怎么用?PHP verifica_nivel使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了verifica_nivel函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: Ajusta_DMA

?>
 <input name="procurar" id="procurar" type="text" class="forms" size="20" maxlength="40" onkeyup="javascript:Ajax('contasreceber/pesquisa', 'pesquisa', 'pesquisa='%2Bthis.value%2B'&peri='%2Bdocument.getElementById('peri').value)" onKeypress="return Ajusta_DMA(this, event, document.getElementById('peri').value);"
      onclick="if(document.getElementById('pesqdia').checked) {abreCalendario(this);}">
	  <br>
	  <input type="radio" name="pesq" id="pesqmesatual" checked="checked" value="mesatual" onclick="javascript:Ajax('contasreceber/pesquisa', 'pesquisa', 'peri=mesatual')"><label for="pesqmesatual"> <?php 
echo $LANG['accounts_receivable']['current_month'];
?>
</label>&nbsp;&nbsp;&nbsp;
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
      <td width="2%" valign="bottom">&nbsp;</td>
    </tr>
  </table><br />
<?php 
if (verifica_nivel('contas_receber', 'I')) {
    ?>
  <form id="form2" name="form2" method="POST" action="contasreceber/extrato_ajax.php" onsubmit="formSender(this, 'conteudo'); this.reset(); return false;">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="conteudo">
    <tr>
      <td width="4%">
      </td>
      <td width="12%"><?php 
    echo $LANG['accounts_receivable']['deadline'];
    ?>
 <br />
        <input type="text" size="13" value="<?php 
    echo converte_data(hoje(), 2);
    ?>
" name="datavencimento" id="datavencimento" class="forms">
      </td>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:extrato_ajax.php


示例2: verifica_nivel

        $odev = $impar;
    }
    ?>
    <tr bgcolor="#<?php 
    echo $odev;
    ?>
" onmouseout="style.background='#<?php 
    echo $odev;
    ?>
'" onmouseover="style.background='#DDE1E6'">
      <td width="684" align="left"><?php 
    echo $lista[$i]['nome'];
    ?>
</td>
		<td width="66" align="center"><?php 
    echo verifica_nivel('honorarios', 'L') ? '<a href="javascript:Ajax(\'honorarios/honorarios\', \'conteudo\', \'codigo_convenio=' . $lista[$i][codigo] . '\')"><img src="imagens/icones/honorarios.gif" alt="" width="16" height="18" border="0"></a>' : '';
    ?>
</td>
		<?php 
    /*<td width="66" align="center"><?php echo ((verifica_nivel('honorarios', 'A'))?'<a href="javascript:Ajax(\'honorarios/gerenciar\', \'conteudo\', \'codigo_convenio='.$lista[$i][codigo].'" onclick="return confirmLink(this)"><img src="imagens/icones/excluir.gif" alt="Excluir" width="19" height="19" border="0"></a>':'')?></td> */
    ?>
    </tr>
<?php 
}
?>
  </table>
  <br>
  <table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr bgcolor="#<?php 
echo $odev;
?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:hpesquisa_ajax.php


示例3: header

 *
 * Smile Odontolóogia
 * Rua Laudemira Maria de Jesus, 51 - Lourdes
 * Arcos - MG - CEP 35588-000
 *
 *
 */
include "../lib/config.inc.php";
include "../lib/func.inc.php";
include "../lib/classes.inc.php";
require_once '../lang/' . $idioma . '.php';
header("Content-type: text/html; charset=ISO-8859-1", true);
if (!checklog()) {
    die($frase_log);
}
if ($_GET['codigo'] != '' && !verifica_nivel('laboratorios', 'E') || $_GET['codigo'] == '' && !verifica_nivel('laboratorios', 'I')) {
    $disable = 'disabled';
}
$laboratorio = new TLaboratorio();
if (isset($_POST[Salvar])) {
    $obrigatorios[1] = 'nomefantasia';
    $i = $j = 0;
    foreach ($_POST as $post => $valor) {
        $i++;
        if (array_search($post, $obrigatorios) && $valor == "") {
            $j++;
            $r[$j] = '<font color="#FF0000">';
        }
    }
    if ($j == 0) {
        if ($_GET[acao] == "editar") {
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:incluir_ajax.php


示例4: echo

    ?>
'" onmouseover="style.background='#DDE1E6'">
      <td width="63%"><?php 
    echo (encontra_valor('pacientes', 'codigo', $lista[$i]['codigo'], 'falecido') == 'Sim' ? '<font color="#808080">' : (em_debito($lista[$i][codigo]) ? '<font color="red">' : '')) . $lista[$i][nome] . ' (' . encontra_valor('pacientes', 'codigo', $lista[$i]['codigo'], 'status') . ')';
    ?>
</td>
      <td width="20%"><?php 
    echo (encontra_valor('pacientes', 'codigo', $lista[$i]['codigo'], 'falecido') == 'Sim' ? '<font color="#808080">' : (em_debito($lista[$i][codigo]) ? '<font color="red">' : '')) . $lista[$i][codigo];
    ?>
</td>
      <td width="8%" align="center"><?php 
    echo verifica_nivel('pacientes', 'V') ? '<a href="javascript:Ajax(\'pacientes/incluir\', \'conteudo\', \'codigo=' . $lista[$i][codigo] . '&acao=editar\')"><img src="imagens/icones/editar.gif" alt="Editar" width="16" height="18" border="0"></a>' : '';
    ?>
</td>
      <td width="9%" align="center"><?php 
    echo verifica_nivel('pacientes', 'A') ? '<a href="javascript:Ajax(\'pacientes/gerenciar\', \'conteudo\', \'codigo=' . $lista[$i][codigo] . '" onclick="return confirmLink(this)"><img src="imagens/icones/excluir.gif" alt="Excluir" width="19" height="19" border="0"></a>' : '';
    ?>
</td>
    </tr>
<?php 
}
?>
  </table>
  <br>
  <table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr bgcolor="#<?php 
echo $odev;
?>
" onmouseout="style.background='#<?php 
echo $odev;
?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:pesquisa_ajax.php


示例5: str_pad

    echo '                <option value="' . str_pad($i, 2, '0', STR_PAD_LEFT) . '">' . nome_mes($i) . '</option>';
}
?>
                  </select>
                  <input name="dia2" id="dia2" disabled="disabled" type="text" class="forms" size="4" maxlength="2" onkeyup="javascript:niver()">
              </div>
      	      <input name="procurar4" id="procurar4" style="display:none" type="text" class="forms" size="20" maxlength="13" onkeypress="return Ajusta_Telefone(this, event);" onkeyup="javascript:Ajax('pacientes/pesquisa', 'pesquisa', 'pesquisa='%2Bthis.value%2B'&campo='%2BgetElementById('campo').options[getElementById('campo').selectedIndex].value)">
      	    </td>
      	  </tr>
      	</table>
	  </td>
    </tr>
    <tr>
      <td colspan="2" align="right" valign="bottom">
        <?php 
echo verifica_nivel('pacientes', 'I') ? '<img src="imagens/icones/novo.gif" alt="Incluir" width="19" height="22" border="0"><a href="javascript:Ajax(\'pacientes/incluir\', \'conteudo\', \'\')">' . $LANG['patients']['include_new_patient'] . '</a>' : '';
?>
      </td>
    </tr>
</table>
<div class="conteudo" id="table dados"><br>
  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="tabela_titulo">
    <tr>
      <td bgcolor="#009BE6">&nbsp;</td>
      <td bgcolor="#009BE6">&nbsp;</td>
      <td bgcolor="#009BE6">&nbsp;</td>
      <td bgcolor="#009BE6">&nbsp;</td>
    </tr>
    <tr>
      <td width="63%" height="23" align="left"><?php 
echo $LANG['patients']['patient'];
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:gerenciar_ajax.php


示例6: url

 *
 *
 */
if ($_GET[acao] == 'editar') {
    $odontograma = "<a href=\"javascript:Ajax('pacientes/odontograma','conteudo','codigo=" . $_GET[codigo] . $acao . "')\">";
    $orcamento = "<a href=\"javascript:Ajax('pacientes/orcamento','conteudo','codigo=" . $_GET[codigo] . $acao . "')\">";
    $objetivo = "<a href=\"javascript:Ajax('pacientes/objetivo','conteudo','codigo=" . $_GET[codigo] . $acao . "')\">";
    $evolucao = "<a href=\"javascript:Ajax('pacientes/evolucao','conteudo','codigo=" . $_GET[codigo] . $acao . "')\">";
    $inquerito = "<a href=\"javascript:Ajax('pacientes/inquerito','conteudo','codigo=" . $_GET[codigo] . $acao . "')\">";
    $ortodontia = "<a href=\"javascript:Ajax('pacientes/ortodontia','conteudo','codigo=" . $_GET[codigo] . $acao . "')\">";
    $implantodontia = "<a href=\"javascript:Ajax('pacientes/implantodontia','conteudo','codigo=" . $_GET[codigo] . $acao . "')\">";
    $fotos = "<a href=\"javascript:Ajax('pacientes/fotos','conteudo','codigo=" . $_GET[codigo] . $acao . "')\">";
    $outros = "<a href=\"javascript:Ajax('pacientes/outros','conteudo','codigo=" . $_GET[codigo] . $acao . "')\">";
    $radio = "<a href=\"javascript:Ajax('pacientes/radio','conteudo','codigo=" . $_GET[codigo] . $acao . "')\">";
}
if ($_GET['codigo'] != '' && !verifica_nivel('pacientes', 'E') || $_GET['codigo'] == '' && !verifica_nivel('pacientes', 'I')) {
    $disable = 'disabled';
}
?>
<table width="620" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr style="background-image: url('pacientes/img/fundo_submenu_pacientes.jpg')">
    <td align="center" width="20%"><a href="javascript:Ajax('pacientes/incluir','conteudo','codigo=<?php 
echo $_GET[codigo] . $acao;
?>
')"><span class="link_submenu_pacientes"><?php 
echo $LANG['patients']['clinical_sheet'];
?>
</span></a></td>
    <td align="center" width="15%"><?php 
echo $odontograma . '<span class="link_submenu_pacientes">' . $LANG['patients']['odontogram'];
?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:submenu.php


示例7: header

 * Smile Odontolóogia
 * Rua Laudemira Maria de Jesus, 51 - Lourdes
 * Arcos - MG - CEP 35588-000
 *
 *
 */
include "../lib/config.inc.php";
include "../lib/func.inc.php";
include "../lib/classes.inc.php";
require_once '../lang/' . $idioma . '.php';
header("Content-type: text/html; charset=ISO-8859-1", true);
if (!checklog()) {
    echo '<script>Ajax("wallpapers/index", "conteudo", "");</script>';
    die;
}
if (!verifica_nivel('estoque', 'L')) {
    echo $LANG['general']['you_tried_to_access_a_restricted_area'];
    die;
}
if (checknivel('Dentista')) {
    echo '<script>Ajax(\'estoque_dent/extrato\', \'conteudo\', \'\')</script>';
} elseif (checknivel('Administrador') || checknivel('Funcionario')) {
    echo '<script>Ajax(\'estoque/extrato\', \'conteudo\', \'\')</script>';
}
/*
?>
<div class="conteudo" id="conteudo_central">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="conteudo">
    <tr>
      <td width="100%">&nbsp;&nbsp;&nbsp;<img src="contaspagar/img/contas.png" alt="Contas a pagar da Clínica" border="0"> <a href="javascript:Ajax('contaspagar/extrato', 'conteudo', '')"><span class="h3">Contas a Pagar da Clínica </span></td>
    </tr>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:estoque_ajax.php


示例8: money_form

      <td width="13%" align="right"><?php 
    echo money_form($conta->RetornaDados('valor'));
    ?>
</td>
      <td width="21%" align="right"><input type="text" size="13" name="datapagamento" id="datapagamento" value="<?php 
    echo converte_data($conta->RetornaDados('datapagamento'), 2);
    ?>
" onblur="Ajax('contasreceber_dent/atualiza', 'conta_atualiza', 'codigo=<?php 
    echo $conta->RetornaDados('codigo');
    ?>
&datapagamento='%2Bthis.value)" onKeypress="return Ajusta_Data(this, event);" <?php 
    echo !verifica_nivel('contas_receber', 'E') ? 'disabled' : '';
    ?>
></td>
      <td width="5%" align="center"><?php 
    echo verifica_nivel('contas_receber', 'A') ? '<a href="javascript:Ajax(\'contasreceber_dent/extrato\', \'conteudo\', \'codigo=' . $conta->RetornaDados('codigo') . '&codigo_dentista=' . $_GET[codigo_dentista] . '&senha_dentista=' . $_GET[senha_dentista] . '" onclick="return confirmLink(this)"><img src="imagens/icones/excluir.gif" alt="Excluir" width="19" height="19" border="0"></a>' : '';
    ?>
</td>
    </tr>
<?php 
}
if ($odev == $impar) {
    $odev = $par;
} else {
    $odev = $impar;
}
?>
    <tr>
      <td height="23" align="left" colspan="5">&nbsp;</td>
    </tr>
    <tr bgcolor="#<?php 
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:pesquisa_ajax.php


示例9:

echo $LANG['stock']['search_by_description'];
?>
:
      	    </td>
      	    <td>
      	      <br>
      	      <input name="procurar" id="procurar" type="text" class="forms" size="20" maxlength="40" onkeyup="javascript:Ajax('estoque_dent/pesquisa', 'pesquisa', 'pesquisa='%2Bthis.value)">
      	    </td>
      	  </tr>
      	</table>
	  </td>
      <td width="2%" valign="bottom">&nbsp;</td>
    </tr>
  </table><br />
<?php 
if (verifica_nivel('estoque', 'I')) {
    ?>
  <form id="form2" name="form2" method="POST" action="estoque_dent/extrato_ajax.php" onsubmit="formSender(this, 'conteudo'); this.reset(); return false;">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="conteudo">
    <tr>
      <td width="4%">
      </td>
      <td width="60%"><?php 
    echo $LANG['stock']['description'];
    ?>
 <br />
        <input type="text" size="80" name="descricao" id="descricao" class="forms">
      </td>
      <td width="19%"><?php 
    echo $LANG['stock']['quantity'];
    ?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:extrato_ajax.php


示例10: header

 * Smile Odontolóogia
 * Rua Laudemira Maria de Jesus, 51 - Lourdes
 * Arcos - MG - CEP 35588-000
 *
 *
 */
include "../lib/config.inc.php";
include "../lib/func.inc.php";
include "../lib/classes.inc.php";
require_once '../lang/' . $idioma . '.php';
header("Content-type: text/html; charset=ISO-8859-1", true);
if (!checklog()) {
    echo '<script>Ajax("wallpapers/index", "conteudo", "");</script>';
    die;
}
if (!verifica_nivel('cheques', 'L')) {
    echo $LANG['general']['you_tried_to_access_a_restricted_area'];
    die;
}
if ($_GET[confirm_del] == "delete") {
    mysql_query("DELETE FROM `contaspagar` WHERE `codigo` = '" . $_GET[codigo] . "'") or die(mysql_error());
}
if (checknivel('Dentista')) {
    echo '<script>Ajax(\'cheques_dent/gerenciar\', \'conteudo\', \'\')</script>';
} else {
    echo '<script>Ajax(\'cheques/gerenciar\', \'conteudo\', \'\')</script>';
}
/*
?>
<div class="conteudo" id="conteudo_central">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="conteudo">
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:cheques_ajax.php


示例11: converte_data

    ?>
</td>
      <td width="123" height="23" align="left"><?php 
    echo converte_data($cheque->RetornaDados('compensacao'), 2);
    ?>
</td>
      <td width="80" height="23" align="right"><?php 
    echo $LANG['general']['currency'] . ' ' . money_form($cheque->RetornaDados('valor'));
    ?>
</td>
      <td width="66" align="center"><?php 
    echo verifica_nivel('cheques', 'V') ? '<a href="javascript:;" onclick="javascript:Ajax(\'cheques_dent/incluir\', \'conteudo\', \'codigo=' . $cheque->RetornaDados('codigo') . '&acao=editar\')"><img src="imagens/icones/editar.gif" alt="Editar" width="16" height="18" border="0"></a>' : '';
    ?>
</td>
      <td width="66" align="center"><?php 
    echo verifica_nivel('cheques', 'E') ? '<a href="javascript:Ajax(\'cheques_dent/gerenciar\', \'conteudo\', \'codigo=' . $cheque->RetornaDados('codigo') . '" onclick="return confirmLink(this)"><img src="imagens/icones/excluir.gif" alt="Excluir" width="19" height="19" border="0"></a>' : '';
    ?>
</td>
    </tr>
<?php 
}
?>
  </table>
  <br>
  <table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr bgcolor="#<?php 
echo $odev;
?>
" onmouseout="style.background='#<?php 
echo $odev;
?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:pesquisa_ajax.php


示例12: header

 *
 */
include "../lib/config.inc.php";
include "../lib/func.inc.php";
include "../lib/classes.inc.php";
require_once '../lang/' . $idioma . '.php';
header("Content-type: text/html; charset=ISO-8859-1", true);
if (!checklog()) {
    echo '<script>Ajax("wallpapers/index", "conteudo", "");</script>';
    die;
}
if (!verifica_nivel('idiomas', 'L')) {
    echo $LANG['general']['you_tried_to_access_a_restricted_area'];
    die;
}
if (!verifica_nivel('idiomas', 'E')) {
    $disable = 'disabled';
}
$clinica = new TClinica();
$clinica->LoadInfo();
if (isset($_POST['Salvar'])) {
    $clinica->LoadInfo();
    $clinica->Idioma = $_POST['idioma'];
    $clinica->Salvar();
    $strScrp = 'alert("' . $LANG['language']['data_successfully_recorded'] . '"); location.href="./"';
}
if (isset($strScrp)) {
    echo '<scr' . 'ipt>' . $strScrp . '</scr' . 'ipt>';
    die;
}
?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:idioma_ajax.php


示例13: Ajusta_Valor

    ?>
&valor='%2Bthis.value)" onKeypress="return Ajusta_Valor(this, event);"></td>
      <td width="9%" align="center"><?php 
    echo $_GET['codigo_convenio'] != '1' ? '<input type="text" ' . (!verifica_nivel('honorarios', 'E') ? 'disabled' : '') . ' class="forms" size="8" name="valor_convenio"   id="valor_convenio"   value="' . number_format($valor_convenio, 2, '.', '') . '"   onblur="Ajax(\'honorarios/atualiza\', \'conta_atualiza\', \'&codigo_convenio=' . $_GET['codigo_convenio'] . '&codigo=' . $conta->RetornaDados('codigo') . '&valor=\'%2Bthis.value)" onKeypress="return Ajusta_Valor(this, event);">' : '';
    ?>
</td>
      <td width="9%" align="right"><?php 
    echo $_GET['codigo_convenio'] != '1' ? $LANG['general']['currency'] . ' ' . @number_format($valor_particular - $valor_convenio, 2, ',', '.') : '';
    ?>
</td>
      <td width="9%" align="right"><?php 
    echo $_GET['codigo_convenio'] != '1' ? @number_format(round(100 - $valor_convenio / $valor_particular * 100, 2), 2, ',', '.') . ' %' : '';
    ?>
</td>
      <td width="7%" align="center"><?php 
    echo verifica_nivel('honorarios', 'A') ? '<a href="javascript:Ajax(\'honorarios/honorarios\', \'conteudo\', \'codigo_convenio=' . $_GET['codigo_convenio'] . '&codigo=' . $conta->RetornaDados('codigo') . '" onclick="return confirmLink(this)"><img src="imagens/icones/excluir.gif" alt="Excluir" width="19" height="19" border="0"></a>' : '';
    ?>
</td>
    </tr>
<?php 
}
?>
  </table>
  <br>
  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr bgcolor="#<?php 
echo $odev;
?>
" onmouseout="style.background='#<?php 
echo $odev;
?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:pesquisa_ajax.php


示例14: verifica_nivel

    ?>
&nbsp;</td>
      <td width="105" align="left"><?php 
    echo $lista[$i]['codigo'] == '1' ? '' : $lista[$i]['telefone'];
    ?>
&nbsp;</td>
      <td width="79" align="center"><?php 
    echo verifica_nivel('honorarios', 'L') ? '<a href="javascript:Ajax(\'honorarios/honorarios\', \'conteudo\', \'codigo_convenio=' . $lista[$i][codigo] . '\')"><img src="imagens/icones/honorarios.gif" alt="" width="16" height="18" border="0"></a>' : '';
    ?>
</td>
      <td width="59" align="center"><?php 
    echo $lista[$i]['codigo'] == '1' || !verifica_nivel('convenios', 'V') ? '' : '<a href="javascript:Ajax(\'convenios/incluir\', \'conteudo\', \'codigo=' . $lista[$i]['codigo'] . '&acao=editar\')"><img src="imagens/icones/editar.gif" alt="" width="16" height="18" border="0"></a>';
    ?>
&nbsp;</td>
      <td width="66" align="center"><?php 
    echo $lista[$i]['codigo'] == '1' || !verifica_nivel('convenios', 'A') ? '' : '<a href="javascript:Ajax(\'convenios/gerenciar\', \'conteudo\', \'codigo=' . $lista[$i]['codigo'] . '" onclick="return confirmLink(this)"><img src="imagens/icones/excluir.gif" alt="" width="19" height="19" border="0"></a>';
    ?>
&nbsp;</td>
    </tr>
<?php 
}
?>
  </table>
  <br>
  <table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr bgcolor="#<?php 
echo $odev;
?>
" onmouseout="style.background='#<?php 
echo $odev;
?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:pesquisa_ajax.php


示例15: header

 * [email protected]
 *
 * Ou envie sua carta para o endereço:
 *
 * Smile Odontolóogia
 * Rua Laudemira Maria de Jesus, 51 - Lourdes
 * Arcos - MG - CEP 35588-000
 *
 *
 */
include "../lib/config.inc.php";
include "../lib/func.inc.php";
include "../lib/classes.inc.php";
require_once '../lang/' . $idioma . '.php';
header("Content-type: text/html; charset=ISO-8859-1", true);
if (!verifica_nivel('permissoes', 'V')) {
    echo $LANG['general']['you_tried_to_access_a_restricted_area'];
    die;
}
$_GET['nivel'] = $_GET['nivel'] != '' ? $_GET['nivel'] : 'Dentista';
if (isset($_POST['enviar'])) {
    unset($_POST['nivel'], $_POST['enviar']);
    mysql_query("DELETE FROM permissoes WHERE nivel = '" . $_GET['nivel'] . "'");
    echo mysql_error();
    foreach ($_POST as $area => $perm) {
        mysql_query("INSERT INTO permissoes VALUES ('" . $_GET['nivel'] . "', '" . $area . "', '" . implode(',', $perm) . "')");
    }
    echo '<script type="text/javascript">Ajax("configuracoes/permissoes", "conteudo", "nivel=' . $_GET['nivel'] . '")</script>';
    /*echo '<pre>';
      print_r($_POST);
      echo '</pre>';*/
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:permissoes_ajax.php


示例16: header

 * Smile Odontolóogia
 * Rua Laudemira Maria de Jesus, 51 - Lourdes
 * Arcos - MG - CEP 35588-000
 *
 *
 */
include "../lib/config.inc.php";
include "../lib/func.inc.php";
include "../lib/classes.inc.php";
require_once '../lang/' . $idioma . '.php';
header("Content-type: text/html; charset=ISO-8859-1", true);
if (!checklog()) {
    echo '<script>Ajax("wallpapers/index", "conteudo", "");</script>';
    die;
}
if (!verifica_nivel('caixa', 'L')) {
    echo $LANG['general']['you_tried_to_access_a_restricted_area'];
    die;
}
if ($_GET[confirm_del] == "delete") {
    mysql_query("DELETE FROM `caixa` WHERE `codigo` = '" . $_GET[codigo] . "'") or die(mysql_error());
}
if (checknivel('Dentista')) {
    echo '<script>Ajax(\'caixa_dent/extrato\', \'conteudo\', \'\')</script>';
} else {
    echo '<script>Ajax(\'caixa/extrato\', \'conteudo\', \'\')</script>';
}
/*
?>
<div class="conteudo" id="conteudo_central">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="conteudo">
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:caixa_ajax.php


示例17: header

 * Smile Odontolóogia
 * Rua Laudemira Maria de Jesus, 51 - Lourdes
 * Arcos - MG - CEP 35588-000
 *
 *
 */
include "../lib/config.inc.php";
include "../lib/func.inc.php";
include "../lib/classes.inc.php";
require_once '../lang/' . $idioma . '.php';
header("Content-type: text/html; charset=ISO-8859-1", true);
if (!checklog()) {
    echo '<script>Ajax("wallpapers/index", "conteudo", "");</script>';
    die;
}
if (!verifica_nivel('agenda', 'L')) {
    echo $LANG['general']['you_tried_to_access_a_restricted_area'];
    die;
}
?>
<div id='calendario' name='calendario' style='display:none;position:absolute;'>
<?php 
include "../lib/calendario.inc.php";
?>
</div>
<div class="conteudo" id="conteudo_central">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="conteudo">
    <tr>
      <td width="43%">&nbsp;&nbsp;&nbsp;<img src="agenda/img/agenda.png" alt="Agenda"> <span class="h3"><?php 
echo $LANG['calendar']['manage_calendar'];
?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:agenda_ajax.php


示例18: header

 *
 */
include "../lib/config.inc.php";
include "../lib/func.inc.php";
include "../lib/classes.inc.php";
require_once '../lang/' . $idioma . '.php';
header("Content-type: text/html; charset=ISO-8859-1", true);
if (!checklog()) {
    echo '<script>Ajax("wallpapers/index", "conteudo", "");</script>';
    die;
}
if (!verifica_nivel('informacoes', 'L')) {
    echo $LANG['general']['you_tried_to_access_a_restricted_area'];
    die;
}
if (!verifica_nivel('informacoes', 'E')) {
    $disable = 'disabled';
}
$clinica = new TClinica();
$clinica->LoadInfo();
if (isset($_POST['Salvar'])) {
    $_POST['cnpj'] = ajusta_cnpj($_POST['cnpj'], 1);
    $obrigatorios[1] = 'nomefantasia';
    $obrigatorios[] = 'proprietario';
    $i = $j = 0;
    foreach ($_POST as $post => $valor) {
        $i++;
        if (array_search($post, $obrigatorios) && $valor == "") {
            $j++;
            $r[$j] = '<font color="#FF0000">';
        }
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:dadosclinica_ajax.php


示例19: converte_data

    echo $row['codigo'];
    ?>
')">
               <img src="pacientes/verfoto_r.php?codigo=<?php 
    echo $row['codigo'];
    ?>
&tamanho=thumb" border="0"></a><BR>
               <font size="1"><?php 
    echo $row['legenda'];
    ?>
<br /><?php 
    echo converte_data($row['data'], 2);
    ?>
</font><br><br>
               <?php 
    echo verifica_nivel('pacientes', 'E') ? '<a href="pacientes/excluirfotos_r_ajax.php?codigo=' . $_GET['codigo'] . '&codigo_foto=' . $row['codigo'] . '&modelo=' . $_GET['modelo'] . '" onclick="return confirmLink(this)" target="iframe_upload">' . $LANG['patients']['delete_radiograph'] . '</a>' : '';
    ?>
              </td>
<?php 
    $i++;
}
?>
           </tr>
        </table> 
        <br />
        </fieldset>
        <br />
        <iframe name="iframe_upload" width="1" height="1" frameborder="0" scrolling="No"></iframe>
          <form id="form2" name="form2" method="POST" action="pacientes/incluirfotos_r_ajax.php?codigo=<?php 
echo $_GET['codigo'];
?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:radio_ajax.php


示例20: Ajusta_Data

      	        <option value="compensacao"><?php 
echo $LANG['check_control']['compensation_date'];
?>
</option>
      	      </select>
      	    </td>
      	    <td>
      	      <br>
      	      <input name="procurar" id="procurar" type="text" class="forms" size="20" maxlength="40" onkeyup="javascript:Ajax('cheques_dent/pesquisa', 'pesquisa', 'pesquisa='%2Bthis.value%2B'&campo='%2BgetElementById('campo').options[getElementById('campo').selectedIndex].value)" onKeypress="if(document.getElementById('campo').selectedIndex==3) {return Ajusta_Data(this, event);}"
                onclick="if(document.getElementById('campo').selectedIndex==3) {abreCalendario(this);}">
      	    </td>
      	  </tr>
      	</table>
      </td>
      <td width="23%" align="right" valign="bottom"><?php 
echo verifica_nivel('cheques', 'I') ? '<img src="imagens/icones/novo.gif" alt="" width="19" height="22" border="0"><a href="javascript:Ajax(\'cheques_dent/incluir\', \'conteudo\', \'codigo_dentista=' . $_SESSION[codigo] . '\')">' . $LANG['check_control']['include_new_check'] . '</a>' : '';
?>
</td>
      <td width="2%" valign="bottom">&nbsp;</td>
      <td width="2%" valign="bottom">&nbsp;</td>
    </tr>
  </table>
<div class="conteudo" id="table dados"><br>
  <table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="tabela_titulo">
    <tr>
      <td colspan="7" bgcolor="#009BE6">&nbsp;</td>
    </tr>
    <tr>
      <td width="123" height="23" align="left"><?php 
echo $LANG['check_control']['holder'];
?>
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:31,代码来源:gerenciar_ajax.php



注:本文中的verifica_nivel函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP verifica_permissao函数代码示例发布时间:2022-05-23
下一篇:
PHP verificaUsuario函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap