Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Page peel smf mod on php page...

Started by codnerd, August 12, 2008, 08:32:20 PM

Previous topic - Next topic


How do I make the page peel mod I am using for smf, work on my website, which is just straight php pages...

Forum (page peel is at top right)
Page peel mod

Here is my index.php for my main websites home page: (nothing to do with forum)

<?php require("forum/SSI.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cracked-Gaming Community - Official Website</title>
<script type="text/javascript" > 
<!--  function ctRoster(usrName)  {  var div = document.getElementById("roster_data"); var textnode = document.createTextNode(usrName); div.appendChild(textnode); }  function ctRosterClean()  {  var label = document.getElementById("roster_data")  while( label.hasChildNodes() ) { label.removeChild( label.lastChild ); } }  // -->  </script> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <!-- Main wrapper -->
<div id="wrap">
<div id="header">
<table width="998px" height="44px" background="images/topbar.jpg" cellpadding="5" cellspacing="0"> <tr> <td valign="bottom"> <p><b><font size="2"><font color="#ffffff"><center><?php ssi_welcome(); ?></center></font></font></b></p> </td> </tr> </table>
<div id="innerheader" style="font-size: 10px;">
<li><a href="index.php">Home</a></li>
<li><a href="forum/">Forums</a></li>
<li><a href="about.php">About CGC</a></li>
<li><a href="join.php">Join CGC</a></li>
<li><a href="donate.php">Donate</a></li>
<li><a href="servers.php">Servers</a></li>
<li><a href="cggs.php">Buy Servers</a></li>
<li><a href="">Files</a></li>

<div id="content">
<div class="side_column">
<a href="">Lots of News...</b> - 8/11
<a href="">CGC Newsletter Released</b> - 8/4
<a href="">New Ventrilo</b> - 8/4
<a href="">CGC Looking into the Future</b> - 8/4
<a href="">Meeting and FUNDAY Moved</b> - 8/1
<?php ssi_recentTopics(); ?>
<div id="middle" >
<div id="server_select">
<h1><span>Select Server</span></h1>
<a href="xfire:join?game=cod4mp&server="><img src="images/tdm_svr_button.jpg" alt="Team Deathmatch Server" /></a>
<a href="xfire:join?game=cod4mp&server="><img src="images/fun_svr_button.jpg" alt="Fun Day 24/7 Server" /></a>
<a href="xfire:join?game=cod4mp&server="><img src="images/zom_svr_button.jpg" alt="Zombie Mod Server" /></a>
<a href="xfire:join?game=cod4mp&server="><img src="images/s&d_svr_button.jpg" alt="Search & Destroy Server" /></a>  </div>
<div id="breadcrum">Home</div>
<h1>Cracked-Gaming News</h1>
<div class="content">
<h2>Call of Duty: Cracked Warfare</h2>
<p>&nbsp;&nbsp;&nbsp;<font color="#255d20"><b>CGC</b></font> will be hosting a Call of Duty tournament for Cracked Clans to compete against each other. Clans will be competing for the bragging rights, in which if they win, they will get their Clan name on the Golden Sock.</p>
<p>&nbsp;&nbsp;&nbsp;<font color="#255d20"><b>This tournament</b></font> will start on Thursday or Friday, depending on what day your Clan wants to start. Semi-finals will be on Saturday. Sunday will be the Final Match for the Golden Sock.</p>
<p>&nbsp;&nbsp;&nbsp;<font color="#255d20"><b>Clans from all over</b></font> will be competing in this Tournament, such as the NoBS Clan, and the UTDM Clan. The Competition will be ran on CGGS Servers, in which we will have a practice Server running now up to the Tournament. Look at the Discussion Section for more details.</p>
<center><a href="" target="_blank"><b>CoD:CW Forum Discussion</b></a></center><br>
<h2>CGC Server Stats</h2>
<p>&nbsp;&nbsp;&nbsp;<font color="#255d20"><b>CGC</b></font> has brought Stats back to the Community. You can now see the sats of every thing in game from who is the biggest whiner, to how many times syou shot someone in the balls.</p>
<center><a href="" target="_blank"><b></b></a></center><br>
<h2>New CGC S&D Server Up!</h2>
<p>&nbsp;&nbsp;&nbsp;<font color="#255d20"><b>CGC</b></font> has added a 24 Slot S&D Hardcore Server to our Server list. We are hoping that everyone will try their hardest to get it started and filled. Please just go to the server sometime with a friend and stay there until is starts to fill up.</p>
<center><a href="xfire:join?game=cod4mp&server=" target="_blank"><b>IP:</b></a></center><br>
<div class="content">
<h2>SuperCharged Sunday</h2>
<p>&nbsp;&nbsp;&nbsp;<font color="#255d20"><b>At last nights meeting</b></font>, we chose that this Sunday will be Supercharged Sunday. Instead of Funmaps, we will have more serious and detailed maps. The maps will be mp_burg, mp_ic_cod, mp_sconsegrad, mp_yard, and mp_freeb for the map rotation. We may also turn the speed up just a little, and maybe turn the gravity just a hair. The maps are not too big in size, but if you are worried about how long it will take to download, then you can download them before sunday by downloading the installer below.</p><br>
<a href="" target="_blank"><b>SuperCharged Sunday Fast DL Installer</b></a>
<div class="content">
<h2>CGC Newsletter Released</h2>
Hello yall, this is our First Newsletter.<br><br>

&nbsp;&nbsp;CGC has been having a great month so far. We redesigned our
website, and added a homepage with many other sub-pages. Our Zombie
server is repopulating, and our TDM server is still the same in rank,
like always. We also have a FUNDAY server now, in which after each
FUNDAY we put what we did on FUNDAY on that server. We have also
opened up a 24 slot S&D Server. Check the site for server details and

&nbsp;&nbsp;CGC has opened up a GSP called Cracked-Gaming Game Servers (CGGS),
in which we will sell game servers. We would really love for everyone
to help us out with advertising for CGGS by putting sigs or telling
your friends how great of a community it is run by. The URL to CGGS is <a href="">Here</a>.
Please help us out on this one, so we don't have to depend on

&nbsp;&nbsp;Also, our forums are definitely not as active as they used to be.
Get on them, be social, and gain some respect from other members.
Also, tell me if you like Fake or Real boobs. Look on the forum for
that post. lol.<br><br>

&nbsp;&nbsp;We have also opened a <a href="">WeGame Community</a>. <a href="">WeGame</a>
is a video recorder that so damn simple to use. You go in game,
record, click the upload button, and watch. This FREE program also
does not lower your FPS like Fraps.<br><br>

CGC is planning to expand rapidly, even more than it is now.<br><br>

  &nbsp;- We will be looking for clans to come into us.<br>
  &nbsp;- Admins will be given positions such as Recuriter, Server
Manager, etc.<br>
  &nbsp;- We will be deleting the ban list on all servers.<br>
  &nbsp;- We are opening a Game Server Provider, in which we will sell
  &nbsp;- We will be assigning more server admins.<br>
  &nbsp;- We will be focusing on getting a Sponsor to support our servers
money wise.<br><br>

<b>Next CGC Meeting is Thursday, August 7th on <a href="">Ventrilo</a>.</b><br>
Port: 3784<br><br>

CGC | Larry<br>
Cracked-Gaming Community<br>
<a href=""></a><br><br>

<font size="5"><b>Git-Er-Done</b></font>
<div class="content">
<h2>New Ventrilo</h2>
<p>&nbsp;&nbsp;&nbsp;<font color="#255d20"><b>CGC</b></font> now has a new ventrilo. To all yall who don't know what ventrilo is, it is a voice program that CGC members use to communicate while in-game and on the computer. It is totaly free, no sign-ups or anything. I would really like to see more people on our ventrilo.<br>
<a href="">Download Ventrilo</a><br>
Install Ventrilo Mix<br>
Open and Press the Ventrilo 2.3 Picture<br>
Press the arrow right of Username<br>
Press "New" and make a name<br>
Press the arrow right of Server<br>
Port: 3784<br>
(Nothing to do with CoD4 Servers)
<div class="content">
<h2>CGC Looking into the Future.</h2>
<p>&nbsp;&nbsp;&nbsp;<font color="#255d20"><b>CGC</b></font> is looking to get bigger. To do so, we are going to make new changes such as:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- We will be looking for clans to come into us.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Admins will be given positions such as Recuriter, Server Manager, etc.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- We will be deleting the ban list on all servers.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- We will be assinging more server admins.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- We will be focusing on getting a Sponsor to support our servers money wise.
<a href="">Comment Here...</a>
</p> </div>
<div class="content">
<h2>Meeting and FUNDAY Moved</h2>
<p>&nbsp;&nbsp;&nbsp;<font color="#255d20"><b>CGC</b></font> will be having our CGC Meeting tomorrow night in our Ventrilo. We will talk about sponsorship, admin roles in the community, and <b>FUN DAY</b>! The meeting will start <b>Saturday, August 2nd, at 8:00pm EST</b>.</p> <p>&nbsp;&nbsp;&nbsp;<font color="#255d20"><b>FUNDAY</b></font> is now going to be on Sunday, not monday. We thought that more people woould be available on weekends rather that weekdays. We will choose at the meeting what <b>FUNDAY</b> will consist of.</p>

<div class="side_column" id="right">
<?php ssi_whosOnline(); ?>
<?php ssi_login(); ?>
<a href="" target="_blank">
<img src="images/macer_hosting_cgc_ad_right.jpg" alt="Advertise Here" />
<a href="" target="_blank">
<img src="images/ad_here_cgc_ad_right.jpg" alt="Advertise Here" />
<img src="images/ad_here_cgc_ad_right.jpg" alt="Advertise Here" />
</a> </div> 
<div id="footer">
<p>Copyright 2008 &copy; Cracked-Gaming Community - CGC does not take any responsiblity for any posts made by members or guests.</p> </div>
<!-- / main wrapper -->