le message d'erreur est:
Code : Tout sélectionner
Parse error: syntax error, unexpected ':' in /mnt/136/sdc/7/8/easycashptp/template.php on line 4
session_start();
$page = $_SERVER['HTTP_REFERRER'];
if ($page == http://easycahptp.free.fr/template.php?page=membre)
{
$timestamp_expire = time() + 1*24*3600; // Le cookie expirera dans un jour
setcookie('pseudo', '.$pseudo_membre.', $timestamp_expire); // On écrit un cookie
}
require("config.inc.php");
include("admin/functions.php");
$pseudo_membre = $_SESSION['pseudo'];
mysql_connect($server,$user,$pass);
mysql_select_db($dbase);
$page = stripslashes(htmlentities($_GET['page']));
$sql = mysql_query("SELECT * FROM membre WHERE pseudo = '".$pseudo_membre."'");
$sql2 = mysql_fetch_array($sql);
if($page == NULL)
{
echo'<script>location.replace(index.php?page=index)</script>';
echo'<meta http-equiv="refresh" content="1;URL=index.php?page=index">';
}
?>
<HEAD>
<TITLE>easy-cash-ptp La Promotion, c'est du cash!</TITLE>
<style>
td{font-family:Verdana;font-size:11px;color:#000000;}
a{color:#134F8A}
.footer{font-family:HeliosBlack;font-size:9px;color:#474747;}
.Style2 {font-family: HeliosBlack; font-size: 11px; color: #000000; font-weight: bold; }
</style>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MoneyPTP.com ; Gagner de l'argent en faisait la promotion d'une page web ! Paiement des 4 € sur Paypal et des cadeaux époustouflants !" name=description>
<META http-equiv=Content-Style-Type content=text/css><LINK href="sitescripts.css" type=text/css rel=stylesheet><LINK href="images/link.ico" rel="icone">
<SCRIPT language=JavaScript src="common.js" type="text/javascript"></SCRIPT>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR><style type="text/css">
<!--
body {
background-color: #666666;
}
.Style11 {color: #000000}
.Style12 {font-weight: bold; font-size: 9px; font-family: Verdana;}
.Style15 {font-size: 9px; font-weight: bold;}
.Style16 {color: #0066FF}
.Style17 {
color: #0FC5F9;
font-size: 16pt;
}
.Style18 {color: #0099FF}
-->
</style></HEAD>
<BODY >
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width=760 border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff>
<TABLE style="PADDING-TOP: 5px" cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD align=center width="260">
<p align="center" class="Style17">easy-cash-ptp. La Promotion C'est du cash"></TD>
<TD align=right> </TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD style="BACKGROUND-COLOR: #ffffff">
<TABLE cellSpacing=0 cellPadding=0 width="98%" align=center border=0>
<TBODY>
<TR>
<TD id=tdTopMenu align=right>
<TABLE cellSpacing=0 cellPadding=0 align=right border=0>
<TBODY>
<TR>
<TD class=nav_cell noWrap>
<a class="nav_button" href="./">Accueil</a></TD>
<TD class=tdTopMenuGap></TD>
<TD class=nav_cell noWrap>
<a class="nav_button" href="template.php?page=connection">Login</a></TD>
<TD class=tdTopMenuGap></TD>
<TD class=nav_cell noWrap>
<a class="nav_button" href="template.php?page=inscription">
S'enregistrer</a></TD>
<TD class=tdTopMenuGap></TD>
<TD class=tdTopMenuGap width="1"></TD>
<TD class=nav_button noWrap>
<a href="template?page=fonctionement" class="nav_button">News</a></TD>
<TD class=tdTopMenuGap></TD>
<TD class=nav_cell noWrap>
<a class="nav_button" href="mailto:[email protected]">Contact</a></TD>
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD id=tdSearchMenu width="100%"> </TD>
</TR>
<TR>
<TD id=tdMain vAlign=top bgColor=#ffffff>
<TABLE cellSpacing=0 cellPadding=8 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top align=left width="20%">
<DIV class=leftmenu style="WIDTH: 145px; HEIGHT: 648px">
<DIV class=leftmenuheader style="PADDING-TOP: 15px">
<p class="Style11">Money<span class="Style16">PTP</span> : </p>
<p class="Style11"><font face="Verdana" style="font-size: 8pt"><span class="Style12"><font face="Verdana" style="font-size: 8pt"><a href="template.php?page=inscription.php">
<?php
if (!isset($_SESSION['pseudo'])) //Le code pour verifier qu'une session existe
{
?>
</a>
<?php
}
else
{
?>
</font></span> <a href="template.php?page=member"><span class="Style16">E</span>space membre</a> <font face="Verdana" style="font-size: 8pt"><span class="Style12"> <strong>
<?php } ?>
</strong></span></font></font></p>
<p class="Style11"><font face="Verdana" style="font-size: 8pt"> <a href="template.php?page=inscription">
<?php
if (!isset($_SESSION['pseudo'])) //Le code pour verifier qu'une session existe
{
?>
</a>
<a href="template.php?page=inscription"><span class="Style16">I</span>nscription</a>
<?php
}
else
{
?>
<a href="template.php?page=info"><span class="Style16">I</span>nformations personnelles</a> <strong>
<?php } ?>
</strong> </font></p>
<p class="Style2"><font face="Verdana" style="font-size: 8pt">
<span class="Style11"><font face="Verdana" style="font-size: 8pt"><a href="template.php?page=login">
<?php
if (!isset($_SESSION['pseudo'])) //Le code pour verifier qu'une session existe
{
?>
<span class="Style16">C</span>onnection
</a>
<?php
}
else
{
?>
<a href="template.php?page=parrainage"><span class="Style16">P</span>arrainnage</a> <strong>
<?php } ?>
</strong></font></span></font></p>
<p class="Style11"><span class="Style12"><font face="Verdana" style="font-size: 8pt">
<a href="template.php?page=inscription.php">
<?php
if (!isset($_SESSION['pseudo'])) //Le code pour verifier qu'une session existe
{
?>
</a>
<?php
}
else
{
?>
</font></span> <a href="template.php?page=boutique"><span class="Style16">B</span>outique</a> <font face="Verdana" style="font-size: 8pt"><span class="Style12"> <strong>
<?php } ?>
</strong></span></font></p>
<p class="Style16"><font face="Verdana" style="font-size: 8pt"><span class="Style12"><font face="Verdana" style="font-size: 8pt"><a href="template.php?page=inscription.php">
<?php
if (!isset($_SESSION['pseudo'])) //Le code pour verifier qu'une session existe
{
?>
</a>
<?php
}
else
{
?>
</font></span> <font face="Verdana" style="font-size: 8pt"><span class="Style12"> <strong>
<?php } ?>
</strong></span></font></font>
<p class="Style11"> <span class="Style15"><font face="Verdana" style="font-size: 8pt"><font class="Style15"><span class="Style16"><a href="hakazizi.free.fr">Forum</font></font></span> </p>
<p class="Style11"> <font face="Verdana" style="font-size: 7pt"><a href="template.php?page=stats"><span class="Style16">Chiffres</a></font></p>
<p class="Style11"> <font face="Verdana" style="font-size: 7pt"><a href="template.php?page=annonceur"><span class="Style16">Devenir annonceur</a></font> </p>
<p class="Style11"><font face="Verdana"><a href="template.php?page=aide"><span class="Style16">N</span>ous aider </a></font></p>
<p class="Style11"> <font face="Verdana" style="font-size: 8pt"><strong><span class="Style12"><font face="Verdana" style="font-size: 8pt"><a href="template.php?page=inscription.php">
<?php
if (!isset($_SESSION['pseudo'])) //Le code pour verifier qu'une session existe
{
?>
</a>
<?php
}
else
{
?></font></span><span class="Style15"><font face="Verdana" style="font-size: 8pt"> <a href="template.php?page=logout"><span class="Style16">D</span>éconnection </a></font></span> <a href="template.php?page=logout"><font face="Verdana" style="font-size: 8pt"><span class="Style12"> <strong>
<?php } ?>
</strong></span></font></a> </strong></font></p>
</DIV>
<P style="MARGIN-TOP: 0px">Pub's : </P>
<p class="Style17">Votre site ici<u> A VIE</u> pour 4 € </p><!-- Debut du code ClickInText
Info : Il est preferable d'installer ce code en bas de vos pages, juste avant la balise /body
//-->
<script type="text/javascript" src="http://www.clickintext.net/?v=1.1&a=969&n=10&fc=834&s[c]=008000&s[co]=C6E21C&s[u]=1"></script>
<!-- Fin du code ClickInText //-->
</DIV></TD>
<TD vAlign=top align=left width="80%">
<TABLE style="MARGIN-TOP: 15px; MARGIN-LEFT: 5px" cellSpacing=0
cellPadding=0 width=575 border=0>
<TBODY>
<TR>
<TD style="BACKGROUND-IMAGE: url('images/top.gif')"
height=13></TD></TR>
<tr>
<TD
style="PADDING-LEFT: 20px; BACKGROUND-IMAGE: url('images/mid.gif')">
<p align="center">
<STYLE>.ad {
FONT-SIZE: 11px; FONT-FAMILY: verdana
}
.adH {
FONT-WEIGHT: bold; COLOR: blue
}
.small {
FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: verdana
}
</STYLE>
</TD>
</tr>
<TR>
<TD
style="PADDING-LEFT: 20px; BACKGROUND-IMAGE: url('images/mid.gif')"><p></TD></TR>
<TR>
<TD style="BACKGROUND-IMAGE: url('images/bot.gif')"
height=12></TD></TR></TBODY></TABLE>
<TABLE style="MARGIN-TOP: 15px; MARGIN-LEFT: 5px" cellSpacing=0
cellPadding=0 width=575 border=0>
<TBODY>
<TR>
<TD style="BACKGROUND-IMAGE: url('images/top.gif')"
height=13></TD></TR>
<TR>
<TD
style="PADDING-LEFT: 20px; BACKGROUND-IMAGE: url('images/mid.gif')">
<TABLE class=tblReview cellSpacing=0 cellPadding=4 width="97%"
border=0 id="table1">
<TBODY>
<TR style="BACKGROUND-COLOR: #e0e0e0">
<TD><div align="center">
<?php adVertisers() ?>
</div></TD>
</TR></TBODY></TABLE>
<TABLE class=tblListing style="MARGIN-TOP: 2em" cellSpacing=0
cellPadding=4 width="97%" border=0>
<TBODY>
<TR style="BACKGROUND-COLOR: #efefef">
<TD noWrap> </TD>
</TR>
<TR>
<TD style="PADDING-BOTTOM: 0.5em; PADDING-TOP: 1em"> <?
if($page=='index') include('accueil.php');
if($page=='inscription') include('inscription.php');
if($page=='inscription2') include('inscription2.php');
if($page=='connection') include('connection.php');
if($page=='faq') include('faq.php');
if($page=='fonctionement') include('fonctionement.php');
if($page=='logout') include('deconexion.php');
if($page=='login') include('connection.php');
if($page=='login2') include('connexion2.php');
if($page=='member') include('membre.php');
if($page=='parrainage') include('parrainage.php');
if($page=='stats') include('statistiques.php');
if($page=='jackpot') include('jackpot.php');
if($page=='jackpot2') include('jackpot2.php');
if($page=='boutique') include('boutique.php');
if($page=='boutique2') include('boutique2.php');
if($page=='boutique3') include('boutique3.php');
if($page=='google') include ('google.php');
if($page=='filleul') include('filleul.php');
if($page=='filleul2') include('filleul2.php');
if($page=='contact') include('contact.php');
if($page=='msg') include('message.php');
if($page=='confirm') include('confirm.php');
if($page=='codeconfirm') include('code_confirm.php');
if($page=='recupass') include('recupass.php');
if($page=='recupass2') include('recupass2.php');
if($page=='info') include('info.php');
if($page=='info2') include('info2.php');
if($page=='annonceur') include('annonceur.php');
if($page=='annonceur2') include('annonceur2.php');
if($page=='annonceur3') include('annonceur3.php');
if($page=='ptc') include('ptc.php');
if($page=='aide') include('aide.php');
?>
<BR></TD></TR>
<TR style="BACKGROUND-COLOR: #ffffff">
<TD style="PADDING-BOTTOM: 0.5em; PADDING-TOP: 1em" noWrap>
</TD>
</TR></TBODY></TABLE>
<br/><TABLE class=tblReview cellSpacing=0 cellPadding=4 width="97%"
border=0 id="table3">
<TBODY>
<TR style="BACKGROUND-COLOR: #e0e0e0">
<TD><div align="center">
<?php $query = "SELECT * FROM annonceurs order by rand() limit 1 " ; // Execute la requete precedente
$result = mysql_query($query) or die('Erreur SQL : '.mysql_error());
while ($val = mysql_fetch_array($result))
{
if($val['regie'] == 0)
{
echo'<a href="out.php?id='.$val['id'].'&anonceur='.$val['url'].'" target="_blank"><img src="'.$val['image'].'" border="0"></a>';
mysql_query("UPDATE annonceurs SET affichage = affichage+1 WHERE id ='".$val['id']."'");
}
if($val['regie'] == 1)
{
echo"".$val['script']."";
mysql_query("UPDATE annonceurs SET affichage = affichage+1 WHERE id ='".$val['id']."'");
}
}
?>
</div></TD>
</TR></TBODY></TABLE>
<A name=reviews></A>
</TD></TR>
<TR>
<TD style="BACKGROUND-IMAGE: url('images/bot.gif')"
height=12></TD></TR></TBODY></TABLE>
<TABLE style="MARGIN-TOP: 15px; MARGIN-LEFT: 5px" cellSpacing=0
cellPadding=0 width=575 border=0>
<TBODY>
<TR>
<TD style="BACKGROUND-IMAGE: url('images/top.gif')"
height=13></TD></TR>
<TR>
<TD
style="PADDING-LEFT: 20px; BACKGROUND-IMAGE: url('images/mid.gif')">
<p align="center">Ta publicité ici ? <a href="mailto:[email protected]">Contact moi pour me proposer t'es offres, car ici c'est en fonction de ton budget ! </a></TD></TR>
<TR>
<TD style="BACKGROUND-IMAGE: url('images/bot.gif')"
height=12></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</TD>
</TR>
<td id="tdOurNetwork" height="5"> </center></td>
</tr>
<TR>
<TD style="PADDING-TOP: 3px; TEXT-ALIGN: center" bgColor=#ffffff><p>Copyright<a href="./">
easycashptp.free.fr</a><br>
design by <a href="http://www.1-ternet-gagnant.net">hakazizi</a><br>
</a></p>
</a> </p></TD>
</TR></TBODY></TABLE></DIV></BODY></HTML>