All pastes #386022 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-08 08:38 UTC
rendered paste body
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<script src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/sifr.js" type="text/javascript"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
if ( $my->id ) {
	initEditor();
}
mosShowHead(); 
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" media="all"/>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/print.css" rel="stylesheet" type"text/css" media="print">
<link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/sIFR-screen.css" type="text/css" media="screen" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
<script language="JavaScript" type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/js_prov1_marine/sifr.js"></script>
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
</head>
<body id="main_bg">
<a name="up" id="up"></a>
<div class="center" align="center">
<table class="opentable" width="888" id="main">
<tr>
<td colspan="3" id="header">&nbsp;</td>
</tr>
<td class="left_shadow"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" width="20" height="1" class="" title="spacer" /><br /></td>
<td class="wrapper"><div id="contentarea">
<table border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td class="sidenav"><div class="nogo">
<?php if (mosCountModules('left') > 0) { ?>
<div id="left">
<?php mosLoadModules('left', -2); ?>
</div>
</div>
<?php } ?>
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="1" width="155" /><br />
<td class="middle">

<?php if (mosCountModules('user1')) { ?>
	  							<table class="opentable" width="685" id="usermod">
								<tr valign="top"><td><?php mosLoadModules('user1'); ?></td></tr>
				 				</table>
								<?php } ?>
<div id="mainbody">
<?php mosMainBody(); ?>
</div>
<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="1" width="16" /></td>
</tr>
</table>
<td class="right_shadow"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" width="20" height="1" class="" title="spacer" /><br /></td>
</tr>
<tr>
<td colspan="3" class="bottom">
<div id="runner"></div></td>
</tr>
</table>
</div>
<span class="">&nbsp;</span>
<div class="designer"><a href="http://www.joomlashack.com" title="Joomla Templates">Joomla Template by Joomlashack</a></div>
<?php include($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/js/template.css.php"); ?>
<?php mosLoadModules( 'debug', -1 );?>
<script type="text/javascript">
//<![CDATA[
/* Replacement calls. Please see documentation for more information. */

if(typeof sIFR == "function"){


    sIFR.bHideBrowserText = false;
    sIFR.setup();

	sIFR.replaceElement("#mainbody .contentheading", named({sFlashSrc: "<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/componentheading.swf", sColor: "#990000", sHoverColor: "#333333", sWmode: "transparent"}));
	sIFR.replaceElement("#mainbody .componentheading", named({sFlashSrc: "<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/componentheading.swf", sColor: "#990000", sHoverColor: "#612E00", sWmode: "transparent"}));};
	sIFR.replaceElement("#left div.moduletable h3", named({sFlashSrc: "<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/componentheading.swf", sColor: "#666666", sHoverColor: "#333333", sWmode: "transparent"}));
	sIFR.replaceElement(".moduletable th", named({sFlashSrc: "<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/componentheading.swf", sColor: "#666666", sHoverColor: "#333333", sWmode: "transparent"}));
	sIFR.replaceElement(".small", named({sFlashSrc: "<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/smalltext.swf", sColor: "#666666", sHoverColor: "#333333", sWmode: "transparent"}));
</script>
</body>
</html>