i have added some code here, but i am getting one line as an error
Code:
'; ?> if( defined( '_JEXEC' )) { $user =& JFactory::getUser(); $my->gid = $user->get('aid', 0); }
this is the modified code, i am not sure if i am doing it right, actually the layout i am trying to get is something like this at least the first page or intro
design
this is the code
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" /><title>Welcome to my Website</title>
</head>
<body><?php
defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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>
<title>My website</title>
if( defined( '_JEXEC' )) {
$user =& JFactory::getUser();
$my->gid = $user->get('aid', 0);
}
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/yourtemplatesname/css/template_css.css" />
</head>
<body> <table width="700" border="0" cellpadding="0" cellspacing="0">
<tr align="center">
<td height="50" colspan="3">SITE NAME </td>
</tr>
<tr align="center">
<td colspan="3">Pathway/breadcrumb</td>
</tr>
<tr>
<td width="150" valign="top">Left modules</td>
<td width="400" valign="top"><p>Main content</p>
<p>More main content</p></td>
<td width="150" valign="top">Right modules </td>
</tr>
<tr align="center">
<td colspan="3">Some footer text. </td>
</tr>
</table>
</body>
</html>