$lng=1; $lang='ro'; chdir('..'); include 'vars3.php'; include'/php/sql.php'; include'/php/validate.php'; include'/php/curs.php'; bad($areg,0); bad($of,0); //$logtest=1; //include '/php/logged2.php'; $md=date('d-M-Y',filemtime('agro/index.html')); echo''; include'meniu.php'; $sql='select nume from agroreg where id='.$areg; $rez=sql($sql,'drum'); $tmp=mysql_fetch_array($rez); $regiune=$tmp['nume']; $sql='select * from agrotipo'; if( $of )$sql.=" where cod&{$of}"; //$dbg=2; $rez=sql($sql,'drum'); $i=0; while( $lin=mysql_fetch_array($rez) ) { $tmp=$lin['nume']; if( $lin['cod']==$of ) $tiptxt=$tmp; $tipo[$i]=$tmp; $i++; } $sizetipo=$i; echo << Oferte agroturistice - $regiune
Oferte pentru $tiptxt
ultima actualizare: $md

AAA; $sql=<<
Alte imagini: exterioare, dormitoare,  
bai, alte interioare, anexe
 
$i. {$lin['nume']} ( {$lin['lnume']} ) AAA; $sq=<< AAB; $kj++; }//while oferta echo <<

{$lin['conditii']}

AAA; $i++; }//while agro - pensiuni echo<< AAA; ?>
{$lin['descriere']}
 
Preţuri pentru {$ln['tipnume']}: $perioada
AAB; $sq=<<$pr $mn {$tmp[$kk]} AAC; $kk++; }//while pret // $tmp="mcond{$kj}"; $tmp=$$tmp; echo <<
{$ln['descriere']}