I have try that is many ways before I posted and when I add an else statement the page comes up blank.
Here is he code: footer.tpl
{if $langchange}<div align="right">{$setlanguage}</div><br />{/if}
</div>
</p>
</td>
</tr>
</table>
<p><img src="http://www.egcsolutions.com/images/partners1.jpg" width="671" height="36"></p></td>
<td width="231" valign="top" style="padding:10px 10px 0 10px;"><p align="center"><strong><a href="javascript:void(window.open('http://www.egcsolutions.com/livezilla/livezilla.php','','width=600,height=600,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes'))"><img src="http://www.egcsolutions.com/livezilla/image.php?id=03" width="160" height="40" border="0" alt="LiveZilla Live Help"></a></strong></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="4"><img src="http://www.egcsolutions.com/images/sidebox_head_left.gif" alt="b" width="4" height="29"></td>
<td class="sidebox_head">{$LANG.quicknav}</td>
<td width="4"><img src="http://www.egcsolutions.com/images/sidebox_head_right.gif" alt="b" width="4" height="29"></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top" class="padding">
{if $loggedin}
<div id="side_menu">
<ul>
<li><a href="index.php"><img src="templates/{$template}/images/icons/support.gif" alt="{$LANG.globalsystemname}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="index.php" title="{$LANG.globalsystemname}">{$LANG.globalsystemname}</a></li>
<li><a href="clientarea.php"><img src="templates/{$template}/images/icons/clientarea.gif" alt="{$LANG.clientareatitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="clientarea.php" title="{$LANG.clientareatitle}">{$LANG.clientareatitle}</a></li>
<li><a href="announcements.php" title="{$LANG.announcementstitle}"><img src="templates/{$template}/images/icons/announcement.gif" alt="{$LANG.announcementstitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="announcements.php" title="{$LANG.announcementstitle}">{$LANG.announcementstitle}</a></li>
<li><a href="knowledgebase.php" title="{$LANG.knowledgebasetitle}"><img src="templates/{$template}/images/icons/knowledgebase.gif" alt="{$LANG.knowledgebasetitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="knowledgebase.php" title="{$LANG.knowledgebasetitle}">{$LANG.knowledgebasetitle}</a></li>
<li><a href="submitticket.php" title="{$LANG.supportticketssubmitticket}"><img src="templates/{$template}/images/icons/submit-ticket.gif" alt="{$LANG.supportticketssubmitticket}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="submitticket.php" title="{$LANG.supportticketspagetitle}">{$LANG.supportticketssubmitticket}</a></li>
<li><a href="domainchecker.php" title="{$LANG.domaintitle}"><img src="templates/{$template}/images/icons/domains.gif" alt="{$LANG.domaintitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="domainchecker.php" title="{$LANG.domaintitle}">{$LANG.domaintitle}</a></li>
<li><a href="downloads.php" title="{$LANG.downloadstitle}"><img src="templates/{$template}/images/icons/downloads.gif" alt="{$LANG.downloadstitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="downloads.php" title="{$LANG.downloadstitle}">{$LANG.downloadstitle}</a></li>
<li><a href="cart.php" title="{$LANG.ordertitle}"><img src="templates/{$template}/images/icons/order.gif" alt="{$LANG.ordertitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="cart.php" title="{$LANG.ordertitle}">{$LANG.ordertitle}</a></li>
<li><a href="logout.php" title="{$LANG.logouttitle}"><img src="templates/{$template}/images/icons/logout.gif" alt="{$LANG.logouttitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="logout.php" title="{$LANG.logouttitle}">{$LANG.logouttitle}</a></li>
</ul>
{else}
<ul>
<li><a href="index.php"><img src="templates/{$template}/images/icons/support.gif" alt="{$LANG.globalsystemname}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="index.php" title="{$LANG.globalsystemname}">{$LANG.globalsystemname}</a></li>
<li><a href="clientarea.php"><img src="templates/{$template}/images/icons/clientarea.gif" alt="{$LANG.clientareatitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="clientarea.php" title="{$LANG.clientareatitle}">{$LANG.clientareatitle}</a></li>
<li><a href="announcements.php" title="{$LANG.announcementstitle}"><img src="templates/{$template}/images/icons/announcement.gif" alt="{$LANG.announcementstitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="announcements.php" title="{$LANG.announcementstitle}">{$LANG.announcementstitle}</a></li>
<li><a href="knowledgebase.php" title="{$LANG.knowledgebasetitle}"><img src="templates/{$template}/images/icons/knowledgebase.gif" alt="{$LANG.knowledgebasetitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="knowledgebase.php" title="{$LANG.knowledgebasetitle}">{$LANG.knowledgebasetitle}</a></li>
<li><a href="submitticket.php" title="{$LANG.supportticketssubmitticket}"><img src="templates/{$template}/images/icons/submit-ticket.gif" alt="{$LANG.supportticketssubmitticket}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="submitticket.php" title="{$LANG.supportticketspagetitle}">{$LANG.supportticketssubmitticket}</a></li>
<li><a href="domainchecker.php" title="{$LANG.domaintitle}"><img src="templates/{$template}/images/icons/domains.gif" alt="{$LANG.domaintitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="domainchecker.php" title="{$LANG.domaintitle}">{$LANG.domaintitle}</a></li>
<li><a href="downloads.php" title="{$LANG.downloadstitle}"><img src="templates/{$template}/images/icons/downloads.gif" alt="{$LANG.downloadstitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="downloads.php" title="{$LANG.downloadstitle}">{$LANG.downloadstitle}</a></li>
<li><a href="cart.php" title="{$LANG.ordertitle}"><img src="templates/{$template}/images/icons/order.gif" alt="{$LANG.ordertitle}" width="16" height="16" border="0" class="absmiddle" /></a> <a href="cart.php" title="{$LANG.ordertitle}">{$LANG.ordertitle}</a></li>
</ul>
<p class="header">{$LANG.accountinfo}</p>
<p><strong>{$clientsdetails.firstname} {$clientsdetails.lastname} {if $clientsdetails.companyname}({$clientsdetails.companyname}){/if}</strong><br />
{$clientsdetails.address1}, {$clientsdetails.address2}<br />
{$clientsdetails.city}, {$clientsdetails.state}, {$clientsdetails.postcode}<br />
{$clientsdetails.countryname}<br />
{$clientsdetails.email}<br /><br />
{if $addfundsenabled}<img src="templates/{$template}/images/icons/money.gif" alt="Add Funds" width="22" height="22" border="0" class="absmiddle" /> <a href="clientarea.php?action=addfunds">{$LANG.addfunds}</a>{/if}</p>
<p class="header">{$LANG.accountstats}</p>
<p>{$LANG.statsnumproducts}: <strong>{$clientsstats.productsnumactive}</strong> ({$clientsstats.productsnumtotal})<br />
{$LANG.statsnumdomains}: <strong>{$clientsstats.numactivedomains}</strong> ({$clientsstats.numdomains})<br />
{$LANG.statsnumtickets}: <strong>{$clientsstats.numtickets}</strong><br />
{$LANG.statsnumreferredsignups}: <strong>{$clientsstats.numaffiliatesignups}</strong><br />
{$LANG.statscreditbalance}: <strong>{$clientsstats.creditbalance}</strong><br />
{$LANG.statsdueinvoicesbalance}: <strong>{if $clientsstats.numdueinvoices>0}<span class="red">{/if}{$clientsstats.dueinvoicesbalance}{if $clientsstats.numdueinvoices>0}</span>{/if}</strong></p>
{else}
<form method="post" action="{$systemsslurl}dologin.php">
<p class="header">{$LANG.clientlogin}</p>
<p><strong>{$LANG.email}</strong><br />
<input name="username" type="text" size="25" />
</p>
<p><strong>{$LANG.loginpassword}</strong><br />
<input name="password" type="password" size="25" />
</p>
<p>
<input type="checkbox" name="rememberme" />
{$LANG.loginrememberme}</p>
<p>
<input type="submit" class="submitbutton" value="{$LANG.loginbutton}" />
</p>
</form>
<p class="header">{$LANG.knowledgebasesearch}</p>
<form method="post" action="knowledgebase.php?action=search">
<p>
<input name="search" type="text" size="25" /><br />
<select name="searchin">
<option value="Knowledgebase">{$LANG.knowledgebasetitle}</option>
<option value="Downloads">{$LANG.downloadstitle}</option>
</select>
<input type="submit" value="{$LANG.go}" />
</p>
</form>
{/if}
</td>
</tr>
</table>
<p> </p></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="92" class="bottom_nav"><a href="http://www.egcsolutions.com">Home</a> | <a href="http://www.egcsolutions.com/hosting.html">Web Hosting</a> | <a href="http://www.egcsolutions.com/reseller.html">ResellerHosting</a> | <a href="http://www.egcsolutions.com/dedicated.html">Dedicated Servers</a> | <a href="http://clients.egcsolutions.com/domainchecker.php">Domain Names</a> | <a href="http://www.egcsolutions.com/ssl.html">SSL Certificates</a> | <a href="http://clients.egcsolutions.com">Client Area</a> | <a href="http://clients.egcsolutions.com/contact.php">Contact Us</a><br>
Copyright © 2009 EGC Solutions All rights reserved.<br>
<a href="http://www.egcsolutions.com/tos.html">Terms of Service Acceptable</a> | <a href="http://www.egcsolutions.com/privacy.html"> Privacy Policy</a></td>
</tr>
</table>
</body>
</html>