shlomi-fish-homepage / template.wml

#include "utils.wml"
#include "paypal.wml"

<define-tag software_patents>1</define-tag>
<set-var latemp_with_favicon="1" />
<set-var latemp_with_xml_declaration="1" />
<set-var latemp_with_breadcrumbs_trail="1" />
<set-var latemp_html_standard="xhtml1.1" />
<set-var latemp_nav_links_allowed_places="top-left" />
<set-var latemp_gen_plain_page="$(PRINTABLE)" />
<set-var latemp_with_head_meta_tags="1" />
#include "latemp/latemp-main.wml"
#include "shlomif/affiliations.wml"

<define-tag google_adsense_code>
<script type="text/javascript"><!--
google_ad_client = "pub-2480595666283917";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "336699";
google_color_text = "000000";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
<script type="text/javascript"

<div class="banner">
<google_adsense_code />
<a href="" title="Welcome to Linux 2005 - Become familiar with the stable, powerful and eclectic environment."><img
     src="$(ROOT)/images/welcome-to-linux-2004-banner-256.png" style="border-width:0"
     alt="Welcome to Linux 2005 in Israel" /></a></div>

<div class="center"><a href="<rellink url="" host="t2" />" 
    title="Shlomi Fish Homepage"><img 
    alt="Shlomi Fish" class="highlight" 

<define-tag google_search>
<form method="get" action="">
<div class="search">
<input type="hidden" name="ie" value="UTF-8" />
<input type="hidden" name="oe" value="UTF-8" />
<input type="text" name="q" size="15" maxlength="255" alt="Search Query" 
value="" />
<input type="hidden" name="domains" value="," />
<br />
<input type="radio" name="sitesearch" alt="Search the Web" value="" /> WWW <br />
<input type="radio" name="sitesearch" alt="Search My Site" value="" checked="checked" />
<br />
<input type="submit" name="btnG" value="Google Search" />

<latemp_lang "en-US" />
<latemp_encoding "utf-8" />
<latemp_author "Shlomi Fish" />
<latemp_common_keywords "Shlomi Fish, Shlomi, Fish, Perl, Humour, Israel, Programming, Open Source, Free Software, Presentations, Philosophy, Freecell, Freecell Solver, GIMP, Subversion, version control, Web, Web Design, DeCSS, Software" />
<latemp_meta_desc "Shlomi Fish' Homepage" />
<if <ifeq "$(LATEMP_FILENAME)" "index.html" 
        <ifeq "$(LATEMP_SERVER)" "t2" "t2" "" /> "" /> 
    "<google_search />"

<paypal_donate_code />
<affil_collection_shlomif />
<a href="" class="bless"><img 
    alt="RSS Feed" title="RSS Feed for Easy Notification on Update"
<a href="" 
    alt="Atom Feed" title="Atom Feed for Easy Notification on Update"
<define-tag no_ie_link endtag="required">
<a href="<rellink url="no-ie/" host="t2" />" title="Stop Using Internet Explorer!">%body</a>
<div style="text-align:center">
<no_ie_link><img src="$(ROOT)/images/noIE.png" 
class="highlight" style="border:0" 
alt="Stop Using Internet Explorer!" /></no_ie_link><br />
<no_ie_link>Stop Using Internet Explorer!</no_ie_link>
Written, designed and maintained by Shlomi Fish, <a href=""></a>. 
If you like what you see here, or have any comments, suggestions or
corrections, feel free to E-mail me about it. I'd love to hear from you. If
you have found what I did helpful or entertaining, please consider
<a href="http://localhost/sites/hp/shlomif/meta/donate/">donating me
some money.</a>.

<define-tag hosted:at:tech>
<div class="rightalign">
<a href=""><img src="images/actcom-50-2.gif" 
   alt="Hosted at Actcom" class="highlight" style="border : 0" 
   title="Hosted at Actcom" /></a>

<define-tag backtomyhp>
<a href="<rellink url="" host="t2" />"><img src="$(ROOT)/images/bk2hp.png" class="highlight" style="border : 0" alt="Back to my Homepage" /></a>

;;; If it is the t2 index than display the hosted:at:tech macro
;;; Else - display the back to my homepage image
<if <ifeq "$(LATEMP_FILENAME)" "index.html" 
        <ifeq "$(LATEMP_SERVER)" "t2" "t2" "" /> "" /> 
    <hosted:at:tech />
    <backtomyhp />

    use MySectNavData;

    use vars (qw($section_nav_menu));
    my $filename = "<latemp_default_val "<get-var latemp_filename />" "$(LATEMP_FILENAME)" />";
    $filename =~ s{index\.html$}{};
    $filename = "/$filename";

    $section_nav_menu = MySectNavData::get_nav_menu(
        'path_info' => $filename,
        'current_host' => "<latemp_default_val "<get-var latemp_server />" "$(LATEMP_SERVER)" />",

    print $section_nav_menu->get_html();

<define-tag page_extra_head_elements endtag="required" whitespace="delete">

<script type="text/javascript" src="$(ROOT)/js/toggle_sect.js"></script>
<link rel="alternate" type="application/rss+xml" title="Shlomi Fish' Homepage RSS Feed" href="" />
<link rel="alternate" type="application/atom+xml" title="Shlomi Fish' Atom Feed" href="" />