1. The font size is too big in this theme. I want it to look like the font in my current theme.
2. My one component, the "quotage" one, should be 185 pixels, instead of the 156 it seems to be doing. I tried to correct it, but it won't take. Should I just keep compiling the code until it does, or is something else, like too many components?
Other than this, everything works out fine. I don't get any error codes, just these two problems. Can anyone help?
Here is the code:
set background_position = "top left";
set background_repeat = "repeat";
set background_scrolling = "fixed";
set calendar_active = "#B43913";
set calendar_inactive = "#601173";
set calendar_text = "525,600 minutes";
set color_forms = true;
set comment_divider = "to";
set comments_bgcolor = "#B43913";
set comments_screened_bgcolor = "#A2310F";
set comp_bgcolor = "#000000";
set comp_state = "left";
set entry_bgcolor = "#000000";
set entry_fgcolor = "#FFFFFF";
set entry_link = "#CC8A0E";
set entry_link_visited = "#BA7E10";
set fifth_position = "free_text_order";
set first_position = "navigation_order";
set font_family = "Arial, sans-serif";
set font_size = "normal";
set fourth_position = "links_order";
set free_text_text = "life is stressful";
set header_bgcolor = "#B43913";
set header_fgcolor = "#CC8A0E";
set header_fgcolor_lt = "#601173";
set header_link = "#CC8A0E";
set lineheight = 20;
set links_text = "linkage";
set main_bgcolor = "#CC8A0E";
set nav_calendar_text = "525,600 minutes";
set nav_entries_text = "window to my mind";
set nav_friends_text = "zulu crew";
set nav_info_text = "statistics";
set nav_text_back = "fall back";
set nav_text_forward = "leap forward";
set outside_border = "#601173";
set page_background_image = "http://i2.photobucket.com/albums/y8/humorous/bricks_redorangepurple.gif";
set page_friends_items = 20;
set page_recent_items = 20;
set profile_text = "all about me...kind of";
set second_position = "profile_order";
set show_entry_userpic = true;
set show_entrynav_icons = false;
set show_free_text = true;
set show_links = true;
set show_profile = true;
set show_recentnav_icons = false;
set show_summary = false;
set sixth_position = "summary_order";
set system_border = "#601173";
set text_day_next = "to the future!";
set text_day_prev = "to the past!";
set text_meta_mood = "and i am feeling";
set text_meta_music = "and i am hearing";
set text_noentries_day = "i didn't write anything today, mofo";
set text_noentries_recent = "i haven't written anything lately, mofo";
set text_nosubject = "i are blank due to lack of creativity";
set text_post_comment = "bugger off!";
set text_post_comment_friends = "say something";
set text_poster_anonymous = "and no one knows who i am";
set text_read_comments = "that's 1 time i've told you // that's # times i've told you";
set text_read_comments_friends = "1 person had // # people had";
set text_reply_back = "what others thought";
set text_reply_nocomments = "you have been cut off from use of the english language";
set text_reply_nocomments_header = "you can't say anything, beyotch";
set text_skiplinks_back = "go back #";
set text_skiplinks_forward = "go forward #";
set text_view_archive = "it's almost like a library...";
set text_view_friends = "zulu crew";
set text_view_friends_comm = "zulu tribes";
set text_view_month = "525,600 minutes";
set text_view_recent = "window to my mind";
set text_view_userinfo = "statistics";
set text_website_default_name = "10's gateway to online stuff";
set third_position = "calendar_order";
set underline_links = "no";
layerinfo "type" = "theme";
layerinfo "name" = "leira red-yellow-purple theme";
function print_stylesheet() {
var string lineht = $*lineheight + "px";
var string linesmall = ($*lineheight-2)+"px";
var string palimg = $*header_bgcolor.as_string->substr(1,6);
"""
body { background-color: #CC8A0E;
background-image: url("http://i2.photobucket.com/albums/y8/humorous/bricks_redorangepurple.gif");
background-repeat: repeat;
background-position: top left;
background-attachment: fixed;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
font-family: Arial;
font-size: 12px;
color: #FFFFFF;
scrollbar-face-color: #601173;
scrollbar-arrow-color: #FFFFFF;
scrollbar-shadow-color: #4C0F5C;
scrollbar-darkshadow-color: #4C0F5C;
scrollbar-highlight-color: #711588;
scrollbar-3dlight-color: #711588;
scrollbar-track-color: #000000;
}
td, tr {
font-family: Arial;
font-size: 12px
color: #FFFFFF;
line-height: 20px;
}
h1, h2, h3, h4 { line-height: normal; }
a {
color: #CC8A0E;
text-decoration: none;
}
a:visited {
color: #BA7E10;
text-decoration: none;
}
a:active {
color: #DA9310;
text-decoration: none;
}
a.calendarLink {
color: #CC8A0E;
text-decoration: none;
}
a.calendarLink visited {
color: #BA7E10;
text-decoration: none;
}
a.header {
color: #CC8A0E;
}
a.headerLinks {
color: #CC8A0E;
text-decoration: none;
font-size: 12px;
text-align: center;
}
select, input, textarea {
font-family: Arial;
font-size: 100%;
background-color: #CC8A0E;
color: #FFFFFF;
}
input { line-height: normal; }
.subject { font-weight: bold; }
.small { margin-top: 3px;}
.header {
background-image: url("http://i2.photobucket.com/albums/y8/humorous/background/brick_red.gif"); /* removed the gradient background */
background-position: center;
background-repeat: repeat-x;
height: 20px; /* adjust the height of the component */
text-align: center;
font-size: 12px;
}
.userTitle {
font-size: 130%;
text-weight: bolder;
color: #CC8A0E;
line-height: 20px;
}
.userSubTitle {
font-size: 110%;
color: #601173;
line-height: 15px;
}
.header-item {
padding-left: 15px;
position: center;
top: 0px;
}
.dkLine { background-color: #A2310F; }
.ltLine { background-color: #C63E14; }
.medLine { background-color: #CC8A0E; }
.divLine { background-color: #CC8A0E; }
.tabBg { background-color: #B43913; }
.entryDate {
font-size: 100%;
color: #601173;
}
.entryHolderBg {
background-color: #000000;
color: #FFFFFF;
padding-top: 7px;
padding-right: 7px;
padding-left: 7px;
padding-bottom: 7px;
filter:alpha(opacity=95); -moz-opacity:0.95;
}
.entry {
padding-top: 7px;
padding-right: 7px;
padding-left: 7px;
padding-bottom: 7px;
background-color: #000000;
font-size: 100%;
color: #FFFFFF;
}
.entryHeader {
font-size: 110%;
font-weight: bold;
}
.entryComments {
margin-top: 8px;
margin-left: 8px;
font-size: 100%;
color: #CC8A0E;
}
.entryDash {
background-color: #CC8A0E;
width: 100%;
height: 1px;
}
.sideHeader {
color: #CC8A0E;
}
.comp { margin-bottom: 3px; }
.compBg { background-color: #000000;
background-image: url("http://i2.photobucket.com/albums/y8/humorous/background/sqaures002.png");
filter:alpha(opacity=95); -moz-opacity:0.95; }
.compContent {
padding-left: 6px;
padding-right: 6px;
padding-bottom: 6px;
padding-top: 3px;
line-height: 18px;
color: #B43913;
}
.compList {
line-height: 18px;
padding-left: 6px;
}
.userPic { border-color: #CC8A0E;
border-width: 0px;
}
a.calendartitle {
font-size: 12px;
}
.calendarInactive {
color: #EEEEEE;
background-color: #601173;
font-size: 9px;
letter-spacing: 2px;
}
.calendarActive {
color: #FFFFFF;
background-color: #B43913;
font-size: 9px;
letter-spacing: 2px;
}
html {
scrollbar-face-color: #601173;
scrollbar-arrow-color: #FFFFFF;
scrollbar-shadow-color: #4C0F5C;
scrollbar-darkshadow-color: #4C0F5C;
scrollbar-highlight-color: #711588;
scrollbar-3dlight-color: #711588;
scrollbar-track-color: #000000;
}
""";
}
function Page::print_custom_head() {
"""
<style type="text/css">
body {
background-color: #CC8A0E;
background-image: url("http://i2.photobucket.com/albums/y8/humorous/bricks_redorangepurple.gif");
background-repeat: repeat ;
background-attachment: fixed;
background-position: top left;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
font-family: Arial;
font-size: 12px;
color: #FFFFFF;
}
img {
border-width: 0px;
}
.header-item {
top: 0px;
}
.header {
background-image: url("http://i2.photobucket.com/albums/y8/humorous/background/brick_red.gif"); /* removed the gradient background */
height: 20px; /* adjust the height of the component */
}
</style>
<center><img src= "http://i2.photobucket.com/albums/y8/humorous/livejournal/ljtop003b_complete.gif" height=310 width=600 alt="leira"></center>
""";
}
function print_profile(Page p) {
print_comp_header("all about me...kind of");
"""
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="50%" align="center">
<div class="shortLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></div>
<div class="shortLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></div>
</td>
<td align="center"><a href="http://www.livejournal.com/allpics.bml?user=fruitykogyaru">$p.journal.default_pic</a></td>
<td width="50%" align="center">
<div class="shortLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></div>
<div class="shortLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></div>
</td></tr>
<td colspan="3" class="compContent">
<div><b><font color="#FFFFFF">user:</font></b> <span class='ljuser' style='white-space:nowrap;'><a href="http://www.livejournal.com/userinfo.bml?user=fruitykogyaru"><img src='http://stat.livejournal.com/img/userinfo.gif' alt='userinfo' width='17' height='17' style='vertical-align:bottom;border:0;' /></a><a href="http://www.livejournal.com/users/fruitykogyaru/"><b>fruitykogyaru</b></a></span></div>
<div><b><font color="#FFFFFF">name:</b> $p.journal.name</font></div>
<div><b><font color="#FFFFFF">birthdate:</b> 10.13.1985</font></div>
<div><b><font color="#FFFFFF">location:</b> Ohio</font></div>
<div><b><font color="#FFFFFF">website:</b> <a href="http://kotobukiran.topcities.com" target="new">gateway site</a></font></div>
</td></tr> </table>
""";
print_comp_footer();
}
function print_free_text(Page p) {
print_comp_header($*free_text_text);
"""
<p align="center"><br><a href="http://www.albinoblacksheep.com/flash/bunny.php" target="new"><img src="http://img.photobucket.com/albums/v450/fruitykogyaru/UserIcons/bunny001.gif" border="0" alt="*beats head against floor*"></a><br></br></p>
""";
print_comp_footer();
print_comp_header("contact me and etc.");
"""
<DIV id="Layer" style="position: relative; width: 100%; height: 156px; z-index: 1; overflow: auto; overflow-x: hidden;"><table width="100%" cellpadding="3" cellspacing="0"><FONT COLOR="#FFFFFF">
<tr bgcolor="#CC8A0E" width=187px><td align="center"><a href="mailto:omaran@aol.com"><img src="http://i2.photobucket.com/albums/y7/10dollaricons/buttons/001leira_email.gif" border="0" style="border: 0px" alt="e-mail me" /></a></td>
<TD align="center" valign="middle"><b><center>e-mail me</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><a href="aim:goim?screenname=fruitykogyaru&message=BOO"><img src="http://i2.photobucket.com/albums/y7/10dollaricons/buttons/002ralei_aim.gif" border="0" style="border: 0px" alt="IM me" /></a></td>
<TD align="center" valign="middle"><b><center>IM me</center></b></td></tr>
<tr bgcolor="#B43913" width=187px><td align="center"><a href="http://profiles.yahoo.com/nyozeka13" target="new"><img src="http://i2.photobucket.com/albums/y7/10dollaricons/buttons/003leira_yahoo.gif" border="0" style="border: 0px" alt="yahoo profile" /></a></td>
<TD align="center" valign="middle"><b><center>yahoo profile</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><a href="http://xu.thefacebook.com/profile.php?id=28700026&l=521e638c54" target="new"><img src="http://i2.photobucket.com/albums/y7/10dollaricons/buttons/004ralei_facebook.gif" border="0" style="border: 0px" alt="facebook me" /></a></td>
<TD align="center" valign="middle"><b><center>facebook me</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><a href="http://www.livejournal.com/tools/memories.bml?user=fruitykogyaru" target="new"><img src="http://i2.photobucket.com/albums/y7/10dollaricons/buttons/005leira_memories.gif" border="0" style="border: 0px" alt="memories" /></a></td>
<TD align="center" valign="middle"><b><center>memories</center></b></td></tr>
</font></table></div>
""";
print_comp_footer();
print_comp_header("filter friends");
"""
<DIV id="Layer" style="position: relative; width: 100%; height: 156px; z-index: 1; overflow: auto; overflow-x: hidden;"><table width="100%" cellpadding="3" cellspacing="0"><FONT COLOR="#FFFFFF">
<tr bgcolor="#B43913" width=187px><td align="center"><a href="http://www.livejournal.com/users/fruitykogyaru/friends/highschool"><img src="http://i2.photobucket.com/albums/y7/10dollaricons/buttons/006ralei_friends.gif" border="0" style="border: 0px" alt="friends" /></a></td>
<TD align="center" valign="middle"><b><center>friends</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><a href="http://www.livejournal.com/users/fruitykogyaru/friends/Groups"><img src="http://i2.photobucket.com/albums/y7/10dollaricons/buttons/007leira_groups.gif" border="0" style="border: 0px" alt="groups" /></a></td>
<TD align="center" valign="middle"><b><center>groups</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><a href="http://www.livejournal.com/users/fruitykogyaru/friends/groups+manga"><img src="http://i2.photobucket.com/albums/y7/10dollaricons/buttons/008ralei_manga.gif" border="0" style="border: 0px" alt="manga groups" /></a></td>
<TD align="center" valign="middle"><b><center>manga groups</center></b></td></tr>
<tr bgcolor="#B43913" width=187px><td align="center"><a href="http://www.livejournal.com/users/fruitykogyaru/friends/image+groups"><img src="http://i2.photobucket.com/albums/y7/10dollaricons/buttons/009leira_images.gif" border="0" style="border: 0px" alt="image groups" /></a></td>
<TD align="center" valign="middle"><b><center>image groups</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><a href="http://www.livejournal.com/users/fruitykogyaru/friends/groups+actors"><img src="http://i2.photobucket.com/albums/y7/10dollaricons/buttons/010ralei_actors.gif" border="0" style="border: 0px" alt="actor groups" /></a></td>
<TD align="center" valign="middle"><b><center>actor groups</center></b></td></tr>
</font></table></div>
""";
print_comp_footer();
print_comp_header("quotage");
"""
<DIV id="Layer" style="position: relative; width: 100%; height: 185px; z-index: 1; overflow: auto; overflow-x: hidden;">
<center>War is an ugly thing, but not the ugliest of things. The decayed & degraded state of moral & patriotic feeling which thinks that nothing is worth war is much worse. The person who has nothing for which he is willing to fight, nothing which is more important than his own personal safety, is a miserable creature & has no chance of being free unless made & kept so by the exertions of better men than himself. - John Stewart Mill</br></br>
Vegetarian - that's an old Indian word meaning 'lousy hunter' - Andy Rooney<br></br>
Maybe this world is another planet's hell. - Aldous Huxley<br></br>
In the End, we will remember not the words of our enemies, but the silence of our friends. - Martin Luther King Jr.<br></br>
The difference between fiction and reality? Fiction has to make sense. - Tom Clancy<br></br>
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein<br></br>
Courage doesn't always roar. Sometimes courage is the quiet voice at the end of the day saying, "I will try again tomorrow. - Mary Anne Radmacher<br></br>
There is a sacredness in tears. They are not the mark of weakness, but of power. They speak more eloquently than ten thousand tongues. They are messengers of overwhelming grief...and unspeakable love. - Washington Irving<br></br>
I don't wish to be everything to everyone, but I would like to be something to someone. - Javan<br></br>
Sex is like air; it's not important unless you aren't getting any. - Anonymous<br></br>
Don't worry about the world coming to an end today. It is already tomorrow in Australia. - Charles M. Schulz<br></br>
The longer I live, the more I realize the impact of attitude on life. Attitude, to me, is more important than facts. It is more important than the past, the education, the money, than circumstances, than failure, than successes, than what other people think or say or do. It is more important than appearance, giftedness or skill. It will make or break a company... a church... a home. The remarkable thing is we have a choice everyday regarding the attitude we will embrace for that day. We cannot change our past... we cannot change the fact that people will act in a certain way. We cannot change the inevitable. The only thing we can do is play on the one string we have, and that is our attitude. I am convinced that life is 10% what happens to me and 90% of how I react to it. And so it is with you... we are in charge of our Attitudes. - Charles R. Swindoll<br></br>
You can easily judge the character of a man by how he treats those who can do nothing for him. - James D. Miles<br></br>
The future belongs to those who believe in the beauty of their dreams. - Eleanor Roosevelt<br></br>
In the university they don't tell you that the greater part of the law is learning to tolerate fools. - Doris Lessing<br></br>
""";
print_comp_footer();
print_comp_header("humorous pictures");
"""
<DIV id="Layer" style="position: relative; width: 100%; height: 120px; z-index: 1; overflow: auto; overflow-x: hidden;"><center>
<br>
<img src="http://pics.livejournal.com/fruitykogyaru/pic/00002x9c" alt="penguin bitchslap"><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/00005dg5" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000kyt3" alt="scary kawwa (this is amazing)"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/00004755" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000h300" alt="gaming hamster"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/00006rc3" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000t3rk" alt="don't fuck with the monkey"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/00007c4g" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000p784" alt="humorous paper #1"></a> <a href="http://pics.livejournal.com/fruitykogyaru/pic/000089e9" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000q58f" alt="humorous paper #2"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/000091kw" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000r6zr" alt="humorous paper #3"></a> <a href="http://pics.livejournal.com/fruitykogyaru/pic/0000awp5" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000sh19" alt="humorous paper #4"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/0000bg3y" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000fpdz" alt="pho shizzle"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/0000d1td" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000w0pf" alt="fuck winter"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/0000311b" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000g5dk" alt="giant fucking cat (as opposed to giant fucking baby)"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/00001gp4" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000eraf" alt="bunnies go crusin'"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/0000c831" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000x296" alt="rabbit at computer"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/0000zd7z" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0000y58g" alt="read this"></a><br></br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/0001qehh" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0001rz77" alt="kara as frightening homeless man"></a>
<br></br></center></div>
""";
print_comp_footer();
print_comp_header("current desktop");
"""
<center>
<br>
<a href="http://pics.livejournal.com/fruitykogyaru/pic/0002449b" target="new"><img src="http://pics.livejournal.com/fruitykogyaru/pic/0002449b" alt="current desktop background" height=100 width=160></a>
<br></br>
</center>
""";
print_comp_footer();
print_comp_header("current manga obsessions");
"""
<DIV id="Layer" style="position: relative; width: 100%; height: 156px; z-index: 1; overflow: auto; overflow-x: hidden;"><table width="100%" cellpadding="3" cellspacing="0"><FONT COLOR="#FFFFFF">
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga011akuma.png" border="0" style="border: 0px" alt="Akuma de Sourou" /></td>
<TD align="center" valign="middle"><b><center>Akuma de</br>Sourou</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga014beniiro.png" border="0" style="border: 0px" alt="Beniiro Hero" /></td>
<TD align="center" valign="middle"><b><center>Beniiro Hero</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga002bleach.png" border="0" style="border: 0px" alt="Bleach" /></td>
<TD align="center" valign="middle"><b><center>Bleach</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga003deathnote.png" border="0" style="border: 0px" alt="Death Note" /></td>
<TD align="center" valign="middle"><b><center>Death Note</center></b><br></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga015es.jpg" border="0" style="border: 0px" alt="ES" /></td>
<TD align="center" valign="middle"><b><center>ES</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga004hotgimmick.png" border="0" style="border: 0px" alt="Hot Gimmick" /></td>
<TD align="center" valign="middle"><b><center>Hot Gimmick</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga005loveceleb.png" border="0" style="border: 0px" alt="Love Celeb" /></td>
<TD align="center" valign="middle"><b><center>Love Celeb</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga006lovelycomplex.png" border="0" style="border: 0px" alt="Lovely Complex" /></td>
<TD align="center" valign="middle"><b><center>Lovely Complex</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga007lovemonster.png" border="0" style="border: 0px" alt="Love Monster" /></td>
<TD align="center" valign="middle"><b><center>Love Monster</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga008mizuni.png" border="0" style="border: 0px" alt="Mizu ni Sumu Hana" /></td>
<TD align="center" valign="middle"><b><center>Mizu ni</br>Sumu Hana</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga009naruto.png" border="0" style="border: 0px" alt="Naruto" /></td>
<TD align="center" valign="middle"><b><center>Naruto</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga012parfait.png" border="0" style="border: 0px" alt="Parfait Tic!" /></td>
<TD align="center" valign="middle"><b><center>Parfait Tic!</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga010redriver.png" border="0" style="border: 0px" alt="Red River" /></td>
<TD align="center" valign="middle"><b><center>Red River</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/manga013tenshi.png" border="0" style="border: 0px" alt="Tenshi Nanka Ja Nai" /></td>
<TD align="center" valign="middle"><b><center>Tenshi Nanka</br>Ja Nai</center></b></td></tr>
</font></table></div>
""";
print_comp_footer();
print_comp_header("current tv obsessions");
"""
<DIV id="Layer" style="position: relative; width: 100%; height: 156px; z-index: 1; overflow: auto; overflow-x: hidden;"><table width="100%" cellpadding="3" cellspacing="0"><FONT COLOR="#FFFFFF">
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/tv002desperate.png" border="0" style="border: 0px" alt="Desperate Housewives" /></td>
<TD align="center" valign="middle"><b><center>Desperate Housewives</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/tv003familyguy.png" border="0" style="border: 0px" alt="The Family Guy" /></td>
<TD align="center" valign="middle"><b><center>The Family Guy</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/tv004futurama.png" border="0" style="border: 0px" alt="Futurama" /></td>
<TD align="center" valign="middle"><b><center>Futurama</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/tv005gilmore.png" border="0" style="border: 0px" alt="Gilmore Girls" /></td>
<TD align="center" valign="middle"><b><center>Gilmore Girls</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/tv006lawsvu.png" border="0" style="border: 0px" alt="Law & Order: SVU" /></td>
<TD align="center" valign="middle"><center><b>Law & Order:</br>SVU</center></b><br></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/tv008theoc.png" border="0" style="border: 0px" alt="The O.C." /></td>
<TD align="center" valign="middle"><b><center>The O.C.</center></b></td></tr>
<tr bgcolor="#CC8A0E" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/tv007smallville.png" border="0" style="border: 0px" alt="Smallville" /></td>
<TD align="center" valign="middle"><b><center>Smallville</center></b></td></tr>
<tr bgcolor="#601173" width=187px><td align="center"><img src="http://i2.photobucket.com/albums/y8/humorous/livejournal/interests/winxclub.png" border="0" style="border: 0px" alt="Winx Club" /></td>
<TD align="center" valign="middle"><b><center>Winx Club</center></b></td></tr>
</font></table></div>
""";
print_comp_footer();
}
function Page::print_linklist() {
var string height = "150px"; # height of component
var int count = 0;
var string return = "";
var string compBR = """<div class="medLine">"""
+ """<img src="$*SITEROOT/palimg/component/clear.gif" width="1" height="1" alt="" border="0" />"""
+ """</div>"""
+ """<div class="ltLine">"""
+ """<img src="$*SITEROOT/palimg/component/clear.gif" width="1" height="1" alt="" border="0" />"""
+ """</div>\n""";
if (size $.linklist <= 0) {
return;
} elseif (not $*linklist_support) {
return;
}
var bool section_open = false;
$return = $return + """<div id="Layer" style="position:relative; height:$height; z-index:1; overflow: auto;">""";
foreach var UserLink l ($.linklist) {
$count = $count + 1;
if ($l.title) {
if ($l.is_heading) {
if ($section_open) {
$return = $return + "<br />";
}
$return = $return + """<span style="font-weight: bold;">$l.title</span>$compBR""";
$section_open = true;
} else {
$return = $return + """<a href="$l.url">$l.title</a>""";
if($count < size($.linklist)){
$return = $return + $compBR;
}
}
}
}
$return = $return + "</div>";
"""$return""";
}
function page_layout(Page p) {
# Calculate the corner_color for the new rounded navigation bar
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"+$headerMinus5->substr(1,6)+"2"+$header->substr(1,6);
# Start the html document and print the head section which controls the page title, stylesheet information,
# server supplied head content, and custom header informtion from the print_custom_head function.
var string title = $p->title();
"""
<html>
<head>
<link rel="stylesheet" href="$p.stylesheet_url" type="text/css"/>
$p.head_content
"""; $p->print_custom_head(); """
<title>$title</title>
</head>
""";
# Start the body section of the html document which controls the visible parts of the page.
"""<body>""";
# Print the rounded 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>
<img src="http://www.livejournal.com/palimg/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">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">
</td>
<td>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td valign="top" rowspan="3" colspan="3" width="5"><img src="http://www.livejournal.com/palimg/component/curve-top-left.gif$corner_color" width="5" height="5" alt="" border="0" /></td>
<td class="dkLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
<td valign="top" rowspan="3" colspan="3" width="5"><img src="http://www.livejournal.com/palimg/component/curve-top-right.gif$corner_color" width="5" height="5" alt="" border="0" /></td>
</tr><tr>
<td class="ltLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
</tr><tr>
<td class="tabBg"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0" /></td>
</tr><tr>
<td class="dkLine" width="1"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
<td class="ltLine" width="1"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
<td class="tabBg" width="3"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0" /></td>
<td class="tabBg" width="100%">
<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"}+"\">$*nav_friends_text</a></span>";
print "<span class=\"header-item\"><a href=\""+$p.view_url{"archive"}+"\">$*nav_calendar_text</a></span>";
print "<span class=\"header-item\"><a href=\""+$p.view_url{"userinfo"}+"\">$*nav_info_text</a></span>";
if($p.journal.website_url != "") {
print "<span class=\"header-item\"><a href=\"$p.journal.website_url\">$p.journal.website_name</a></span>";
}
$p->lay_viewspec_nav(); # prints previous / next links including arrow images
"""
</div>
</td>
<td class="tabBg" width="3"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0" /></td>
<td class="ltLine" width="1"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
<td class="dkLine" width="1"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
</tr><tr>
<td valign="top" rowspan="3" colspan="3" width="5"><img src="http://www.livejournal.com/palimg/component/curve-bottom-left.gif$corner_color" width="5" height="5" alt="" border="0" /></td>
<td class="tabBg"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0" /></td>
<td valign="top" rowspan="3" colspan="3" width="5"><img src="http://www.livejournal.com/palimg/component/curve-bottom-right.gif$corner_color" width="5" height="5" alt="" border="0" /></td>
</tr><tr>
<td class="ltLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
</tr><tr>
<td class="dkLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
</tr>
</table>
</td>
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">
</td>
</tr>
</table>
""";
}
# Print a spacer at the top of the page above the components and main area.
"""<div><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0"></div>""";
# Start the table which lays out the components and main area in side-by-side layout.
"""
<table width="100%" cellspacing="0" cellpadding="0" valign="top">
<tr valign="top" width="100%">
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">
</td>
""";
# If the components are supposed to be on the left side of the page, then print them, followed by a column
# with a spacer which is to seperate the components and the main area.
if ($*comp_state == "left") {
print_my_components($p);
"""
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">
</td>
""";
}
# Print the main area of the page.
print_my_entries($p, $title);
# If the components are supposed to be on the right side of the page, then first print a column with a spacer
# and then print the components after the spacer.
if ($*comp_state == "right") {
"""
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">
</td>
""";
print_my_components($p);
}
# Finish off the table for the body
"""
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">
</td>
</tr>
</table>
""";
# End the body section and end the html document
"""
</body>
</html>
""";
}