Mam Wyszukiwarkę Merlina osadzaną częściami. Mam przykład z Merlina, który wklejam na swoją stronę przy pomocy "INCLUDE". Jak jest to na numerze i afiliacie Merlina jest OK, jak tylko zmienię na swoje rozsypuje się. Co jest nie tak??
Oto ta wyszukiwarka.
<?php
include('ep3gate.class.php');
$ep3gate=new ep3gate(
'1496', // agent number
'testn2', // nazwa aliflatu
'ep3' // nazwa zmiennej zarezerwaowana dla wyszukiwarki
,'iso-8859-2' // nowe kodowanie
,'iconv' // metoda przekodowania. moĹĽliwa takĹĽe 'mb' dla mb string
);
$ep3gate->setSearchType('PA');
$ep3gate->fetch(array('menu','searchform','configcss','headercss','headerjs','footer','content'));
echo $ep3gate->getPart('headercss');
echo $ep3gate->getPart('configcss');
echo $ep3gate->getPart('headerjs');
//$ep3gate->getStep();
?>
<table cellspacing="0" cellpadding="0" border="0">
<!-- steps -->
<tbody>
<tr>
<td valign="top" id="main" >
<div class="color1bg">
<?php echo $ep3gate->getPart('menu') ?>
</div>
<?php echo $ep3gate->getPart('content') ?>
</td>
</tr>
</tbody>
</table>
<?php
//print $ep3gate->getPart('footer');
//potrzebne jezeli jest uzywane pobieranie lastow
$footer = $ep3gate->getPart('footer');
?>
<?php
/**
* LASTY
*/
/*
if($ep3gate->getStep()>1){}else{
print '<h1>lasty</h1>';
//dane do step2 - wszystkie regiony
$_GET['ep3']=array('?sp=2&sd=*4&ed=*30&a=2&d=3');
//dane do step3 - hotele
$_GET['ep3']=array('?sp=3&sd=*4&ed=*30&a=2&d=3');
//dane do step4 - terminy
//$_GET['ep3']=array('?sp=4&sd=*4&ed=*30&a=2&d=3&hn=Reemyvera+Family');
$ep3gate=new ep3gate(
'1496', // agent number
'testn2',
'ep3' // query string variable name (used to send paramaters to ibe) configurable to avoid conflict with existing parameters in your system
,'iso-8859-2'
,'iconv'
);
$ep3gate->setSearchType('PA');
$ep3gate->fetch(array('content'));
echo $ep3gate->getPart('content');
}
*/
?>
<?php echo $footer; ?>
Bardzo proszę o pomoc.