Location: PHPKode > projects > PaoLiber > paoliber/index.php
<html><head><title>Pao-Liber</title>
<?
/*****************
 Pao-Liber v 1.0
 autor:
 Paola Orru
 http://zenas.org
 email: hide@address.com
*****************/
//configurazione dei colori e messaggi per pagina
include  "config.php" ;
include  "language/lang_$lang_set.php" ;
include  "stilepag.inc" ;
?>

  <style type="text/css">
	
	#scrolla {
	background:#F5F5F5;
	  overflow: auto;
	   height: 40em;
		width:285px;
		padding:0px;
		float:left;
		
		}
.whatis { background: <?php echo $bgcolor ; ?>;
padding: 5px ; 
}
	

.num {
		text-align:right;
		padding: 5px ; 
}
	
</style>
</head><body>
<div id="frame">
	<div id="contentheader"><h1><?php echo $txt_script?></h1></div>
	<div id="contentleft">

	
    <p><a href="login.php"><img src="admin.gif" width="46" height="43" alt="login" border="0">
		</a>
		Liber |<a href="news.php"> News</a>
    </p>
		
		<p><?php include "dati/whatis.txt"?></p>
		
	</div>

	<div id="scrolla">
		
		<?php


$righe_msg = file("dati/liber.txt");
foreach($righe_msg as $key=>$riga)
{

    $dato = explode("|", trim($riga));

$numero = ($key+1);

 echo "</p><div class= 'news'>";

		echo "<div class= 'box'><A NAME='news$numero'> <b>$dato[1]</b></A>";
		echo "<br>";
		echo "$txt_on $dato[2]  </div> ";

		echo "<br> $dato[0]<br>";
		echo "<div class='num'>$numero</div>";
		echo "</p></div>";
		
}
  
?>


	</div>

	<div id="contentright">
		<h4>Chapters</h4>
		<p>
		
		<?
		
foreach($righe_msg as $key=>$riga)
{

    $dato = explode("|", trim($riga));

$numero = ($key+1);

$titolo = $dato[1];

 

		echo "<A HREF='#news$numero'>N°$numero  $titolo<br></a> ";
		
		
}



?>
</p>


	</div>
	<br clear="all">


<div id ="footer"> power by da <a href='http://zenas.org'>Zenas.org</a>

</div>

</body>
</html>
Return current item: PaoLiber