Exemple #1
0
<?php

use Fototea\Models\User;
use Fototea\Models\Project;
use Fototea\Models\Project_View;
$session = validaSession();
$userType = securityValidation($_COOKIE['id']);
if ($session != true) {
    $app->redirect($app->getConfig()->getUrl('home'));
    return;
} else {
    if ($userType != User::USER_TYPE_PHOTOGRAPHER) {
        $app->redirect($app->getConfig()->getUrl('perfil'));
        return;
    }
}
$currentUser = getCurrentUser();
$projectsReceivable = Project_View::loadProjectsReceivableByUser($currentUser->id);
$total = 0;
?>

<div class="content-container">
    <div class="content" id="cuentaContainer">
        <h2>Proyectos por Cobrar</h2>
        <div class="list-container">
            <div class="list-header">
                <h3 class="col-xs-2">Fecha</h3>
                <h3 class="col-xs-6">Descripci&oacute;n del proyecto</h3>
                <h3 class="col-xs-2">Publicado por</h3>
                <h3 class="col-xs-2 text-center">Monto</h3>
            </div>
Exemple #2
0
<?php include("connect/database.php"); 
validaSession();
securityValidation($_COOKIE['id'],"10");

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pagos realizados</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<!--[if IE 9]>
    <link rel="stylesheet" media="screen" href="css/ie9.css"/>
<![endif]-->

<!--[if IE 8]>
    <link rel="stylesheet" media="screen" href="css/ie8.css"/>
<![endif]-->

<!--[if IE 7]>
    <link rel="stylesheet" media="screen" href="css/ie7.css"/>
<![endif]-->
<script type="text/javascript" src="js/plugins/jquery-1.7.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery.flot.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery.flot.resize.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="js/custom/general.js"></script>
<script type="text/javascript" src="js/custom/tables.js"></script>
<script type="text/javascript" src="js/custom/dashboard.js"></script>