当前位置: 首页>>代码示例>>PHP>>正文


PHP titulo函数代码示例

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


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

示例1: titulo

<?php

include "topo.php";
include "barra.php";
titulo("LCAD - Adicionar Publicações");
if (!$_SESSION['logado'] || $_SESSION['nivel'] > 2) {
    //header('Location: /inicio');
}
$db = atalhos::getBanco();
$_SESSION['irPara'] = '/inicio';
if ($query = $db->prepare("SELECT idReuniao, dataReuniao, tituloReuniao, resumoReuniao, participantes FROM tbReunioes")) {
    $query->execute();
    $query->bind_result($id, $data, $titulo, $resumo, $participantes);
    $query->store_result();
}
?>
	<div class="content-wrapper">
      
    <section class="content-header">
        <h1> Adicionar Publicação </h1>
    </section>

    <!-- Main content -->
    <section class="content">
    	<!-- Default box para novas reuniões-->
        <div class="box" id="box">
            <form action="post.php" method="post" id="formulario" autocomplete="off" name="formulario" class="formulario">
        		<input type="password" style="display:none">
				<input type="hidden" id="numPost" name="numPost" value="16"><!-- Número correspodente ao post -->				
				<div class="box-header">
					
开发者ID:arturxz,项目名称:submitter,代码行数:30,代码来源:publi-add.php

示例2: titulo

<?php

include 'topo.php';
include 'barra.php';
titulo("LCAD - Comitê Gestor");
$db = Atalhos::getBanco();
if ($query = $db->prepare("SELECT a.idUser, a.nome, a.email, a.nivel, b.siglaNucleo FROM tbUsuario a INNER JOIN tbNucleo b ON a.idNucleo = b.idNucleo WHERE a.nivel > 0 AND a.nivel < 3 ORDER BY nivel ASC")) {
    $query->execute();
    $query->bind_result($idUser, $nome, $email, $nivel, $nucleo);
}
?>
<!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

        <!-- Main content -->
        <section class="content">
	      <div class="box box-solid">
	        <div class="box-header with-border">
	          <i class="glyphicon glyphicon-education"></i>
	          <h3 class="box-title">Comitê Gestor</h3>
	        </div><!-- /.box-header -->
	        <!--<div class="box-body">
	          <p class="text-muted"> Texto </p>
	        </div>--><!-- /.box-body -->
	      </div><!-- /.box -->

          <div class="row">

          <?php 
while ($query->fetch()) {
    switch ($nivel) {
开发者ID:arturxz,项目名称:submitter,代码行数:31,代码来源:comite.php

示例3: titulo

<?php

include 'topo.php';
include 'barra.php';
titulo("LCAD - Pesquisadores");
$db = Atalhos::getBanco();
$_SESSION['irPara'] = '/inicio';
if ($query = $db->prepare("SELECT a.nome, a.matricula, a.email, a.nivel, b.siglaNucleo FROM tbUsuario a INNER JOIN tbNucleo b ON a.idNucleo = b.idNucleo WHERE a.nivel > 0 AND a.statusUser = 'Ativo'")) {
    $query->execute();
    $query->bind_result($nome, $matricula, $email, $nivel, $nucleo);
    $query->store_result();
}
?>

<div class="content-wrapper">
      
    <section class="content-header">
        <h1> Pesquisadores </h1>
    </section>

    <!-- Main content -->
    <section class="content">      

        <!--Default Box para edição de reuniões-->
        <div class="box-body table-responsive no-padding">

                <div class="box">

                    <div class="box-body">

                        <table class="table table-hover">
开发者ID:arturxz,项目名称:submitter,代码行数:31,代码来源:pesquisadores.php

示例4: header

    <?php 
include 'topo.php';
if (!$_SESSION['logado']) {
    header('Location: /inicio');
}
include 'barra.php';
titulo("LCAD - Painel");
?>
    <style type="text/css">
      /* FROM HTTP://WWW.GETBOOTSTRAP.COM
        * Glyphicons
        *
        * Special styles for displaying the icons and their classes in the docs.
        */
      .bs-glyphicons {
        padding-left: 0;
        padding-bottom: 1px;
        margin-bottom: 20px;
        list-style: none;
        overflow: hidden;
      }
      .bs-glyphicons li {
        float: left;
        width: 25%;
        height: 115px;
        padding: 10px;
        margin: 0 -1px -1px 0;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        border: 1px solid #ddd;
开发者ID:arturxz,项目名称:submitter,代码行数:31,代码来源:painel.php

示例5: header

<?php

include 'topo.php';
if ($_SESSION['logado']) {
    header('Location: /inicio');
}
include 'barra.php';
titulo("LCAD - Recuperação de Senha");
?>
      	<!-- Full Width Column -->
      	<div class="content-wrapper">
	        <div class="container">
	          <!-- Content Header (Page header) -->
				<!-- Main content -->
				<section class="content">
			     <div class="box box-solid">
			      <div class="box-header with-border">
			        <i class="glyphicon glyphicon-user"></i>
			        <h3 class="box-title">Recuperação de Senha</h3>
			      </div><!-- /.box-header -->
			      <!--<div class="box-body">
			        <p class="text-muted"> Texto </p>
			      </div>--><!-- /.box-body -->
			    </div><!-- /.box -->
					<?php 
if (isset($_SESSION['errorRedefinir'])) {
    ?>
			            <div class="callout callout-danger">
			              <h4>Email incorreto!</h4>
			            </div>
					<?php 
开发者ID:arturxz,项目名称:submitter,代码行数:31,代码来源:esqueci.php

示例6: titulo

<?php

include 'topo.php';
include 'barra.php';
titulo("LCAD - Adicionar Reuniões");
if (!$_SESSION['logado'] || $_SESSION['nivel'] > 2) {
    header('Location: /inicio');
}
$db = Atalhos::getBanco();
$_SESSION['irPara'] = '/inicio';
if ($query = $db->prepare("SELECT idReuniao, dataReuniao, tituloReuniao, resumoReuniao, participantes FROM tbReunioes")) {
    $query->execute();
    $query->bind_result($id, $data, $titulo, $resumo, $participantes);
    $query->store_result();
}
?>

<div class="content-wrapper">
      
    <section class="content-header">
        <h1> Adicionar Reuniões </h1>
    </section>

    <!-- Main content -->
    <section class="content">
    	<!-- Default box para novas reuniões-->
        <div class="box" id="box">
            <form action="post.php" method="post" id="formulario" autocomplete="off" name="formulario" class="formulario">
                <div class="box-body">
                    <input type="password" style="display:none">
                    <input type="hidden" id="numPost" name="numPost" value="12"><!-- Número correspodente ao post -->
开发者ID:arturxz,项目名称:submitter,代码行数:31,代码来源:reuniao-add.php

示例7: titulo

<?php

include 'topo.php';
titulo("LCAD - Moderar Cadastro");
if (!$_SESSION['logado'] || $_SESSION['nivel'] > 2) {
    header('Location: /inicio');
}
include 'barra.php';
$db = Atalhos::getBanco();
$_SESSION['irPara'] = '/gerenciar/cadastro';
?>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
  <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        Moderar Cadastro
      </h1>
    </section>

    <section class="content">
      <?php 
if (isset($_SESSION['erroCadastro'])) {
    if ($_SESSION['erroCadastro'] == 1) {
        ?>
          <div class="callout callout-danger">
            <h4>Cadastro não Aprovado</h4>
            <p>Este cadastro não pode ser aprovado.</p>
          </div>
      <?php 
    }
开发者ID:arturxz,项目名称:submitter,代码行数:31,代码来源:moderar-cad.php

示例8: titulo

<?php

include 'topo.php';
titulo("LCAD - Meus Projetos");
if (!$_SESSION['logado']) {
    header('Location: /inicio');
}
include 'barra.php';
$db = Atalhos::getBanco();
$_SESSION['irPara'] = '/gerenciar/cadastro';
if ($_SESSION['nivel'] != 4) {
    if ($query = $db->prepare("SELECT a.idUser, a.nome, a.matricula, a.email, a.idNucleo, b.idReq, b.tituloReq, b.resumoReq, b.parecerReq, b.statusReq FROM tbRequerimento b INNER JOIN tbUsuario a on a.idUser = b.idUser WHERE a.idUser = ? ORDER BY b.statusReq ASC")) {
        $query->bind_param('s', $_SESSION['id']);
        $query->execute();
        $query->bind_result($idUser, $nome, $codSiape, $email, $idNucleo, $idReq, $tituloReq, $resumoReq, $parecerReq, $statusReq);
        $query->store_result();
        $total = $query->num_rows();
    }
} else {
    if ($query = $db->prepare("SELECT a.idUser, a.nome, a.matricula, a.email, a.idNucleo, b.idReq, b.tituloReq, b.resumoReq, b.parecerReq,  b.statusReq FROM tbAlunoVinc c INNER JOIN tbUsuario d on d.idUser = c.idAluno INNER JOIN tbRequerimento b on b.idReq = c.idReq INNER JOIN tbUsuario a on a.idUser = b.idUser WHERE d.idUser = ? ORDER BY b.statusReq ASC")) {
        $query->bind_param('s', $_SESSION['id']);
        $query->execute();
        $query->bind_result($idUser, $nome, $codSiape, $email, $idNucleo, $idReq, $tituloReq, $resumoReq, $parecerReq, $statusReq);
        $query->store_result();
        $total = $query->num_rows();
    }
}
?>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
  <!-- Content Header (Page header) -->
开发者ID:arturxz,项目名称:submitter,代码行数:31,代码来源:meus-req.php

示例9: titulo

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php 
echo titulo();
?>
</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.5 -->
    <link rel="stylesheet" href="<?php 
echo base_url() . "bootstrap/css/bootstrap.min.css";
?>
">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="<?php 
echo base_url() . "dist/css/AdminLTE.min.css";
?>
">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="<?php 
echo base_url() . "dist/css/skins/_all-skins.min.css";
?>
">
开发者ID:Nemo1710,项目名称:Docs,代码行数:31,代码来源:header.php

示例10: TemplateInterfaz

$p = new TemplateInterfaz();
$menu = new menus();
$smarty = new Smarty();
$archivo = $sigla . "_" . $id_grupo;
$p->CabeceraGeneralInt('U.A.T.F.>DOCENTE', $menu->menu_docentes_internas(), $nombrec, $gestion);
//-----------------------------------------------------------------------------------------------------------------
//------------------------------------------------- Datos ---------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------
$obj = new docentes($db);
$cad = "";
$obj->getListadosXMateria($id_materia, $id_grupo, $id_gestion, $id_periodo);
if ($obj->tuplas) {
    encabezado($programa, $sigla, $materia, $id_grupo, $id_periodo, $id_gestion);
    echo "<table class='table' >\r\n\t  <tr>\r\n\t\t<td align='right'>\r\n\t\t\t\t<!--\r\n\t\t\t\t<input class='btn btn-primary btn-sm' name='word'  value='Documento Electronico' type='submit'>\r\n\t\t\t\t-->\r\n\t\t\t\t<a href='rpt.php?id={$id_dct_asignaciones}' style='Color:#FFFFFF' class='btn btn-danger btn-sm' target='_blank'>Documento Electronico [Lista] [PDF]</a>\t\t\t\r\n\t\t\t&nbsp;\r\n\t\t\t\t<!--\r\n\t\t \t\t<input class='btn btn-success btn-sm' name='excel' value='Hoja Electronica' type='submit'>\r\n\t\t\t\t-->\r\n\t\t\t\t<a href='excel.php?id={$id_dct_asignaciones}' style='Color:#FFFFFF' class='btn btn-success btn-sm' target='_blank'>Documento Electronico [Detallado] [EXCEL]</a>\r\n\t\t</td>\r\n\t  </tr>\r\n\t</table>";
    echo "<div class='table-responsive'>";
    titulo($nomina, $parciales, $practicas, $laboratorio, $final, $nota2da);
    $i = 1;
    foreach ($obj->tuplas as $row) {
        $nro_dip = $row["nro_dip"];
        $nombresAlumno = trim($row["paterno"] . " " . $row["materno"] . ", " . $row["nombres"]);
        $pparcial = $row["pparcial"];
        $sparcial = $row["sparcial"];
        $tparcial = $row["tparcial"];
        //$cparcial       = $row["cparcial"];
        $promparcial = $row["promparcial"];
        $pract = $row["pract"];
        $prompract = $row["prompract"];
        $lab = $row["lab"];
        $promlab = $row["promlab"];
        //$notapres       = $row["notapres"];
        $exfinal = $row["exfinal"];
开发者ID:allin-wichariy,项目名称:dct,代码行数:31,代码来源:listados2.php

示例11: switch

 $tipo_respuesta = $tipos[$i];
 /*print "<br><br><br>";  
   print "PREGUNTA  INICIO<br><br>";
   print $id_pregunta."<br>";
   print $enunciado."<br>";
   print $tipo_respuesta."<br>";*/
 /*Llamando a la funcion constructora dependiendo del tipo de respuesta*/
 switch ($tipo_respuesta) {
     case 'FOTO':
         foto($id_pregunta, $modo);
         break;
     case 'DIBUJO':
         dibujo($id_pregunta, $modo);
         break;
     case 'TITULO':
         titulo($id_pregunta, $enunciado, $modo);
         break;
     case 'TEXTO':
         texto($id_pregunta, $enunciado, $modo);
         break;
     case 'AREA':
         area($id_pregunta, $enunciado, $modo);
         break;
     case 'MULTIPLE':
         /*Seleccionamos las alternativas de la seleccion multiple*/
         $statement = $conn->prepare("SELECT IdPregunta, ValorAlternativa, Tipo FROM SeleccionMultiple WHERE IdPregunta =:id");
         $statement->bindParam(':id', $id_pregunta);
         $statement->execute();
         /*Arreglo para guardar las opciones*/
         $opciones = array();
         while ($row = $statement->fetch()) {
开发者ID:reisig,项目名称:proyecto_aplicaciones,代码行数:31,代码来源:guia.php

示例12: titulo

<?php

include 'topo.php';
titulo("LCAD - Moderar Comitê");
if (!$_SESSION['logado'] || $_SESSION['nivel'] > 1) {
    header('Location: /inicio');
}
include 'barra.php';
$db = Atalhos::getBanco();
$_SESSION['irPara'] = '/gerenciar/colegiado';
if ($query = $db->prepare("SELECT idUser, nome, matricula, email, statusUser, idNucleo, nivel FROM tbUsuario WHERE statusUser = 'Ativo' AND nivel <= 3 ORDER BY nivel ASC")) {
    $query->execute();
    $query->bind_result($idUser, $nome, $codSiape, $email, $statusUser, $idNucleo, $nivel);
    $query->store_result();
    $total = $query->num_rows();
}
?>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
  <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        Moderar Comitê
      </h1>
    </section>

    <section class="content">
      <?php 
if (isset($_SESSION['avisoAlteracao'])) {
    if ($_SESSION['avisoAlteracao'] == 1) {
        ?>
开发者ID:arturxz,项目名称:submitter,代码行数:31,代码来源:moderar-col.php

示例13: titulo

<?php

echo titulo('Todos as Subs Categorias', $tamanho = "9");
?>

<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
    <div class="pull-right">
        <?php 
echo anchor('categorias_sub/formulario', 'Nova Sub Categoria', array('class' => 'btn btn-primary small'));
?>
    </div>
</div>


<div class="col-md-12">	
    <table class="table table-condensed"> 
        <thead>
            <tr>
                <th>Categoria</th>
                <th>Sub_categoria</th>
                <th>Ação</th>
            </tr>
        </thead>
        <tbody>
            <?php 
foreach ($dados['resultados'] as $key => $value) {
    echo ' <tr>' . '<td>' . $value['cat'] . '</td>' . '<td>' . $value['sub_cat'] . '</td>' . '<td>' . anchor('categorias_sub/formulario/' . $value['id'], '<i class="fa fa-pencil"></i>') . ' ' . anchor('categorias_sub/t/' . $value['id'] . '/excluir/', ' <i class="fa fa-user-times"></i>') . '</td>' . '</tr>';
}
?>
           
        </tbody>
开发者ID:SystemPark,项目名称:JoaoEnews,代码行数:31,代码来源:t.php

示例14: titulo

<?php

echo titulo('Todos os Usuarios', $tamanho = "9");
?>

<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
    <div class="pull-right">
        <?php 
echo anchor('usuarios/formulario', '<i class="fa fa-user-plus"></i> Novo', array('class' => 'btn btn-primary small'));
?>
    </div>
</div>


<div class="col-md-12">	
    <table class="table table-condensed"> 
        <thead>
            <tr>
                <th>Nome</th>
                <th>Status</th>
                <th>Ação</th>
            </tr>
        </thead>
        <tbody>
            <?php 
foreach ($dados['resultados'] as $key => $value) {
    if ($value['status'] == 0) {
        $status = '<i class="fa fa-thumbs-o-down"> Inativo</i>';
    } else {
        $status = '<i class="fa fa-thumbs-o-up"> Ativo</i>';
    }
开发者ID:SystemPark,项目名称:JoaoEnews,代码行数:31,代码来源:todos.php

示例15: header

<?php

include 'topo.php';
if (!$_SESSION['logado'] || $_SESSION['nivel'] == 4) {
    header('Location: /inicio');
}
include 'barra.php';
titulo("LCAD - Minhas Publicações");
$db = Atalhos::getBanco();
$_SESSION['irPara'] = '/minhas/publicacoes';
if ($query = $db->prepare("SELECT idPubli, tituloPubli, autores, dataPubli FROM tbPublicacao WHERE idUser = ?")) {
    $query->bind_param('i', $_SESSION['id']);
    $query->execute();
    $query->bind_result($id, $titulo, $autores, $data);
    $query->store_result();
    $total = $query->num_rows();
}
?>

<div class="content-wrapper">
      
    <!-- Main content -->
    <section class="content">      
    
      <div class="box box-solid">
        <div class="box-header with-border">
          <i class="glyphicon glyphicon-file"></i>
          <h3 class="box-title">Minhas Publicações</h3>
        </div><!-- /.box-header -->
        <div class="box-body">
          <p class="text-muted">Nesta página você poderá visualizar, adicionar, editar e excluir qualquer publicação submetida por você.</p>
开发者ID:arturxz,项目名称:submitter,代码行数:31,代码来源:minhas-pub.php


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