PsionicSin
10-06-2010, 05:15 PM
Ok people I'm going to need some really good help on this because it'll become confusing very quickly (I know I'm boggled already lol).
I'm redoing my employers website. The new design is already done, however I'm having a major problem with a CRUCIAL element from the older site.
Ruth Olson Photography Old Design (http://rutholsonphoto.com/)
Ruth Olson Photography New Design (http://rutholsonphoto.com/test_build/index.php)
Now, we have a custom made voting service on our site called "The Senior Challenge (http://rutholsonphoto.com/sencha2011.php)". It's where seniors can tell their friends and family to go online and vote for their picture. The winners gets all kinds of cash prizes and stuff. It's a very cut throat contest that can't have any type of downtime. And this is what I need help with.
Here's the mess as it stands right now:
ROP New Voting Page (http://rutholsonphoto.com/test_build/votenow-1.php)
As you can see, it looks as if a lot of elements on the CSS for that specific content is clashing with the CSS of my design, and I need help sorting this out. Here's the version of it on the old site:
ROP Old Voting Page (http://rutholsonphoto.com/sencon2011.php)
--------------------------------------------------------------------------
Here's the php for the main page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="author" content="Brandon Moner" />
<meta name="keywords" content="photography, pictures, photos, portraits, camera, senior, family, children, baby, newborn, special, wedding, modeling, fashion, spring, holiday" />
<meta name="description" content="Ruth Olson Photography is a photography studio located in Westland, MI that specializes in all forms of portraiture." />
<meta name="language" content="English" />
<meta name="copyright" content="Ruth Olson Photography" />
<title>Ruth Olson Photography</title>
<link rel="stylesheet" type="text/css" media="screen, print, projection" href="./css/index.css"></link>
<link rel="stylesheet" type="text/css" media="screen" href="./css/sencha.css"></link>
<?php require("./js/jsref.htm"); ?>
</head>
<body>
<div id="home">
<div id="background"></div>
<div id="headerxmedia"><?php require("header/header.php"); ?>
</div>
<div id="navigationxmedia"><?php require("navigation/navigation.php"); ?>
</div>
<div id="stagexmedia"><?php require("content/sencon-1.php"); ?></div>
<div id="footerxmedia"><?php require("footer/footer.php"); ?>
</div>
</div>
</body>
</html>
Here's the php for the stage area:
<?php
$page_title = 'Ruth Olson Photography - Senior Challenge';
?>
<script type="text/javascript">
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
////////////////////////////////////
</script>
<div id="right">
<div id="maincontent">
<center><h3>2011 Senior Challenge Contestants</h3>
<br />
<strong>Senior Challenge Leaderboard:</strong> <a href="/voteresults.php">Click here to view your rank!</a><br />
<br />
<div style="font-size:13px;">To build suspense we have removed the voting counters. Keep up the voting!</div>
<div style="font-size:10px;">We allow one vote per household.</div><br />
</center>
<body class="section-1">
<ul id="menu2">
<li id="nav-1"><a href="/votenow-1.php"><u>A - F</u></a></li>
<li id="nav-2"><a href="/votenow-2.php"><u>G - L</u></a></li>
<li id="nav-3"><a href="/votenow-6.php"><u>M - R</u></a></li>
<li id="nav-4"><a href="/votenow-4.php"><u>S - X</u></a></li>
<li id="nav-5"><a href="/votenow-5.php"><u>Y - Z</u></a></li>
</ul>
<div style="background-color:#f0f0f0">
<?php
//FOR LETTER: A
include("../templates/mysql_connect.php");
$query = "SELECT * FROM seniors WHERE last_name LIKE 'A%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<table width="480" height="150"><tr>
<td width="161" valign="top" align="center">
<p><span class="style19"><u>-A-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school] <br />
<input name="submit" align="right" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p>';
?>
<?php
//FOR LETTER: B
$query = "SELECT * FROM seniors WHERE last_name LIKE 'B%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<td width="161" valign="top" align="center"><p><span class="style19"><u>-B-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school]
<input name="submit" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p></td>';
?>
<?php
//FOR LETTER: C
$query = "SELECT * FROM seniors WHERE last_name LIKE 'C%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<td width="161" valign="top" align="center"><p><span class="style19"><u>-C-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school]
<input name="submit" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p></td></tr>';
?>
<?php
//FOR LETTER: D
$query = "SELECT * FROM seniors WHERE last_name LIKE 'D%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<tr><td width="161" valign="top" align="center"><p><span class="style19"><u>-D-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school]
<input name="submit" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p></td>';
?>
<?php
//FOR LETTER: E
$query = "SELECT * FROM seniors WHERE last_name LIKE 'E%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<td width="161" valign="top" align="center"><p><span class="style19"><u>-E-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school]
<input name="submit" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p></td>';
?>
<?php
//FOR LETTER: F
$query = "SELECT * FROM seniors WHERE last_name LIKE 'F%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<td width="161" valign="top" align="center"><p><span class="style19"><u>-F-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school]
<input name="submit" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p></td></tr>';
?>
</div>
</div>
</div>
I'm redoing my employers website. The new design is already done, however I'm having a major problem with a CRUCIAL element from the older site.
Ruth Olson Photography Old Design (http://rutholsonphoto.com/)
Ruth Olson Photography New Design (http://rutholsonphoto.com/test_build/index.php)
Now, we have a custom made voting service on our site called "The Senior Challenge (http://rutholsonphoto.com/sencha2011.php)". It's where seniors can tell their friends and family to go online and vote for their picture. The winners gets all kinds of cash prizes and stuff. It's a very cut throat contest that can't have any type of downtime. And this is what I need help with.
Here's the mess as it stands right now:
ROP New Voting Page (http://rutholsonphoto.com/test_build/votenow-1.php)
As you can see, it looks as if a lot of elements on the CSS for that specific content is clashing with the CSS of my design, and I need help sorting this out. Here's the version of it on the old site:
ROP Old Voting Page (http://rutholsonphoto.com/sencon2011.php)
--------------------------------------------------------------------------
Here's the php for the main page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="author" content="Brandon Moner" />
<meta name="keywords" content="photography, pictures, photos, portraits, camera, senior, family, children, baby, newborn, special, wedding, modeling, fashion, spring, holiday" />
<meta name="description" content="Ruth Olson Photography is a photography studio located in Westland, MI that specializes in all forms of portraiture." />
<meta name="language" content="English" />
<meta name="copyright" content="Ruth Olson Photography" />
<title>Ruth Olson Photography</title>
<link rel="stylesheet" type="text/css" media="screen, print, projection" href="./css/index.css"></link>
<link rel="stylesheet" type="text/css" media="screen" href="./css/sencha.css"></link>
<?php require("./js/jsref.htm"); ?>
</head>
<body>
<div id="home">
<div id="background"></div>
<div id="headerxmedia"><?php require("header/header.php"); ?>
</div>
<div id="navigationxmedia"><?php require("navigation/navigation.php"); ?>
</div>
<div id="stagexmedia"><?php require("content/sencon-1.php"); ?></div>
<div id="footerxmedia"><?php require("footer/footer.php"); ?>
</div>
</div>
</body>
</html>
Here's the php for the stage area:
<?php
$page_title = 'Ruth Olson Photography - Senior Challenge';
?>
<script type="text/javascript">
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
////////////////////////////////////
</script>
<div id="right">
<div id="maincontent">
<center><h3>2011 Senior Challenge Contestants</h3>
<br />
<strong>Senior Challenge Leaderboard:</strong> <a href="/voteresults.php">Click here to view your rank!</a><br />
<br />
<div style="font-size:13px;">To build suspense we have removed the voting counters. Keep up the voting!</div>
<div style="font-size:10px;">We allow one vote per household.</div><br />
</center>
<body class="section-1">
<ul id="menu2">
<li id="nav-1"><a href="/votenow-1.php"><u>A - F</u></a></li>
<li id="nav-2"><a href="/votenow-2.php"><u>G - L</u></a></li>
<li id="nav-3"><a href="/votenow-6.php"><u>M - R</u></a></li>
<li id="nav-4"><a href="/votenow-4.php"><u>S - X</u></a></li>
<li id="nav-5"><a href="/votenow-5.php"><u>Y - Z</u></a></li>
</ul>
<div style="background-color:#f0f0f0">
<?php
//FOR LETTER: A
include("../templates/mysql_connect.php");
$query = "SELECT * FROM seniors WHERE last_name LIKE 'A%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<table width="480" height="150"><tr>
<td width="161" valign="top" align="center">
<p><span class="style19"><u>-A-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school] <br />
<input name="submit" align="right" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p>';
?>
<?php
//FOR LETTER: B
$query = "SELECT * FROM seniors WHERE last_name LIKE 'B%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<td width="161" valign="top" align="center"><p><span class="style19"><u>-B-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school]
<input name="submit" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p></td>';
?>
<?php
//FOR LETTER: C
$query = "SELECT * FROM seniors WHERE last_name LIKE 'C%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<td width="161" valign="top" align="center"><p><span class="style19"><u>-C-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school]
<input name="submit" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p></td></tr>';
?>
<?php
//FOR LETTER: D
$query = "SELECT * FROM seniors WHERE last_name LIKE 'D%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<tr><td width="161" valign="top" align="center"><p><span class="style19"><u>-D-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school]
<input name="submit" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p></td>';
?>
<?php
//FOR LETTER: E
$query = "SELECT * FROM seniors WHERE last_name LIKE 'E%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<td width="161" valign="top" align="center"><p><span class="style19"><u>-E-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school]
<input name="submit" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p></td>';
?>
<?php
//FOR LETTER: F
$query = "SELECT * FROM seniors WHERE last_name LIKE 'F%' ORDER BY last_name ASC";
$result = @mysql_query ($query);
echo '<td width="161" valign="top" align="center"><p><span class="style19"><u>-F-</u></span><br />';
while ($row = mysql_fetch_array ($result)){
echo "<a href=\"$row[pic_url]\" rel=\"lightbox[seniors]\"
title=\" <form action ="/tallyvote.php?sen_id=$row[sen_id]" method="post">
$row[first_name] $row[last_name] - $row[school]
<input name="submit" type="submit" value="Vote" >
</form> \">$row[last_name], $row[first_name]</a><br/>";
}
echo '</p></td></tr>';
?>
</div>
</div>
</div>