-
Notifications
You must be signed in to change notification settings - Fork 0
/
realbrides.php
132 lines (127 loc) · 3.65 KB
/
realbrides.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
124
125
126
127
128
129
130
131
132
<?php
require_once('includes/conn_mysql.inc.php');
$conn = dbConnect('query');
$sg_query = "SELECT * FROM realbrides ORDER BY bride_name ASC";
$sg_rs = mysql_query($sg_query, $conn) or die(mysql_error());
$q = "SELECT * FROM quotes";
$s = mysql_query($q, $conn);
?>
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script src="scripts/jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/paginator4.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/jquery.cycle.lite.min.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="css/master.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="css/fontstyle.css" type="text/css" charset="utf-8">
<link rel="stylesheet" media="all" type="text/css" href="css/dropdown.css" />
<!--[if lte IE 6]>
<link rel="stylesheet" media="all" type="text/css" href="css/dropdown_ie.css" />
<![endif]-->
<style type="text/css" media="screen">
div#fpStatic {
background:#767674 url(images/fpRealBrides.jpg) no-repeat;
width:100%;
height:391px;
}
img#fsImage {
position:absolute;
left:12px;
top:140px;
border: 1px #fff solid;
}
div#thumbholder {
position:absolute;
left:350px;
top:140px;
width:430px;
height:300px;
/*border: thin red solid;*/
}
.thumbnail {
float:left;
width:108px;
margin:3px;
text-decoration:none;
}
.thumbnail p {
clear:both;
float:left;
font-size: 11px;
color:#fff;
margin-left:3px;
}
img.thumbimg {
border: 1px #fff solid;
float:left;
}
.paginator {
position:absolute;
top:460px;
left:620px;
}
</style>
<title>Solutions Bridal - Real Brides</title>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#bride_quote').cycle({
speed: 2000,
timeout: 5000,
cleartype: 1
});
$(".thumbimg").live('mouseover', function(){
var fsurl = $(this).attr("src");
var urlArray = fsurl.split("/");
var filename = urlArray[urlArray.length-1];
var fullpath = "brides/"+filename;
//alert(filename);
//$("#fsImage").attr({src: "collections/"+filename, alt: "Full Size Pic"});
$("#fsImage").fadeOut("slow", function() {
$(this).attr("src", fullpath).fadeIn('slow');
})
});
$(function () { $("#thumbholder").pagination(); });
})
</script>
</head>
<body>
<div id="wrapper">
<div id="main">
<img src="images/sbheaderlogo.jpg" />
<div id="bride_quote">
<?php while($a = mysql_fetch_assoc($s)) { ?>
<div>
<p class="pretty"><?php echo $a['q_body']; ?></p>
<p class="quote_person"><?php echo $a['q_sig']; ?></p>
</div>
<?php } ?>
</div>
<div class="menu">
<?php
include('includes/menu.php');
?>
</div>
<div id="fpStatic">
<img id="fsImage" src="" />
<div id="thumbholder">
<?php while($sg_record = mysql_fetch_assoc($sg_rs)) { ?>
<a class="thumbnail">
<img class="thumbimg" src="brides/thumbs/<?php echo $sg_record['bride_img']; ?>" />
<p><?php echo $sg_record['bride_name']; ?></p>
</a>
<?php } ?>
</div>
</div>
</div>
</div>
<div id="adwrapper">
<?php include('includes/ads.php'); ?>
</div>
<div id="footer">
<?php include('includes/footer.inc.php'); ?>
</div>
</body>
</html>