me falta cambiar el valor de la moneda a euros
mi web es ruletahoteles.net
el codigo de tourrates.php es
$id=0;
if(isset($_GET['id']))
$id=$_GET['id'];
$extract_tous_query="select * from tours where tourid=$id";
$result_tous_set = mysql_query($extract_tous_query);
$row_tous=mysql_fetch_array($result_tous_set);
$totalrec=mysql_num_rows($result_tous_set);
if($totalrec<=0)
{
$redirect_url = "info.php?id=15";
header("location:$redirect_url");
}
$cont=$row_tous['h_country'];
$titlename=$row_tous['package_name'];
//find similar package
$extract_simtous_query="select * from tours where h_country like '$cont'";
$result_simtous_set = mysql_query($extract_simtous_query);
?>
<html>
<head>
<title><? echo $titlename." ".$cont." ".$mtitle; ?> </title>
<meta name=description content="<? echo $mdesc; ?>">
<meta name=keywords content="<? echo $mkeyword; ?>">
<META content=no-cache http-equiv=Pragma>
<META content="30 days" name=revisit-after>
<META content=consumer name=classification>
<META content=ALL name=ROBOTS>
<META content=0 http-equiv=expires>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
<link href="user.css" rel="stylesheet" type="text/css" /><style type="text/css">
<!--
body {
background-image: url();
background-color: #E6E6E6;
}
-->
</style></head>
<body>
<table width="850" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="462" valign="top">
<?php require_once($root_path . 'include/userheader.php'); ?>
<table width="838" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="224" valign="top">
<?php require_once($root_path . 'include/leftmenu.php'); ?>
</td>
<td width="614" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="390" valign="top" class="text11"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F5F5F5">
<tr>
<td colspan="2"><span class="text10"> <?php echo $lng_56;?>
</span> </td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" class="text11"> </td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" class="text11"><a href="tour_packages.php">Tour
packages</a>><a href="country.php">Country</a>>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><a href="travelbycountry.php?country=<?php echo $row_tous['h_country']; ?>"><?php echo $row_tous['h_country']; ?></a></strong></font></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF"><p></p>
<form action="tourdetails.php" method="get" name="form2" id="form2">
<table width="96%" border="0" align="center" cellpadding="4" cellspacing="0" bordercolor="#6699CC" class="searchbox">
<tr>
<td bgcolor="#FFCC33"><div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><?php echo $lng_51;?> <?php echo $row_tous['h_country']; ?>: </strong></font><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">
<select name="id" size="1" id="id">
<?php
while($temp_simrow = mysql_fetch_array($result_simtous_set))
{
echo "<option value=".$temp_simrow['tourid'].">".$temp_simrow['package_name']."</option>";
}
?>
</select>
</font><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
<input name="imageField2" type="image" src="images/go.gif" width="20" height="18" border="0" />
</strong></font></div></td>
</tr>
</table>
</form>
<table width="80%" border="0" align="center">
<tr>
<td width="24%"><a href="tourdetails.php?id=<?php echo $id; ?>"><img src="images/details.gif" width="100" height="40" border="0" /></a></td>
<td width="25%"><a href="tourphoto.php?id=<?php echo $id; ?>"><img src="images/photo.gif" width="100" height="40" border="0" /></a></td>
<td width="25%"><a href="tourrates.php?id=<?php echo $id; ?>"><img src="images/rates.gif" width="100" height="40" border="0" /></a></td>
</tr>
</table>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><span class="style7"></span></font></p></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" ><font color="#CC3333" size="3" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $row_tous['package_name']; ?></font></td>
</tr>
<tr>
<td width="66%" bgcolor="#FFFFFF" class="gray_ver_10"><div align="justify"><?php echo $row_tous['shortdetails']; ?><br />
</div></td>
<td width="34%" bgcolor="#FFFFFF" class="text11"> <?php
$extract_photo_query="select * from photo where ( mdefault = '1' and (b_id=".$row_tous['tourid'].") and (type like 'tour') )";
$result_photo_set = mysql_query($extract_photo_query);
if(mysql_num_rows($result_photo_set)<=0)
{
$mimage="noimage.gif";
}
else
{
$photo_row=mysql_fetch_array($result_photo_set);
$mimage=return_added_image_name($photo_row['name'],"_SM");
}
?> <table width="9%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000">
<tr>
<td><img src="images/upload/<?php echo $mimage; ?>" /></td>
</tr>
</table>
<br /> <div align="center"><br />
</div></td>
</tr>
<tr>
<td colspan="2" ><div align="center"> <a href="countrydetails.php?page=<?php echo $cont; ?>">
<?php echo $cont; ?> <?php echo $lng_48;?></a>|<a href="countrydetails.php?page=<?php echo $cont; ?>&#tips"><?php echo $lng_49;?></a></div></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF">
<?php
$extract_rates_query="select * from rates where tours_id=".$row_tous['tourid'];
$result_rates_set = mysql_query($extract_rates_query);
if(mysql_num_rows($result_rates_set)>0)
{
?> <table width="98%" cellspacing="2" cellpadding="2">
<tr>
<td colspan="4" class="text10"> </td>
</tr>
<tr bgcolor="#FFCC33" class="text7">
<td width="32%"><?php echo $lng_75;?></td>
<td width="25%"><?php echo $lng_76;?></td>
<td width="21%"><?php echo $lng_77;?></td>
<td width="22%"> </td>
</tr>
<?php
while($temp_ratetotalrow = mysql_fetch_array($result_rates_set ))
{
?>
<tr class="text7">
<td><?php echo $signcurrency.$temp_ratetotalrow['title']; ?></td>
<td><?php echo $temp_ratetotalrow['date_range']; ?></td>
<td><?php echo $signcurrency.$temp_ratetotalrow['cost']; ?></td>
<td><a href="onlinebooking.php?tour_id=<?php echo $row_tous['tourid']; ?>&rate_id=<?php echo $temp_ratetotalrow['rate_id']; ?>&tour_cost=<?php echo $temp_ratetotalrow['cost'];?>"><?php echo $lng_78;?></a></td>
</tr>
<?php
}
?>
</table><?php
}
else
{
?>
<table width="75%" border="0" align="center">
<tr>
<td><div align="center"><br />
<span class="text7"> !!! <?php echo $lng_74;?> !!!</span></div></td>
</tr>
¿cambio aquí la moneda o es en la base de datos?????
Doy un premio a quién sepa modificarme el simbolito del dollar a euros!!!
me he comprado el script y el q me lo ha vendido no me lo modifica!!!!
GRACIAS POR ADELANTADO