?

Log in

No account? Create an account
[component] - [theme] - [light blue theme] - [heavily customized dates, calendar, title, profile, et - S2 Layers — LiveJournal [entries|archive|friends|userinfo]
S2 Layers

[ website | advanced customization ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| how to post tags page ]
[affiliated communities| fblayers ]

[component] - [theme] - [light blue theme] - [heavily customized dates, calendar, title, profile, et [Sep. 9th, 2004|02:48 pm]
S2 Layers

s2layers

[sssexygirl]
[Tags|, , , , , , ]
[mood |calmcalm]

OK my layer isnt the best thing out there, but i likes it:) it is not colored as of yet, screenshot 1 screenshot 2
layerinfo "type" = "theme";
layerinfo "name" = "light blue theme";
layerinfo "is_public" = 1;
layerinfo "author_name" = "Sssexygirl";
layerinfo "author_email" = "tatertati28@hotmail.com";
layerinfo "source_viewable" = "1";









###########################################
#    Shortcut the FlatBox                 #
###########################################
class flatbox {
function flatbox_header();
function flatbox_footer();
function flatbox_bubble(); #a flatbox containing simply a non-breaking space- a one line spacer.
}

function flatbox::flatbox_bubble() {
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);
"""<tr><td colspan=7>
<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 align="center"> </div>
        <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></tr>
""";
}

function flatbox::flatbox_header() {
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);
"""
<tr><td colspan=7>
<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 align="center">""";
}

function flatbox::flatbox_footer() {
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);
"""
        </div>
        <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="$*SITEROOT/palimg/component/curve-bottom-left.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></tr>
""";
}

#########################
#       END FLATBOX     #
#########################



#####################
# components        #
#####################


function print_free_text(Page p) {
var flatbox f = new flatbox;

print_comp_header("wonderful communities");

"""<p align="left">
<a href="http://www.livejournal.com/community/s2styles/">.s2styles</a><br>
<a href="http://www.livejournal.com/community/s2component/">.s2component</a><br>
<a href="http://www.livejournal.com/community/component_help/">.component_help</a><br>
<a href="http://www.livejournal.com/community/s2_for_dummies/">.s2_for_dummies</a><br>
<a href="http://www.livejournal.com/community/s2layers/">.s2layers</a>
</p>""";
print_comp_footer();

print_comp_header("linkage");



"""<div id="Layer1" style="position:relative; width:180px; height:330px; z-index:1; overflow: auto; overflow-x: hidden;">
<table border="0" cellpadding="0" cellspacing="3" width="100%">
<tr>
  <td class="tabBg" align="center" colspan="3">
   Web Resources
  </td>
</tr>
<tr>
  <td align="left">
   <table align="center" border="0" cellpadding="0" cellspacing="0" width="80%">
    <tr>
     <td align="left">
      <a href="http://www.google.com/" target="_blank" title="Google">Google</a><br>
      <a href="http://www.dictionary.com/" target="_blank" title="www.dictionary.com">Dictionary</a><br>
     </td>
     <td>
      
     </td>
     <td align="left">
      <a href="http://www.thesaurus.com/" target="_blank" title="www.thesaurus.com">Thesaurus</a><br>
      <a href="http://en.wikipedia.org/" target="_blank" title="Wikipedia">Encyclopedia</a><br>
     </td>
    </tr>
   </table>
  </td>
</tr>
<tr>
  <td class="tabBg" align="center" colspan="3">
   Friends Groups
  </td>
</tr>
<tr>
  <td align="center">
   <table align="center" border="0" cellpadding="0" cellspacing="0" width="80%">
    <tr>
     <td align="left">
      <a href="http://www.livejournal.com/users/sssexygirl/friends/awards" target="_blank" title="Lj Awards">Awards</a><br>
      <a href="http://www.livejournal.com/users/sssexygirl/friends/porn" target="_blank" title="Lj Porn *rofl*">Porn?</a><br>
     </td>
     <td>
      
     </td>
     <td align="left">
      <a href="http://www.livejournal.com/users/sssexygirl/friends/communities" target="_blank" title=" Communities">Communities</a><br>
      <a href="http://www.livejournal.com/users/sssexygirl/friends/component" target="_blank" title="Component Resources">Component</a><br>
     </td>
    </tr>
   </table>
  </td>
</tr>
<tr>
  <td class="tabBg" align="center" colspan="3">
   Surfing
  </td>
</tr>
<tr>
  <td align="center">
   <table align="center" border="0" cellpadding="0" cellspacing="0" width="80%">
    <tr>
     <td align="left">
      <a href="http://www.gunbound.net" target="_blank" title="Gunbound">Gunbound</a><br>
      <a href="http://www.retaliation.wolfpaw.net" target="_blank" title="The Retaliation">Retal</a><br>
      <a href="http://www.crimsonnightmares.dune.net" target="_blank" title="Crimson Nightmares">Crimson</a><br>
      <a href="http://www.robont.net/" target="_blank" title="Rob">Rob<a><br>
     </td>
     <td>
      
     </td>
     <td align="left">
      <a href="http://www.sierraclub.org/" target="_blank" title="The Sierra Club">Sierra Club</a><br>
      <a href="http://www.commoncause.org/" target="_blank" title="Common Cause">Com. Cause</a><br>
      <a href="http://www.freepeltier.org/" target="_blank" title="Free Leonard Peltier">Free Peltier</a><br>
      <a href="http://www.hrc.org/" target="_blank" title="The Human Rights Campaign">HRC</a><br>
     </td>
    </tr>
   </table>
  </td>
</tr>
<tr>
  <td class="tabBg" align="center" colspan="3">
   Zen and Buddhism
  </td>
</tr>
<tr>
  <td align="center">
   <table align="center" border="0" cellpadding="0" cellspacing="0" width="80%">
    <tr>
     <td align="left">
      <a href="http://www.geocities.com/nozendo/" target="_blank" title="Zen Home Study">No Zendo</a><br>
      <a href="http://www.buddhanet.net/e-learning/guide.htm" target="_blank" title="Buddhism Study Guide">Study Guide</a><br>
      <a href="http://www.dharmathecat.com/" target="_blank" title="Dharma The Cat">DharmaTheCat</a><br>
     </td>
     <td>
      
     </td>
    
     </td>
    </tr>
   </table>
  </td>
</tr>
<tr>
  <td class="tabBg" align="center" colspan="3">
   Science and Tech
  </td>
</tr>
<tr>
  <td align="center">
   <table align="center" border="0" cellpadding="0" cellspacing="0" width="80%">
    <tr>
     <td align="left">
      <a href="http://www.nasa.gov" target="_blank" title="NASA's Homepage">NASA</a><br>
      <a href="http://www.slashdot.com" target="_blank" title="News for Nerds. Stuff that Matters.">Slashdot</a><br>
      <a href="http://www.howstuffworks.com/" target="_blank" title="How Stuff Works">HowStuffWorks</a><br>
      <a href="http://www.techtv.com/screensavers/index.html/" target="_blank" title="The Screen Savers">ScreenSavers</a><br>
     </td>
     <td>
      
     </td>
     <td align="left">
      <a href="http://www.space.com/" target="_blank" title="Space.com">Space.com</a><br>
      <a href="http://www.carlsagan.com/" target="_blank" title="The Official Homepage of Carl Sagan">Carl Sagan</a><br>
      <a href="http://whatis.techtarget.com/" target="_blank" title="WhatIs.com">WhatIs.com</a><br>
      <br><!--- Filler --->
     </td>
    </tr>
   </table>
  </td>
</tr>
<tr>
  <td class="tabBg" align="center" colspan="3">
   Fun Stuff
  </td>
</tr>
<tr>
  <td align="center">
   <table align="center" border="0" cellpadding="0" cellspacing="0" width="80%">
    <tr>
     <td align="left">
      <a href="http://www.nhlbi.nih.gov/health/public/sleep/starslp/missionz/comic.htm" target="_blank" title="Garfield's Homepage">Garfield</a><br>
      <a href="http://www.acme.com/heartmaker/" target="_blank" title="Make your own Valentine's Hearts">Heart Maker</a><br>
      <a href="http://www.popcap.com/gamepopup.php?theGame=bookworm" target="_blank" title="An addictive word game">Bookworm</a><br>
      <a href="http://nickciske.com/tools/binary.php" target="_blank" title="Binary Translator">Binary</a><br>
     </td>
     <td>
      
     </td>
     <td align="left">
      <a href="http://www.bored.com" target="_blank" title="Lots of stuff to kill time">Bored</a><br>
      <a href="http://www.wideopenwest.com/~calysto/battleship/index.html" target="_blank" title="a Java Battleship Game">Battleship</a><br>
      <a href="http://www.snopes.com" target="_blank" title="A site listing and debunking urban legends">Urb. Legends</a><br>
      <a href="http://www.google.com/press/zeitgeist.html" target="_blank" title="Google's Top Search Statistics">Zeitgeist</a><br>
     </td>
    </tr>
   </table>
  </td>
</tr>
<tr>
  <td class="tabBg" align="center" colspan="3">
   News
  </td>
</tr>
<tr>
  <td align="center">
   <table align="center" border="0" cellpadding="0" cellspacing="0" width="80%">
    <tr>
     <td align="left">
      <a href="http://www.cnn.com" target="_blank" title="CNN's Homepage">CNN</a><br>
      <a href="http://news.google.com" target="_blank" title="Google's News Engine">Google News</a><br>
      <a href="http://www.guardian.co.uk/" target="_blank" title="The Guardian (UK)">Guardian</a><br>
      <a href="http://www.reuters.com" target="_blank" title="Reuters' Homepage">Reuters</a><br>
     </td>
     <td>
      
     </td>
     <td align="left">
      <a href="http://www.msnbc.com" target="_blank" title="MSNBC's Homepage">MSNBC</a><br>
      <a href="http://www.slashdot.com" target="_blank" title="News for Nerds. Stuff that Matters.">Slashdot</a><br>
      <a href="http://english.aljazeera.net/HomePage" target="_blank" title="Al Jazeera's Homepage">Al Jazeera</a><br>
      <br><!--- Filler --->
     </td>
    </tr>
   </table>
  </td>
</tr>
<tr>
  
  <td class="tabBg" align="center" colspan="3">
   Football
  </td>
</tr>
<tr>
  <td align="center">
   <table align="center" border="0" cellpadding="0" cellspacing="0" width="80%">
    <tr>
     <td align="left">
      <a href="http://www.espn.com" target="_blank" title="ESPN's Homepage">ESPN</a><br>
      <a href="http://ohiostatebuckeyes.ocsn.com/sports/m-footbl/osu-m-footbl-body.html" target="_blank" title="The Ohio State University Buckeye Football Homepage">Buckeyes</a><br>
     </td>
     <td>
      
     </td>
     <td align="left">
      <a href="http://www.nfl.com" target="_blank" title="The National Football League">NFL</a><br>
      <a href="http://www.bengals.com" target="_blank" title="The Cincinnati Bengals">Bengals</a><br>
     </td>
    </tr>
   </table>
  </td>
</tr>
</table>
</div></p>""";

print_comp_footer();

##############
# random fact#
##############

print_comp_header("random fact");
var string[] facts;

  $facts[0]="""Humans blink over 10,000,000 times a year.""";
  $facts[1]="""Your body is creating and killing 15 million red blood cells per second.""";
  $facts[2]="""The King of Hearts is the only king without a moustache in a standard deck of playing cards.""";
  $facts[3]="""The Mona Lisa has no eyebrows. It was the fashion in Renaissance Florence to shave them off.""";
  $facts[4]="""The most popular first name in the world is Muhammad.""";
  $facts[5]="""Most lipstick contains fish scales.""";
  $facts[6]="""When glass breaks the cracks move faster than 3,000 miles per hour. To photograph the event, a camera must shoot at a millionth of a second.""";

$facts[7]="""A Boeing 747 airliner holds 57,285 gallons of fuel.""";
  $facts[8]="""A lightning bolt generates temperatures five times hotter than the surface of the sun.""";
  $facts[9]="""The sun is 330,330 times larger than the earth.""";
  $facts[10]="""Recycling one glass jar saves enough energy to watch T.V. for 3 hours.""";
  $facts[11]="""Lightning strikes the planet about 6,000 times per minute.""";
  $facts[12]="""More Monopoly money than real money is printed throughout the world every year.""";
  $facts[13]="""Fortune cookies were actually invented in America, in 1918, by Charles Jung.""";
  $facts[14]="""One gallon of used motor oil can ruin approximately one million gallons of fresh water.""";
  $facts[15]="""Men are 6 times more likely to be struck by lightning than women.""";
  $facts[16]="""The average iceberg weighs 20,000,000 tons.""";
  $facts[17]="""Angel Falls in Venezuela is the world's highest waterfall, at 979 meters. That's sixteen times the height of Niagara Falls.""";
  $facts[18]="""Canada is a Native American word meaning 'Big Village.'""";
  $facts[19]="""Istanbul, Turkey is the only city in the world located on two continents.""";
  $facts[20]="""It would take 29 million years for a car travelling 100 miles per hour to reach the nearest star.""";
  $facts[21]="""The meaning of Siberia is 'sleeping land'.""";
  $facts[22]="""Annually 17 tons of gold is used to make wedding rings in the United States.""";

  $facts[23]="""During World War II, Russians used dogs strapped with explosives to blow up German tanks. They trained the dogs to associate the tanks with food and ended up destroying about 25 German tanks using this method.""";
  $facts[24]="""In World War II, the German submarine U-120 was sunk by a malfunctioning toilet.""";
  $facts[25]="""The gesture commonly known as 'The Finger' derives from early medieval times. When archers were caught their middle fingers were cut off so that they could no longer use a bow. The gesture came about by archers taunting enemies by showing them that they have their middle finger.""";
  $facts[26]="""In 1631, two London bible printers accidentally left the word 'not' out of the seventh commandment, which then read, 'Thou shalt commit adultery.' This legendary book is now known as 'The Wicked Bible.'""";
  $facts[27]="""Americans did not commonly use forks until after the Civil War.""";
  $facts[28]="""An airplane mechanic invented the Slinky while he was playing with engine parts and realized a possible secondary use for the springs.""";
  $facts[29]="""Elvis had a twin brother named Jesse Garon, who died at birth.""";
  $facts[30]="""Thomas Edison once saved a boy from the path of an oncoming locomotive who was a station official's child. For his bravery, the boy's father taught Edison how to use the telegraph.""";
  $facts[31]="""A can of Pepsi has 41 grams of sugar. This amounts to about seven teaspoons of sugar.""";
  $facts[32]="""All the Krispy Kreme donut stores collectively could make a doughnut stack as high as the Empire State Building in only 2 minutes.""";
  $facts[33]="""Americans collectively eat one hundred pounds of chocolate every second.""";
  $facts[34]="""Due to sugar shortages to make candy during World War II, movie theatre owners turned to popcorn, which is now the best selling snack at movie theatres today.""";
  $facts[35]="""Author Dr. Seuss wrote the book Green Eggs and Ham because the editor made him a bet that he could not write a book which contained less than fifty words.""";
  $facts[36]="""The Bible has been translated into Klingon.""";
  $facts[37]="""George Washington was deathly afraid of being buried alive. After he died, he wanted to be laid out for three days just to make sure he was dead.""";
  $facts[38]="""U.S. President Grover Cleveland answered the White House phone, personally.""";
  $facts[39]="""An apple, onion, and potato all have the same taste. The differences in flavor are caused by their smell. To prove this - pinch your nose and take a bite from each. They will all taste sweet.""";
  $facts[40]="""There are more than 200 kinds of chili peppers, none of which belong to the pepper family.""";
  $facts[41]="""According to NASA, the U.S. has the world's most violent weather. In a typical year, the U.S. can expect some 10,000 violent thunderstorms, 5,000 floods, 1,000 tornadoes and several hurricanes.""";
  $facts[42]="""The surface area of the Earth is 197,000,000 square miles.""";
  $facts[43]="""Forty six percent of the world's water is in the Pacific Ocean. The Atlantic has 23.9 percent; the Indian, 20.3; the Arctic, 3.7 percent.""";
  $facts[44]="""On a trip to the South Sea islands, French painter Paul Gauguin stopped off briefly in Central America, where he worked as a laborer on the Panama Canal.""";
  $facts[45]="""When airplanes were still a novel invention, seat belts for pilots were installed only after the consequence of their absence was observed to be fatal - several pilots fell to their deaths while flying upside down.""";
  $facts[46]="""Leonardo da Vinci could write with one hand and draw with the other at the same time.""";
  $facts[47]="""In 1893, Chicago hired its first police woman. Her name was Marie Owens. While the city was progressive in its hiring practices, Chicago's female police officers were not allowed to wear uniforms until 1956.""";
  $facts[48]="""The same man who led the attack on the Alamo, Mexican Military General Antonio Lopez de Santa Anna, is also credited with the invention of chewing gum.""";
  $facts[49]="""At the St. Louis World's Fair in 1904, Richard Blechyden, and Englishman, had a tea concession. On a very hot day, none of the fairgoers were interested in hot tea. Blechyden served the tea cold - and invented iced tea.""";
  $facts[50]="""It takes an interaction of 72 different muscles to produce human speech.""";
  $facts[51]="""During his or her lifetime, the average human will grow 590 miles of hair.""";
  $facts[52]="""Most toilets flush in E flat.""";
  $facts[53]="""The rock band Lynyrd Skynyrd took their name from a high school teacher named Leonard Skinner who had suspended several students for having long hair.""";
  $facts[54]="""The song "When Irish Eyes Are Smiling" was written by George Graff, who was German, and was never in Ireland in his life.""";
  $facts[55]="""Bill Haley and the Comets, one of rock and roll's pioneer groups, actually began their career's as Bill Haley's Saddle Pals - a country music act.""";
  $facts[56]="""Dark Side of The Moon (a Pink Floyd album) stayed on the top 200 Billboard charts for 741 weeks. That's 14 years.""";
  $facts[57]="""The Beatles featured two left handed members. Paul, whom everyone saw holding his Hoffner bass left handed, and Ringo, whose left handedness is at least partially to blame for his 'original' drumming style.""";
  $facts[58]="""Lightning keeps plants alive. The intense heat of lightning forces nitrogen in the air to mix with oxygen, forming nitrogen oxides that are soluble in water and fall to the ground in rain. Plants need nitrates to survive, so without lightning, plants could not live.""";
  $facts[59]="""Every human spent about half an hour as a single cell.""";
  $facts[60]="""Every year about 98% of atoms in your body are replaced.""";



  var int randfact;
    $randfact = rand(0, ((size $facts) - 1));
    """<p align="left">$facts[$randfact]</p>""";
print_comp_footer();



var Color ltLineColor = $*header_bgcolor->lighter(30);
var string ltLineString = $ltLineColor.as_string;
var string medLineString = $*header_bgcolor.as_string;
var Color dkLineColor = $*header_bgcolor->darker(50);
var string dkLineString = $dkLineColor.as_string;


#######################################################
# 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 loggedInTitle = "your control panel";    #
# Title bar of component when not logged in           #
  var string loggedOutTitle = "login box";            #
# LOGIN BOX                                           #
# Label for entering username                         #
  var string username   = "username:";                #
# Label for entering password                         #
  var string password   = "password:";                #
# Label for forgot password link                      #
  var string forgot     = "forget?";                  #
# Label for expiration options                        #
  var string expiration = "expiration:";              #
# Label for expiring when window closes               #
  var string close      = "close window";             #
# Label for never expiring                            #
  var string never      = "never";                    #
# Label for binding to ip                             #
  var string bind       = "bind to ip:";              #
# Label for accepting binding to ip                   #
  var string y          = "yes";                      #
# Label for denying binding to ip                     #
  var string n          = "no";                       #
# Label for log in button                             #
  var string submit     = "log in";                   #
#######################################################
# CONTROL PANEL START #
#######################
if(viewer_logged_in()){
var string openRow  = """  <tr>\n    <td align="center" width="30%">""";
var string closeRow = """    </td>\n  </tr>\n""";
var string newCell  = """    </td>\n    <td align="center" width="30%">""";
# i used these variables to make it easier to make the table# $openRow opens a table row# $closeRow closes a table row# $newCell 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
print_comp_header("$loggedInTitle");
  """
<table border="1" bordercolor="$medLineString" cellspacing="0" frame="void" width="100%">
$openRow
<a href="$*SITEROOT/customize/">
  customize
</a>
$newCell
<a href="$*SITEROOT/customize/advanced/">
  <i>advanced</i>
</a>
$newCell
<a href="$*SITEROOT/customize/advanced/layers.bml">
  <i>layers</i>
</a>
$closeRow
$openRow
<a href="$*SITEROOT/customize/advanced/styles.bml">
  <i>styles</i>
</a>
$newCell
<a href="$*SITEROOT/manage/links.bml">
  <i>link lists</i>
</a>
$newCell
<a href="$*SITEROOT/update.bml?mode=full">
  update
</a>
$closeRow
$openRow
<a href="$*SITEROOT/editjournal.bml">
  edit entries
</a>
$newCell
<a href="$*SITEROOT/friends/">
  edit friends
</a>
$newCell
<a href="$*SITEROOT/editinfo.bml">
  edit info
</a>
$closeRow
$openRow
<a href="$*SITEROOT/changepassword.bml">
  edit pass
</a>
$newCell
<a href="$*SITEROOT/editpics.bml">
  edit pics
</a>
$newCell
<a href="$*SITEROOT/memories.bml">
  memories
</a>
$closeRow
$openRow
<a href="$*SITEROOT/misc/whereami.bml">
  my cluster
</a>
$newCell
<a href="$*SITEROOT/portal/">
  my portal
</a>
$newCell
<a href="$*SITEROOT/site/">
  site map
</a>
$closeRow
$openRow
<a href="$*SITEROOT/modify.bml">
  modify
</a>
$newCell
<a href="$*SITEROOT/birthdays.bml">
  birthdays
</a>
$newCell
<a href="$*SITEROOT/logout.bml">
  logout
</a>
$closeRow
</table>
  """;



} else {
print_comp_header("$loggedOutTitle");
  """
<form action='$*SITEROOT/login.bml' method='post'>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td>$username</td><td><input type='text' name='user' size='15' maxlength='15' /></td></tr>
<tr><td valign='top'>$password</td><td><input type='password' name='password' size='15' maxlength='30' /><br /><a href='$*SITEROOT/lostinfo.bml'><font size='1'>$forgot</font></a></td></tr>
<tr valign='top'><td>$expiration:</td><td>
<input type='radio' name='expire' value='close'  checked='checked' id='close' /> <label for='close'>$close</label><br />
<input type='radio' name='expire' value='never'  id='never' /> <label for='never'>$never</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'>$y</label><br />
<input type='radio' name='bindip' value='no'  checked='checked' id='bindipno' /> <label for='bindipno'>$n</label>
</td></tr>
<tr><td colspan='2' align='center'><input name='action:login' type='submit' value='$submit' /></td></tr>
</table>
</form>
  """;
}
print_comp_footer();
#####################
# CONTROL PANEL END #
#####################




print_comp_header ("search LJ");
"""<div align="center"><form action="http://www.livejournal.com/multisearch.bml">
<label for="searchlj">Search</label>: <br>
<input class="login" id="searchlj" value="" size="15" type="text" name="q"><br>
<select name="type"><option selected="SELECTED" value="user">Username<option value="email">Email<option value="region">Region<option value="int">Interest<option value="aolim">AOL IM<option value="icq">ICQ Number
</select>
<img alt="" height="5" src="http://img.livejournal.com/dot.gif" width="1">
<input class="login" value="Search!" type="submit"></form><br><br></div>""";
print_comp_footer();
print_comp_header("adoptions");

  """ <center><img src="http://bunnysnoog.cyborgcow.net/henry20.gif"
align=left><a href="http://bunnysnoog.cyborgcow.net/index.html">
I adopted a cute lil' giraffe fetus
from Fetusmart! Hooray fetus! </a> </center>""";

print_comp_footer();




print_comp_header("viewing");

"""<div align="center">
This journal is best viewed using
Mozilla Firefox at 1024x768 resolution.

<a href="http://www.mozilla.org/products/firefox">
<img src="http://pictures.greatestjournal.com/userimg/1885797/240104"  border=0"></a></div>""";
print_comp_footer();


####################################################
# Clock                                            #
# by kunzite1                                      #
# (adapted from lj:xevinx's post to journal script)#
####################################################
# USER SETTINGS                                    #
#                                                  #
# set this to your time zone difference            #
  var int k1Ctime_difference  = -5;
# set this to 1 if it is between spring and fall   #
  var int k1Cdaylight_savings = 1;

# set this to 1 if you want 24 hr time             #
  var int k1Cmilitary_time    = 0;
# set this to 1 if you want the date shown         #
  var int k1Cshow_date        = 1;
# set this to the date seperator that you wish     #
#   for example, a "/" or a "-"                    #
  var string k1Cseperator     = "/";
# set this to the header of the component          #
var string k1Ctitle         = "this page was last viewed on";
####################################################
# CLOCK START #
###############
# DON'T need to mess with anything below
var int k1Cyear  = $p.time.year;

var int k1Cday   = $p.time.day;
var int k1Chour  = $p.time.hour + $k1Ctime_difference;
var int k1Cmin   = $p.time.min;
var int k1Cmonth = $p.time.month;
var string k1Cmeridian = "";
if($k1Cdaylight_savings){
  $k1Chour = $k1Chour + 1;
}
# figure out days in month
var int k1Cmondays = 31;
if($k1Cmonth == 4 or $k1Cmonth == 6  or $k1Cmonth == 9 or $k1Cmonth == 11) {
  $k1Cmondays = 30;
} elseif($k1Cmonth == 2) {
  $k1Cmondays = ($k1Cyear % 4 == 0) ? 29 : 28;
}
if($k1Chour > 24) {                 # if your timezone is the day after system...
    $k1Chour = $k1Chour - 24;        # figure out new hour value
    $k1Cday = $k1Cday + 1;           # make sure to change day value
  if($k1Cday > $k1Cmondays) {        # if your day is in the next month...
    $k1Cday = $k1Cday - $k1Cmondays;  # figure out the new day
    $k1Cmonth = $k1Cmonth + 1;       # change the month value
    if($k1Cmonth > 12) {            # if your month is in the next year...
      $k1Cmonth = 1;                # change the month value and
      $k1Cyear = $k1Cyear + 1;       # change the year value
    }
  }
} elseif($k1Chour < 0) {            # otherwise, if your day is the day before...
  $k1Chour = 24 + $k1Chour;          # change the hour and
  $k1Cday = $k1Cday - 1;             # change the day value
  if($k1Cday < 1) {                 # if that puts you in the previous month...
    $k1Cmonth = $k1Cmonth - 1;       # decrement the month value
    if($k1Cmonth < 1) {             # if that puts you in the previous year...
      $k1Cmonth = 12;               # set the new month value and
      $k1Cyear = $k1Cyear - 1;       # decrement the year value
    }
    $k1Cmondays = 31;               # figure out how many days are in this new month
    if($k1Cmonth == 4 or $k1Cmonth == 6  or $k1Cmonth == 9 or $k1Cmonth == 11) {
      $k1Cmondays = 30;
    } elseif($k1Cmonth == 2) {

      $k1Cmondays = ($k1Cyear % 4) == 0 ? 29 : 28;
    }
    $k1Cday = $k1Cmondays;           # and change your day value to that.
  }
}
# if you dont want this to be in a component,
# comment the next line AND the print_comp_footer() down a ways
print_comp_header($k1Ctitle);
# if you wish to center the clock within a
# div or use any other html, this is the place
# make sure you close the tags down there...
"""<div align="center">""";
if($k1Cshow_date == 1){
  if($k1Cmonth < 10){
    """0$k1Cmonth""";
  } else {
    """$k1Cmonth""";
  }
  """$k1Cseperator""";
  if($k1Cday < 10){
    """0$k1Cday""";
  } else {
    """$k1Cday""";
  }
  """$k1Cseperator$k1Cyear<br />""";
}
if($k1Cmilitary_time == 0){
  if($k1Chour < 12){
    $k1Cmeridian = "am";
  } else {
    $k1Cmeridian = "pm";
  }
}
if($k1Cmilitary_time == 1){
  if($k1Chour < 10){
    """0$k1Chour""";
  } else {

    """$k1Chour""";
  }
} else {
  if($k1Chour > 12){
    $k1Chour = $k1Chour - 12;
  }
  if($k1Chour == 0){
    $k1Chour = 12;
  }
  if($k1Chour < 10){
    """0$k1Chour""";
  } else {
    """$k1Chour""";
  }
}
""":""";
if($k1Cmin < 10){
  """0$k1Cmin""";
} else {
  """$k1Cmin""";
}
"""$k1Cmeridian""";
# if you used any html to alter the appearance
# of the clock, close the tags on the next line
# """</div>""";
# if you dont want this to be in a component,
# comment the next line AND the print_comp_header($k1Ctitle) up a ways
print_comp_footer();
#############
# CLOCK END #
#############




}














#################################

#            css                #
#################################


function print_stylesheet ()
{


###########
# calendar#
###########
  
   var string cal_active_bg = "\"http://geocities.com/tatertati28/circles.txt\"";
   $cal_active_bg = $cal_active_bg ? "background-image: url($cal_active_bg);" : "";

  
   var string cal_active = "background-color: $*comp_bgcolor;";

  
   var string cal_inactive_bg = "\"http://www.tc.umn.edu/~kaix0002/LJ/inact_circle.gif\"";
   $cal_inactive_bg = $cal_inactive_bg ? "background-image: url($cal_inactive_bg);" : "";

  
   var string cal_inactive = "background-color: $*comp_bgcolor;";

   var string ncal_active_bg = "";
   $ncal_active_bg = $ncal_active_bg ? "background-image: url($ncal_active_bg);" : "";

  
   var string ncal_active = "background-color: $*calendar_active;";

   var string ncal_inactive_bg = "";
   $ncal_inactive_bg = $ncal_inactive_bg ? "background-image: url($ncal_inactive_bg);" : "";

  
   var string ncal_inactive = "background-color: $*calendar_inactive;";

   """






body { background-color: #ffffff;

background-image: url("http://stat.livejournal.com/palimg/component/bg.gif/p0d6d6d6");
background-repeat: repeat;
background-position: center;

background-attachment: scroll;

margin-top: 0px; margin-left: 0px;
margin-right: 0px;
font-family: Comic Sans MS;
font-size: 11px;
color: #264670;
}

td, tr {
font-family: Comic Sans MS;
font-size: 11px;
color: #264670;
line-height: 22px;
}

a {
color: #000000;
text-decoration: none;
}

a:visited {
color: #647a98;

}

a.calendarLink {
color: #000000;
}

a.header {
color: #000000;
}










a.headerLinks {
color: #000000;
}

A:hover{
                          color:#ffffff; background-color:#264670;text-decoration:none;};
                          ul {list-style: square};
                          table.small ;
                          cursor:crosshair;

                          height: 2;
                          
                        
}

select {
font-family: Comic Sans MS;
font-size: 11px;
background-color: #f4f4f4;
}

input {
line-height: normal;

background-color: #f4f4f4;
color: #264670;
}

.subject { font-weight: bold; }
.small { margin-top: 3px;}

.header {
background-image: url("http://stat.livejournal.com/palimg/component/top-bg.gif/ptacc7da");
background-repeat: repeat-x;
height: 25px;
                        color: #264670;
}

.userTitle {
font-size: 22px;
text-weight: bolder;
color: #264670;
line-height: 17px;
}

.userSubTitle {
font-size: 12px;
color: #264670;
line-height: 22px;
}

.header-item {
padding-left: 15px;
position: relative;
top: 5px;
}

.dkLine { background-color: #6798bb; }
.ltLine { background-color: #d5e3ed; }
.medLine { background-color: #d6d6d6; }
.divLine { background-color: #264670; }
.tabBg { background-color: #acc7da; }

.entryDate {
font-size: 11px;
color: #264670;
                        

}

#PART ONE ENDS HERE
linkReply

Comments:
[User Picture]From: kunzite1
2004-09-09 01:57 pm (UTC)

i added a couple things to the first post as things came to my attention.

if you could edit the entry and select the "don't auto-format" option thatd be great. :)

also... itd be cool if you added that its for component (its quite obvious to us that its component cuz we know what it looks like, but not all of us do).

suggested subject would be:
[component] - [theme] - [light blue theme] - [heavily customized dates, calendar, title, profile, etc.]

or something like that. :)

you also dont list any IM info on your journal or your userinfo so this was the most convenient way to inform you. ^_^
(Reply) (Thread)
[User Picture]From: sssexygirl
2004-09-09 02:05 pm (UTC)
ok fixed the subject and also you see on my profile that little email thingy:p i will add my email to user info right after this post hehe
(Reply) (Parent) (Thread)
[User Picture]From: kunzite1
2004-09-09 02:06 pm (UTC)

well... that little email thingy has a yahoo email addy... by chance do you use yahoo messenger? :)
(Reply) (Parent) (Thread)
[User Picture]From: sssexygirl
2004-09-09 02:12 pm (UTC)
i could now!
(Reply) (Parent) (Thread)
[User Picture]From: sssexygirl
2004-09-09 02:13 pm (UTC)
same as email addy i presume.. i just dl'ed it rofl
(Reply) (Parent) (Thread)
[User Picture]From: zombie
2004-09-09 02:38 pm (UTC)
Thank you for sharing this. I just wondered if you could explain to me which bit of code formats the date in the way that you have done? Because I love it.
(Reply) (Thread)
[User Picture]From: sssexygirl
2004-09-09 02:53 pm (UTC)
ok if you look at the second post http://www.livejournal.com/community/s2layers/783.html?view=4623#t4623 that is the rest of the layer it says date1 date2 date3 that gets added into your css portion of your code. then you scroll down to where it says


###########################

#scrollbar/meta/music/    #

###########################





### Override the printing of entries. This affects the Recent/Day pages, Friends pages, and Entry pages.

function print_entry(Page p, Entry e, Color bgcolor, Color fgcolor, bool hide_text) {

  var int maxLength = 1*1;#some value... I like 600 because that's roughly 100 words

  # Print the header for the entry. It prints in the default form "[<icon> ]<time> <date>" where:

  #   <icon> is the security icon (ie. lock if protected, eye if private, or none if public)

  #   <time> is in the default time format (eg: 03:46 am)

  #   <date> is bold and in the "long" format (eg: November 25th, 2003)

  # The ordering can be adjusted however needed, and you can also modify the formats that date and time print in.

  # This can all be done in the red section below. For specifications of available formats or how to construct

  #   your own formats, you can see: http://www.livejournal.com/doc/s2/siteapi.core1.html#siteapi.core1.dateformats

  """<div style="width: 800px;">""";



"""<div>""";

  print_entry_header((defined $e.security_icon?"$e.security_icon   ":"")+"<div class=\"date1\">"+$e.time->date_format("%%day%%")+"</div><div class=\"date2\">"+$e.time->date_format("long")+"</div><div class=\"date3\">"+$e.time->time_format()+"</div>");

  """</div>""";



this is the part that creates the date

"""<div>""";

  print_entry_header((defined $e.security_icon?"$e.security_icon   ":"")+"<div class=\"date1\">"+$e.time->date_format("%%day%%")+"</div><div class=\"date2\">"+$e.time->date_format("long")+"</div><div class=\"date3\">"+$e.time->time_format()+"</div>");

  """</div>""";




that is what you set your date line in that section of the code to be


(Reply) (Parent) (Thread)
[User Picture]From: zombie
2004-09-09 03:00 pm (UTC)
thank you so much, that's great ;)
(Reply) (Parent) (Thread)
[User Picture]From: sssexygirl
2004-09-09 03:04 pm (UTC)
glad it helps, this is a common use in styles and i love it also, you can mess around with the fonts and the colors and stuff i just made mine a tad lighter than the component header background, but all the same its cool :)
(Reply) (Parent) (Thread)
[User Picture]From: yayhappens
2004-09-10 02:59 am (UTC)

I also think that the date format is very gorgeous!

I have been attempting to get it to work with the help you've provided so far, however, every time I have tried it (and I've tried all different sorts of things), for some reason, there is always an error that pops up with the div in triple quotes.

Your help would be most appreciated!
(Reply) (Thread)
[User Picture]From: sssexygirl
2004-09-10 05:55 am (UTC)
ok its 9am in the moring i been up all night, yahoo imm me at tatertati28@yahoo.com, we will solve this problem after i get some shut eyes! mind you, the code i use isnt how everyone else does it sometimes.
i just do whatever works! so we will work this out just lemme sleep for a few :) and i will be back to assist you later on today! ♥
(Reply) (Parent) (Thread)
[User Picture]From: sssexygirl
2004-09-10 06:01 am (UTC)
oh nvm i see its working on there!
(Reply) (Parent) (Thread)
[User Picture]From: yayhappens
2004-09-10 08:19 am (UTC)

YAY!

Thank you. I did have a bit of trouble on my friend page which is now fixed. Please disregard the other messages I had sent over and also over at yahoo. Your're very kind, and i'm excited about the new changes to my journal!
(Reply) (Parent) (Thread)