File Manager

Current Path : /webspace/www.alexishaulot.be/html/
Upload File :
Current File : /webspace/www.alexishaulot.be/html/index.php

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Alexis Haulot Photoreporter</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="alexis.css" rel="stylesheet" type="text/css">
<?php
	require_once("config.php");
  	$query = "select keywords from reportage";
	$res = mysql_query($query,$link);
	$str = "";
	while ($rec = mysql_fetch_assoc($res)) {
		$str .= $rec['keywords']." ";
	}
	echo "<meta http-equiv=\"keywords\" content=\"Haulot, photo, photographie, photography, pictures, reportage, Russie, Photoreporter, Portrait, Bruxelles,".$str."\">";
?>
<meta name="description" content="Alexis Haulot, photoreporter. Des portraits qui font l'actualit&eacute;, des promenades en Russie et quelques autres reportages &agrave; Bruxelles, ailleurs ou nulle part">
<style type="text/css">
<!--
body {
	background-color: #000000;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.appleLinks a {color:#FF6600; text-decoration: none;}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<?php
	$images_t = "select image_som_titre from reportage order by id";
	$res = mysql_query($images_t,$link) or die(mysql_error());
	while ($rec = mysql_fetch_assoc($res)) {
		$toload .= "'".preg_replace("/\.\.\//","",$rec['image_som_titre'])."',";
	}
?>
<body onLoad="MM_preloadImages('images/afficher_1.gif','images/contact_1.gif','images/bio_1.gif','images/copyright_1.gif','images/news_1.gif',<?php echo $toload; ?>)">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" id="master">
  <tr>
    <td height="159" align="center" valign="middle" background="images/header_bg.gif"><table width="740" height="149" border="0" align="center" cellpadding="0" cellspacing="0" id="head">
      <tr>
        <td width="50%" rowspan="2" valign="middle"><table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="30" colspan="2">
              	<? if ($_REQUEST['search']): ?>
              		<a href="index.php" onMouseOver="MM_swapImage('retour','','images/retour_1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/retour_0.gif" alt="RETOUR ACCUEIL" name="retour" width="134" height="16" border="0" id="retour"></a>
              	<? else: ?>
              		&nbsp;
              	<? endif ?>
              </td>
            </tr>
            <tr>
              <td><img src="images/contact_av.gif" alt="mode" width="49" height="16"></td>
              <td><a href="contact.htm" onMouseOver="MM_swapImage('contact','','images/contact_1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/contact_0.gif" alt="contact" name="contact" width="103" height="16" border="0" id="contact"></a></td>
            </tr>
            <tr>
              <td colspan="2"><img src="images/spacer.gif" width="1" height="12"></td>
              </tr>
            <tr>
              <td><img src="images/bio_av.gif" alt="af" width="49" height="16"></td>
              <td><a href="bio.htm" onMouseOver="MM_swapImage('bio','','images/bio_1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/bio_0.gif" alt="Bio" name="bio" width="53" height="16" border="0" id="bio"></a></td>
            </tr>
            <tr>
              <td colspan="2"><img src="images/spacer.gif" width="1" height="12"></td>
              </tr>
            <tr>
              <td><img src="images/copyright_av.gif" alt="iso" width="49" height="16"></td>
              <td><a href="copyright.htm" onMouseOver="MM_swapImage('copyright','','images/copyright_1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/copyright_0.gif" alt="copyright" name="copyright" width="39" height="16" border="0" id="copyright"></a></td>
            </tr>
            <tr>
              <td colspan="2"><img src="images/spacer.gif" width="1" height="12"></td>
            </tr>
            <tr>
              <td><img src="images/news_av.gif" alt="news-av" width="49" height="16"></td>
              <td><a href="news.htm" onMouseOver="MM_swapImage('news','','images/news_1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/news_0.gif" alt="news" name="news" width="76" height="16" border="0" id="c"></a></td>
            </tr>
            <tr>
              <td colspan="2"><img src="images/spacer.gif" width="10" height="2"></td>
            </tr>
          </table></td>
        <td width="50%" height="60" align="right" valign="top"><table border="0" align="right" cellpadding="0" cellspacing="2" id="rechercher">
          <form name="form1" method="post" action="index.php"><tr>
            <td valign="middle">
              <input name="search" type="text" class="textboxform" size="38">
            </td>
            <td valign="middle"><input type="image" src="images/rechercher.gif" name="rechercher" width="68" height="12" border="0" id="rechercher"></td>
          </tr></form>
          <tr>
            <td><img src="images/look_up_white.gif" alt="Haulot, photo, photographie, photography, pictures, reportage, Russie, Photoreporter, Portrait, Bruxelles" width="11" height="11"></td>
            <td><img src="images/look_up.gif" alt="Haulot, photo, photographie, photography, pictures, reportage, Russie, Photoreporter, Portrait, Bruxelles" width="11" height="11"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="50%" height="89" valign="bottom"><img src="images/titre.gif" alt="Haulot, photo, photographie, photography, pictures, reportage, Russie, Photoreporter, Portrait, Bruxelles" width="272" height="89"></td>
      </tr>
    </table></td>
  </tr>
  <?php
  	if (isset($_REQUEST['search'])) {
  	  	$query = "select r.id,r.image_som,r.image_som_titre,r.titre from reportage r, photo p where p.reportage_id=r.id and (r.keywords like '%".$_REQUEST['search']."%' or  r.titre like '%".$_REQUEST['search']."%' or r.texte like '%".$_REQUEST['search']."%' or p.legende like '%".$_REQUEST['search']."%' or p.titre like '%".$_REQUEST['search']."%')  group by r.id order by prior desc,id desc";
  	} elseif (isset($_REQUEST['full'])) {
  	  	$query = "select id,image_som,image_som_titre,titre from reportage order by prior desc,id desc";
  	} else {
	  	$query = "select id,image_som,image_som_titre,titre from reportage order by prior desc,id desc LIMIT 0,20";
  	}
  	$res = mysql_query($query,$link);
  	
  	if (mysql_num_rows($res) > 0 ):
  	
  ?>
  <tr>
    <td align="center" bgcolor="#000000"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
      	<?php
      		$count = 0;
      		while ($rec = mysql_fetch_assoc($res)) {
      			$count++;
      	?>
        <td><table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/dot.gif" width="5" height="5"></td>
            <td><img src="images/spacer.gif" width="1" height="1"></td>
            <td><img src="images/dot.gif" width="5" height="5"></td>
          </tr>
          <tr>
            <td><img src="images/spacer.gif" width="1" height="1"></td>
            <?php echo "<td><a href=\"inside.php?id=".$rec['id']."\" onMouseOver=\"MM_swapImage('titre".$rec['id']."','','".preg_replace('/\.\.\//','',$rec['image_som_titre'])."',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src=\"".preg_replace('/\.\.\//','',$rec['image_som'])."\" name=\"titre".$rec['id']."\" width=\"140\" height=\"90\" border=\"0\" id=\"titredynamique\"></a></td>" ?>
            <td><img src="images/spacer.gif" width="1" height="1"></td>
          </tr>
          <tr>
            <td><img src="images/dot.gif" width="5" height="5"></td>
            <td><img src="images/spacer.gif" width="1" height="1"></td>
            <td><img src="images/dot.gif" width="5" height="5"></td>
          </tr>
        </table></td>
        <?php 
      		 
      		if ($count % 5 == 0) {
      			echo "</tr><tr>";
      		}	}
      	?>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="right" bgcolor="#000000"><div align="right"></div>
      <table border="0" align="right" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="images/look_droite.gif" alt="Haulot, photo, photographie, photography, pictures, reportage, Russie, Photoreporter, Portrait, Bruxelles" width="16" height="30"></td>
        <td>
        	<?php 
        		if (!isset($_REQUEST['full'])) {
        			echo '<a href="index.php?full=1" onMouseOver="MM_swapImage(\'afficher\',\'\',\'images/afficher_1.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="images/afficher_0.gif" alt="AFFICHER LA LISTE COMPLETE DES REPORTAGES" name="afficher" width="362" height="30" border="0" id="afficher"></a>';
        		} else {
        			echo '<a href="contact.htm" onMouseOver="MM_swapImage(\'afficher\',\'\',\'images/afficher_1.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="images/afficher_0.gif" alt="PRENDRE CONTACTAVEC ALEXIS HAULOT" name="afficher" width="362" height="30" border="0" id="afficher"></a>';
        		}
        	?>
        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" bgcolor="#000000"><table width="740" border="0" cellpadding="15" cellspacing="0" id="sommaire">
      <tr>
        <td class="footer">
        	<div align="justify">
        		<?php
        			if (isset($_REQUEST['search'])) {
				  	  	$query = "select r.id,r.image_som,r.titre from reportage r, photo p where r.id=p.reportage_id AND (r.keywords like '%".$_REQUEST['search']."%' or  r.titre like '%".$_REQUEST['search']."%' or r.texte like '%".$_REQUEST['search']."%'  or p.legende like '%".$_REQUEST['search']."%' or p.titre like '%".$_REQUEST['search']."%') group by r.id order by prior desc,id desc";
  					} else {
					  	$query = "select id,titre from reportage order by prior desc,id desc";
				  	}
				  	//echo $query;
  					$res = mysql_query($query,$link);
  					while ($rec = mysql_fetch_assoc($res)) {
		        		echo "<a href=\"inside.php?id=".$rec['id']."\" class=\"footer\">".$rec['titre']."</a> ";
  					}
  				?>
        	</div>
        </td>
      </tr>
    </table></td>
  </tr>
  <?php
  	else:
  ?>
  <tr>
    <td align="right" bgcolor="#000000"><div align="right"></div>
      <table border="0" align="right" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="images/look_droite.gif" alt="Haulot, photo, photographie, photography, pictures, reportage, Russie, Photoreporter, Portrait, Bruxelles" width="16" height="30"></td>
        <td><a href="index.php?full=1" onMouseOver="MM_swapImage('afficher','','images/afficher_1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/afficher_0.gif" alt="Afficher la liste compl&egrave;te des reportages" name="afficher" width="362" height="30" border="0" id="afficher"></a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" bgcolor="#000000"><table width="740" border="0" cellpadding="15" cellspacing="0" id="sommaire">
      <tr>
        <td class="footer" align="center" >
        	<div align="justify">
        		Aucun resultat trouve. Veuillez reessayer avec un autre mot cle.
        	</div>
        </td>
      </tr>
    </table></td>
  </tr>
  <?php
  	endif;
  ?>
<tr>
<td colspan="3" align="center" bgcolor="#000000"><span class="phototexte">Alexis Haulot&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp; gsm : <span class="appleLinks">+32/495/454.453</span>&nbsp;&nbsp;  |&nbsp;&nbsp; <a href="mailto:alexis@alexishaulot.be" class="phototexte">Email</a></span></td>
  </tr>
  <tr>
    <td bgcolor="#000000"><a href="copyright.htm" onMouseOver="MM_swapImage('baseline','','images/Alexis_Haulot_baseline_1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/Alexis_Haulot_baseline_0.gif" alt="Haulot, photo, photographie, photography, pictures, reportage, Russie, Photoreporter, Portrait, Bruxelles" name="baseline" width="760" height="53" border="0" id="baseline"></a></td>
  </tr>
  <tr>
    <td bgcolor="#000000"><a href="http://www.fullspeeddesign.be" target="_blank" onMouseOver="MM_swapImage('fullspeeddesign','','images/fullspeeddesign_websignature_1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/fullspeeddesign_websignature_0.gif" alt="fullspeeddesign" name="fullspeeddesign" width="108" height="20" border="0" id="fullspeeddesign"></a></td>
  </tr>
</table>
</body>
</html>

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com