Example #1
0
<?php

include "../funciones/login.php";
$arg = '';
$arg = $_GET['id'];
$libro = GetJson('http://localhost/circulo/demo/controller/bibliotecaController.php?libc=', $arg, "");
// $row[0]->img    GRUPO JSON
if (isset($libro[0]->catalogo)) {
    $categoria = $libro[0]->catalogo;
} else {
    $categoria = 'Sin libros aun';
}
?>
<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Biblioteca Virtual Instituto Tecnologico de Mexicali | <?php 
echo $categoria;
?>
</title>

    <!-- Bootstrap Core CSS -->
    <link href="css/font/css/font-awesome.css" rel="stylesheet" media="screen">  
Example #2
0
$arg = "";
if (isset($_GET['g'])) {
    $arg = $_GET['g'];
}
$url = '';
$row = GetJson('http://localhost/circulo/demo/controller/grupoController.php?g=', $arg, "");
// $row[0]->img    GRUPO JSON
$tarea = GetJson('http://localhost/circulo/demo/controller/grupoController.php?tareas=', $arg, "");
// $row[0]->img    GRUPO JSON
$tema = GetJson('http://localhost/circulo/demo/controller/grupoController.php?temas=', $arg, "");
// $row[0]->img    GRUPO JSON
$encuesta = GetJson('http://localhost/circulo/demo/controller/grupoController.php?encuesta=', $arg, "");
// $row[0]->img    GRUPO JSON
if (isset($_SESSION['k_se'])) {
    $sessionk = $_SESSION['k_se'];
    $us = GetJson('http://localhost/circulo/demo/controller/usuarioController.php?usuario=', $_SESSION['k_se'], "");
    // $row[0]->img
    $validar = usuarioInGrupo($us[0]->id, $_GET['g']);
} else {
    $validar = 3;
}
$lmiteUsuarios = $row[0]->limite;
if ($row[0]->img == '') {
    $imagen = "img/cover.png";
} else {
    $imagen = "up/" . $row[0]->img;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
Example #3
0
 <?php 
include "../funciones/login.php";
session_start();
if (isset($_SESSION['k_se'])) {
    $arg = "";
    $arg = $_GET['id'];
    $pre = GetJson('http://localhost/circulo/demo/controller/grupoController.php?preguntas=', $arg, "");
    // $pre[0]->"idg   GRUPO JSON
    ?>
 <!DOCTYPE html>
<html>

<head>

  <meta charset="UTF-8">

  <!--
Copyright (c) 2015 by Jon (http://codepen.io/KempfCreative/pen/FtwGm)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->

  <title>CodePen - Art Quiz</title>

  <link rel="stylesheet" href="/assets/reset/normalize.css">
<script src='css/e/angular.min.js'></script>
  <!-- ANGULAR JS -->