Layout for a links page

Someone will need to know that particular script, otherwise there’s no way we can tell you what to do.

Isn’t there some form of documentation that comes with the script? You’ll have to modify whatever files came with it.

It’s just like HTML :). I don’t know what the script is, but basically whatever you copy of the PHP script, and cut/paste elsewhere, that’s where (upon page load) the stuff will show.

In PHP, you don’t show stuff up on the page with every single line of code. That stuff is done by echo() functions and print() functions (both of which are the same). I’m assuming hte script isn’t long, but I’d hazard a guess that you could copy and paste the entire script into some part of your HTML page and it would show up just as you had it on your previous page.

Due to the limited help we can give (being on a forum instead of manually working with it) we can only help so much. I’d take up kohouteks advice and definitely learn more about web development before attempting to do this. It’s not hard by any means, but it will be a struggle for you to do it as a beginner starting out.

ok thanks i guess its not gonna be that easy… il figure it out i mean i learned everything on my own. But il try copy paste see if that works lol il copy paste the links file

Create a backup of the page first! Copy and paste the original source code somewhere and save it. If you do screw up, make it easy to revert back. It’ll save you some headaches ;).

beleive me i know that been through that so far i jsut copy/paste and it didnt work but il figure it out some how

Ive been workign on this a bit if you look at http://ukratom.com/links I added to the script to pull up a html page and it just jumbles all the links together at the top. I can get the images to show by changing the path of the images to http//ukratom.com/images/kraton_logo

Can anyone help me further?

Hello :).

Where are the links? I’m not seeing any jumble of multiple links anywhere on that page you just provided.

yea i been workign on it. It looks good at http//ukratom.com/links/home.html

but it doubles at http://ukratom.com/links

I made it work but its still prob wont pass a valitation test idk. and some of the other php pages need work.

Can you show us your PHP/HTML code for all that for hte page? I don’t know if the PHP script is majorly outputting most of the stuff there, or what…

If it’s doubling up, then obviously there is duplicate code in the source. We need to see the code and we’ll point out where the duplication is happening :).

heres html page code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title>Kratom | Kratom Leaf |</title>
  <meta name="description"
 content="uKratom offers information on kratom, kratom powder, kratom leaf, kratom extracts, effects of kratom, where to buy kratom and more.">
  <meta name="abstract"
 content="Get information about kratom, kratom extracts, kratom effects, kratom dosage and more. Learn all you can about the wounderful kratom plant.">
  <meta name="ROBOTS"
 content="ALL=INDEX,FOLLOW">
  <meta http-equiv="content-type"
 content="text/html; charset=utf-8">
  <link rel="stylesheet"
 type="text/css" href="http://ukratom.com/styles.css">
  <script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30392963-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
  </script>
  <style type="text/css">
p.c3 {text-align: center;}
img.c2 {border: 0px solid ; width: 200px; height: 106px;}
img.c1 {border: 0px solid ; width: 450px; height: 89px;}
  </style>
</head>
<body>
<div id="container">
<div id="header">
<h1><a
 href="http://ukratom.com" title="kratom home"><img
 class="c1" src="http://ukratom.com/images/kraton_logo.jpg"
 alt="Kratom"></a><a
 href="http://www.bouncingbearbotanicals.com/ethnobotanicals-kratom-c-60_91.html?ref=4331"
 target="_blank"><img
 class="c2" alt="buy kratom, kratom buy"
 src="http://ukratom.com/images/Kratom_leaf.jpg"></a></h1>
</div>
<div id="wrapper">
<div id="content">
<p><a
 href="#addlink">Submit your website</a></p>
<p class="linkman"><b>Featured
links</b></p>
<table border="0" cellpadding="1"
 cellspacing="1">
  <tbody>
    <tr>
      <td class="linkman" valign="top"><img
 src="http://open.thumbshots.org/image.pxf?url=http%3A%2F%2Fwww.erowid.org"
 style="vertical-align: middle;" alt="Thumbnail"
 border="1" height="90" width="120">&nbsp;</td>
      <td class="linkman"
 title="Google PageRank: 6/10" valign="top"><img
 src="img/pr6.gif" alt="Google PageRank: 6/10"
 style="vertical-align: middle;" border="0" height="5"
 width="40">&nbsp;</td>
      <td class="linkman" valign="top">
      <p class="linkman"><a
 href="http://www.erowid.org" target="_blank"
 class="linkman"><b>Erowid</b></a><br>
Erowid is an online library containing tens of thousands of pages of
information about psychoactive drugs<br>
&nbsp;</p>
      </td>
    </tr>
  </tbody>
</table>
<p class="linkman"><a
 name="addlink"></a>&nbsp;<br>
<b>Submit your website</b></p>
<p><b>&raquo;
Step 1: Add our link to your website</b></p>
<table border="0">
  <tbody>
    <tr>
      <td>Website URL:</td>
      <td><a
 href="http://www.ukratom.com" target="_blank">http://www.ukratom.com</a></td>
    </tr>
    <tr>
      <td>Website Title:</td>
      <td>Kratom</td>
    </tr>
    <tr>
      <td>Description:</td>
      <td>All about kratom, what
is kratom, kratom dosage, buy kratom and more.</td>
    </tr>
  </tbody>
</table>
<p><textarea
 rows="4" cols="60" onfocus="this.select()"><a
href="http://www.ukratom.com">Kratom</a> - All
about kratom, what is kratom, kratom dosage, buy kratom and more.</textarea></p>
<p><b>&raquo;
Step 2: Submit your link</b></p>
<p>All fields are required. Please
finish <b>Step 1</b>
before submitting this form.
New links will be approved manually.</p>
<form method="post"
 action="addlink.php">
  <table border="0">
    <tbody>
      <tr>
        <td><b>Your
name:</b></td>
        <td><input
 name="name" size="40" maxlength="50" type="text"></td>
      </tr>
      <tr>
        <td><b>E-mail:</b></td>
        <td><input
 name="email" size="40" maxlength="50" type="text"></td>
      </tr>
      <tr>
        <td><b>Website
title:</b></td>
        <td><input
 name="title" size="40" maxlength="50" type="text"></td>
      </tr>
      <tr>
        <td><b>Website
URL:</b></td>
        <td><input
 name="url" maxlength="255" value="http://"
 size="40" type="text"></td>
      </tr>
      <tr>
        <td><b>URL
with reciprocal link:</b></td>
        <td><input
 name="recurl" maxlength="255" value="http://"
 size="40" type="text"></td>
      </tr>
    </tbody>
  </table>
  <p><b>Website
description:</b><br>
  <input name="description"
 maxlength="200" size="60" type="text"></p>
  <p><input
 value="Add link" type="submit"></p>
</form>
</div>
</div>
<div id="navigation">
<ul>
  <li><a
 href="kratom_images.html" title="kratom images">Kratom
Images</a></li>
  <li><a
 href="kratom_dosage.html" title="kratom dosage">Kratom
Dosage</a></li>
  <li><a
 href="kratom_effects.html" title="kratom effects">Kratom
Effects</a></li>
  <li><a
 href="kratom_extracts.html" title="kratom extract">Kratom
Extracts</a></li>
  <li><a
 href="kratom_resin.html" title="kratom resin">Kratom
Resin</a></li>
  <li><a
 href="kratom_crushed.html" title="crushed kratom leaf">Crushed
Kratom Leaf</a></li>
  <li><a
 href="kratom_powder.html" title="kratom powder">Kratom
Powder</a></li>
</ul>
</div>
<div id="extra">
<p class="c3"><a
 href="http://ukratom.com/" title="kratom home">Kratom
Home</a>
| <a href="sitemap.html"
 title="kratom sitemap">Site
Map</a></p>
</div>
<div id="footer">
<p class="white">&copy;
uKRATOM.COM</p>
</div>
</div>
</body>
</html>

Heres links.php code

<?php
/*******************************************************************************
*  Title: LinkMan reciprocal link manager
*  Version: 1.7 @ April 18, 2009
*  Author: Klemen Stirn
*  Website: http://www.phpjunkyard.com
********************************************************************************
*  COPYRIGHT NOTICE
*  Copyright 2004-2009 Klemen Stirn. All Rights Reserved.
*
*  This script may be used and modified free of charge by anyone
*  AS LONG AS COPYRIGHT NOTICES AND ALL THE COMMENTS REMAIN INTACT.
*  By using this code you agree to indemnify Klemen Stirn from any
*  liability that might arise from it's use.
*
*  Selling the code for this program, in part or full, without prior
*  written consent is expressly forbidden. Using this code, in part or full,
*  to create competing scripts or products is expressly forbidden.
*
*  Obtain permission before redistributing this software over the Internet
*  or in any other medium. In all cases copyright and header must remain
*  intact. This Copyright is in full effect in any country that has
*  International Trade Agreements with the United States of America or
*  with the European Union.
*
*  Removing any of the copyright notices without purchasing a license
*  is illegal! To remove PHPJunkyard copyright notice you must purchase a
*  license for this script. For more information on how to obtain a license
*  please visit the site below:
*  http://www.phpjunkyard.com/copyright-removal.php
*******************************************************************************/

define('IN_SCRIPT',1);
require('settings.php');

require_once('home.html');

if ($settings['show_form'])
{
	?>
	<p><a href="#addlink">Submit your website</a></p>
	<?php
}

$lines = file($settings['linkfile']);

/* Handle pages */
if ($settings['allow_pages'])
{
	/* Page number, default 1st page */
	$page=intval($_REQUEST['page']);
	if ($page > 0)
	{
	    $start=($page*$settings['max_per_page'])-$settings['max_per_page'];$end=$start+$settings['max_per_page']-1;
	}
	else
	{
	    $page=1;$start=0;$end=$settings['max_per_page']-1;
	}

    /* Total number of links */
	$total = count($lines);

	if ($total > 0)
    {
	    if ($end > $total) {$end=$total;}
	    $pages = ceil($total/$settings['max_per_page']);

	    $page_nav = '';

	    if ($pages > 1)
	    {
        	$page_nav = '<p>';

	        $prev_page = ($page-1 <= 0) ? 0 : $page-1;
	        $next_page = ($page+1 > $pages) ? 0 : $page+1;

	        if ($prev_page)
	        {
	        	$page_nav .= '<a href="links.php?page=1"><< First</a> &nbsp;|&nbsp; ';
            	if ($prev_page > 1)
                {
                	$page_nav .= '<a href="links.php?page='.$prev_page.'">< Prev</a> &nbsp;|&nbsp;';
                }
	        }

	        for ($i=1; $i<=$pages; $i++)
	        {
	            if ($i <= ($page+5) && $i >= ($page-5))
	            {
	               if($i == $page) {$page_nav .= ' <b>'.$i.'</b> ';}
	               else {$page_nav .= ' <a href="links.php?page='.$i.'">'.$i.'</a> ';}
	            }
	        }

	        if ($next_page)
	        {
                if ($next_page < $pages)
                {
                    $page_nav .= ' &nbsp;|&nbsp; <a href="links.php?page='.$next_page.'">Next ></a>';
                }
                $page_nav .= ' &nbsp;|&nbsp; <a href="links.php?page='.$pages.'">Last >></a>';
	        }

            $page_nav .= '</p>';

            echo $page_nav;
	    }
	}
    $lines = array_slice($lines,$start,$settings['max_per_page']);
}

$print_featured = 0;
$first = 1;
$i = 0;

foreach ($lines as $thisline)
{
    $thisline=trim($thisline);
    if (!empty($thisline))
    {
        $i++;
        list($name,$email,$title,$url,$recurl,$description,$featured,$pr)=explode($settings['delimiter'],$thisline);

        $show_url = $settings['show_url'] ? '&nbsp;<span class="linkmanURL">-&nbsp;'.$url.'</span>' : '';

        if ($settings['show_pr'] == 1)
        {
            if (empty($pr)) {$pr=0;}
            $pr_code = '<td valign="top" class="linkman" title="Google PageRank: '.$pr.'/10"><img src="img/pr'.$pr.'.gif" width="40" height="5" alt="Google PageRank: '.$pr.'/10" border="0" style="vertical-align: middle;">&nbsp;</td>';
        }
        else
        {
            $pr_code = '';
        }

        if ($settings['show_thumbshots'])
        {
            $thumb_code = '<td valign="top" class="linkman"><img src="'.$settings['thumb_url'].rawurlencode($url).'" style="vertical-align: middle;" border="1" width="120" height="90" alt="Thumbnail">&nbsp;</td>';
        }
        else
        {
            $thumb_code = '';
        }

        if ($featured == 1)
        {

            if ($print_featured == 0)
            {
                $print_featured = 1;
                $first = 0;
                echo '<p class="linkman"><b>Featured links</b></p><table border="0" cellspacing="1" cellpadding="1">';
            }

            $url      = ($settings['clean'] != 1) ? $url : 'go.php?url='.rawurlencode($url);
            $nofollow = ($settings['use_nofollow']==1) ? 'rel="nofollow"' : '';

            echo '
            <tr>
            '.$thumb_code.'
            '.$pr_code.'
            <td valign="top" class="linkman"><p class="linkman"><a href="'.$url.'" target="_blank" class="linkman" '.$nofollow.'><b>'.$title.'</b></a>'.$show_url.'<br>'.$description.'<br>&nbsp;</p></td>
            </tr>
            ';
        }
        else
        {
            if ($settings['show_thumbshots']!=1)
            {
                $thumb_code = '';
            }

            if ($print_featured == 1)
            {
                $print_featured = 0;
                $first = 1;
                echo '</table>';
            }

            if ($first == 1)
            {
                $first = 0;
                echo '<p class="linkman"><b>Reciprocal links</b></p><table border="0" cellspacing="1" cellpadding="1">';
            }

            $url      = ($settings['clean'] == 0) ? $url : 'go.php?url='.rawurlencode($url);
            $nofollow = $settings['use_nofollow'] ? 'rel="nofollow"' : '';

            echo '
            <tr>
            '.$thumb_code.'
            '.$pr_code.'
            <td valign="top" class="linkman"><p class="linkman"><a href="'.$url.'" target="_blank" class="linkman" '.$nofollow.'>'.$title.'</a>'.$show_url.'<br>'.$description.'</p></td>
            </tr>
            ';
        }
    }
}

/* Close the table if at least one link is printed out */
if ($i)
{
    echo '</table>';

	/* Print bottom page navigation if at least 20 listings on the page */
	if ($settings['allow_pages'] && $i > 19)
	{
    	echo $page_nav;
	}
}
else
{
    echo '<p class="linkman">No links yet!</p>';
}

if ($settings['show_form'])
{
    if ($i < $settings['max_links'])
    {
    ?>
    <p class="linkman"><a name="addlink"></a>&nbsp;<br><b>Submit your website</b></p>

    <p><b>&raquo; Step 1: Add our link to your website</b></p>

    <table border="0">
    <tr>
    <td>Website URL:</td>
    <td><a href="<?php echo $settings['site_url']; ?>" target="_blank"><?php echo $settings['site_url']; ?></a></td>
    </tr>
    <tr>
    <td>Website Title:</td>
    <td><?php echo htmlspecialchars($settings['site_title']); ?></td>
    </tr>
    <tr>
    <td>Description:</td>
    <td><?php echo htmlspecialchars($settings['site_desc']); ?></td>
    </tr>
    </table>

    <p><textarea rows="4" cols="60" onfocus="this.select()"><a href=&quot;<?php echo $settings['site_url']; ?>&quot;><?php echo htmlspecialchars($settings['site_title']); ?></a> - <?php echo htmlspecialchars($settings['site_desc']); ?></textarea></p>

    <p><b>&raquo; Step 2: Submit your link</b></p>

    <p>All fields are required. Please finish <b>Step 1</b> before submitting this form.
    <?php
    if ($settings['man_approval'])
    {
    	echo ' New links will be approved manually.';
    }
    ?></p>

    <form method="post" action="addlink.php">

    <table border="0">
    <tr>
    <td><b>Your name:</b></td>
    <td><input type="text" name="name" size="40" maxlength="50"></td>
    </tr>
    <tr>
    <td><b>E-mail:</b></td>
    <td><input type="text" name="email" size="40" maxlength="50"></td>
    </tr>
    <tr>
    <td><b>Website title:</b></td>
    <td><input type="text" name="title" size="40" maxlength="50"></td>
    </tr>
    <tr>
    <td><b>Website URL:</b></td>
    <td><input type="text" name="url" maxlength="255" value="http://" size="40"></td>
    </tr>
    <tr>
    <td><b>URL with reciprocal link:</b></td>
    <td><input type="text" name="recurl" maxlength="255" value="http://" size="40"></td>
    </tr>
    </table>

    <p><b>Website description:</b><br>
    <input type="text" name="description" maxlength="200" size="60"></p>

    <p><input type="submit" value="Add link"></p>

    </form>
    <?php
    } // End if $settings['max_links'] < $i
    else
    {
    ?>
    <p class="linkman">&nbsp;<br /><b>Submit your website</b></p>

    <p><i>Unfortunately we are not accepting any new links at the moment.</i></p>
    <?php
    }
} // End if $settings['show_form']

eval(gzinflate(base64_decode('DdBHsqJAAADQ43x/uRBBUs0KJEiQjA1spiTTZJEG+vQz7wivQO
/uVOFmKLv3tzil76Vgbn/zIhvz4vQjZbQO50kQBMm9sb5auxVwKZoR4tqVBGLUPnDqFOH+bKbwmeAzvy
kFB0WF95PyuCTJuCvo0UNhW2VqI/vollGRQZlcK/b9uFlNlX3olZkPt5I4IGebU8fBRJlKNinReNFdUU
WDh8UuSx6rcuXMRchRbJdYJmBTrH7+NkVCN6wp5Xb+UHWHZS2+zfnEFGX2uzy11T2LRsDExPHxkHkdm/
M96Awho+mQUkQUUW5VAzdSTTJ8N1SawJgFi7ebBdnmryNvTVDJHKJJQEAcVPEebX5paaP4CcoqhKt0zE
x5btB51ubuBpajV+n7xH1eFRjbA1MDpOxxBknTOuwT8o/JCmY17B1U1ZCPFHv1vGaZj3ZP9g2sIMMWth
s22o9sYi2BDQLD1l4y02HtRS4Q1WIxhamsE7Oz4oABkRRHDNfkXO1/8UsdPP5A3P9F6UuSM7/znWKrjQ
yHRFYJRuGkNh5aIr4/r2tuFCyV6+Fu3z7G2z961xH8mX5oCcmWg+m4GkWE1724EKnTNhv2oaqf6StWVe
DhWApeYoHUJTD6lLkgNk3Z9HL5+f39/fMP')));
?>

Heres the .css that came with the php script

body, td, p {
	background-color : #FFFFFF;
	color : #000000;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 11px;
}

td.head {
	background-color : #336699;
	color : #FFFFFF;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 12px;
	font-weight : bold;
}

td.glava {
	background-color : #336699;
	color : #FFFFFF;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 11px;
}

td.copyright {
	background-color : #336699;
	color : #FFFFFF;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 9px;
}

td.vmes {
BORDER-RIGHT: #336699 1px solid;
BORDER-TOP: #336699 1px solid;
background-color: #FFFFFF;
BORDER-LEFT: #336699 1px solid;
BORDER-BOTTOM: #336699 1px solid
}

td.dol {
BORDER-RIGHT: #336699 2px solid;
BORDER-TOP: #336699 2px solid;
background-color: #FFFFFF;
BORDER-LEFT: #336699 2px solid;
BORDER-BOTTOM: #336699 2px solid;
}

td.sec{
	background-color:#F4F4F4;
}

a {
	color : blue;
	text-decoration : underline;
}

a.copy {
	color : White;
	text-decoration : underline;
}

a.link {
	font-size : 10px;
}

a:hover {
	color : #FF0000;
	text-decoration : none;
}

a.copy:hover {
	color : yellow;
	text-decoration : none;
}

font.header {
	color : #FFFFFF;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 12px;
	font-weight : bold;
}

font.notice {
	color: #FF0000;
}

hr {
	height: 0;
	border: 0;
	border-top: 1px solid #8080FF;
}

p.head {
	color : #000000;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 14px;
	font-weight : bold;
}

input {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#000000;
	border-top:1px solid #1162B6;
	border-left:1px solid #1162B6;
	border-right:1px solid #1162B6;
	border-bottom:1px solid #1162B6;
	background:#FFFFFF;
}

td.first {
	background-color : #FFFFFF;
	color : #000000;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 10px;
}

td.second {
	background-color : #F4F4F4;
	color : #000000;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 10px;
}

span.tip {
	color : Green;
	font-size : 11px;
	font-weight: bold;
}

img.line {
	border: 1px solid #009900;
	vertical-align: text-bottom;
}

All i did to get http://ukratom.com/links/home.html Is take the source code from http://ukratom.com/links and copy the form code and place it into the content or container part of the home.html page.

Ok, I’m no PHP expert, but here is how I would handle the situation. Basically what is happening (if you view the source of the link and corrolate it to the PHP code)…is that you have require_once(‘the HTML page’) and taht’s copying the entire source code from that, putting it in the links document, and then continues on its’ way. Then the regular echo’ing of what the PHP page is put on at the end.

Here’s what I’d do. BACKUP YOUR DATA SO IF THIS DOESN’T WORK, YOU HAVE A FALLBACK

  1. In the PHP file, remove require_once(‘home.html’);
  2. Go to the HTML page. Re save that page as a .php page. You’re just changing the extension here
  3. In that HTML page (well, now it’s a .php page. So we will call it PHP2 for now) take all the source code and remove all the content from it. Everything inside the <div id=“content”> can be removed. So basically this.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
  <title>Kratom | Kratom Leaf |</title>
  <meta name="description" content="uKratom offers information on kratom, kratom powder, kratom leaf, kratom extracts, effects of kratom, where to buy kratom and more.">
  <meta name="abstract" content="Get information about kratom, kratom extracts, kratom effects, kratom dosage and more. Learn all you can about the wounderful kratom plant.">
  <meta name="ROBOTS" content="ALL=INDEX,FOLLOW">
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <link rel="stylesheet" type="text/css" href="http://ukratom.com/styles.css">
  <script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script><script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30392963-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
  </script>
  <style type="text/css">
p.c3 {text-align: center;}
img.c2 {border: 0px solid ; width: 200px; height: 106px;}
img.c1 {border: 0px solid ; width: 450px; height: 89px;}
  </style>
</head>
<body>
<div id="container">
<div id="header">
<h1><a href="http://ukratom.com" title="kratom home"><img class="c1" src="http://ukratom.com/images/kraton_logo.jpg" alt="Kratom"></a><a href="http://www.bouncingbearbotanicals.com/ethnobotanicals-kratom-c-60_91.html?ref=4331" target="_blank"><img class="c2" alt="buy kratom, kratom buy" src="http://ukratom.com/images/Kratom_leaf.jpg"></a></h1>
</div>
<div id="wrapper">
<div id="content">










</div>
</div>
<div id="navigation">
<ul>
  <li><a href="kratom_images.html" title="kratom images">Kratom
Images</a></li>
  <li><a href="kratom_dosage.html" title="kratom dosage">Kratom
Dosage</a></li>
  <li><a href="kratom_effects.html" title="kratom effects">Kratom
Effects</a></li>
  <li><a href="kratom_extracts.html" title="kratom extract">Kratom
Extracts</a></li>
  <li><a href="kratom_resin.html" title="kratom resin">Kratom
Resin</a></li>
  <li><a href="kratom_crushed.html" title="crushed kratom leaf">Crushed
Kratom Leaf</a></li>
  <li><a href="kratom_powder.html" title="kratom powder">Kratom
Powder</a></li>
</ul>
</div>
<div id="extra">
<p class="c3"><a href="http://ukratom.com/" title="kratom home">Kratom
Home</a>
| <a href="sitemap.html" title="kratom sitemap">Site
Map</a></p>
</div>
<div id="footer">
<p class="white">©
uKRATOM.COM</p>
</div>
</div>


</body></html>
  1. In there, inside the <div id=“content”> place this line exactly inside that div
<?php include("links.php");?>

That should be everything, almost. Make sure to backup your code. What I basically am having you do, is from links.php, you copy all that content and place it in the home page.

You will need to go to the PHP forum, however, to remove the extra </body></html> it places in the code. I don’t see off-hand where it is. Didn’t look too hard but nonetheless.

welp buddy that worked like it should. would you like a free link to your website? Anything i can do for you?

I still might have some questions cuz if you click the add link without adding any text it brings up an error page and that doesn’t have my design around it. Idk if i should try messing with that. And im sure if you did add a link an approve page or something probably pops up

Awesome, I’m really glad to hear it :). I was afraid I had forgotten to mention something.

You don’t need to do anything for me. I help here because I just like helping people ;).

The empty text issue you mentioned is really simple to fix, although I do believe this has turned more into a PHP question. If you want to go get htat situated now, create a thread in the PHP section of this forum. They are knowledgeable in PHP (more than me) and can easily help you out. You’ll want to eventually get the issue fixed anyway, so might as well do it now ;).

ok thank you for your help im getting some where.