rendered paste body<?php
mysql_connect("localhost","username","password");
mysql_select_db("db");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>.::Toon-Workhop.net::.</title>
<script type="text/javascript">
function JumpToMovie() {
if(document.forms["toons"].elements[0].selectedIndex != 0)
window.open("/portal/view.php?id=" + document.forms["toons"].elements[0].value);
}
</script>
<link rel="Shortcut Icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/main_style.css" />
<style type="text/css">
body
{
background-color: #424649;
background-image: url(/layout/background.png);
background-position:top;
background-repeat: repeat-x;
}
.style3
{
color: #181B22
}
td img
{
display: block;
}
.style4 {
color: #7991C8;
font-weight: bold;
}
.style6 {color: #FFFFFF}
.style7 {
font-size: 12px;
font-weight: bold;
color: #7991C8;
}
</style>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body>
<table width="890" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="Untitled-1.png" fwbase="layout3" fwstyle="Dreamweaver" fwdocid = "722058334" fwnested="0" -->
<tr>
<td><img src="/layout/spacer.gif" width="6" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="5" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="350" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="11" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="13" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="52" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="79" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="13" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="6" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="125" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="12" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="130" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="12" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="65" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="5" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="6" height="1" border="0" alt="" /></td>
<td><img src="/layout/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="16"><img name="layout3_r1_c1" src="/layout/layout3_r1_c1.png" width="890" height="5" border="0" id="layout3_r1_c1" alt="" /></td>
<td><img src="/layout/spacer.gif" width="1" height="5" border="0" alt="" /></td>
</tr>
<tr>
<td><img name="layout3_r2_c1" src="/layout/layout3_r2_c1.png" width="6" height="20" border="0" id="layout3_r2_c1" alt="" /></td>
<td colspan="5"><img src="/layout/layout3_r2_c2.png" alt="" name="layout3_r2_c2" width="431" height="20" border="0" usemap="#layout3_r2_c2Map" id="layout3_r2_c2" /></td>
<td colspan="9" background="/layout/layout3_r2_c7.png"><?php
if($_SESSION['s_logged_n'] == 'true'){
$msgs = $row['msgs'];
echo ('Welcome '.$username.', you have (<a href="/user/inbox.php">'.$msgs.'</a>) messages. <a href="/user/logout.php">Logout</a> | <a href="/user/member.php">Members Panel</a>');
}
else{
echo ('Welcome Guest! <a href="/user/login.php">Login</a> | <a href="/user/register.php">Register</a>');
}
?></td>
<td><img name="layout3_r2_c16" src="/layout/layout3_r2_c16.png" width="6" height="20" border="0" id="layout3_r2_c16" alt="" /></td>
<td><img src="/layout/spacer.gif" width="1" height="20" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="16"><img name="layout3_r3_c1" src="/layout/layout3_r3_c1.png" width="890" height="5" border="0" id="layout3_r3_c1" alt="" /></td>
<td><img src="/layout/spacer.gif" width="1" height="5" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="3" colspan="2"><img name="layout3_r4_c1" src="/layout/layout3_r4_c1.png" width="11" height="124" border="0" id="layout3_r4_c1" alt="" /></td>
<td rowspan="3"><a href="../forums/index.php"><img name="layout3_r4_c3" src="/layout/layout3_r4_c3.png" width="350" height="124" border="0" id="layout3_r4_c3" alt="" /></a></td>
<td rowspan="3"><img name="layout3_r4_c4" src="/layout/layout3_r4_c4.png" width="11" height="124" border="0" id="layout3_r4_c4" alt="" /></td>
<td colspan="5"><img name="layout3_r4_c5" src="/layout/layout3_r4_c5.png" width="163" height="47" border="0" id="layout3_r4_c5" alt="" /></td>
<td colspan="5" valign="bottom" background="/layout/layout3_r4_c10.png"><form id="form1" name="form1" method="post" action="">
<div align="right">
<input name="textfield" type="text" align="absbottom" />
<span class="style3"> -</span>
<input name="Submit" type="submit" value="Search" align="absbottom" />
<span class="style3"> </span> </div>
</form></td>
<td rowspan="3" colspan="2"><img name="layout3_r4_c15" src="/layout/layout3_r4_c15.png" width="11" height="124" border="0" id="layout3_r4_c15" alt="" /></td>
<td><img src="/layout/spacer.gif" width="1" height="47" border="0" alt="" /></td>
</tr>
<tr>
<td><img name="layout3_r5_c5" src="/layout/layout2_r5_c8.png" width="13" height="72" border="0" id="layout3_r5_c5" alt="" /></td>
<td colspan="2" bgcolor="#4B5054"> </td>
<td><img name="layout3_r5_c8" src="/layout/layout3_r5_c8.png" width="13" height="72" border="0" id="layout3_r5_c8" alt="" /></td>
<td colspan="2" bgcolor="#4B5054"> </td>
<td><img name="layout3_r5_c11" src="/layout/layout3_r5_c11.png" width="12" height="72" border="0" id="layout3_r5_c11" alt="" /></td>
<td bgcolor="#4B5054"> </td>
<td><img name="layout3_r5_c13" src="/layout/layout3_r5_c13.png" width="12" height="72" border="0" id="layout3_r5_c13" alt="" /></td>
<td bgcolor="#4B5054"> </td>
<td><img src="/layout/spacer.gif" width="1" height="72" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="10"><img name="layout3_r6_c5" src="/layout/layout3_r6_c5.png" width="507" height="5" border="0" id="layout3_r6_c5" alt="" /></td>
<td><img src="/layout/spacer.gif" width="1" height="5" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="16" align="center" background="/layout/layout3_r7_c1.png"><center><?php include ("../includes/banners.php"); ?>
<!--#include virtual="../forums/includes/banners.php" -->
</center></td>
<td><img src="/layout/spacer.gif" width="1" height="119" border="0" alt="" /></td>
</tr>
<tr>
<td background="/layout/layout3_r8_c1.png"> </td>
<td colspan="14" align="center" bgcolor="#1F2227"><select name="id" onChange="javascript:JumpToMovie();" style="background-color:#2D4179; color:#FFFFFF;">
<option selected>-- choose below --</option>
<?php
while($c = mysql_fetch_array($query3)) {
$nameee2=$c["name"];
$idd2=$c["id"];
echo ("<option value='".$idd2."'>".$nameee2."</option>");
}
?>
</select>
<?php
$id = $_GET['id'];
$getinfo = mysql_query("SELECT * FROM users WHERE id = '$id' LIMIT 1");
$info = mysql_fetch_array($getinfo);
$exp = $info['exp'];
$username = $info['username'];
$subs = $info['subs'];
$location = $info['location'];
$position = $info['position'];
$rank = $info['rank'];
$birthdate = $info['birthdate'];
$regdate = $info['regdate'];
$realname = $info['realname'];
$gender = $info['gender'];
$signature = $info['signature'];
$msn = $info['msn'];
$yahoo = $info['yahoo'];
$aim = $info['aim'];
$myspace = $info['myspace'];
$posts = $info['posts'];
$visible = $info['visible'];
$popanimator = $info['popanimator'];
$popartist = $info['popartist'];
$popmusician = $info['popmusician'];
if ($visible == "on") {
$email = $info['email'];
} else {
$email = 'invisible';
}
mysql_select_db("chrimail_content");
$query1 = mysql_query("SELECT * FROM `music` WHERE `user` = '$username'");
$query2 = mysql_query("SELECT * FROM `games` WHERE `user` = '$username'");
$query3 = mysql_query("SELECT * FROM `toons` WHERE `user` = '$username'");
$query4 = mysql_query("SELECT * FROM `tutorials` WHERE `user` = '$username'");
?>
<br>
<?php echo $username; ?><br>
<br>
<table width="747" height="440" border="0" align="center" bgcolor="#282D33">
<tr>
<td width="529" height="147" align="center"><table width="778" border="1" align="center" bordercolor="#1F2227" bgcolor="#2E3036">
<tr>
<td width="211" align="center" bgcolor="#2E3036"><?php echo ('<img src="../user/images/users/'.$username.'.jpg">'); ?></td>
<td width="338" align="left" bgcolor="#24292F"><p> Real Name: <?php echo ($realname); ?><br>
Email: <?php echo ($email); ?><br>
Position: <?php echo ($position); ?><br>
<br>
Exp: <?php echo ($exp); ?><br>
Registration Date: <?php echo ($regdate); ?><br>
Birth Date: <?php echo ($birthdate); ?><br>
Location: <?php echo ($location); ?></p> </td>
<td width="215" align="center" bgcolor="#2E3036"><?php echo ('<img src="../user/images/ranks/'.$rank.'.png">'); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td height="283" bgcolor="#282D33">
<table width="778" border="1" align="left" bordercolor="#1F2227" bgcolor="#282D33">
<tr>
<td width="384" align="left" valign="top" bgcolor="#24292F"><table width="383" border="0" align="center">
<tr>
<td width="306" valign="middle"><br>
<form name="toons" method="get" action="/portal/view.php" target="_blank">
Toons By <?php echo ($username); ?>:
</form>
<form name="games">
Games By <?php echo ($username); ?>:
<select name="games" onChange="javascript:JumpToMovie();" style="background-color:#2D4179; color:#FFFFFF;">
<option>-- choose below --</option>
<?php
while($b = mysql_fetch_array($query2)) {
$nameee1=$b["name"];
echo ("<option value=''>".$nameee1."</option>");
}
?>
</select>
</form>
<form name="music">
Music By <?php echo ($username); ?>:
<select name="music" onChange="javascript:JumpToMovie();" style="background-color:#2D4179; color:#FFFFFF;">
<option>-- choose below --</option>
<?php
while($a = mysql_fetch_array($query1)) {
$nameee3=$a["name"];
echo ("<option value=''>".$nameee3."</option>");
}
?>
</select>
</form>
<form name="tutorials" id="tutorials">
Tutorials By <?php echo ($username); ?>:
<select name="tutorials" onChange="javascript:JumpToMovie();" id="tutorials" style="background-color:#2D4179; color:#FFFFFF;">
<option>-- choose below --</option>
<?php
while($d = mysql_fetch_array($query4)) {
$nameee4=$d["name"];
echo ("<option value=''>".$nameee4."</option>");
}
?>
</select>
</form>
</form></td>
</tr>
</table> </td>
<td width="384" bgcolor="#24292F"><table width="374" border="1" align="center" bordercolor="#1F2227">
<tr>
<td width="37"><img src="images/myspace.png" width="37" height="43"></td>
<td width="327" align="left" bgcolor="#282D33"><?php echo ($myspace); ?></td>
</tr>
<tr>
<td><img src="images/msn.png" width="37" height="43"></td>
<td align="left" bgcolor="#282D33"><?php echo ($msn); ?></td>
</tr>
<tr>
<td><img src="images/aim.png" width="37" height="43"></td>
<td align="left" bgcolor="#282D33"><?php echo ($aim); ?></td>
</tr>
<tr>
<td><img src="images/yahoo.png" width="37" height="43"></td>
<td align="left" bgcolor="#282D33"><?php echo ($yahoo); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td height="69" colspan="2" align="left"><br>
<table width="768" align="center">
<tr>
<td width="378" height="20" bgcolor="#24292F">Latest Blog Entries By <?php echo $username; ?></td>
<td width="378" bgcolor="#24292F">Awards</td>
</tr>
<tr>
<td height="56" bgcolor="#24292F">
<?php
$blogquery = mysql_query("SELECT * FROM `blogs` WHERE `username` = '$username'");
if (mysql_num_rows($blogquery) > 0) {
while($blogget = mysql_fetch_array($blogquery)) {
$blogid=$blogget['id'];
$blogsubject=$blogget['subject'];
echo ("<a href='blog.php?id='".$blogid."'>".$blogsubject."</a>");
}
} else {
echo ('This user has not written any blogs.');
}
?>
</td>
<td bgcolor="#24292F">
<?php
if ($popanimator == 'yes') {
echo ('<img src="/awards/popanimator.png" alt="A Toon-Workshop Popular Animator">');
} else {
$e= 1;
}
if ($popartist == 'yes') {
echo ('<img src="/awards/popartist.png" alt="A Toon-Workshop Popular Artist">');
} else {
$e= 1;
}
if ($popmusician == 'yes') {
echo ('<img src="/awards/popmusician.png" alt="A Toon-Workshop Popular Musician">');
} else {
$e= 1;
}
if ($e > 0) {
echo ('This user has not been awarded anything.');
}
?> </td>
</tr>
</table>
<table width="776" height="50" border="1" align="center" bordercolor="#1F2227">
<tr>
<td height="20"><?php echo ($username); ?>'s forum Sig:</td>
</tr>
<tr>
<td bgcolor="#24292F"><?php echo ($signature); ?></td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
</table></td><td background="/layout/layout3_r8_c16.png"> </td>
<td><img src="/layout/spacer.gif" width="1" height="299" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="16"><img name="layout3_r9_c1" src="/layout/layout3_r9_c1.png" width="890" height="6" border="0" id="layout3_r9_c1" alt="" /></td>
<td><img src="/layout/spacer.gif" width="1" height="6" border="0" alt="" /></td>
</tr>
<tr>
<td><img name="layout3_r10_c1" src="/layout/layout3_r10_c1.png" width="6" height="19" border="0" id="layout3_r10_c1" alt="" /></td>
<td colspan="14" align="center" background="/layout/layout3_r10_c2.png"><!--#include virtual="/includes/footer.php" --></td>
<td><img name="layout3_r10_c16" src="/layout/layout3_r10_c16.png" width="6" height="19" border="0" id="layout3_r10_c16" alt="" /></td>
<td><img src="/layout/spacer.gif" width="1" height="19" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="16"><img name="layout3_r11_c1" src="/layout/layout3_r11_c1.png" width="890" height="6" border="0" id="layout3_r11_c1" alt="" /></td>
<td><img src="/layout/spacer.gif" width="1" height="6" border="0" alt="" /></td>
</tr>
</table>
<map name="layout3_r2_c2Map">
<area shape="rect" coords="0,1,40,20" href="/index.php">
<area shape="rect" coords="39,1,87,20" href="/toons.php">
<area shape="rect" coords="86,1,128,20" href="/music.php">
<area shape="rect" coords="127,1,171,20" href="/games.php">
<area shape="rect" coords="170,1,232,20" href="/tutorials.php">
<area shape="rect" coords="231,1,280,20" href="/forums.php">
<area shape="rect" coords="279,1,372,20" href="/user/submit.php">
<area shape="rect" coords="371,1,400,20" href="/faq.php">
<area shape="rect" coords="399,1,429,20" href="/user/mail.php">
</map></body>
</html>