$money1=$db["money"];
$money = sprintf ("%01.2f", $money1);
?>
У вас с собой: зл.
|
    подарки
    Цветы
if($buy!=""){$type=$buy;}
if(empty($act)){$act="";}
$seek=mysql_query("SELECT * FROM $type");
if($type == 'flower'){
$g=0;
while($DATA = mysql_fetch_array($seek)){
$g++;
$id = $DATA["id"];
$img = $DATA["img"];
$name = $DATA["name"];
$price1 = $DATA["price"]-$db["trade"]/50;
$price = sprintf ("%01.2f", $price1);
$price_gos1 = $DATA["price"];
$price_gos = sprintf ("%01.2f", $price_gos1);
$mass = $DATA["mass"];
$term = $DATA["term"];
$nums = $DATA["mountown"];
if($nums>0){
?>
print "";
?>
}
}
}
if($type == 'gift'){
$g=0;
while($DATA = mysql_fetch_array($seek)){
$g++;
$id = $DATA["id"];
$img = $DATA["img"];
$name = $DATA["name"];
$price1 = $DATA["price"]-$db["trade"]/50;
$price = sprintf ("%01.2f", $price1);
$price_gos1 = $DATA["price"];
$price_gos = sprintf ("%01.2f", $price_gos1);
$mass = $DATA["mass"];
$wish = $DATA["wish"];
$nums = $DATA["mountown"];
if($nums>0){
?>
print "";
print " ";
}
}
}
?>
|
|