
anyway, can you tell me what's wrong with it? it's for an unattatched nav bar...seperated. maybe rounded too which I hope
function page_layout(Page p) {
var string title = $p->title();
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);
"""
<head>
<link rel="stylesheet" href="$p.stylesheet_url"
type="text/css"/>
$p.head_content
"""; $p->print_custom_head();
"""<title>$title</title>
<style type="text/css">
.header-item {
top: 0px;
}
.header {
background-image: url("");
height: 15px;
</style>
</head>
""";
"""
<center>
<img
src="http://img.photobucket.com/albums/v293/lollo_icons/buffysboybanner.jpg"
border="0">
</center">
""";
if (not $*comp_navbar or $*comp_state=="none") {
"""
<center>
valign="top">
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="3" height="1" alt="" border="0">
width="100%">
width="5"><img
src="http://www.livejournal.com/palimg/component/curve-top-left.gif$corner_color"
width="5" height="5" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="1" alt="" border="0" />
width="5"><img
src="http://www.livejournal.com/palimg/component/curve-top-right.gif$corner_color"
width="5" height="5" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="1" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="3" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="1" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="1" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="3" alt="" border="0" />
<div class="header" align="center">
""";
print "<span class=\"header-item\"><a
href=\""+$p.view_url{"recent"}+"\">$*nav _entries_text</span>";
print "<span class=\"header-item\"><a
href=\""+$p.view_url{"friends"}+"\">$*na v_friends_text</span>";
print "<span class=\"header-item\"><a
href=\""+$p.view_url{"archive"}+"\">$*na v_calendar_text</span>";
print "<span class=\"header-item\"><a
href=\""+$p.view_url{"userinfo"}+"\">$*n av_info_text</span>";
if($p.journal.website_url != "") {
print "<span class=\"header-item\"><a
href=\"$p.journal.website_url\">$p.journ al.website_name</span>";
}
print "<span class=\"header-item\"><a
href=\"http://www.livejournal.com/tools/memories.bml?user=buffys_boy\">Pangs</span>";
print "<span class=\"header-item\"><a
href=\"http://www.livejournal.com/community/angeles_lost/\">Reprise</span>";
print "<span class=\"header-item\"><a
href=\"http://www.livejournal.com/tools/memories.bml?user=angeles_lost&keyword=Episode/Quote+weekly+updates&filter=all\">Players</span>";
$p->lay_viewspec_nav(); # prints previous / next links
including arrow images
"""
</div>
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="3" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="1" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="1" alt="" border="0" />
width="5"><img
src="http://www.livejournal.com/palimg/component/curve-bottom-left.gif$corner_color"
width="5" height="5" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="3" alt="" border="0" />
width="5"><img
src="http://www.livejournal.com/palimg/component/curve-bottom-right.gif$corner_color"
width="5" height="5" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="1" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="1" alt="" border="0" />
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="3" height="1" alt="" border="0">
</center>
""";
}
"""<div><img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="1" height="3" alt="" border="0"></div>""";
valign="top">
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="3" height="1" alt="" border="0">
""";
if ($*comp_state == "left") {
print_my_components($p);
"""
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="3" height="1" alt="" border="0">
""";
}
print_my_entries($p, $title);
if ($*comp_state == "right") {
"""
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="3" height="1" alt="" border="0">
""";
print_my_components($p);
}
"""
<img
src="http://www.livejournal.com/palimg/component/clear.gif"
width="3" height="1" alt="" border="0">
""";
}