Ajuda como criar um... 20.03.12 15:53
ajuda a criar um frame? preciso saber como botar ele na me.php
o codigo que deve conter dentro do frame é o seguinte:
Quem puder poe isso em um frame pra mim vlw!
o codigo que deve conter dentro do frame é o seguinte:
- Código:
<?php
define('USERNAME_REQUIRED', TRUE);
define('ACCOUNT_REQUIRED', TRUE);
include('global.php');
define("THIS_SCRIPT", 'rares');
?>
<!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">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<head>
<title><?php echo $sitename." - Rare Values"; ?></title>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="Public/JS/jquery.history.js"></script>
<script language="JavaScript" src="Public/JS/values.js"></script>
<link type="text/css" rel="stylesheet" href="Public/Styles/<?php echo $currentstyle ?>/CSS/main.css" />
</head>
<body>
<div class="mainBox">
<?php include("header.php"); ?>
<?php include("system/communitynav.php"); ?>
<div class="mid" id="midcontent">
<div class="column" id="column1">
<div class="contentBox">
<div class="boxHeader">Rare Values</div>
<div class="boxContent">
<?php
$rares = mysql_query("SELECT * FROM rare_values ORDER BY cost DESC");
while($rare = mysql_fetch_array($rares))
{
?>
<span class="hotspot" onmouseover="tooltip.show('<b><?php echo $rare['name']; ?></b><br><br><img src=./Public/Styles/Default/Images/values/coins.gif> <?php echo $rare['cost']; ?><br><br><img src=../Public/Styles/Default/Images/values/<?php echo $rare['status']; ?>.png> (<?php echo $rare['status']; ?>)');" onmouseout="tooltip.hide();"><img src="<?php echo $rare['image']; ?>" alt="<?php echo $rare['image']; ?>"></span>
<?php
}
?>
</div></div>
</div>
<div class="column" id="column2">
<div class="contentBox">
<div class="boxHeader">We're Hiring!</div>
<div class="boxContent">The Hotel is a brand new hotel and our staff team is still pretty small, we're looking out for active users to hire as new moderators over the next few weeks. So keep active and get noticed for your chance at moderator!</div>
</div>
</div>
<?php include("system/sideads.php"); ?>
</div>
<?php include("system/footer.php"); ?>
</div>
</body>
</html>
Quem puder poe isso em um frame pra mim vlw!