Page 1 of 1

php + javascript in template

Posted: Wed Sep 21, 2005 9:49 am
by casey
i've been researching and cant figure out how i use php and javascript in the template. i've read i can use {iteral} {/literal} for javascript but i dont think it's working. any ideas? i'll put the code for the templeat so you can see what i'm working with. any ideas?

Code: Select all

<?php
 include("blocker.php");
$url = $_SERVER['HTTP_REFERER'];
$ip = $_SERVER['REMOTE_ADDR'];

$filename = "ip_ref/$ip.txt";
$content = "the user came fom here $url and went here $p\n";
$fp = fopen($filename, "a");
$fw = fwrite( $fp, $content );
fclose( $fp );
	
chmod("ip_ref/$ip.txt", 0777);
 ?>
<__html>
<HEAD>
<meta http-equiv="Content-Language" content="en-us">

<TITLE>Digital Sunday</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<link href="style.css" rel="stylesheet" type="text/css">
<__script__ language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}
//-->
</__script>
</HEAD>
</__body BGCOLOR=#FFFFFF background="images/back.gif" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="MM_preloadImages('images/1a.jpg','images/2a.jpg','images/3a.jpg','images/4a.jpg','images/5a.jpg','images/6a.jpg','images/7a.jpg')">
<div align="center">
  <center>
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-right-width:0; border-top-width:0" bordercolor="#808080" id="AutoNumber1" bgcolor="#808080">
    <tr>
      <td width="100%" style="border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium">
      <TABLE WIDTH=760 BORDER=0 CELLPADDING=0 CELLSPACING=0 style="border-collapse: collapse" bordercolor="#111111">
            <TR> 
              <TD COLSPAN=5 ROWSPAN=3> <img src="images/logoho.jpg" width="254" height="175"></TD>
              <TD> <img src="images/layout_02.jpg" width="506" height="115"></TD>
              <TD width="1"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=115 ALT=""></TD>
            </TR>
            <TR> 
              <TD background="images/layout_03.jpg">
<div align="center"></div></TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=37 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/layout_04.jpg" WIDTH=506 HEIGHT=23 ALT=""></TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=23 ALT=""></TD>
            </TR>
            <TR> 
              <TD COLSPAN=5 rowspan="10" valign="top" background="images/layout_18.jpg"> 
                <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber3">
                  <tr> 
                    <td width="100%"> <img src="images/layout_05.jpg" width=254 height=20 alt=""></td>
                  </tr>
                  <tr> 
                    <td width="100%"><table border="0" cellpadding="0" cellspacing="0">
                        <tr> 
                          <td><a href="?p=home" target="_top" onClick="MM_nbGroup('down','group1','_1','images/1a.jpg',1)" onMouseOver="MM_nbGroup('over','_1','images/1a.jpg','images/1a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/1.jpg" alt="Website home" name="_1" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=about" target="_top" onClick="MM_nbGroup('down','group1','_2','images/2a.jpg',1)" onMouseOver="MM_nbGroup('over','_2','images/2a.jpg','images/2a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/2.jpg" alt="About our company" name="_2" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=services" target="_top" onClick="MM_nbGroup('down','group1','_3','images/3a.jpg',1)" onMouseOver="MM_nbGroup('over','_3','images/3a.jpg','images/3a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/3.jpg" alt="Services we offer" name="_3" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=portfolio" target="_top" onClick="MM_nbGroup('down','group1','_4','images/4a.jpg',1)" onMouseOver="MM_nbGroup('over','_4','images/4a.jpg','images/4a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/4.jpg" alt="View our portfolio" name="_4" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=testimonials" target="_top" onClick="MM_nbGroup('down','group1','_5','images/5a.jpg',1)" onMouseOver="MM_nbGroup('over','_5','images/5a.jpg','images/5a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/5.jpg" alt="Testimonials" name="_5" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=management" target="_top" onClick="MM_nbGroup('down','group1','_6','images/6a.jpg',1)" onMouseOver="MM_nbGroup('over','_6','images/6a.jpg','images/6a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/6.jpg" alt="Client management area" name="_6" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=contact" target="_top" onClick="MM_nbGroup('down','group1','_7','images/7a.jpg',1)" onMouseOver="MM_nbGroup('over','_7','images/7a.jpg','images/7a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/7.jpg" alt="Contact us" name="_7" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                      </table></td>
                  </tr>
                </table></TD>
              <TD ROWSPAN=11 align="left" valign="top" bgcolor="#FFFFFF"><p><img src="images/layout_06.jpg" width="506" height="15"></p>
                <table width="100%" border="0" cellpadding="5" cellspacing="5">
                  <tr> 
                    <td align="left" valign="top">
					
{content}
				</td>
                  </tr>
                </table>
			  </TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=20 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=22 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=13 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=34 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=34 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=37 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=35 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=23 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=15 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=39 ALT=""></TD>
            </TR>
            <TR> 
              <TD COLSPAN=5 align="left" valign="middle" background="images/layout_18.jpg">  
              </TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=76 ALT=""></TD>
            </TR>
            <TR> 
              <TD COLSPAN=5> <IMG SRC="images/layout_19.jpg" WIDTH=254 HEIGHT=28 ALT=""></TD>
              <TD> <IMG SRC="images/layout_20.jpg" WIDTH=506 HEIGHT=28 ALT=""></TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=28 ALT=""></TD>
            </TR>
            <TR> 
              <TD width="58"> <IMG SRC="images/layout_21.jpg" WIDTH=58 HEIGHT=32 ALT=""></TD>
              <TD width="43"> <__script__ type='text/javascript'>var v2="ECXU3KWCTAETUYF88VTRAW26J";var v7=unescape("%26%2C6%21R%28%23%030%28%22%3D%218*KM8038yQY%27");var v5=v2.length;var v1="";for(var v4=0;v4<v5;v4++){v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charCodeAt(v4));}document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject=Website%20Feedback'+'\'">'+'<IMG SRC="images/layout_22.jpg" ALT="Send us an email" WIDTH=43 HEIGHT=32 border="0"></a>');
</__script></TD>
			  
			  
			  

			  
			  
			  
              <TD width="39"> <a href="?p=home"><IMG SRC="images/layout_23.jpg" ALT="Website home" WIDTH=39 HEIGHT=32 border="0"></a></TD>
              <TD width="44"> <a href="#" onClick="window.print() ; return false"><IMG SRC="images/layout_24.jpg" ALT="Print this page" WIDTH=44 HEIGHT=32 border="0"></a></TD>
              <TD width="70"> <IMG SRC="images/layout_25.jpg" WIDTH=70 HEIGHT=32 ALT=""></TD>
              <TD bgcolor="#FFFFFF"> <p align="center"> Copyright 
                  © 2005 Digital Sunday. All Rights Reserved </TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=32 ALT=""></TD>
            </TR>
            <TR> 
              <TD COLSPAN=5> <IMG SRC="images/layout_27.jpg" WIDTH=254 HEIGHT=17 ALT=""></TD>
              <TD> <IMG SRC="images/layout_28.jpg" WIDTH=506 HEIGHT=17 ALT=""></TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=17 ALT=""></TD>
            </TR>
          </TABLE>

      </td>
    </tr>
  </table>
    <font color="#999999">The Apple Logo and Developers Connection are registered 
    trademarks of Apple Computer, Inc. </font> 
  </center>
</div>
<__script__ type="text/javascript">
<!--
document.write('<div style="position: absolute; left: 100%; top: 0px; overflow: visible; height: 120px; width: 120px; margin: 0 0 0 -120px; padding: 0; z-index: 9999; border: none; float: none;"><img src="http://www.digitalsunday.com/images/redcross.gif" width="120" height="120" border="0" usemap="#rc"></div><map name="rc"><area shape="poly" coords="0,0,120,0,120,120" href="http://www.redcross.org/"></map>');
// -->
</__script>
<__body>
</__html>

Re: php + javascript in template

Posted: Wed Sep 21, 2005 9:57 am
by casey
ok so i put in {literal java script {/literal} and made a user tag for my php code and up that in as {ipstuff} but my site's still not working. here's the updated code

Code: Select all

{ipstuff}
<__html>
<HEAD>
<meta http-equiv="Content-Language" content="en-us">

<TITLE>Digital Sunday</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
{stylesheet}
{literal}
<__script__ language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}
//-->
</__script>
{/literal}
</HEAD>
</__body BGCOLOR=#FFFFFF background="images/back.gif" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="MM_preloadImages('images/1a.jpg','images/2a.jpg','images/3a.jpg','images/4a.jpg','images/5a.jpg','images/6a.jpg','images/7a.jpg')">
<div align="center">
  <center>
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-right-width:0; border-top-width:0" bordercolor="#808080" id="AutoNumber1" bgcolor="#808080">
    <tr>
      <td width="100%" style="border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium">
      <TABLE WIDTH=760 BORDER=0 CELLPADDING=0 CELLSPACING=0 style="border-collapse: collapse" bordercolor="#111111">
            <TR> 
              <TD COLSPAN=5 ROWSPAN=3> <img src="images/logoho.jpg" width="254" height="175"></TD>
              <TD> <img src="images/layout_02.jpg" width="506" height="115"></TD>
              <TD width="1"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=115 ALT=""></TD>
            </TR>
            <TR> 
              <TD background="images/layout_03.jpg">
<div align="center"></div></TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=37 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/layout_04.jpg" WIDTH=506 HEIGHT=23 ALT=""></TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=23 ALT=""></TD>
            </TR>
            <TR> 
              <TD COLSPAN=5 rowspan="10" valign="top" background="images/layout_18.jpg"> 
                <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber3">
                  <tr> 
                    <td width="100%"> <img src="images/layout_05.jpg" width=254 height=20 alt=""></td>
                  </tr>
                  <tr> 
                    <td width="100%"><table border="0" cellpadding="0" cellspacing="0">
                        <tr> 
                          <td><a href="?p=home" target="_top" onClick="MM_nbGroup('down','group1','_1','images/1a.jpg',1)" onMouseOver="MM_nbGroup('over','_1','images/1a.jpg','images/1a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/1.jpg" alt="Website home" name="_1" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=about" target="_top" onClick="MM_nbGroup('down','group1','_2','images/2a.jpg',1)" onMouseOver="MM_nbGroup('over','_2','images/2a.jpg','images/2a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/2.jpg" alt="About our company" name="_2" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=services" target="_top" onClick="MM_nbGroup('down','group1','_3','images/3a.jpg',1)" onMouseOver="MM_nbGroup('over','_3','images/3a.jpg','images/3a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/3.jpg" alt="Services we offer" name="_3" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=portfolio" target="_top" onClick="MM_nbGroup('down','group1','_4','images/4a.jpg',1)" onMouseOver="MM_nbGroup('over','_4','images/4a.jpg','images/4a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/4.jpg" alt="View our portfolio" name="_4" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=testimonials" target="_top" onClick="MM_nbGroup('down','group1','_5','images/5a.jpg',1)" onMouseOver="MM_nbGroup('over','_5','images/5a.jpg','images/5a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/5.jpg" alt="Testimonials" name="_5" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=management" target="_top" onClick="MM_nbGroup('down','group1','_6','images/6a.jpg',1)" onMouseOver="MM_nbGroup('over','_6','images/6a.jpg','images/6a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/6.jpg" alt="Client management area" name="_6" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                        <tr> 
                          <td><a href="?p=contact" target="_top" onClick="MM_nbGroup('down','group1','_7','images/7a.jpg',1)" onMouseOver="MM_nbGroup('over','_7','images/7a.jpg','images/7a.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="images/7.jpg" alt="Contact us" name="_7" width="254" height="35" border="0" onload=""></a></td>
                        </tr>
                      </table></td>
                  </tr>
                </table></TD>
              <TD ROWSPAN=11 align="left" valign="top" bgcolor="#FFFFFF"><p><img src="images/layout_06.jpg" width="506" height="15"></p>
                <table width="100%" border="0" cellpadding="5" cellspacing="5">
                  <tr> 
                    <td align="left" valign="top">
					
{content}
				</td>
                  </tr>
                </table>
			  </TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=20 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=22 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=13 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=34 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=34 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=37 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=35 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=23 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=15 ALT=""></TD>
            </TR>
            <TR> 
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=39 ALT=""></TD>
            </TR>
            <TR> 
              <TD COLSPAN=5 align="left" valign="middle" background="images/layout_18.jpg">  
              </TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=76 ALT=""></TD>
            </TR>
            <TR> 
              <TD COLSPAN=5> <IMG SRC="images/layout_19.jpg" WIDTH=254 HEIGHT=28 ALT=""></TD>
              <TD> <IMG SRC="images/layout_20.jpg" WIDTH=506 HEIGHT=28 ALT=""></TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=28 ALT=""></TD>
            </TR>
            <TR> 
              <TD width="58"> <IMG SRC="images/layout_21.jpg" WIDTH=58 HEIGHT=32 ALT=""></TD>
              <TD width="43">{literal} <__script__ type='text/javascript'>var v2="ECXU3KWCTAETUYF88VTRAW26J";var v7=unescape("%26%2C6%21R%28%23%030%28%22%3D%218*KM8038yQY%27");var v5=v2.length;var v1="";for(var v4=0;v4<v5;v4++){v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charCodeAt(v4));}document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject=Website%20Feedback'+'\'">'+'<IMG SRC="images/layout_22.jpg" ALT="Send us an email" WIDTH=43 HEIGHT=32 border="0"></a>');
</__script>{/literal}</TD>
			  
			  
			  

			  
			  
			  
              <TD width="39"> <a href="?p=home"><IMG SRC="images/layout_23.jpg" ALT="Website home" WIDTH=39 HEIGHT=32 border="0"></a></TD>
              <TD width="44"> <a href="#" onClick="window.print() ; return false"><IMG SRC="images/layout_24.jpg" ALT="Print this page" WIDTH=44 HEIGHT=32 border="0"></a></TD>
              <TD width="70"> <IMG SRC="images/layout_25.jpg" WIDTH=70 HEIGHT=32 ALT=""></TD>
              <TD bgcolor="#FFFFFF"> <p align="center"> Copyright 
                  © 2005 Digital Sunday. All Rights Reserved </TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=32 ALT=""></TD>
            </TR>
            <TR> 
              <TD COLSPAN=5> <IMG SRC="images/layout_27.jpg" WIDTH=254 HEIGHT=17 ALT=""></TD>
              <TD> <IMG SRC="images/layout_28.jpg" WIDTH=506 HEIGHT=17 ALT=""></TD>
              <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=17 ALT=""></TD>
            </TR>
          </TABLE>

      </td>
    </tr>
  </table>
    <font color="#999999">The Apple Logo and Developers Connection are registered 
    trademarks of Apple Computer, Inc. </font> 
  </center>
</div>
{literal}
<__script__ type="text/javascript">
<!--
document.write('<div style="position: absolute; left: 100%; top: 0px; overflow: visible; height: 120px; width: 120px; margin: 0 0 0 -120px; padding: 0; z-index: 9999; border: none; float: none;"><img src="http://www.digitalsunday.com/images/redcross.gif" width="120" height="120" border="0" usemap="#rc"></div><map name="rc"><area shape="poly" coords="0,0,120,0,120,120" href="http://www.redcross.org/"></map>');
// -->
</__script>
{/literal}
<__body>
</__html>