Newbie Spellweaver
- Joined
- Dec 21, 2009
- Messages
- 43
- Reaction score
- 9
create a folder call Flash and place your flash banner file there, and rename the flash banner file to top2.swf, make sure banner size width=958 height=125
open styles/cype/header.php
find <div class='logostrip'> and below it copy and paste this code <object width="550" height="400">
<param name="movie" value="Flash/top2.swf">
<embed src="Flash/top2.swf" width="958" height="125">
and remove <a href="?cype=main">
<img class='spacer' src='styles/cype/images/spacer.png' alt='' />
</a>
</embed>
</object>
Credit Pandemic
open styles/cype/header.php
find <div class='logostrip'> and below it copy and paste this code <object width="550" height="400">
<param name="movie" value="Flash/top2.swf">
<embed src="Flash/top2.swf" width="958" height="125">
and remove <a href="?cype=main">
<img class='spacer' src='styles/cype/images/spacer.png' alt='' />
</a>
</embed>
</object>
<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-language" content="en" />
<title><?php echo $sitetitle.$pb; ?></title>
<meta name="author" content="cypedev.com" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link href="<?php echo $styledir ?>/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/custom.js"></script>
<script type="text/javascript" src="js/vote.js"></script>
</head>
<body>
<div id="container">
<div class='logostrip'>
<object width="550" height="400">
<param name="movie" value="Flash/top2.swf">
<embed src="Flash/top2.swf" width="958" height="125">
</embed>
</object>
</div>
<?php include('sources/public/scroller.php'); ?>
<br />
<div id="innerbody">
<div id="leftMenu">
<?php include("sources/public/leftmenu.php"); ?>
</div>
<div id="contentArea">
<!-- Nav Bar -->
<div id="navBar">
<div class="leftNav"><a href="?cype=main">Home</a></div>
<!-- Right Links (Order is Inverted) -->
<?php
if(isset($_SESSION['admin'])){
echo "
<div class='rightNav'><a href='?cype=admin'>Admin</a></div>";
}
if(isset($_SESSION['gm'])){
echo "
<div class='rightNav'><a href='?cype=gmcp'>GM</a></div>";
}
if(isset($_SESSION['id'])){
echo "
<div class='rightNav'><a href='?cype=ucp'>cPanel</a></div>";
}
else{
echo "
<div class='rightNav'><a href='?cype=main&page=register'>Register</a></div>";
}
?>
<div class='rightNav'><a href="?cype=main&page=download">Downloads</a></div>
<div class='rightNav'><a href="?cype=main&page=ranking">Rankings</a></div>
<div class='rightNav'><a href="?cype=main&page=events">Events</a></div>
<div class='rightNav'><a href="?cype=main&page=news">News</a></div>
<div class='rightNav'><a href='<?php echo $forumurl ?>'>Community</a></div>
</div>
<br />
Credit Pandemic
Last edited: