je n'arrive pas à installer le mod sur mon site

Intégration du module Pronostics de Pronorama dans un site web PHP

je n'arrive pas à installer le mod sur mon site

Messagede csgbb » Mer 7 Oct 2009 19:48

Bonjour,
Comme demandé, me voici sur le forume avec cette même question comment faire.
J'ai créé une page .php sur dreamweaver, et lorsque je passe en mode visualisation, le logiciel m'affiche les codes mais pas le MOD, voici ce que j'ai copier :

// -------------

// debut des variables a modifier
$param_idappel = '<identifiant d appel externe associe au groupe de joueurs sur Pronorama>';
$param_fonction = '<identifiant de la fonction appelee>';
$param_bordure = '<Code de la couleur du cadre, au format HTML (hexadecimal, sur 6 caracteres, sans le #)>';
$param_competition = '<n° de la competition>';
$param_regroupement = '<nom du regroupement dans cette competition>';
// fin des variables a modifier

$parametres_url =
'?idappel=' . urlencode($param_'o30fpiby2mhgi4y1canln9nux5a741yza44psleky166wuxybqpop39tepq8gexx') .
'&fonction=' . urlencode($param_'prono') .
'&bordure=' . urlencode($param_00ccff) .
'&competition=' . urlencode($param_444) .
'&regroupement=' . urlencode($param_'10 octobre') .
'';
$url = 'http://www.pronorama.net/pronorama/extern/ticket/';
$erreurd = '[MOD Pronorama &frasl; Site web] ';
$erreurf = ' Si le probl&egrave;me persiste, merci de contacter l\'&eacute;quipe Pronorama en cliquant sur le lien &quot;Contacts&quot; situ&eacute; dans le bandeau sup&eacute;rieur du site &quot;www.pronorama.com&quot;.';
$erreur1 = 'Code erreur = C01 : La communication avec le serveur Pronorama a &eacute;chou&eacute;.';
$erreur2 = 'Code erreur = C02 : Le serveur Pronorama a renvoy&eacute; une r&eacute;ponse incorrecte.';
$xhtml = '';
$url_complete = $url . $parametres_url;
$strxml = @file_get_contents($url_complete);
if ($strxml) {
$xml = @simplexml_load_string($strxml);
if ($xml) {
$xhtml = (string) $xml->xhtml;
}
else {
$xhtml = $erreurd . $erreur2 . $erreurf;
}
}
else {
$xhtml = $erreurd . $erreur1 . $erreurf;
}
echo $xhtml;
// -----------


J'ai dû faire une erreur mais je ne sais pas où.

Pouvez-vous m'aider.

Merci
csgbb
 
Messages: 9
Inscription: Mer 7 Oct 2009 19:26

Re: je n'arrive pas à installer le mod sur mon site

Messagede pronorama » Mer 7 Oct 2009 22:14

Bonjour,

1) Dans votre page php, avez-vous pensé à encadrer le code par les balises <?php et ?>, cela doit donner :
<?php
// --------------------------------------
// [Mod Pronorama / Site web PHP] : debut
// --------------------------------------
//
...
...
...
// ------------------------------------
// [Mod Pronorama / Site web PHP] : fin
// ------------------------------------
?>

2) Quelle version de dreamweaver utilisez-vous ?

3) Chez qui êtes-vous hébergé ?

A bientôt
pronorama
Administrateur du site
 
Messages: 30
Inscription: Dim 26 Avr 2009 22:56

Re: je n'arrive pas à installer le mod sur mon site

Messagede csgbb » Lun 9 Nov 2009 23:28

j'ai bien noté le code comme il fallait.

je suis sur dreamweaver cs4 et hébergée sur www.hébergeur discount.com

merci pour l'aide
csgbb
 
Messages: 9
Inscription: Mer 7 Oct 2009 19:26

Re: je n'arrive pas à installer le mod sur mon site

Messagede pronorama » Mar 10 Nov 2009 06:43

Est-ce que votre hébergeur accepte le PHP ?
Si oui, est-ce que votre page a comme extension ".php" ou ".php5" ? (l'extension exacte dépend de l'hébergeur)
Si oui, pouvez-vous faire un copié/collé complet de ctte page ?
pronorama
Administrateur du site
 
Messages: 30
Inscription: Dim 26 Avr 2009 22:56

Re: je n'arrive pas à installer le mod sur mon site

Messagede csgbb » Lun 16 Nov 2009 14:40

Le site accepte le .php car ma page d'accueil est index.php (elle doit contenir le mod)

voici son contenu... en entier ci dessous, d'avance merci.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title>CSG Basket Accueil</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="mm_restaurant1.css" type="text/css" />
<style type="text/css">
<!--
.Style1 {font-size: 36px}
.Style4 {color: #000000; font-weight: bold; font-size: 14px; }
-->
</style>


<style type="text/css">
<!--
.Style5 {
color: #000000;
font-size: 12px;
}
.Style6 {font-size: 50px}
.Style7 {color: #000000}
.Style9 {font-size: 14px; color: #000000;}
.Style10 {
color: #FF0000;
font-size: 13px;
font-weight: bold;
}
.Style11 {font-size: 14px}
-->
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body,td,th {
font-size: 18px;
}
.bodyText p .subHeader .subHeader {
font-size: 16px;
}
.bodyText p .subHeader .subHeader {
font-size: 24px;
}
.bodyText p .subHeader .subHeader {
font-size: 22px;
}
-->
</style></head>
<body bgcolor="#0066cc">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#99ccff">
<td width="15" nowrap="nowrap" bgcolor="#FFFFFF" ><img src="mm_spacer.gif" alt="" width="15" height="1" border="0" /></td>
<td height="122" colspan="3" nowrap="nowrap" bgcolor="#FFFFFF" class="logo Style1"><div align="center"><br />
<span class="Style6"><a href="index.php"><img src="Logo CSG Basket 2.gif" width="131" height="154" /></a></span><img src="csg.001.jpg" width="744" height="153" /></div></td>
<td width="5" bgcolor="#FFFFFF">&nbsp;</td>
<td width="31" bgcolor="#FFFFFF">&nbsp;</td>
</tr>

<tr bgcolor="#003399">
<td width="15" nowrap="nowrap" bgcolor="#000099">&nbsp;</td>
<td height="70" colspan="3" nowrap="nowrap" bgcolor="#000099" class="navText" id="navigation"><ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="bureau.html" class="Style5">Bureau</a></li>
<li><a href="#" class="MenuBarItemSubmenu">Equipes</a>
<ul>
<li><a href="masculins1.html">Masculin 1</a></li>
<li><a href="M2.html">Masculins 2</a></li>
<li><a href="feminine1.html">F&eacute;minine 1</a></li>
<li><a href="f2.html">F&eacute;minine 2</a></li>
<li><a href="f3.html">F&eacute;minine 3</a></li>
<li><a href="cadets.html" class="MenuBarItemSubmenu">Cadets</a>
<ul>
<li><a href="cadets.html">Cadets 1</a></li>
<li><a href="cadets2.html">Cadets 2</a></li>
</ul>
</li>
<li><a href="cadettes.html">Cadettes</a></li>
<li><a href="minimes g.html" class="MenuBarItemSubmenu">Minimes G</a>
<ul>
<li><a href="minimes g.html">MG1</a></li>
<li><a href="minimes g2.html">MG2</a></li>
</ul>
</li>
<li><a href="minimes f.html">Minimes F</a></li>
<li><a href="benjamin.html">Benjamins</a></li>
<li><a href="benjamines.html">Benjamines</a></li>
<li><a href="poussins.html">Poussins</a></li>
<li><a href="poussines.html">Poussines</a></li>
<li><a href="Loisirs.html">Les Loisirs</a></li>
</ul>
</li>
<li><a href="ecole de basket.html">Ecoles de basket</a></li>
<li><a href="commission technique.html">Commission Technique</a></li>
<li><a href="commission animation.html">Commission Animation</a></li>
<li><a href="cauchois.html">Le Cauchois</a></li>
<li><a href="sponsor.html">Sponsors</a></li>
</ul></td>
<td width="5" bgcolor="#000099">&nbsp;</td>
<td width="31" bgcolor="#000099">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
</tr>

<tr bgcolor="#ffffff">
<td height="694" colspan="2" valign="top" bgcolor="#00ccff"><table border="0" cellspacing="0" cellpadding="0" width="270">
<tr>
<td width="47">&nbsp;</td>
<td width="213" bgcolor="#FFFFFF" class="smallText" id="padding"><p align="center"><span class="Style4"><BLINK>tous les résultats du week-end</span></p>
<p align="center"><a href="http://resultats.basketfrance.com/app.jgi?service=external/AS&amp;sp=S11297&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S"><strong>(cliquez ci-dessous)</strong></a> </p>
<p align="center"><br />
&nbsp;<a href="http://resultats.basketfrance.com/app.jgi?service=external/AS&amp;sp=S11297&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S"><img src="basketball resultats.jpg" width="130" height="126" /></a></p>
<p align="center" class="Style4">&nbsp;</p>
<p align="center" class="Style4">PLANNING DES ENTRAINEMENTS <a href="PLANNING ENTRAINEMENT.pdf">(ici)</a></p>
<p align="center" class="Style4">&nbsp;</p>
<p align="center" class="Style4">ARTICLES DE PRESSE CLUB </p>
<p align="center" class="Style9"><a href="article club/CC Club 13 nov504.jpg"><em>Courrier Cauchois du 13/11/09</em></a></p>
<p align="center" class="Style9"><a href="article club/CC club 6 Nov 496.jpg"><em>Courrier Cauchois du 06/11/09</em></a></p>
<p align="center" class="Style9"><a href="article club/CC M1 F1 31 oct 485.jpg"><em>Courrier Cauchois du 31/10/09</em></a></p>
<p align="center" class="Style9"><a href="article club/CC Club 23 Oct477.jpg"><em>Courrier Cauchois du 23/10/09</em></a></p>
<p align="center" class="Style9"><em><a href="article club/CC club 25 sept 09 451.jpg">Courrier cauchois 25/09/09</a></em></p>
<p align="center" class="Style9"><em><a href="article club/CC club 2 oct 09 455.jpg">Courrier Cauchois du 02/10/09</a></em></p>
<p align="center" class="Style9"><em><a href="article club/PN club 3 oct 09 459.jpg">Paris-Normandie du 03/10/09</a></em></p>
<p align="center" class="Style9"><em><a href="article club/CC club 16oct 09 472.jpg">Courrier Cauchois du 16/10/09</a></em></p>
<p align="justify" class="Style4">&nbsp;</p>
<p align="justify" class="Style4">&nbsp;</p>
<p align="center"><br />
</p> </td>
<td width="10">&nbsp;</td>
</tr>
</table> </td>
<td width="50" valign="top"><img src="mm_spacer.gif" alt="" width="50" height="1" border="0" /></td>
<td width="810" valign="top"><br />
&nbsp;<br />
<table width="844" height="507" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="844" height="38" class="pageHeader">Bienvenue</td>
</tr>

<tr>
<td height="425" class="bodyText"><p align="center"><Marquee direction="left" width="75%" scrollamount="5" scrolldelay="5" class="subHeader">
<span class="subHeader"> PROGRAMME DU WEEK-END PROCHAIN 21 ET 22 NOVEMBRE 2009
</span>
</MARQUEE>
<span class="subHeader">&nbsp; </span></p>
<p align="center">F1: CSGravenchon c ASASceaux : (maillot blanc ) 20H00 Salle Comont<br />
F2: CSGravenchon c GCOBihorel : ( maillot bleu et rouge ) 14H00 salle Comont<br />
F3 : CSGravenchon c ASCheminots: (maillot rouge ) 10H30 salle Terray<br />
Cadettes : CSGravenchon c USStMarie: (maillot blanc rouge) 17H00 salle Comont<br />
Poussines : CSGravenchon c USLillebonne :14H30 salle Comont<br />
<br />
Mini-poussins : Plateaux 9H30 salle Comont samedi matin : Clubs : CSGravenchon, B3Caudebec, ASSandouville, FCGruchet<br />
<br />
M1: ESBrunoy c CSGravenchon (maillot rouge) 20H00 Gymnase P de Coubertin<br />
M2: CSGravenchon c ALLes Essarts ( maillot blanc et bleu ) : 16h00 salle Comont<br />
Cadets G1: Pt Audemer c CSGravenchon ( maillot bleu et vert) :14H30 salle St Diagana à Pt Audemer<br />
Cadets G2: St Laurent Rogerville c CSGravenchon( maillot rouge et blanc) :14H30 salle Le Terrec à St Laurent<br />
Minimes G1: E Netrevill BB c CSGravenchon (Maillot Orange) 16H45 salle Jean Bart à Nétreville <br />
Minimes G2: ESMGonfreville l'Orcher c CSGravenchon (maillot noir , jaune )15H00 salle Maurice Bacquet à Gonfreville<br />
Benjamins: CSGravenchon c St Thomas B (maillot rouge,blanc) 15h30 à Comont<br />
Poussins : CSGravenchon c ASSt Denis Sanvic maillot Jaune) 14h30 à Terray<br />
</p>
<p align="center">
<br />
</p>
<p align="center" class="subHeader">&nbsp;</p>
<p align="center" class="subHeader">Pour trouver les gymnases de Notre Dame de Gravenchon cliquez ci-dessous</p>
<p align="center" class="Style4"><a href="plan-ville-2007.pdf">Plan de la ville</a> (.pdf), <a href="http://www.notre-dame-de-gravenchon.fr/content_decouvrir/pages/plan.php">plan de la ville</a> (interactif)</p>
<p align="center" class="Style4">&nbsp;</p>
<p align="center" class="Style4"><span class="Style7"><img src="gymnases.jpg" width="168" height="112" /></span></p>
<p align="center" class="Style4">&nbsp;</p></td>
</tr>
</table>
<div class="pageName">
<div align="center"></div>
</div>
<div><br />
</div>
<p><img src="http://counter.lwserv1.com/cgi-bin/Counter/Count.exe?df=basketgravenchon.com.index.php&dd=B">&nbsp;</p>
</td>
<td width="5">&nbsp;</td>
<td width="31">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
</tr>

<tr>
<td colspan="6">&nbsp;</td>
</tr>


<tr bgcolor="#003399">
<td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
</tr>

<tr>
<td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>
</tr>

<tr bgcolor="#003399">
<td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
</tr>


<tr>
<td width="15">&nbsp;</td>
<td width="266"><span class="Style4">Mise à jour le
<!-- #BeginDate format:fcEn2 -->Lundi, 16-Nov-2009<!-- #EndDate -->
</span></td>
<td width="50">&nbsp;</td>
<td width="810"><span class="Style4">Webmaster : Peggy LLOZA - <a href="mailto:gravenchonbasket@yahoo.fr">contact ici</a> (cliquez cur le lien)</span></td>
<td width="5">&nbsp;</td>
<td width="31">&nbsp;</td>
</tr>
</table>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
csgbb
 
Messages: 9
Inscription: Mer 7 Oct 2009 19:26

Re: je n'arrive pas à installer le mod sur mon site

Messagede pronorama » Lun 16 Nov 2009 21:12

Bonjour,

Je ne vois pas le code que vous avez ajouté, il doit commencer par :
<?php
// --------------------------------------
// [Mod Pronorama / Site web PHP] : debut
// --------------------------------------


et se terminer par :
// ------------------------------------
// [Mod Pronorama / Site web PHP] : fin
// ------------------------------------
?>
pronorama
Administrateur du site
 
Messages: 30
Inscription: Dim 26 Avr 2009 22:56

Re: je n'arrive pas à installer le mod sur mon site

Messagede csgbb » Mar 17 Nov 2009 00:03

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title>CSG Basket Accueil</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="mm_restaurant1.css" type="text/css" />
<style type="text/css">
<!--
.Style1 {font-size: 36px}
.Style4 {color: #000000; font-weight: bold; font-size: 14px; }
-->
</style>


<style type="text/css">
<!--
.Style5 {
color: #000000;
font-size: 12px;
}
.Style6 {font-size: 50px}
.Style7 {color: #000000}
.Style9 {font-size: 14px; color: #000000;}
.Style10 {
color: #FF0000;
font-size: 13px;
font-weight: bold;
}
.Style11 {font-size: 14px}
-->
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body,td,th {
font-size: 18px;
}
.bodyText p .subHeader .subHeader {
font-size: 16px;
}
.bodyText p .subHeader .subHeader {
font-size: 24px;
}
.bodyText p .subHeader .subHeader {
font-size: 22px;
}
.bodyText table tr td p .Style10 {
font-size: 14px;
}
.bodyText table tr td .bodyText em strong {
color: #000;
}
-->
</style></head>
<body bgcolor="#0066cc">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#99ccff">
<td width="15" nowrap="nowrap" bgcolor="#FFFFFF" ><img src="mm_spacer.gif" alt="" width="15" height="1" border="0" /></td>
<td height="122" colspan="3" nowrap="nowrap" bgcolor="#FFFFFF" class="logo Style1"><div align="center"><br />
<span class="Style6"><a href="index.php"><img src="Logo CSG Basket 2.gif" width="131" height="154" /></a></span><img src="csg.001.jpg" width="744" height="153" /></div></td>
<td width="5" bgcolor="#FFFFFF">&nbsp;</td>
<td width="31" bgcolor="#FFFFFF">&nbsp;</td>
</tr>

<tr bgcolor="#003399">
<td width="15" nowrap="nowrap" bgcolor="#000099">&nbsp;</td>
<td height="70" colspan="3" nowrap="nowrap" bgcolor="#000099" class="navText" id="navigation"><ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="bureau.html" class="Style5">Bureau</a></li>
<li><a href="#" class="MenuBarItemSubmenu">Equipes</a>
<ul>
<li><a href="masculins1.html">Masculin 1</a></li>
<li><a href="M2.html">Masculins 2</a></li>
<li><a href="feminine1.html">F&eacute;minine 1</a></li>
<li><a href="f2.html">F&eacute;minine 2</a></li>
<li><a href="f3.html">F&eacute;minine 3</a></li>
<li><a href="cadets.html" class="MenuBarItemSubmenu">Cadets</a>
<ul>
<li><a href="cadets.html">Cadets 1</a></li>
<li><a href="cadets2.html">Cadets 2</a></li>
</ul>
</li>
<li><a href="cadettes.html">Cadettes</a></li>
<li><a href="minimes g.html" class="MenuBarItemSubmenu">Minimes G</a>
<ul>
<li><a href="minimes g.html">MG1</a></li>
<li><a href="minimes g2.html">MG2</a></li>
</ul>
</li>
<li><a href="minimes f.html">Minimes F</a></li>
<li><a href="benjamin.html">Benjamins</a></li>
<li><a href="benjamines.html">Benjamines</a></li>
<li><a href="poussins.html">Poussins</a></li>
<li><a href="poussines.html">Poussines</a></li>
<li><a href="Loisirs.html">Les Loisirs</a></li>
</ul>
</li>
<li><a href="ecole de basket.html">Ecoles de basket</a></li>
<li><a href="commission technique.html">Commission Technique</a></li>
<li><a href="commission animation.html">Commission Animation</a></li>
<li><a href="cauchois.html">Le Cauchois</a></li>
<li><a href="sponsor.html">Sponsors</a></li>
</ul></td>
<td width="5" bgcolor="#000099">&nbsp;</td>
<td width="31" bgcolor="#000099">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
</tr>

<tr bgcolor="#ffffff">
<td height="694" colspan="2" valign="top" bgcolor="#00ccff"><table border="0" cellspacing="0" cellpadding="0" width="270">
<tr>
<td width="47">&nbsp;</td>
<td width="213" bgcolor="#FFFFFF" class="smallText" id="padding"><p align="center"><span class="Style4"><BLINK>tous les résultats du week-end</span></p>
<p align="center"><a href="http://resultats.basketfrance.com/app.jgi?service=external/AS&amp;sp=S11297&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S"><strong>(cliquez ci-dessous)</strong></a> </p>
<p align="center"><br />
&nbsp;<a href="http://resultats.basketfrance.com/app.jgi?service=external/AS&amp;sp=S11297&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S&amp;sp=S"><img src="basketball resultats.jpg" width="130" height="126" /></a></p>
<p align="center" class="Style4">&nbsp;</p>
<p align="center" class="Style4">PLANNING DES ENTRAINEMENTS <a href="PLANNING ENTRAINEMENT.pdf">(ici)</a></p>
<p align="center" class="Style4">&nbsp;</p>
<p align="center" class="Style4">ARTICLES DE PRESSE CLUB </p>
<p align="center" class="Style9"><a href="article club/CC Club 13 nov504.jpg"><em>Courrier Cauchois du 13/11/09</em></a></p>
<p align="center" class="Style9"><a href="article club/CC club 6 Nov 496.jpg"><em>Courrier Cauchois du 06/11/09</em></a></p>
<p align="center" class="Style9"><a href="article club/CC M1 F1 31 oct 485.jpg"><em>Courrier Cauchois du 31/10/09</em></a></p>
<p align="center" class="Style9"><a href="article club/CC Club 23 Oct477.jpg"><em>Courrier Cauchois du 23/10/09</em></a></p>
<p align="center" class="Style9"><em><a href="article club/CC club 25 sept 09 451.jpg">Courrier cauchois 25/09/09</a></em></p>
<p align="center" class="Style9"><em><a href="article club/CC club 2 oct 09 455.jpg">Courrier Cauchois du 02/10/09</a></em></p>
<p align="center" class="Style9"><em><a href="article club/PN club 3 oct 09 459.jpg">Paris-Normandie du 03/10/09</a></em></p>
<p align="center" class="Style9"><em><a href="article club/CC club 16oct 09 472.jpg">Courrier Cauchois du 16/10/09</a></em></p>
<p align="justify" class="Style4">&nbsp;</p>
<p align="justify" class="Style4">&nbsp;</p>
<p align="center"><br />
</p> </td>
<td width="10">&nbsp;</td>
</tr>
</table> </td>
<td width="50" valign="top"><img src="mm_spacer.gif" alt="" width="50" height="1" border="0" /></td>
<td width="810" valign="top"><br />
&nbsp;<br />
<table width="844" height="507" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="844" height="38" class="pageHeader">Bienvenue</td>
</tr>

<tr>
<td height="425" class="bodyText"><p align="center"><Marquee direction="left" width="75%" scrollamount="5" scrolldelay="5" class="subHeader">
<span class="subHeader"> <br />
</span>
</MARQUEE>
</p>
<p align="center">
<Marquee direction="left" width="75%" scrollamount="5" scrolldelay="5" class="subHeader">
<span class="subHeader"> PROGRAMME DU WEEK-END PROCHAIN 21 ET 22 NOVEMBRE 2009 </span>
</MARQUEE>
<span class="subHeader">&nbsp; </span></p>
<p align="center">&nbsp;</p>
<table width="836" border="1">
<tr>
<td width="826" bgcolor="#FFFF00"><p align="center"><span class="Style10">Concours de pronostics </span>: <span class="Style5"><strong>un ballon à gagner pour le personne qui, tout au long de la saison, aura effectué les meilleurs pronostics sur les matchs de nos deux équipes évoluants en Championnat de France. Pour vous inscire, cliquez <a href="http://www.pronorama.com/site/compte/nouveau/">ICI</a></strong></span></p>
<p align="center" class="bodyText"><em><strong>(pour toute questions concernant les pronostics <a href="mailto:gravenchonbasket@yahoo.fr">contactez le webmaster</a>)</strong></em></p></td>
</tr>
</table>
<p align="center">&nbsp;</p>
<table width="813" border="1">
<tr>
<td><div align="center">Date</div></td>
<td><div align="center">Equipe</div></td>
<td><div align="center">Club recevant</div></td>
<td><div align="center">Visiteur</div></td>
<td><div align="center">Heure</div></td>
<td><div align="center">Lieu</div></td>
</tr>
<tr>
<td rowspan="11"><div align="center"><span class="bodyText">21/11/2009</span></div></td>
<td bgcolor="#99FFFF"><span class="bodyText">Féminine 1</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">CSG</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">ASA Sceaux</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">20h00</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Salle Comont</span></td>
</tr>
<tr>
<td bgcolor="#99FFFF"><span class="bodyText">Cadettes</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">CSG</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">USST Marie</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">17h00</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Salle Comont</span></td>
</tr>
<tr>
<td bgcolor="#99FFFF"><span class="bodyText">Poussines</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">CSG</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Lillebonne</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">14h30</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Salle Comont</span></td>
</tr>
<tr>
<td bgcolor="#99FFFF"><span class="bodyText">Mini-poussins</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">CSG</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Caudebec, Sandouville, Gruchet</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">9h30</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Salle Comont</span></td>
</tr>
<tr>
<td><span class="bodyText">Masculin 1</span></td>
<td><span class="bodyText">ES Brunoy</span></td>
<td><span class="bodyText">CSG</span></td>
<td><span class="bodyText">20h00</span></td>
<td><span class="bodyText">Salle P. de Coubertin</span></td>
</tr>
<tr>
<td><span class="bodyText">Cadets 1</span></td>
<td><span class="bodyText">Pt Audemer</span></td>
<td><span class="bodyText">CSG</span></td>
<td><span class="bodyText">14h30</span></td>
<td><span class="bodyText">Salle St Diagana</span></td>
</tr>
<tr>
<td><span class="bodyText">Cadets 2</span></td>
<td><span class="bodyText">St Laurent Rogerville</span></td>
<td><span class="bodyText">CSG</span></td>
<td><span class="bodyText">14h30</span></td>
<td><span class="bodyText">Salle Le Terrec</span></td>
</tr>
<tr>
<td><span class="bodyText">Minimes G1</span></td>
<td><span class="bodyText">E. Nettreville BB</span></td>
<td><span class="bodyText">CSG</span></td>
<td><span class="bodyText">15h00</span></td>
<td><span class="bodyText">Salle Jean Bart</span></td>
</tr>
<tr>
<td><span class="bodyText">Minimes G2</span></td>
<td><span class="bodyText">ESM Gonfreville l'Orcher</span></td>
<td><span class="bodyText">CSG</span></td>
<td><span class="bodyText">15h00</span></td>
<td><span class="bodyText">Salle Maurice Bacquet</span></td>
</tr>
<tr>
<td bgcolor="#99FFFF"><span class="bodyText">Benjamins</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">CSG</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">St Thomas Basket</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">15h30</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Salle Comont</span></td>
</tr>
<tr>
<td bgcolor="#99FFFF"><span class="bodyText">Poussins</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">CSG</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">ASSt Denis Sanvic</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">14h30</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Salle Terray</span></td>
</tr>
<tr>
<td rowspan="3"><div align="center"><span class="bodyText">22/11/2009</span></div></td>
<td bgcolor="#99FFFF"><span class="bodyText">Féminines 2</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">CSG</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">GCO Bihorel</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">14h00</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Sale Comont</span></td>
</tr>
<tr>
<td bgcolor="#99FFFF"><span class="bodyText">Féminines 3</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">CSG</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">AS Cheminots</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">10h30</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Salle Terray</span></td>
</tr>
<tr>
<td bgcolor="#99FFFF"><span class="bodyText">Masculins 2</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">CSG</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">AL Les Essarts</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">16h00</span></td>
<td bgcolor="#99FFFF"><span class="bodyText">Salle Comont</span></td>
</tr>
</table>
<p align="center"><br />
<?php
// --------------------------------------
// [Mod Pronorama / Site web PHP] : debut
// --------------------------------------
// Etape 1) Modification du source de votre site web
// L'intégralite du code PHP ci-dessous doit être ajoute dans la page PHP souhaitee
//
// Etape 2) Adaptation des parametres d'URL
// Modifiez la valeur de chacune des variables prefixees par "param_" en fonction du contexte souhaite
// Pour plus d'informations, consultez le forum Pronorama : MOD Pronorama "site web PHP"
// http://www.pronorama.com/forum/

// -------------
// début du code
// -------------

// debut des variables a modifier
$param_idappel = '<identifiant d appel externe associe au groupe de joueurs sur Pronorama>';
$param_fonction = '<identifiant de la fonction appelee>';
$param_bordure = '<Code de la couleur du cadre, au format HTML (hexadecimal, sur 6 caracteres, sans le #)>';
$param_competition = '<n° de la competition>';
$param_regroupement = '<nom du regroupement dans cette competition>';
// fin des variables a modifier

$parametres_url =
'?idappel=' . urlencode($param_'o30fpiby2mhgi4y1canln9nux5a741yza44psleky166wuxybqpop39tepq8gexx') .
'&fonction=' . urlencode($param_'prono') .
'&bordure=' . urlencode($param_00ccff) .
'&competition=' . urlencode($param_444) .
'&regroupement=' . urlencode($param_'21 novembre') .
'';
$url = 'http://www.pronorama.net/pronorama/extern/ticket/';
$erreurd = '[MOD Pronorama &frasl; Site web] ';
$erreurf = ' Si le probl&egrave;me persiste, merci de contacter l\'&eacute;quipe Pronorama en cliquant sur le lien &quot;Contacts&quot; situ&eacute; dans le bandeau sup&eacute;rieur du site &quot;www.pronorama.com&quot;.';
$erreur1 = 'Code erreur = C01 : La communication avec le serveur Pronorama a &eacute;chou&eacute;.';
$erreur2 = 'Code erreur = C02 : Le serveur Pronorama a renvoy&eacute; une r&eacute;ponse incorrecte.';
$xhtml = '';
$url_complete = $url . $parametres_url;
$strxml = @file_get_contents($url_complete);
if ($strxml) {
$xml = @simplexml_load_string($strxml);
if ($xml) {
$xhtml = (string) $xml->xhtml;
}
else {
$xhtml = $erreurd . $erreur2 . $erreurf;
}
}
else {
$xhtml = $erreurd . $erreur1 . $erreurf;
}
echo $xhtml;
// -----------
// fin du code
// -----------

// ------------------------------------
// [Mod Pronorama / Site web PHP] : fin
// ------------------------------------
?></p>
<p align="center" class="subHeader">&nbsp;</p>
<p align="center" class="subHeader">Pour trouver les gymnases de Notre Dame de Gravenchon cliquez ci-dessous</p>
<p align="center" class="Style4"><a href="plan-ville-2007.pdf">Plan de la ville</a> (.pdf), <a href="http://www.notre-dame-de-gravenchon.fr/content_decouvrir/pages/plan.php">plan de la ville</a> (interactif)</p>
<p align="center" class="Style4">&nbsp;</p>
<p align="center" class="Style4"><span class="Style7"><img src="gymnases.jpg" width="168" height="112" /></span></p>
<p align="center" class="Style4">&nbsp;</p></td>
</tr>
</table>
<div class="pageName">
<div align="center"></div>
</div>
<div><br />
</div>
<p><img src="http://counter.lwserv1.com/cgi-bin/Counter/Count.exe?df=basketgravenchon.com.index.php&dd=B">&nbsp;</p>
</td>
<td width="5">&nbsp;</td>
<td width="31">&nbsp;</td>
</tr>

<tr bgcolor="#ffffff">
<td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
</tr>

<tr>
<td colspan="6">&nbsp;</td>
</tr>


<tr bgcolor="#003399">
<td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
</tr>

<tr>
<td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>
</tr>

<tr bgcolor="#003399">
<td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
</tr>


<tr>
<td width="15">&nbsp;</td>
<td width="266"><span class="Style4">Mise à jour le
<!-- #BeginDate format:fcEn2 -->Mardi, 17-Nov-2009<!-- #EndDate -->
</span></td>
<td width="50">&nbsp;</td>
<td width="810"><span class="Style4">Webmaster : Peggy LLOZA - <a href="mailto:gravenchonbasket@yahoo.fr">contact ici</a> (cliquez cur le lien)</span></td>
<td width="5">&nbsp;</td>
<td width="31">&nbsp;</td>
</tr>
</table>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
csgbb
 
Messages: 9
Inscription: Mer 7 Oct 2009 19:26

Re: je n'arrive pas à installer le mod sur mon site

Messagede pronorama » Mar 17 Nov 2009 06:35

Ah ok je vois le problème, remplacez :

// debut des variables a modifier
$param_idappel = '<identifiant d appel externe associe au groupe de joueurs sur Pronorama>';
$param_fonction = '<identifiant de la fonction appelee>';
$param_bordure = '<Code de la couleur du cadre, au format HTML (hexadecimal, sur 6 caracteres, sans le #)>';
$param_competition = '<n° de la competition>';
$param_regroupement = '<nom du regroupement dans cette competition>';
// fin des variables a modifier

$parametres_url =
'?idappel=' . urlencode($param_'o30fpiby2mhgi4y1canln9nux5a741yza44psleky166wuxybqpop39tepq8gexx') .
'&fonction=' . urlencode($param_'prono') .
'&bordure=' . urlencode($param_00ccff) .
'&competition=' . urlencode($param_444) .
'&regroupement=' . urlencode($param_'21 novembre') .
'';


par


// debut des variables a modifier
$param_idappel = 'o30fpiby2mhgi4y1canln9nux5a741yza44psleky166wuxybqpop39tepq8gexx';
$param_fonction = 'prono';
$param_bordure = '00ccff';
$param_competition = '444';
$param_regroupement = '21 novembre';
// fin des variables a modifier

$parametres_url =
'?idappel=' . urlencode($param_idappel) .
'&fonction=' . urlencode($param_fonction) .
'&bordure=' . urlencode($param_bordure) .
'&competition=' . urlencode($param_competition) .
'&regroupement=' . urlencode($param_regroupement) .
'';

pronorama
Administrateur du site
 
Messages: 30
Inscription: Dim 26 Avr 2009 22:56

Re: je n'arrive pas à installer le mod sur mon site

Messagede csgbb » Mar 17 Nov 2009 12:15

merci, il y a du mieu, mais quand je mets en ligne... la page d'accueil m'affiche :

[MOD Pronorama ⁄ Site web] Code erreur = C01 : La communication avec le serveur Pronorama a échoué. Si le problème persiste, merci de contacter l'équipe Pronorama en cliquant sur le lien "Contacts" situé dans le bandeau supérieur du site "www.pronorama.com".

je suis vraiment désolée mais je ne connais pas du tout le langage html et donc je ne trouve pas l'erreur.

merci encore pour votre aide.

Peggy
csgbb
 
Messages: 9
Inscription: Mer 7 Oct 2009 19:26

Re: je n'arrive pas à installer le mod sur mon site

Messagede pronorama » Mar 17 Nov 2009 21:11

Effectivement on avance, pouvez-vous faire maintenant le test suivant :
Dans votre page index.php (ou dans n'importe quelle page du moment qu'elle porte l'extension .php), ajoutez les lignes suivantes tout au début du fichier :

<?php
error_reporting(-1);
$r = file_get_contents('http://www.pronorama.net');
var_dump($r);
die;
?>


Réinstallez la page sur votre hébergement, appelez-la depuis votre navigateur et dites-moi quel est le résultat affiché
pronorama
Administrateur du site
 
Messages: 30
Inscription: Dim 26 Avr 2009 22:56

Suivante

Retourner vers Le module Gestion de Pronostics pour site web PHP

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités

cron