I would like to put the control panel in the top right free text box on my live journal. I tried to take the code that I had from my old layout that had components on both sides and use that but since I'm using the square components it doesn't seem to be working.
function page_layout(Page p) {
# Set this to the width that you want both the navbar (if it exists) and the whole journal to be
# may be percentage (70%) or number of pixels (700px).
var string k1Swidth = "100%";
var string title = $p->title();
# We have a few variables we need to stick in...
# These first ones are for the component corners, so they will match your journal without you having to manually set the code for them.
var Color header = $*header_bgcolor;
var Color headerMinus5 = $header->darker(50);
var Color headerPlus3 = $header->lighter(30);
var string corner_color = "/p0"+$headerPlus3->substr(1,6)+"1"+$hea derMinus5->substr(1,6)+"2"+$header->subs tr(1,6);
# The next ones are for the actual components. For some reason, we can't use the print_comp_header/print_comp_footer in the page layout, so I had to make up new variables that will print out the print_comp_header/print_comp_footer.
var string free_text_header_box_open = """<tr><td class="dkLine" colspan="7"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td class="dkLine" colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="ltLine" colspan="5"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="dkLine" colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td class="dkLine" colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="ltLine" colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="medLine" colspan="4"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="dkLine" colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td class="dkLine" rowspan="3" colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="ltLine" rowspan="3" colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="medLine" rowspan="3" colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="tabBg" rowspan="1" colspan="2"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="medLine" rowspan="3" colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="dkLine" rowspan="3" colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td class="tabBg" colspan="2"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td class="tabBg" colspan="2"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></td></tr><tr><td class="dkLine" width="1" rowspan="3"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="ltLine" width="1" rowspan="2"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="medLine" width="3"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></td><td class="tabBg" width="100%"><div class="sideHeader" style="position:relative; top:-3px; left:2px;">""";
var string free_text_header_box_close = """</div></td><td class="tabBg" width="3" ><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></td><td class="medLine" width="1" rowspan="2"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="dkLine" width="1" rowspan="3"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td class="medLine" colspan="4"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td class="dkLine" colspan="5"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></td></tr>""";
var string free_text_box_open = """<tr><td class="dkLine" colspan="7"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td class="dkLine" width="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td><td class="compBg" width="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></td><td class="compBg" width="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></td><td class="compBg"><div class="compFont">""";
var string free_text_box_close = """</div></td><td class="compBg" width="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></td><td class="compBg" width="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></td><td class="dkLine" width="1"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td class="dkLine" colspan="8"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td></tr><tr><td><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></td></tr>""";
######################################## ###############
# Control Panel #
# by kunzite1 #
# #
# If logged in: #
# Customize #
# *Advanced Customization #
# *Your Layers #
# *Your Styles #
# *Your Link List #
# Update #
# Edit Entries #
# Your Cluster #
# Logout #
# #
# If not logged in: #
# Login #
######################################## ###############
# Title bar of component when logged in #
var string k1CPloggedInTitle = "control panel"; #
# Title bar of component when not logged in #
var string k1CPloggedOutTitle = "login box"; #
# LOGIN BOX #
# Label for entering username #
var string k1CPusername = "username:"; #
# Label for entering password #
var string k1CPpassword = "password:"; #
# Label for forgot password link #
var string k1CPforgot = "forget?"; #
# Label for expiration options #
var string k1CPexpiration = "expiration:"; #
# Label for expiring when window closes #
var string k1CPclose = "close window"; #
# Label for never expiring #
var string k1CPnever = "never"; #
# Label for binding to ip #
var string k1CPbind = "bind to ip:"; #
# Label for accepting binding to ip #
var string k1CPy = "yes"; #
# Label for denying binding to ip #
var string k1CPn = "no"; #
# Label for log in button #
var string k1CPsubmit = "log in"; #
######################################## ###############
# Now we move on to the actual page layout...
"""
<html>
<head>
<link rel="stylesheet" href="$p.stylesheet_url" type="text/css"/>
$p.head_content
<title>$title</title>
""";
$p->print_head();
"""
</head>
""";
# Start the body section of the html document which controls the visible parts of the page.
"""<body style="text-align:center;">""";
# If you want a picture to be at the top of your journal, edit and decomment this section remove the # from the next line.
# """<div align="center"><img src="url here" alt="caption here" title="caption here too" /></div>""";
if($k1Swidth != "") {
"""<table style="border: 0px; margin: auto; padding: 0px; width:$k1Swidth;"><tr><td>""";
}
# Print the navigation bar if it is needed. This can be incorporated into any other tutorials which override
# the page_layout() function, and should be placed immediately after the <body> tag above.
if (not $*comp_navbar or $*comp_state=="none") {
""" <div class="header">""";
print "<span class=\"header-item\"><a href=\""+$p.view_url{"recent"}+"\">$*nav _entries_text</a></span>";
print "<span class=\"header-item\"><a href=\""+$p.view_url{"friends"}+"\">$*na v_friends_text</a></span>";
print "<span class=\"header-item\"><a href=\""+$p.view_url{"archive"}+"\">$*na v_calendar_text</a></span>";
print "<span class=\"header-item\"><a href=\""+$p.view_url{"userinfo"}+"\">$*n av_info_text</a></span>";
if ($p.journal.website_url != "") {
print "<span class=\"header-item\"><a href=\"$p.journal.website_url\">$p.journ al.website_name</a></span>";
}
$p->lay_viewspec_nav(); # prints previous / next links including arrow images
"""
</div>
""";
}
# Print a spacer at the top of the page above the components and main area.
"""<div><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></div>""";
"""
<table width="100%" cellspacing="0" cellpadding="0" valign="top">
<tr valign="top" width="100%">
<td width="3" valign="top">
<img src="$*SITEROOT/palimg/component/clear.g if" width="3" height="1" alt="" border="0">
</td>
""";
# Left component column
# If comp_state is set to "left" it will print the standard components
# If comp_state is set to "right" it will print the custom components
# If comp_state is set to something other than "left" or "right" it won't print any components
# Don't screw with this unless you know what you are doing
if($*comp_state == "left") {
print_my_components($p);
} else {
if($*comp_state != "none") {
"""
<td border="0" cellpadding="0" cellspacing="0">
<table width="183" border="0" cellpadding="0" cellspacing="0">
""";
# This starts the playing field for left side custom components
print_comp_header("left side header 2");
"""
left side text 2
""";
print_comp_footer();
# This ends the playing field for left side custom components
"""
</td>
</tr>
</table>
</td>
""";
}
}
"""
<td width="3" valign="top">
<img src="$*SITEROOT/palimg/component/clear.g if" width="3" height="1" alt="" border="0">
</td>
""";
print_my_entries($p, $title);
"""
<td width="3" valign="top">
<img src="$*SITEROOT/palimg/component/clear.g if" width="3" height="1" alt="" border="0">
</td>
""";
# Right component column
# If comp_state is set to "right" it will print the standard components
# If comp_state is set to "left" it will print the custom components
# If comp_state is set to something other than "left" or "right" it won't print any components
# Don't screw with this unless you know what you are doing
if($*comp_state == "right") {
print_my_components($p);
} else {
if($*comp_state != "none") {
"""
<td border="0" cellpadding="0" cellspacing="0">
<table width="183" border="0" cellpadding="0" cellspacing="0">
""";
# This starts the playing field for right side custom components
print_comp_header("$k1CPloggedInTitle");
"""
right side text 1
""";
print_comp_footer();
print_comp_header("Number of Visitors Since 02/15/04");
"""
<p align="center"><a href="http://freelogs.com/stats/l/lynn14007/" target="_top"><img border="0" alt="Free Counters" src="http://ico.freelogs.com/counter/index.php?u=lynn14007&s=checker" ALIGN="middle" HSPACE="4" VSPACE="2"></a><br><a style="font-size:12" href="http://free-web-directory.com/a/jos-a-bank/" target="_top"><font color="#666666">Joseph A Bank</font></a></p>
""";
print_comp_footer();
print_comp_header("My Weather Pixie");
"""
<p align="center"><a href="http://weatherpixie.com/" target="_blank"><img src="http://weatherpixie.com/displayimg.php?place=KOSU&trooper=1&type=F" width=124 height=175 border=0 alt="The WeatherPixie"></a></p>
""";
print_comp_footer();
print_comp_header("Current Terror Alert Level");
"""
<p align="center"><a href="http://www.geekandproud.net/terror/"><img alt="Terror Alert Level" border="0" src="http://www.geekandproud.net/terror/terror.php" /> </a></p>
""";
print_comp_footer();
print_comp_header("Companies I'm Boycotting");
"""
<a href="http://www.livejournal.com/users/ggdsbuckeye/326717.html">Walmart</a><br>
Kentucky Fried Chicken<br>
Iams<br>
Hallmark<br>
NBC, UPN, CBS<br>
""";
print_comp_footer();
print_comp_header("Donation Meter");
"""
Next summer I'm going on a<br>
volunteer trip to New Zealand.<br>
Below is my fundraising meter.<br>
If you want to help out click<br>
the button to donate.<br>
<center><table border='0' cellspacing='0' cellpadding='5'><tr><td><table border='0' cellspacing='0' cellpadding='0'><tr><td><img src='http://www.zokutou.co.uk/wordmeter/pel_r.gif' width='6' height='22' border='0'><img src='http://www.zokutou.co.uk/wordmeter/pk_r.gif' width='45' height='22' border='0' alt='Zokutou word meter'><img src='http://www.zokutou.co.uk/wordmeter/pc_r.gif' width='4' height='22' border='0'><img src='http://www.zokutou.co.uk/wordmeter/pr.gif' width='55' height='22' border='0' alt='Zokutou word meter'><img src='http://www.zokutou.co.uk/wordmeter/per.gif' width='6' height='22' border='0'></td></tr><tr><td><div align='center'><b>2,500</b> / 5,500<br>(45.0%)</div></td></tr></table></td></tr></table><br>
<br>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="http://home.wideopenwest.com/~afleming6115/donation.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIG9QYJKoZIhvcNAQcEoIIG5jCCBu ICAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBh MCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3 VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW 5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1 UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDX JlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQ AEgYCjD26yOaOU99J2Q6QCcmc5ILVZMDTQ+VJcfL Nk6ogoKjMP6LEnuyoY/lttHG3hC1NxNppYWKOQja lg9c5CRyYCEIvSyJ5l6iOSrFWwd3k6C7LJ8B5gZE tgcMfyDr6vqZg1VF8FwH8WPoUgqijNDNkTH7UMs7/3 spaWQJ9yfeoAfzELMAkGBSsOAwIaBQAwcwYJKoZI hvcNAQcBMBQGCCqGSIb3DQMHBAjUT2gEAWRDqIBQ jDcrZKGpZ2+D/NalrBzyNdEWBlXsUJFFYWs5mJvR loYB7CCCxakjor1YUzqbYXzb7P9w8SbDX4CxWM74/F wbS3tiTRAjH/xanYXPjdp6jCqgggOHMIIDgzCCAu ygAwIBAgIBADANBgkqhkiG9w0BAQUFADCBjjELMA kGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQ QHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYX lQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0cz ERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w 0BCQEWDXJlQHBheXBhbC5jb20wHhcNMDQwMjEzMT AxMzE1WhcNMzUwMjEzMTAxMzE1WjCBjjELMAkGA1 UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw 1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYW wgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA 8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQ EWDXJlQHBheXBhbC5jb20wgZ8wDQYJKoZIhvcNAQ EBBQADgY0AMIGJAoGBAMFHTt38RMxLXJyO2SmS+N dl72T7oKJ4u4uw+6awntALWh03PewmIJuzbALScs TS4sZoS1fKciBGoh11gIfHzylvkdNe/hJl66/RGq rj5rFb08sAABNTzDTiqqNpJeBsYs/c2aiGozptX2 RlnBktH+SUNpAajW724Nv2Wvhif6sFAgMBAAGjge 4wgeswHQYDVR0OBBYEFJaffLvGbxe9WT9S1wob7B DWZJRrMIG7BgNVHSMEgbMwgbCAFJaffLvGbxe9WT 9S1wob7BDWZJRroYGUpIGRMIGOMQswCQYDVQQGEw JVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW 50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbm MuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQ QDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcm VAcGF5cGFsLmNvbYIBADAMBgNVHRMEBTADAQH/MA 0GCSqGSIb3DQEBBQUAA4GBAIFfOlaagFrl71+jq6 OKidbWFSE+Q4FqROvdgIONth+8kSK//Y/4ihuE4Y mvzn5ceE3S/iBSQQMjyvb+s2TWbQYDwcp129OPIb D9epdr4tJOUNiSojw7BHwYRiPh58S1xGlFgHFXwr EBb3dgNbMUa+u4qectsMAXpVHnD9wIyfmHMYIBmj CCAZYCAQEwgZQwgY4xCzAJBgNVBAYTAlVTMQswCQ YDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVm lldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBg NVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdm VfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYW wuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w 0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBT EPFw0wNDEyMDExNjMzMjJaMCMGCSqGSIb3DQEJBD EWBBSEntnoxY8bemFiw92RfGGSUYdfmjANBgkqhk iG9w0BAQEFAASBgCaRmjkXk6pJ5YOVlYAhvS1nVi h9tHldEsPAoOfBOBhKYwhYbM/ENk/5Mfb63lKrU6 irOa8AntKYFJJez3D7vuZsh3MLz86oZe7mXsCg8t cp8PA2A8V9LHIM4tf3njCXCiG4AmTTX0EZaRw+nf xgkRjkQeCQUYoWNuY6+3btlb8z-----END PKCS7-----
">
</form>
</center>
""";
print_comp_footer();
# This ends the playing field for right side custom components
"""
</td>
</tr>
</table>
</td>
""";
}
}
# Finish off the table for the body
"""
<td width="3">
<img src="$*PALIMGROOT/component/clear.gif" width="3" height="1" alt="" border="0" />
</td>
</tr>
</table>
""";
if($k1Swidth != "") {
"""</td></tr></table>""";
}
# End the body section and end the html document
"""
</body>
</html>
""";
}
I already have the variables declared for the control panel, I just need to know where to put the code for the control panel. I know the position on the right hand side that I want the control panel and have it in red.
I think a couple of variables may need to be changed, but I'm not sure what to change them to.
This is the code that I had in my old layout for the control panel:
#######################
# CONTROL PANEL START #
#######################
"""
<td border="0" cellpadding="0" cellspacing="0">
<table width="175px" border="0" cellpadding="0" cellspacing="0">
""";
if(viewer_logged_in()){
var string k1CPopenRow = """ <tr>\n <td align="center" width="30%">""";
var string k1CPcloseRow = """ </td>\n </tr>\n""";
var string k1CPnewCell = """ </td>\n <td align="center" width="30%">""";
# i used these variables to make it easier to make the table
# $k1CPopenRow opens a table row
# $k1CPcloseRow closes a table row
# $k1CPnewCell closes the open cell and opens a new one
# customize the links as you wish
# all paid user items are italicized for non-paid users who come to your journal
"""
$comp_header_open
$k1CPloggedInTitle;
$comp_header_close
<table border="1" bordercolor="$k1CPmedLineString" cellspacing="0" frame="void" width="100%">
$k1CPopenRow
<a href="$*SITEROOT/customize/">
customize
</a>
$k1CPnewCell
<a href="$*SITEROOT/customize/advanced/">
<em>advanced</em>
</a>
$k1CPnewCell
<a href="$*SITEROOT/customize/advanced/laye rs.bml">
<em>layers</em>
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="$*SITEROOT/customize/advanced/styl es.bml">
<em>styles</em>
</a>
$k1CPnewCell
<a href="$*SITEROOT/manage/links.bml">
<em>link lists</em>
</a>
$k1CPnewCell
<a href="$*SITEROOT/update.bml?mode=full">
update
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="$*SITEROOT/editjournal.bml">
edit entries
</a>
$k1CPnewCell
<a href="$*SITEROOT/friends/">
edit friends
</a>
$k1CPnewCell
<a href="$*SITEROOT/editinfo.bml">
edit info
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="$*SITEROOT/community/manage.bml">
mod
</a>
$k1CPnewCell
<a href="$*SITEROOT/editpics.bml">
edit pics
</a>
$k1CPnewCell
<a href="$*SITEROOT/memories.bml">
memories
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="$*SITEROOT/misc/whereami.bml">
my cluster
</a>
$k1CPnewCell
<a href="$*SITEROOT/portal/">
my portal
</a>
$k1CPnewCell
<a href="$*SITEROOT/stats.bml/">
stats
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="$*SITEROOT/todo/?user=ggdsbuckeye" >
to do
</a>
$k1CPnewCell
<a href="$*SITEROOT/birthdays.bml">
birthdays
</a>
$k1CPnewCell
<a href="$*SITEROOT/tools/recent_comments.b ml">
comments
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="http://www.dreamjournal.net/dj/index.cfm?do=getjournal&username=dreaggdfan">
dreams
</a>
$k1CPnewCell
<a href="http://www.dreamjournal.net/dj/index.cfm?do=symbols&member_id=10928">
symbols
</a>
$k1CPnewCell
<a href="http://www.dreamjournal.net/dj/index.cfm?do=adddream">
add dream
</a>
$k1CPcloseRow
</table>
"""; } else { """
$comp_header_open
$k1CPloggedOutTitle
$comp_header_close
<form action='$*SITEROOT/login.bml' method='post'>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td>$k1CPusername</td><td><input type='text' name='user' size='15' maxlength='15' /></td></tr>
<tr><td valign='top'>$k1CPpassword</td><td><inpu t type='password' name='password' size='15' maxlength='30' /><br /><a href='$*SITEROOT/lostinfo.bml'><font size='1'>$k1CPforgot</font></a></td></tr>
<tr valign='top'><td>$k1CPexpiration:</td><t d>
<input type='radio' name='expire' value='close' checked='checked' id='close' /> <label for='close'>$k1CPclose</label><br />
<input type='radio' name='expire' value='never' id='never' /> <label for='never'>$k1CPnever</label>
</td></tr>
<tr valign='top'><td>Bind to IP address:</td><td>
<input type='radio' name='bindip' value='yes' id='bindyes' /> <label for='bindyes'>$k1CPy</label><br />
<input type='radio' name='bindip' value='no' checked='checked' id='bindipno' /> <label for='bindipno'>$k1CPn</label>
</td></tr>
<tr><td colspan='2' align='center'><input name='action:login' type='submit' value='$k1CPsubmit' /></td></tr>
</table>
</form>
"""; } """
$comp_footer
""";
#####################
# CONTROL PANEL END #
#####################
Any help would be great. Thanks in advance.