Programmation PHP
Webal
Messages postés
109
Statut
Membre
-
Webal Messages postés 109 Statut Membre -
Webal Messages postés 109 Statut Membre -
Bonjour,
voici un code que j'ai créé, une entête un un bas de page, entre les 2 je voudrais pourvoir afficher un page html mais je sais pas comment l'écrire
merci de votre aide
voici le code
<?php include('Connections/simhl-setup.php'); ?>
<?php include("includes/sessionInfo.php") ?>
<?php include("includes/langfile.php") ?>
<?php include("includes/langs.php") ?>
<?php
<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">
ICI J'AIMERAIS AVOIR MON LIEN DE PAGE MA PAGE HTML
<?php include("includes/footer.php"); ?>
</div>
<?php include("Connections/topbarNav.php"); ?>
</body>
</html>
<?php
mysql_free_result($GetStandings);
?>
voici un code que j'ai créé, une entête un un bas de page, entre les 2 je voudrais pourvoir afficher un page html mais je sais pas comment l'écrire
merci de votre aide
voici le code
<?php include('Connections/simhl-setup.php'); ?>
<?php include("includes/sessionInfo.php") ?>
<?php include("includes/langfile.php") ?>
<?php include("includes/langs.php") ?>
<?php
<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">
ICI J'AIMERAIS AVOIR MON LIEN DE PAGE MA PAGE HTML
<?php include("includes/footer.php"); ?>
</div>
<?php include("Connections/topbarNav.php"); ?>
</body>
</html>
<?php
mysql_free_result($GetStandings);
?>
A voir également:
- Programmation PHP
- Application de programmation - Guide
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Retour à la ligne php ✓ - Forum PHP
- Retour a la ligne avec Echo comment faire ? - Forum Webmastering
3 réponses
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>
merci
mais quel serais le code a écrire ?