-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnossahistoria.php
123 lines (107 loc) · 4.12 KB
/
nossahistoria.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
session_start();
include 'config.php';
include 'sessao.php';
//session_save_path($sessionpath);
if(isset($_SESSION['email'])){
if($row['ativado'] == 0){
header('Location: '.$urlHost.'/ativacao.php');
exit;
}else{
$loggedin = true;
}
}else{
//header('Location: '.$urlHost.'/login.php');
//exit;
}
if($_GET['perfil']){
$buscarperfil = $pdo->prepare("SELECT * FROM usuarios_cadastrados WHERE nomedeusuario = ?");
$buscarperfil->execute(array($_GET['perfil']));
$perfil = $buscarperfil->fetch(PDO::FETCH_ASSOC);
$ocorrenciadoperfil = $buscarperfil->rowCount();
if($ocorrenciadoperfil == 0){
header('Location: '.$urlHost.'/inicio.php');
exit;
}
}else{
header('Location: '.$urlHost.'/inicio.php');
exit;
}
?>
<!--aqui inicia o html-->
<!DOCTYPE html>
<html lang="pt-br">
<head>
<?php include "analytics.inc.php"; ?>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>-->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<link rel="stylesheet" type="text/css" href="css/index.css"/>
<link rel="stylesheet" type="text/css" href="css/tabs4.css"/>
<link rel="stylesheet" type="text/css" href="css/tabs.less"/>
<link rel="stylesheet" type="text/css" href="css/tabs.css"/>
<link rel="stylesheet" type="text/css" href="css/rdbutton.css"/>
<link rel="stylesheet" type="text/css" href="css/rdbutton2.css"/>
<link rel="stylesheet" type="text/css" href="css/rdbutton3.css"/>
<link rel="stylesheet" type="text/css" href="css/coloredcheckboxes.css"/>
<link rel="stylesheet" type="text/css" href="css/coloredcheckboxes2.css"/>
<link rel="stylesheet" type="text/css" href="css/coloredcheckboxes3.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta.2/css/bootstrap-grid.css">-->
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="scripts/html5shiv-printshiv"></script>
<![endif]-->
<title>#<?php echo $perfil['nomedeusuario']; ?> - Nossa História</title>
<?php include "controlswitch2.inc.php"; ?>
<?php include "estilo.inc.php"; ?>
<?php //include "sharebuttons.inc.php"; ?>
<?php //include "jivochat.inc.php"; ?>
<?php include "fpixels.inc.php"; ?>
</head>
<body>
<!--
<script>
fbq('track', 'CompleteRegistration');
</script>
-->
<!--
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v4.0&appId=496788987840316&autoLogAppEvents=1"></script>
-->
<div class="conteudogeral2 clearfix">
<header>
<?php include "whitetop.inc.php"; ?>
<?php include "maintop.inc.php"; ?>
</header>
<!--new div-->
<main>
<div class="conteudoprincipal2">
<div class="texthalf2">
<h2 class="titulodotexto" style="font-family: <?php echo $font; ?>; font-size: <?php echo $size; ?>; color: <?php echo $titlecolor; ?>;">Nossa História</h2>
<p class="estilotexto" style="text-align: left; font-size: 80%; font-family: <?php echo $font1; ?>; color: <?php echo $textcolor; ?>;"><?php echo $perfil['nossahistoria']; ?></p>
<br/><br/>
<center><span style="text-align: center; font-family: 'Heartfelt'; font-size: 220%; color: rgba(<?php echo $rgbcolor1; ?>,1);">j</span></center>
</div>
<div class="photohalf2">
</div>
</div>
</main>
</div>
<?php include "menuativo2.inc.php"; ?>
<div class="footerdiv1 clearfix">
<footer>
<?php include "rodape2.inc.php"; ?>
</footer>
</div>
</body>
</html>