1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
| <?php
require_once('Connections/oeuvre.php');
include_once ('admin/stats.php');
include_once ('admin/verif_page.php');
session_register("achats");
// ---------------------------------------------------------------------
$test=0;
if (isset($_GET['ajout']) && $_GET['ajout'] == "AJOUT")
{ if (isset($_SESSION['achats'])){
for ($i=0; $i<count($_SESSION['achats']); $i++)
{ if ( $_SESSION['achats'][$i]['refstock'] == $_GET['id'])
{ $test=1;
}//if de la boucle for
} //for
}//if
if ($test==0){
$_SESSION['achats'][] =
array ("refstock" => $_GET['id'], "qte" => 1, "origine"=> 1);
} //if array
}//if
// --------------------------------------------------------------------
if (isset($_GET['lang'])){
if ($_GET['lang']=="fr" OR $_GET['lang']=="en") {
$lang=$_GET['lang'];
} //if $_GET
} //if isset
else {
$lang="fr";
} //else
if (isset($_GET['rub'])){
$rub=$_GET['rub'];
}
mysql_select_db($database_oeuvre, $oeuvre);
$query_liens = "SELECT newsletter, accueil_texte_fr, accueil_texte_en, accueil_repro, accueil_expo FROM liens";
$liens = mysql_query($query_liens, $oeuvre) or die(mysql_error());
$row_liens = mysql_fetch_assoc($liens);
$totalRows_liens = mysql_num_rows($liens);
?>
<html>
<head>
<title>Galerie Natalie Boldyreff</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "metas.php"; ?>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="shop.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Style2 { font-size: 18px;
font-weight: bold;
color: #FFFFFF;
}
-->
</style>
</head>
<body bgcolor="#ffffff" <?php if (isset($_GET['ajout']) && $_GET['ajout'] == "AJOUT") {
echo "onLoad=\"window.open('caddie.php?lang=".$lang."','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width=600, height=450, left=250, top=50');return(false)\""; }?>>
<table height="100%" border="0" cellpadding="0" cellspacing="0">
<tr align="left" valign="top">
<td width="200" background="images/wall2.jpg"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="200" height="72">
<param name="flash_component" value="ImageViewer.swc">
<param name="movie" value="images/haut-menu.swf">
<param name="quality" value="high">
<param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:true,frameShow:false,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:false,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}">
<embed src="images/haut-menu.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:true,frameShow:false,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:true,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="200" height="72"></embed>
</object></td>
<td width="175" height="86"><a name="haut"></a><img name="interfacetotalephp_r1_c2" src="images/decoupe/interface-totale-php_r1_c2.png" width="175" height="86" border="0" alt=""></td>
<td width="572" height="86" valign="bottom" background="images/decoupe/interface-totale-php_r1_c3.jpg"><table width="572" height="50" border="0">
<tr>
<td width="30"> </td>
<td width="290" class="head1"> <?php
include "menu-haut-inc.php";
?></td>
<td width="140"> <?php echo '<font color=#73804D size=3><center>';
if($lang=="fr" )
{echo "<a href=\"repro.php?rub=".$_GET['rub']."&lang=".$_GET['lang']."\""; ?> onClick="window.open('caddie.php?lang=<?php echo $lang; ?>','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width=600, height=450, left=250, top=50');return(false)"><?echo'<font color=#73804D><B> Voir mon panier</B></font></a>';}else{echo "<a href=\"repro.php?rub=".$_GET['rub']."&lang=".$_GET['lang']."\""; ?> onClick="window.open('caddie.php?lang=<?php echo $lang; ?>','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width=600, height=450, left=250, top=50');return(false)"><?echo'<font color=#73804D><B> View my basket</B></font></a>';}
echo'</center></font>'; ?> </td>
<td width="90" valign="middle" class="VotreCarte"><?php echo "<a href=\"expo.php?rub=".$_GET['rub']."&lang=".$_GET['lang']."\""; ?> onClick="window.open('caddie.php?lang=<?php echo $lang; ?>','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width=600, height=450, left=250, top=50');return(false)"><img src="images/caddie-haut.jpg" width="35" height="24" border="0"></A></td>
</tr>
</table></td>
<td width="100%" background="images/decoupe/interface-totale-php_r1_c18.jpg"> </td>
</tr>
<tr>
<td width="200" height="450" align="center" valign="top" background="images/decoupe/interface-totale-php_r2_c1.jpg"><?php include "menu-$lang.php"; ?></td>
<td colspan="3" rowspan="2" align="center" valign="middle" bgcolor="#996600" background="images/wall.jpg" > <?php
if ($lang=="en") {
include "show_expo_en.php";
} //if
else {
include "show_expo_fr.php";
} //else
?>
<br>
<br>
<span class="reference">© 2003-<? echo date("Y"); ?> - Galerie Natalie Boldyreff</span></td>
</tr>
<tr>
<td height="100%" valign="top" background="images/wall2.jpg"> </td>
</tr>
</table>
</body>
</html>
<?php
mysql_free_result($liens);
?> |
Partager