Programmation PHP
Fermé
Webal
Messages postés
99
Date d'inscription
mercredi 12 mars 2008
Statut
Membre
Dernière intervention
29 juin 2015
-
22 déc. 2009 à 17:07
Webal Messages postés 99 Date d'inscription mercredi 12 mars 2008 Statut Membre Dernière intervention 29 juin 2015 - 22 déc. 2009 à 17:48
Webal Messages postés 99 Date d'inscription mercredi 12 mars 2008 Statut Membre Dernière intervention 29 juin 2015 - 22 déc. 2009 à 17:48
A voir également:
- Programmation PHP
- Easy php - Télécharger - Divers Web & Internet
- Application de programmation - Guide
- Programmation logo tortue télécharger - Télécharger - Études & Formations
- Bouton php - Forum PHP
- \R php ✓ - Forum PHP
3 réponses
avion-f16
Messages postés
19250
Date d'inscription
dimanche 17 février 2008
Statut
Contributeur
Dernière intervention
22 décembre 2024
4 505
22 déc. 2009 à 17:21
22 déc. 2009 à 17:21
Ton HTML est placé après un "<?php" (5ème ligne) qui n'est pas fermé donc ...
avion-f16
Messages postés
19250
Date d'inscription
dimanche 17 février 2008
Statut
Contributeur
Dernière intervention
22 décembre 2024
4 505
22 déc. 2009 à 17:40
22 déc. 2009 à 17:40
Rien, il faut supprimer la 5ème ligne, qui ne comporte que "<?php"
Webal
Messages postés
99
Date d'inscription
mercredi 12 mars 2008
Statut
Membre
Dernière intervention
29 juin 2015
22 déc. 2009 à 17:48
22 déc. 2009 à 17:48
ok voici le tout corriger !!! je te met le lien de ma page en question et ce que je voudrais mettre en lien au lieu du TEST TEST TEST
lien : http://lqhsim.com/test.php
page html à ajouter LQHS0-TeamStats
merci beaucoup de ton aide
<?php include('Connections/simhl-setup.php'); ?>
<?php include("includes/sessionInfo.php") ?>
<?php include("includes/langfile.php") ?>
<?php include("includes/langs.php") ?>
<?php
switch ($lang){
case 'en':
$l_GF_D = "Goals For";
$l_GA_D = "Goals Against";
$l_TeamName = "Team";
$l_Rank = "Rank";
$l_W = "W";
$l_L = "L";
$l_OT = "OT";
$l_Key = "Injuries";
break;
case 'fr':
$l_GF_D = "But Pour";
$l_GA_D = "But Contre";
$l_TeamName = "Équipe";
$l_Rank = "Rang";
$l_W = "V";
$l_L = "D";
$l_OT = "PR ";
$l_Key = "Blessés";
break;
}
$season_id = 0;
if (isset($_POST['season_id'])) {
$season_id = (get_magic_quotes_gpc()) ? $_POST['season_id'] : addslashes($_POST['season_id']);
}
if (isset($_GET['season_id'])) {
$season_id = (get_magic_quotes_gpc()) ? $_GET['season_id'] : addslashes($_GET['season_id']);
}
if ($season_id == ""){
$season_id = $_SESSION['current_SeasonID'];
}
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php echo $l_nav_PowerRankings;?> - <?php echo $_SESSION['SiteName'] ; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo $_SESSION['DomainName']; ?>/css/global.css">
<link rel="stylesheet" type="text/css" href="<?php echo $_SESSION['DomainName']; ?>/css/cssmenu.css">
<script src="<?php echo $_SESSION['DomainName']; ?>/js/cssmenu.js" language="javascript"></script>
<style>
a {
color:#000000; ?>;
}
</style>
</head>
<body>
<div align="center" style="height:100%">
<div id="wrapper">
<fieldset id="LoginColum"><?php include("includes/login.php"); ?></fieldset>
<table border="0" cellpadding="0" cellspacing="0" width="998" id="HEADER">
<tr> <td background="<?php echo $_SESSION['DomainName']; ?>/image/common/topbarbg.gif" align="center" height="35"> </td>
<td background="<?php echo $_SESSION['DomainName']; ?>/image/common/topbarbg.gif"><img src="<?php echo $_SESSION['DomainName']; ?>/image/topnav_teamslogo.gif" width="789" height="18" border="0" usemap="#Map" /></td>
</tr>
<tr>
<td valign="top" align="left" colspan="2"><img src="<?php echo $_SESSION['DomainName']; ?>/image/headers/<?php echo $_SESSION['current_HeaderImage']; ?>" alt="SIM HOCKEY LEAGUE" width="998" height="100" border="0"></td>
</tr>
<tr>
<td height="30" align="left" colspan="2" bgcolor="#000000">
<?php if ($_SESSION['current_Team_ID'] == 0) {
include("includes/leagueMenu.php");
}
?></td>
</tr>
</table>
<div id="Content">
<table width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td valign="top">
<h1>TEST TEST TEST</h1>
<?php include("includes/footer.php"); ?>
</div>
<?php include("Connections/topbarNav.php"); ?>
</body>
</html>
lien : http://lqhsim.com/test.php
page html à ajouter LQHS0-TeamStats
merci beaucoup de ton aide
<?php include('Connections/simhl-setup.php'); ?>
<?php include("includes/sessionInfo.php") ?>
<?php include("includes/langfile.php") ?>
<?php include("includes/langs.php") ?>
<?php
switch ($lang){
case 'en':
$l_GF_D = "Goals For";
$l_GA_D = "Goals Against";
$l_TeamName = "Team";
$l_Rank = "Rank";
$l_W = "W";
$l_L = "L";
$l_OT = "OT";
$l_Key = "Injuries";
break;
case 'fr':
$l_GF_D = "But Pour";
$l_GA_D = "But Contre";
$l_TeamName = "Équipe";
$l_Rank = "Rang";
$l_W = "V";
$l_L = "D";
$l_OT = "PR ";
$l_Key = "Blessés";
break;
}
$season_id = 0;
if (isset($_POST['season_id'])) {
$season_id = (get_magic_quotes_gpc()) ? $_POST['season_id'] : addslashes($_POST['season_id']);
}
if (isset($_GET['season_id'])) {
$season_id = (get_magic_quotes_gpc()) ? $_GET['season_id'] : addslashes($_GET['season_id']);
}
if ($season_id == ""){
$season_id = $_SESSION['current_SeasonID'];
}
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php echo $l_nav_PowerRankings;?> - <?php echo $_SESSION['SiteName'] ; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo $_SESSION['DomainName']; ?>/css/global.css">
<link rel="stylesheet" type="text/css" href="<?php echo $_SESSION['DomainName']; ?>/css/cssmenu.css">
<script src="<?php echo $_SESSION['DomainName']; ?>/js/cssmenu.js" language="javascript"></script>
<style>
a {
color:#000000; ?>;
}
</style>
</head>
<body>
<div align="center" style="height:100%">
<div id="wrapper">
<fieldset id="LoginColum"><?php include("includes/login.php"); ?></fieldset>
<table border="0" cellpadding="0" cellspacing="0" width="998" id="HEADER">
<tr> <td background="<?php echo $_SESSION['DomainName']; ?>/image/common/topbarbg.gif" align="center" height="35"> </td>
<td background="<?php echo $_SESSION['DomainName']; ?>/image/common/topbarbg.gif"><img src="<?php echo $_SESSION['DomainName']; ?>/image/topnav_teamslogo.gif" width="789" height="18" border="0" usemap="#Map" /></td>
</tr>
<tr>
<td valign="top" align="left" colspan="2"><img src="<?php echo $_SESSION['DomainName']; ?>/image/headers/<?php echo $_SESSION['current_HeaderImage']; ?>" alt="SIM HOCKEY LEAGUE" width="998" height="100" border="0"></td>
</tr>
<tr>
<td height="30" align="left" colspan="2" bgcolor="#000000">
<?php if ($_SESSION['current_Team_ID'] == 0) {
include("includes/leagueMenu.php");
}
?></td>
</tr>
</table>
<div id="Content">
<table width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td valign="top">
<h1>TEST TEST TEST</h1>
<?php include("includes/footer.php"); ?>
</div>
<?php include("Connections/topbarNav.php"); ?>
</body>
</html>
22 déc. 2009 à 17:30
merci
mais quel serais le code a écrire ?