Location: PHPKode > projects > Remote Mail > skin/skin_main.php
<?php
	


	/*
	 *
	 *	Remote Mail Client
	 *	CopyLEFT 2004 by Maurizio Pinotti
	 *
	 *	You can freely distribute this script as long as you do *NOT* edit it:
	 *	editing is only permitted for private use.
	 *
	 *	----------------------------------------------------------------------
	 * 	 Official site: http://www.pinottinet.com/rmail
	 *	----------------------------------------------------------------------
	 *
	 */



	// ------------------------- [ NO USER CONFIGURABLE ELEMENTS BELOW HERE ] ------------------------	

if ($reload_page) $rld = "<p class=\"copyright\">{$lang['next_reload']}{$reload_page}{$lang['mins']}</p><p>&nbsp;</p>";
else $rld = "";

print <<<EOF
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>{$title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="styles/{$CSS_STYLE}.css" rel="stylesheet" type="text/css">
<script src="styles/fade.js" language="JavaScript"></script>
<script src="lib/lib_main.js" language="JavaScript"></script>
<script src="lib/lib_login.js" language="JavaScript"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onLoad="MM_preloadImages('images/toggle_over.jpg','images/delete_over.jpg','images/admin_over.jpg','images/log_over.jpg','images/write_over.jpg'); alertRegistration('{$alert_message}'); startReload({$reload_page});"> 
<div align="center"><a href="{$self_link}" target="_self"><img src="images/logo_{$CSS_STYLE}.jpg" alt="{$title}" width="700" height="158" border="0" align="middle"></a></div>
<table width="700" height="500" border="1" align="center" cellpadding="2" cellspacing="0" bordercolor="#FF9933" id="main_table"> 
  <tr> 
    <td height="50" colspan="2" align="right" valign="top" bgcolor="#FFFF99"><div align="right" class="message">
      <table width="100%" height="40" border="0" align="center" cellpadding="5" cellspacing="0" bordercolor="#FF0000">
        <tr align="center" valign="middle">
          <td><div align="center"><a href="{$toggle_msg_link}" target="_self" onMouseOver="MM_swapImage('roll_toggle','','images/toggle_over.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/toggle.jpg" alt="{$lang['toggle_msg_tip']}" name="roll_toggle" width="120" height="33" border="0"></a></div></td>
          <td><div align="center"><a href="{$delete_msg_link}" target="_self" onMouseOver="MM_swapImage('roll_delete','','images/delete_over.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/delete.jpg" alt="{$lang['delete_msg_tip']}" name="roll_delete" width="120" height="33" border="0"></a></div></td>
          <td><div align="center"><a href="{$write_msg_link}" target="_self" onMouseOver="MM_swapImage('roll_write','','images/write_over.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/write.jpg" alt="{$lang['write_msg_tip']}" name="roll_write" width="120" height="33" border="0"></a></div></td>
          <td><div align="right">
		  	<a href="{$admin_cp_link}" target="_self" onMouseOver="MM_swapImage('roll_admin','','images/admin_over.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/admin.jpg" alt="{$lang['open_admin_cp_tip']}" name="roll_admin" width="100" height="28" border="0"></a>
			<img src="images/spacer.gif" width="20" height="28">
			<a href="{$log_link}" target="_self" onMouseOver="MM_swapImage('roll_log','','images/log_over.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/log.jpg" alt="{$lang['view_log_tip']}" name="roll_log" width="100" height="28" border="0"></a>
		  </div></td>
          </tr>
      </table>
      </div></td> 
  </tr> 
  <tr> 
    <td height="450" colspan="4" align="left" valign="top" background="images/back_{$CSS_STYLE}.gif"><p><br>
    {$form_data}</p>
	<p>&nbsp;</p>
	{$rld}
	</td> 
  </tr>
  <tr>
    <td width="506" height="15" align="left" valign="middle" bgcolor="#000000" class="copyright"> {$PROGRAM_COPYRIGHT}</td>
    <td width="180" align="left" valign="middle" bgcolor="#000000" class="copyright">{$lang['user']}: <b>{$RMAIL_LOGIN}</b> (<a href="{$change_user_link}">{$lang['change_user']}</a>)</td>
  </tr> 
</table>
</body>
</html> 
EOF;
?>
Return current item: Remote Mail