[eluser]InsiteFX[/eluser]
Hi,
I have look at the code you sent, and so far this is what I found:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
</head>
<body>
<!-- home - This is what you have, your missing all the above header stuff. -->
<div>
<ul>
<li><a href="http://localhost/">home</a></li>
<li><a href="http://localhost/index.php/home/cambialingua/it">ITA</a></li>
<li><a href="http://localhost/index.php/home/cambialingua/en">EN</a></li>
<li><a ></a></li>
<hr/>
<li>language: <?=$language?></li>
<li>language_desc: <?=$language_desc?></li>
<li>lang_codifica: <?=$lang_codifica?></li>
<hr/>
<li>title: <?=$this->lang->line('main_title')?></li>
<li>altro test: <?=$this->lang->line('lang-test')?></li>
<hr />
<li>sessio ID: <?=$session_id?></li>
<hr/>
<li>Main MENU:</li>
<?php foreach($main_menu as $item): ?>
<li><a href="#"><?=$item->testo ?></a> |</li>
<?php endforeach ?>
</ul>
</div>
<!-- footer section -->
<div>
<div id="footer">
footer info
</div>
</div>
</body>
</html>
The forums took one of your <li> lines out.
Let me know if that fixes the problem
Also I would use the database sessions.
Enjoy
InsiteFX