feco1 | Bonjour. Il y a peut de temps ,je me suis lancer dans un projet de multi site de rèmunèration ou les menbres gagneront quelques dizaines d'euro SANS rien debourser problemes le sript myptr est vraiment pas beau
j'ai voulu installer un kit graphique a l'aide de dreamweaver v2 J'ai un tres bon hebergemnt J'aimerai vos aides
Voici l'index qui sert de racine (sans lui aucune pages ne fonctionne)
<code>
<?php
session_start();
if($_GET['refer']) { setcookie ("refer", $refer); }
include('dbconnect.php');
if($action=='Connexion au Compte' || $action=='Suppression du Compte' || $action=='Nouveau Mot de Passe')
{
$username=$_POST['username'];
$password=$_POST['password'];
$sql=mysql_query("SELECT * FROM users WHERE username='$username' AND fpassword='$password'" )or die(mysql_error());
if(mysql_num_rows($sql))
{
//extract(mysql_fetch_array(mysql_query("SELECT * FROM users WHERE username='$username' AND fpassword='$password'" )));
//session_start();
session_register("login" );
$_SESSION['login'] = $username;
$login=$username;
}
}
?>
<?php
$sq=mysql_query('SELECT * FROM setupinfo');
$ar=mysql_fetch_array($sq); extract($ar);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title><?php echo"$ptrname | Gagnez de l'Argent sur Internet !"?></title>
<style>
.bord1 { background-repeat: no-repeat; border-color: black #000000 black black; border-style: solid; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px; border-left-width: 0px}
.bord2 { background-repeat: repeat-x}
.bord3 {
background-repeat: repeat-y;
border: thin solid #336699;
}
<?php $c_result = mysql_query("select name, comments, value from design where name='body_style'" );
$c_row = mysql_fetch_row($c_result);
?>
body{<?php echo $c_row[2]?>}
<?php $c_result = mysql_query("select name, comments, value from design where name='h2_style'" );
$c_row = mysql_fetch_row($c_result);
?>
h2 {<?php echo $c_row[2]?>}
td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px}
a { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: #996600; text-decoration: none}
a:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: #990000; text-decoration: underline}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">A {
FONT-WEIGHT: bold; COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
FONT-WEIGHT: bold;
TEXT-DECORATION: underline;
COLOR: #FF0000;
}
TD {
FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana,Geneva,Arial,Helvetica,sans-serif
}
TD.titre {
FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana,Geneva,Arial,Helvetica,sans-serif; FONT-WEIGHT: bold;
}
</style></head><body>
<div align="center">
<table bgcolor="#000000" border="0" cellpadding="0" cellspacing="1" width="760">
<tbody><tr> <td><table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="760">
<tbody><tr> <td class="titre" align="right" background="images/head1.gif" height="15"></td>
</tr>
<tr> <td background="images/head2.gif" height="100"><table border="0" cellpadding="0" cellspacing="0" width="760">
<tbody><tr>
<td align="center" width="260"><font color="#ffffff" size="6"><strong> <a href="index.php"><img src="images/logo_phpBB.gif" alt="" align="absbottom" border="0" ></a></strong></font></td>
<td width="500"> </td>
</tr>
</tbody></table></td>
</tr>
<tr> <td align="center" background="images/head3.gif" height="18"> </td>
</tr>
<tr> <td bgcolor="#c4e1ff"><br>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="760">
<tbody><tr valign="top"> <td align="center" width="175"> <table bgcolor="#000000" border="0" cellpadding="0" cellspacing="1" width="160">
<tbody><tr>
<td><table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="160">
<tbody><tr>
<td class="titre" align="center" background="images/haut.gif" height="17">¤ Espace Membres ¤</td>
</tr>
<tr> <td align="center"><table border="0" cellpadding="0" cellspacing="4" width="160">
<tbody><tr>
<td align="center"><a href="index.php">Accueil</a><br>
<a href="index.php?tp=signup">Inscription</a> <br><a href="index.php?tp=member">Connexion</a><br>
<a href="index.php?tp=goldmember">Devenir VIP</a></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table>
<br>
<table bgcolor="#000000" border="0" cellpadding="0" cellspacing="1" width="160">
<tbody><tr> <td><table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="160">
<tbody><tr> <td class="titre" align="center" background="images/haut.gif" height="17">¤ Espace Annonceurs ¤</td>
</tr>
<tr> <td align="center"><table border="0" cellpadding="0" cellspacing="4" width="160">
<tbody><tr> <td align="center"><a href="index.php?tp=advertise">Annoncer</a><br><a href="index.php?tp=advertise">Connexion</a></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table>
<br>
<table bgcolor="#000000" border="0" cellpadding="0" cellspacing="1" width="160">
<tbody><tr> <td><table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="160">
<tbody><tr> <td class="titre" align="center" background="images/haut.gif" height="17">¤ Support ¤</td>
</tr>
<tr> <td align="center"><table border="0" cellpadding="0" cellspacing="4" width="160">
<tbody><tr> <td align="center"><a href="index.php?tp=terms">Règlement</a><br>
<a href="index.php?tp=faq">FAQ</a> <br><a href="index.php?tp=contacts">Nous Contacter</a><br>
</td>
</tr>
</tbody></table></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table>
<br>
<br>
<br>
<br>
</td>
<td align="center" width="585">
<table bgcolor="#000000" border="0" cellpadding="0" cellspacing="1" width="550">
<tbody><tr>
<td><table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="550">
<tbody><tr>
<td class="titre" align="center" background="images/haut.gif" height="17">¤ BooPTR ¤</td>
</tr>
<tr> <td><table border="0" cellpadding="0" cellspacing="5" width="550">
<tbody><tr>
<td>
<?php
$sql=mysql_query("SELECT * FROM banners" );
$rows=mysql_num_rows($sql);
$r=rand(0,$rows);
@mysql_data_seek($sql,$r);
@$arr=mysql_fetch_array($sql);
@extract($arr);
echo"";
$shows=$fshows+1;
mysql_query("UPDATE banners SET fshows=$shows WHERE fnum=$fnum" );
?>
<?php $c_result = mysql_query("select name, comments, value from design where name='pagebg'" );
$c_row = mysql_fetch_row($c_result);
?>
<td height="100%" valign="top" background="images/fon.gif" bgcolor="<?php echo $c_row[2]?>"> <p align="center">
<?php
switch($tp)
{
case('faq'):
include('faq.php');
break;
case('member'):
include('member.php');
break;
case('signup'):
include('signup.php');
break;
case('specialorder'):
include('specialsorder.php');
break;
case('terms'):
include('terms.php');
break;
case('advertise'):
include('advertise.php');
break;
case('member'):
include('member.php');
break;
case('user'):
include('user.php');
break;
case('goldmember'):
include('goldmember.php');
break;
case('contacts'):
include('contacts.php');
break;
case('register'):
include('register.php');
break;
case('adstats'):
include('adstats.php');
break;
case('ntpemorder'):
include('ntpemorder.php');
break;
case('tpemorder'):
include('tpemorder.php');
break;
case('visitorder'):
include('visitorder.php');
break;
case('suorder'):
include('suorder.php');
break;
case('banorder'):
include('banorder.php');
break;
case(''):
include('home.php');
break;
}
?>
<?php
if($act=='logout')
{
@session_unregister('login'); @session_destroy(); echo"<b>Vous vous êtes bien déconnecté. A bientôt sur le site !</b>";
}
?>
<?php
$sql=mysql_query("SELECT * FROM banners" );
$rows=mysql_num_rows($sql);
$r=rand(0,$rows);
@mysql_data_seek($sql,$r);
@$arr=mysql_fetch_array($sql);
@extract($arr);
echo"";
$shows=$fshows+1;
mysql_query("UPDATE banners SET fshows=$shows WHERE fnum=$fnum" );
?>
</td></tr></tbody></table></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table></td>
</tr>
<tr> <td align="center" background="images/head3.gif" height="17" valign="middle">
Copyright © 2006 Votre PTR - Tous droits réservés - Script traduit par <a href="http://www.gd-productions.info" target="blank">GD Productions</a></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table>
</div>
<?php
$sql=mysql_query("SELECT * FROM banners" );
$rows=mysql_num_rows($sql);
$r=rand(0,$rows);
@mysql_data_seek($sql,$r);
@$arr=mysql_fetch_array($sql);
@extract($arr);
echo"";
$shows=$fshows+1;
mysql_query("UPDATE banners SET fshows=$shows WHERE fnum=$fnum" );
?>
</body></html><code/>
Voici l'index de mon kitgraphique
Citation :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>kit56 easycreation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(image/fon_body.png);
}
-->
</style>
<link href="image/styles.css" rel="stylesheet" type="text/css">
<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];}}
}
//-->
</script>
</head>
<body onLoad="MM_preloadImages('image/bouton_2.gif')">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" background="image/fon_page.png">
<!--DWLayoutTable-->
<tr>
<td height="75" colspan="5" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="800" height="75"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="800" height="75">
<param name="movie" value="image/flash/menu_haut.swf">
<param name="quality" value="high">
<embed src="image/flash/menu_haut.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="75"></embed>
</object></td>
</tr>
</table></td>
</tr>
<tr>
<td width="200" rowspan="7" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="200" height="25" valign="top"><span class="menu_titre">Zone Membres</span></td>
</tr>
<tr>
<td height="125" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#0099FF">
<!--DWLayoutTable-->
<tr>
<td width="10" height="125"> </td>
<td width="190" valign="middle"><p class="membre">
Loging<br>
<input name="loging" type="password" maxlength="20">
<br>
Identifiant
<br><input name="idantifian" type="text" maxlength="40">
<br><br><input name="entrer" type="submit" value="entrer"> </p></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="top"><span class="menu_titre">Menu</span></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton 1 </a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton2 </a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton3 </a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton4 </a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton5 </a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton6 </a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton7 </a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton8 </a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton9 </a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton10</a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton11 </a></td>
</tr>
<tr>
<td height="20" valign="top"><a href="#" class="menu">Lien Bouton12</a></td>
</tr>
<tr>
<td height="25" valign="top"><span class="menu_titre">Zone Partenaires </span></td>
</tr>
<tr>
<td height="63" align="center" valign="middle"><a href="http://www.easycreation.com"><img src="image/easycreation.gif" width="88" height="31" border="0"></a></td>
</tr>
<tr>
<td height="316"> </td>
</tr>
</table></td>
<td width="5" height="150"></td>
<td colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="595" height="150"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="595" height="150">
<param name="movie" value="image/flash/anni.swf">
<param name="quality" value="high">
<embed src="image/flash/anni.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="595" height="150"></embed>
</object></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" colspan="4" valign="top"><span class="page_titr">Ce kit est offert par easycreation.com.</span></td>
</tr>
<tr>
<td height="75"></td>
<td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="462" height="75" valign="top" class="text"><br>
_L' utilisation de ce kit web est soumise aux limitations suivantes :<br>
_ il ne peut être vendu ou proposé à un tiers sans l'autorisation de son créateur. <br>
_ l'origine de ce kit doit être indiquée (lien, bouton...). <br></td>
<td width="128"> </td>
</tr>
</table></td>
<td width="5"> </td>
</tr>
<tr>
<td height="25" colspan="3" valign="top"><span class="page_titr">Modification du kit graphique:</span></td>
<td> </td>
</tr>
<tr>
<td height="399"> </td>
<td width="5"> </td>
<td width="585" valign="top" class="text"><br>
<span class="titr">_Partie flash:</span> Pour modifier les titres et les liens des boutons flash, <br>
vous trouverez dans le fichier téléchargé des fichiers '.TXT' qui <br>
vous permettront en toute simplicité de modifier les noms des boutons<br>
ainsi que le lien. Pour les personnes qui possèdent Flash vous <br>
trouverez des documents '.FLA' dans le dossier flash. <br>
qui vous permettront de tout modifier (animation, introduction <br>
de logo,ajout de liens,etc...). Dans le même dossier, vous trouverez <br>
des fichiers '.SWF'<br>
<br>
<span class="titr">_Partie html:</span> la mise en page est modifiable en jouant avec les cellules <br>
de mise en forme. La couleur et la police des textes sont modifiables<br>
à volonté. Il vous suffit d'éditer le fichier "styles.CSS" qui se trouve <br>
dans le dossier "image". <br>
- Formatage du texte : <br>
- .texte => paramètres du texte <br>
- .titre => paramètres des titres<br>
les boutons de la partie html sont constitués de 2 images<br>
(bouton_1,bouton_2) ainsi que d'un style css (.menu )<br>
.menu : aparence du bouton sans action <br>
.menu : visited : aparence du bouton visité<br>
.menu : hover : aparence du bouton survolé <br>
et pour finir, un script javascript placé entre les balises <head></head><br>
de la page html et la balise MM_preloadImages dans le body<br>
(<body onLoad="MM_preloadImages(' url de l'image')"> permet le<br>
préchargement de l'image constitant le bouton en mode hover.<br></td>
<td> </td>
</tr>
<tr>
<td height="25" colspan="3" valign="top"><span class="page_titr">En cas de problème avec un kit graphique </span></td>
<td> </td>
</tr>
<tr>
<td height="120"> </td>
<td> </td>
<td valign="top" class="text"><br>
consulte le forum dans un premier temps, regarde si ton problème n'a pas<br>
déjà fait l'objet d'un sujet,sinon inscrit toi puis pose ta question,patiente et <br>
si tout se passe bien une âme charitable viendras t'apporter une réponse. </td>
<td> </td>
</tr>
<tr>
<td height="55" colspan="5" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="image/bas.png">
<!--DWLayoutTable-->
<tr>
<td width="405" height="55"> </td>
<td width="222" valign="middle"><a href="http://www.easycreation.com" class="titr">Kit graphique © easycreation</a></td>
<td width="173"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="54" colspan="5" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<!--DWLayoutTable-->
<tr>
<td width="800" height="54"> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
|
Merci de votre aide je vous serais très reconaissant car sa fait asser longtemps que je recherche sans trouver
Merci Message édité par feco1 le 11-08-2007 à 16:27:23
|