3 Column page setup (liquid) for LinkMan

Everything related to LinkMan - reciprocal links manager
Post Reply
SteveC
Posts: 4
Joined: Sun Aug 15, 2010 1:28 pm

3 Column page setup (liquid) for LinkMan

Post by SteveC »

/*************************************
Title: 3 Column page setup (liquid)
Version:
Author: Steve C.
Demo:
Download:
Website:

Short description:


*************************************/
LinkMan is a great little script I'm using the free version at the moment
I've not gone live yet still tweaking :D
but would like to put something back into the community so
I've knocked up a 3 Column page setup (liquid) for the linkman
if anyone wants it help yourself its been checked and validated at W3C.
The main purpose for me placing these files here is to encourage people
to play with code, which in this case HTML (not php).
any feed back would be welcome I'm busy on other projects but will
try and help out as much as I can.


There are 3 files:

1 = Masterpagefile.htm

This file you can mess with in you editors that you use,
lots of notes inside to help you in each section.
have fun !

2 = header.txt
3 = footer.txt

files 2 and 3 can be placed in the linkMan folder and will give you the
same as below.
but you must change all links etc with your own to get it going.

Best bet it to play with Masterpagefile.htm and the copy any paste your code after, all will be clear when you see the code (I hope)



SAVE Code as: Masterpagefile.htm

Code: Select all

<!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">
<!-- This code has been validated @ http://validator.w3.org/ -->

<head>
<!-- Your Title -->
<title></title>

<!-- Meta Tags -->
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<meta content="en-gb" http-equiv="Content-Language" />
<meta content="General" name="rating" />
<meta name="distribution" content="global" />
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="linkmenu.css" rel="stylesheet" type="text/css" />
</head>

<body>

    <!-- Page background -->
    <div style="background-color: #87CEFA">

    <!-- Logo Heading -->
	<div  style="background-color: #0099CC; width: 100%; min-height: 120px; padding-top: 10px">
    <h1>&nbsp;&nbsp;Your Site Name Here</h1>
    <h3>&nbsp;&nbsp;&nbsp;&nbsp;Your Logo Here</h3>
	</div>

    <!-- Top Menu Links -->
	<div  class="linkmenu">
    <ul style="border: medium solid #000000;background-color: #E0FFFF">
<li><a href="http://www.topMenulink1.com/link1.html" title="topMenulink1" >TopMenulink1</a></li>
<li><a href="http://www.topMenulink2.com/link2.html" title="topMenulink2" >TopMenulink2</a></li>
<li><a href="http://www.topMenulink3.com/link3.html" title="topMenulink3" >TopMenulink3</a></li>
<li><a href="http://www.topMenulink4.com/link4.html" title="topMenulink4" >TopMenulink4</a></li>
<li><a href="http://www.topMenulink5.com/link5.html" title="topMenulink5" >TopMenulink5</a></li>
<li><a href="http://www.topMenulink6.com/link6.html" title="topMenulink6" >TopMenulink6</a></li></ul>
</div>

    <!-- Info bar (yellow) -->
    <p style="color: #000000; display: block; background: #FFFF00; padding: 8px; text-align: center">
    <b  style="font-size: 18px">Link Exchange Program</b><br />
    If you would like to swap links with our Website<br />
    please follow the instruction:
    <a href="#addlink">Submit your website</a></p>


<!-- Start of Table (splitting page into 3 columns) -->
<table>
  <tr>

    <!--  Start of Left hand side menu Column 1-->
    <td valign="top" style="width: 160px; height: 522px; padding-right: 12px">

    <p>You can place a menu or<br />
    some ads here,</p><br /><br />
    <p style="background-color: #FFCC99">width set at 160px<br />
    but can easily be adjusted<br />
    within the td tag above<br />
    (view in code editor)</p>


<p>Simple menu&nbsp;</p>
<ul >
<li><a href="http://www.yourlink.com/link1.html" title="link1">link1</a></li>
<li><a href="http://www.yourlink.com/link2.html" title="link2">link2</a></li>
<li><a href="http://www.yourlink.com/link3.html" title="link3">link3</a></li></ul>
<br />

    <p style="border: thin #000000 solid; width: 156px; text-align: center; color: #000000; background-color: #99CCFF;">
    <br /><br /><br /><b>Ads Here</b><br /><br /><br />
    </p>

</td>
<!-- END of Left hand side menu Column 1 -->



<!-- Start of center Column 2 (linkman /links.php)-->

<td width="100%"  valign="top" style="padding-left: 8px; padding-right: 8px">

<!-- ******** Copy and Paste the code ABOVE into header.txt file-->


<!-- ******** This is the center column 2 where linkman (links.php) is displayed *******-->


<!-- ******** Copy and Paste The code BELOW into footer.txt file-->
</td>
<!-- END of center Column 2 -->


<!-- Start of Right hand side menu Column 3-->
<td valign="top" bgcolor="#999999" >

<div style="width: 160px; background-color: #CCFF99; height: 500px">Left hand Column<br /><br />
<p style="background-color: #FFCC99">width set at 160px<br />
    but can easily be adjusted<br />
    within the td tag above<br />
    (view in code editor)</p></div>

</td>
<!-- END of Right hand side menu Column 3-->

  </tr>
</table>
<!-- END of Table -->

</div>
<!-- This is end of Page Background <div> (line 20)-->



</body>
</html>

SAVE Code as: header.txt

Code: Select all

<!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">
<!-- This code has been validated @ http://validator.w3.org/ -->

<head>
<!-- Your Title -->
<title></title>

<!-- Meta Tags -->
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<meta content="en-gb" http-equiv="Content-Language" />
<meta content="General" name="rating" />
<meta name="distribution" content="global" />
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="linkmenu.css" rel="stylesheet" type="text/css" />
</head>

<body>

    <!-- Page background -->
    <div style="background-color: #87CEFA">

    <!-- Logo Heading -->
	<div  style="background-color: #0099CC; width: 100%; min-height: 120px; padding-top: 10px">
    <h1>&nbsp;&nbsp;Your Site Name Here</h1>
    <h3>&nbsp;&nbsp;&nbsp;&nbsp;Your Logo Here</h3>
	</div>

    <!-- Top Menu Links -->
	<div  class="linkmenu">
    <ul style="border: medium solid #000000;background-color: #E0FFFF">
<li><a href="http://www.topMenulink1.com/link1.html" title="topMenulink1" >TopMenulink1</a></li>
<li><a href="http://www.topMenulink2.com/link2.html" title="topMenulink2" >TopMenulink2</a></li>
<li><a href="http://www.topMenulink3.com/link3.html" title="topMenulink3" >TopMenulink3</a></li>
<li><a href="http://www.topMenulink4.com/link4.html" title="topMenulink4" >TopMenulink4</a></li>
<li><a href="http://www.topMenulink5.com/link5.html" title="topMenulink5" >TopMenulink5</a></li>
<li><a href="http://www.topMenulink6.com/link6.html" title="topMenulink6" >TopMenulink6</a></li></ul>
</div>

    <!-- Info bar (yellow) -->
    <p style="color: #000000; display: block; background: #FFFF00; padding: 8px; text-align: center">
    <b  style="font-size: 18px">Link Exchange Program</b><br />
    If you would like to swap links with our Website<br />
    please follow the instruction:
    <a href="#addlink">Submit your website</a></p>


<!-- Start of Table (splitting page into 3 columns) -->
<table>
  <tr>

    <!--  Start of Left hand side menu Column 1-->
    <td valign="top" style="width: 160px; height: 522px; padding-right: 12px">

    <p>You can place a menu or<br />
    some ads here,</p><br /><br />
    <p style="background-color: #FFCC99">width set at 160px<br />
    but can easily be adjusted<br />
    within the td tag above<br />
    (view in code editor)</p>


<p>Simple menu&nbsp;</p>
<ul >
<li><a href="http://www.yourlink.com/link1.html" title="link1">link1</a></li>
<li><a href="http://www.yourlink.com/link2.html" title="link2">link2</a></li>
<li><a href="http://www.yourlink.com/link3.html" title="link3">link3</a></li></ul>
<br />

    <p style="border: thin #000000 solid; width: 156px; text-align: center; color: #000000; background-color: #99CCFF;">
    <br /><br /><br /><b>Ads Here</b><br /><br /><br />
    </p>

</td>
<!-- END of Left hand side menu Column 1 -->



<!-- Start of center Column 2 (linkman /links.php)-->

<td width="100%"  valign="top" style="padding-left: 8px; padding-right: 8px">

<!-- ******** Copy and Paste the code ABOVE into header.txt file-->

SAVE Code as: footer.txt

Code: Select all

<!-- ******** This is the center column 2 where linkman (links.php) is displayed *******-->


<!-- ******** Copy and Paste The code BELOW into footer.txt file-->
</td>
<!-- END of center Column 2 -->


<!-- Start of Right hand side menu Column 3-->
<td valign="top" bgcolor="#999999" >

<div style="width: 160px; background-color: #CCFF99; height: 500px">Left hand Column<br /><br />
<p style="background-color: #FFCC99">width set at 160px<br />
    but can easily be adjusted<br />
    within the td tag above<br />
    (view in code editor)</p></div>

</td>
<!-- END of Right hand side menu Column 3-->

  </tr>
</table>
<!-- END of Table -->

</div>
<!-- This is end of Page Background <div> (line 20)-->



</body>
</html>
Last edited by SteveC on Thu Dec 15, 2011 2:30 pm, edited 1 time in total.
Steve C.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: 3 Column page setup (liquid) for LinkMan

Post by Klemen »

Thanks for sharing!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Webbabe
Posts: 6
Joined: Thu May 21, 2009 6:57 pm

Re: 3 Column page setup (liquid) for LinkMan

Post by Webbabe »

Is it possible to display all links themselves in 3 columns? :?
SteveC
Posts: 4
Joined: Sun Aug 15, 2010 1:28 pm

Re: 3 Column page setup (liquid) for LinkMan

Post by SteveC »

Hi Webbabe

I done this project quite a while back but its a basic 3 column set up,
You could view each column as a separate webpage so its possible from that point of view,

Your problems start here :)
you need to split the Linkman link listings into 3 parts something like,

Link 1 to 20 = column 1,
Link 21 to 40 = column 2,
Link 41 to 60 = column 3,

Of course you could also use the Linkmans page numbers Like,

Linkman page one = Column 1,
Linkman page two = Column 2,
Linkman page three = Column 3

(There might be a problem with fitting a full page of links into one column, and a page width shortage)

So in answer to your question yes but its the linkman code you need to look at splitting up someway
and putting that information in to each column.

Good luck
Steve C.
Webbabe
Posts: 6
Joined: Thu May 21, 2009 6:57 pm

Re: 3 Column page setup (liquid) for LinkMan

Post by Webbabe »

Hi Steve,

Thanks for the reply,
Unfortunately I don't have much programming experience, you don't have some example code availabe? :)
Post Reply