\ No newline at end of file
diff --git a/app/aluno/includes/topoMobile.php b/app/aluno/includes/topoMobile.php
deleted file mode 100644
index eeadbc1..0000000
--- a/app/aluno/includes/topoMobile.php
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
diff --git a/app/aluno/lista_cursos.php b/app/aluno/lista_cursos.php
index ea68c9a..ef77a1e 100644
--- a/app/aluno/lista_cursos.php
+++ b/app/aluno/lista_cursos.php
@@ -1,97 +1,108 @@
-= \'%s\' AND
- a.ref_curso = e.id AND
- a.ref_periodo = d.id AND
- a.ref_disciplina = c.id AND
- a.ref_pessoa = b.id AND
- a.ref_pessoa = %s AND
- f.dt_desativacao is null AND
- f.id = a.ref_contrato
-;';
-
-$aluno = $aluno_id;
-$data = date("01/01/2006");
-
-$arr_curso = array();
-$arr_curso = $conn->get_all(sprintf($sql_curso,$aluno, $data, $aluno));
-
-$sql_aluno = "
-SELECT
- p.nome, cod_cpf_cgc, rua, complemento, bairro, p.cep,
- c.nome || ' - ' || ref_estado AS cidade,
- fone_particular, fone_profissional, fone_celular,
- fone_recado, email, dt_nascimento
-FROM pessoas p LEFT OUTER JOIN cidade c ON (p.ref_cidade = c.id)
-WHERE
- p.id = $aluno;";
-
-$dados_aluno = $conn->get_all($sql_aluno);
-$arr_aluno = $dados_aluno['0'];
-
-$curso = '';
-?>
-
Minhas informações
-
Nome:
-=$arr_aluno['nome']?>
-
-
-
Data de nascimento:
-=date::convert_date($arr_aluno['dt_nascimento'])?>
-
-
E-mail:
-=$arr_aluno['email']?>
-
-
-
Meus cursos
-
-
- Você não possue vÃnculo em nenhum curso ou disciplina
- ';
-
- for($i = 0; $i < count($arr_curso) ; $i++) {
- echo '';
- echo 'Prontuário: '. $arr_curso[$i]['prontuario'] .' ';
- echo $arr_curso[$i]['descricao_curso'].' | '.$arr_curso[$i]["descricao"].'';
-
- if ($arr_curso[$i]["ref_curso"] == $arr_curso[$i + 1]["ref_curso"] ) {
- echo ' | '.$arr_curso[$i + 1]["descricao"].' | ';
- echo '
|
';
- $i++;
- }
- else {
- echo ' |
';
- }
- }
- ?>
-
-
+= \'%s\' AND
+ a.ref_curso = e.id AND
+ a.ref_periodo = d.id AND
+ a.ref_disciplina = c.id AND
+ a.ref_pessoa = b.id AND
+ a.ref_pessoa = %s AND
+ f.dt_desativacao is null AND
+ f.id = a.ref_contrato
+;';
+
+
+$aluno = $aluno_id;
+$data = date("01/01/2006");
+
+$arr_curso = array();
+$arr_curso = $conn->get_all(sprintf($sql_curso,$aluno, $data, $aluno));
+
+$sql_aluno = "
+SELECT
+ p.nome, cod_cpf_cgc, rua, complemento, bairro, p.cep,
+ c.nome || ' - ' || ref_estado AS cidade,
+ fone_particular, fone_profissional, fone_celular,
+ fone_recado, email, dt_nascimento
+FROM pessoas p LEFT OUTER JOIN cidade c ON (p.ref_cidade = c.id)
+WHERE
+ p.id = $aluno;";
+
+$dados_aluno = $conn->get_all($sql_aluno);
+$arr_aluno = $dados_aluno['0'];
+
+$curso = '';
+?>
+
Minhas informações
+
Nome:
+=$arr_aluno['nome']?>
+
+
+
Data de nascimento:
+=date::convert_date($arr_aluno['dt_nascimento'])?>
+
+
E-mail:
+=$arr_aluno['email']?>
+
+
+
Meus cursos
+
+
+ Você não possue vÃnculo em nenhum curso ou disciplina
+ ';
+
+ for($i = 0; $i < count($arr_curso) ; $i++) {
+ echo '';
+ echo 'Prontuário: '. $arr_curso[$i]['prontuario'] .' ';
+ $prontuario = $arr_curso[$i]['prontuario'];
+ echo $arr_curso[$i]['descricao_curso'].' | '.$arr_curso[$i]["descricao"].'';
+
+ if ($arr_curso[$i]["ref_curso"] == $arr_curso[$i + 1]["ref_curso"] ) {
+ echo ' | '.$arr_curso[$i + 1]["descricao"].' | ';
+ echo '
|
';
+ $i++;
+ }
+ else {
+ echo ' |
';
+ }
+ }
+$rs_pessoa = $conn->get_one("SELECT ref_pessoa FROM contratos where prontuario='1201522'");
+ ?>
+
+
+
\ No newline at end of file
diff --git a/app/aluno/lista_notas.php b/app/aluno/lista_notas.php
index 7e40774..d7bc14b 100644
--- a/app/aluno/lista_notas.php
+++ b/app/aluno/lista_notas.php
@@ -6,6 +6,7 @@
$aluno = $aluno_id;
$periodo = $_GET["p"];
$curso = $_GET["c"];
+
$rs_pessoa = $conn->get_one("SELECT nome FROM pessoas WHERE id = $aluno");
$rs_curso = $conn->get_one("SELECT descricao FROM cursos WHERE id = $curso");
$rs_periodo = $conn->get_one("SELECT descricao FROM periodos WHERE id = '$periodo'");
diff --git a/app/aluno/mobile/index.php b/app/aluno/mobile/index.php
index 18853af..c2aa551 100644
--- a/app/aluno/mobile/index.php
+++ b/app/aluno/mobile/index.php
@@ -44,6 +44,18 @@
margin: 10px 5px 10px 5px;
}
+
diff --git a/app/aluno/stylesheets/base.css b/app/aluno/stylesheets/base.css
new file mode 100644
index 0000000..8fb8645
--- /dev/null
+++ b/app/aluno/stylesheets/base.css
@@ -0,0 +1,366 @@
+/*
+ title: base css
+*/
+
+
+/* =global elements
+--------------------------------------------- */
+body {
+ color: #999;
+ font: 14px/1.5em "Lucida Grande", Arial, sans-serif;
+ -webkit-font-smoothing: antialiased;
+ width: 720px;
+ margin: 20px;
+}
+
+a:link, a:visited {
+ color: #3b5998;
+ font-weight: bold;
+ text-decoration: none;
+}
+
+a:hover, a:active {
+ text-decoration: underline;
+}
+
+h1 {
+ color: #656565;
+ font-family: "Helvetica Neue", Arial, sans-serif;
+ font-size: 18px;
+ font-weight: normal;
+}
+
+/* ------------------------------------------ */
+
+/* =header
+--------------------------------------------- */
+header {
+ border-left: 1px solid #b3b3b3;
+ border-right: 1px solid #b3b3b3;
+ border-top: 1px solid #b3b3b3;
+ font-size: 11px;
+ padding: 24px 18px;
+}
+
+header h1 {
+ border-bottom: 2px solid #e9e9e9;
+ margin: 0 0 9px;
+ padding: 2px 0 8px;
+}
+
+header #picture + div {
+ margin-left: 82px;
+}
+
+header #picture {
+ background-position: center 25%;
+ background-repeat: no-repeat;
+ background-size: 64px;
+ float: left;
+ margin-right: 18px;
+ width: 64px;
+ height: 64px;
+ overflow: hidden;
+}
+
+header .tagline {
+ float: left;
+}
+
+#share-app {
+ float: right;
+ width: 344px;
+}
+
+#share-app ul {
+ float: right;
+}
+
+#share-app p {
+ float: left;
+ margin-left: 8px;
+}
+
+#share-app li {
+ float: left;
+ list-style: none;
+ margin-left: 8px;
+}
+/* ------------------------------------------ */
+
+/* =buttons
+--------------------------------------------- */
+.facebook-button:link, .facebook-button:visited {
+ background-color: #eee;
+ border: 1px solid #a9a9a9;
+ box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
+ color: #4f4f4f;
+ display: inline-block;
+ font-family: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 20px;
+ margin: 0;
+ outline: none;
+ text-decoration: none;
+ background-image: linear-gradient(top, #fdfdfd, #eaebeb);
+}
+
+.facebook-button span {
+ background: url("../images/sprites.png") no-repeat;
+ padding: 0 7px 0 21px;
+}
+
+.facebook-button .speech-bubble {
+ background-position: 6px 3px;
+}
+
+.facebook-button .plus {
+ background-position: 6px -17px;
+}
+
+.facebook-button .apprequests {
+ background-position: 6px -37px;
+}
+
+.button:link, .button:visited {
+ border-style: none;
+ border-color: inherit;
+ border-width: medium;
+ background-color: #7a90c0;
+ -moz-border-radius: 30px;
+ -webkit-border-radius: 30px;
+ border-radius: 30px;
+ color: #1d222c;
+ display: inline-block;
+ line-height: 32px;
+ padding: 0 25px;
+ text-decoration: none;
+ background-image: linear-gradient(top, #97afe2, #6073a1);
+ font-style: normal;
+ font-variant: normal;
+ font-weight: bold;
+ font-size: 14px;
+ font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
+}
+/* ------------------------------------------ */
+
+/* =get started
+--------------------------------------------- */
+#get-started {
+ background: url("../images/get-started-bg.jpg");
+ border: 1px solid #353d4f;
+ height: 105px;
+ text-align: center;
+ text-shadow: 0 1px 0 rgba(0, 0, 0, .29);
+ padding: 32px 0 0;
+}
+
+#get-started p {
+ color: #fff;
+ font-family: "CorbelRegular";
+ font-size: 24px;
+ height: 23px;
+ margin-bottom: 24px;
+}
+
+#get-started p span {
+ font-family: "HybreaRegular";
+ font-size: 22px;
+}
+/* ------------------------------------------ */
+
+/* =guides/samples spacing
+--------------------------------------------- */
+#guides h1,
+#samples h1 {
+ margin-bottom: 15px;
+ text-align: center;
+}
+
+#guides, #samples {
+ padding: 20px 5px 20px 10px;
+}
+
+#guides ul li,
+#samples .list {
+ float: left;
+ margin-right: 3px;
+ width: 260px;
+}
+
+#guides ul li p,
+#samples ul {
+ padding: 0 4px;
+}
+/* ------------------------------------------ */
+
+/* =guides
+--------------------------------------------- */
+#guides {
+ border-bottom: 1px solid #b3b3b3;
+ border-left: 1px solid #b3b3b3;
+ border-right: 1px solid #b3b3b3;
+}
+
+#guides ul li {
+ font-size: 11px;
+ list-style: none;
+}
+
+#guides ul li p {
+ -moz-hyphens: auto;
+ -webkit-hyphens: auto;
+ line-height: 20px;
+ text-align: justify;
+}
+
+#guides ul li a.icon {
+ background: url("../images/sprites.png") no-repeat;
+ display: block;
+ font-family: "Helvetica Neue", Arial, sans-serif;
+ font-size: 14px;
+ margin-bottom: 10px;
+ padding-top: 124px;
+ text-align: center;
+}
+
+#guides ul li a.websites {
+ background-position: 35px -87px;
+}
+
+#guides ul li a.mobile-apps {
+ background-position: 35px -231px;
+}
+
+#guides ul li a.apps-on-facebook {
+ background-position: 35px -375px;
+}
+
+#guides ul li a.heroku {
+ background-position: 35px -519px;
+}
+/* ------------------------------------------ */
+
+/* =samples
+--------------------------------------------- */
+#samples {
+ background-image: url("../images/samples-bg.png");
+ border-bottom: 1px solid #dadada;
+ border-left: 1px solid #b3b3b3;
+ border-right: 1px solid #b3b3b3;
+ border-top: 1px solid #fff;
+}
+
+#samples h3 {
+ background: url("../images/header-sketch.png") no-repeat;
+ color: #646464;
+ font-weight: bold;
+ font-size: 11px;
+ line-height: 29px;
+ text-align: center;
+}
+
+#samples ul {
+ background: url("../images/picture-sketch.png") 4px 8px;
+ background-repeat: repeat-y;
+ padding-top: 8px;
+}
+
+#samples li {
+ background-repeat: no-repeat;
+ background-position: 0 0;
+ color: #7c7c7c;
+ display: block;
+ font-size: 11px;
+ font-weight: bold;
+ height: 32px;
+ margin-bottom: 11px;
+ overflow: hidden;
+ position: relative;
+}
+
+#samples li a:link,
+#samples li a:visited {
+ color: #7c7c7c;
+ display: block;
+ line-height: 32px;
+ padding-left: 36px;
+}
+
+#samples .list img {
+ height: auto;
+ left: 0;
+ position: absolute;
+ top: 0;
+ width: 32px;
+}
+
+#samples .inline ul {
+ background-repeat: repeat;
+}
+
+#samples .inline li {
+ float: left;
+ margin-left: 12px;
+ overflow: hidden;
+ padding: 0;
+ width: 32px;
+ background-position: center 25%;
+ background-repeat: no-repeat;
+ -moz-background-size: cover;
+ background-size: cover;
+}
+
+#samples .inline li.first-column {
+ margin-left: 0;
+}
+
+#samples .inline li a:link,
+#samples .inline li a:visited {
+ display: block;
+ width: 32px;
+ height: 32px;
+ overflow: hidden;
+ text-indent: -9999px;
+}
+
+
+/* ------------------------------------------ */
+
+/* =clearfix
+--------------------------------------------- */
+.clearfix:after {
+ clear: both;
+ content: ".";
+ display: block;
+ font-size: 0;
+ height: 0;
+ line-height: 0;
+ visibility: hidden;
+}
+
+.clearfix {
+ zoom: 1;
+}
+
+#alert_login{
+ font-family:verdana,arial;
+ font-size:14;
+ font-weight:bold;
+ color: red;
+ position:absolute;
+ top: 50%;
+ left: 50%;
+ margin-left:-170px;
+ margin-top:-120px;
+ width:300px;
+ height:180px;
+ z-index:1;
+ background-color:#FFF6D5;
+ padding: 4px;
+ border: 4px solid orange;
+}
+#alert_login a{
+ text-align:right;
+}
\ No newline at end of file
diff --git a/app/aluno/stylesheets/mobile.css b/app/aluno/stylesheets/mobile.css
new file mode 100644
index 0000000..cf41e8c
--- /dev/null
+++ b/app/aluno/stylesheets/mobile.css
@@ -0,0 +1,19 @@
+body {
+ margin: 10px;
+ width: auto;
+}
+
+#guides ul li,
+#samples .list {
+ float: none;
+ margin: 0 auto 10px;
+ width: 172px;
+}
+
+#share-app li {
+ margin: 0 8px 4px 0;
+}
+
+#share-app {
+ width: auto;
+}
diff --git a/app/aluno/stylesheets/reset.css b/app/aluno/stylesheets/reset.css
new file mode 100644
index 0000000..e004534
--- /dev/null
+++ b/app/aluno/stylesheets/reset.css
@@ -0,0 +1,53 @@
+/*
+ title: reset css
+*/
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, embed,
+figure, figcaption, footer, header, hgroup,
+menu, nav, output, ruby, section, summary,
+time, mark, audio, video {
+ border: 0;
+ margin: 0;
+ padding: 0;
+ font: inherit;
+ font-size: 100%;
+ vertical-align: baseline;
+}
+
+/* HTML5 display-role reset for older browsers */
+
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section {
+ display: block;
+}
+
+body {
+ line-height: 1;
+}
+
+ol, ul {
+ list-style: none;
+}
+
+blockquote, q {
+ quotes: none;
+}
+
+blockquote:before, blockquote:after, q:before, q:after {
+ content: '';
+ content: none;
+}
+
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
diff --git a/app/aluno/stylesheets/screen.css b/app/aluno/stylesheets/screen.css
new file mode 100644
index 0000000..6652323
--- /dev/null
+++ b/app/aluno/stylesheets/screen.css
@@ -0,0 +1,3 @@
+@import url("https://statics.herokuapp.com/fonts/fonts.css");
+@import url("reset.css");
+@import url("base.css");