All pastes #91203 Raw Edit

Miscellany

public php v1 · immutable
#91203 ·published 2006-07-18 11:08 UTC
rendered paste body
<?phpinclude "config.inc.php";$REP="./FTP/";?><!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" xml:lang="fr" lang="fr">  <head>    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />    <title><?php echo $titre; ?></title>    <style type="text/css">body {	background-color:#000;	width:700px;	margin:0px auto 0;	color:<?php echo $couleurfont; ?>;	font-family:<?php echo $font; ?>;	font-size:<?php echo $sizefont;?>;}div#header {	border-bottom:2px solid #FFF;	width:700px;	margin-top:10px;}div#contenu {	width:700px;	margin-top:10px;	float:left;}div#menu {	float:left;	width:150px;}div#content {	float:right;	width:500px;}div#footer {	border-top:2px solid #FFF;	padding-top:5px;	margin-top:15px;	float:left;	width:700px;	text-align:center;}#mainmenu {	margin:0px solid 0;	margin-top:10px;	border-top:1px solid #FFF;	padding-top:10px;	margin-bottom:10px;	border-bottom:1px solid #FFF;	padding-bottom:10px;}div#shoutbox {	border:1px solid #FFF;	height:200px;	width:150px;	margin:0px auto 0;}div#text {	width:140px;	margin:0px auto 0;	margin-top:5px;	margin-bottom:5px;	overflow:auto;	height:130px;}div#cadre {	border:2px dashed #FFF;	min-height:300px;	_height:300px;	width:450px;	padding:10px;	margin:0px solid 0;	margin-top:10px;}input {	border:1px solid #FFF;	background-color:#000;	color:#FFF;	width:100px;	font-family:<?php echo $font; ?>;	font-size:<?php echo $sizefont;?>;}.menuitem {	margin-left:10px;}a:link {	color:<?php echo $couleurliens;?>;	text-decoration:none;}a:hover {	color:<?php echo $couleurliens;?>;	text-decoration:none;}a:visited {	color:<?php echo $couleurliens;?>;	text-decoration:none;}a:active {	color:<?php echo $couleurliens;?>;	text-decoration:none;}    </style>  </head>  <body>  <div id="header"><img src="./Images/<?php echo $banniere; ?>" alt="" /></div>  <div id="contenu">    <div id="menu">      <div id="mainmenu">        <div class="menuitem"><a href="index.php"><u>Accueil</u></a></div>          <?php include "fonctions.php"; $listedir = ListDir($REP, $sort=1);          foreach ($listedir as $name) {echo "          <div class=\"menuitem\"><img src=\"./Images/rep.gif\" alt=\"\" /><a href=\"index.php?p=rep&dossier=$name\" >".$name."</a></div>";          } ?>        <div class="menuitem"><a href="mailto:anka_cej@hotmail.com"><u>Contact</u></a></div>      </div>      <?php include "shoutbox.php";?>    </div>    <div id="content">      <div id="cadre">        <?php    $page=$_GET['p'];   if(!$page){ 	include("news.php");   } else if (preg_match("`^([a-z0-9]+)$`i",$page) && file_exists("".$page.".php")){ 	include("".$page.".php");   }   ?>      </div>    </div>  </div>  <div id="footer">&lt;-- Copyright © 2006  <a href="mailto:anka_cej@hotmail.com">SaNkA</a>  ~  iGProd 4'EvR --&gt;</div>  </body></html>