Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.14 KB | None | 0 0
  1.  
  2. <?php
  3. include(dirname(dirname(__FILE__)).'/include/commonInclude.inc.php');
  4. include(dirname(dirname(__FILE__)).'/include/htmlHeader.inc.php');
  5.  
  6. $popup = htmlspecialchars($biuro->pobierzArgument('popup', FALSE, 'string'));
  7.  
  8. if ($popup != 'yes')
  9. include(dirname(dirname(__FILE__)).'/include/header.inc.php');
  10.  
  11. /* -------- Warstwa danych ------- */
  12. $nr_oferty = htmlspecialchars($biuro->pobierzArgument('nr', FALSE, 'string'));
  13. //echo $nr_oferty;
  14.  
  15. if (!nr_oferty or $nr_oferty != '' or $nr_oferty != null) {
  16. $wynik = strtr($nr_oferty, 'ĘÓˇ¦ŁŻ¬Ńę󱶳żĽćń', 'EOASLZZCNeoaslzzcn');
  17. $sql = "select Id from Oferta where Numer='" . mysql_escape_string($wynik)."'";
  18. //echo $sql;
  19. if (!$result = mysql_query($sql)){
  20. // echo "błąd";
  21. }
  22.  
  23. if (!$row = mysql_fetch_row($result)) { //echo "brak wynikow";
  24. } // else { //echo "oferta jest:".$row[0];
  25. // }
  26. }
  27.  
  28. if (!$nr_oferty)
  29. $oferta_id = $biuro->pobierzArgument('oferta', FALSE, 'int');
  30. else
  31. $oferta_id = $row[0];
  32.  
  33. if (!$oferta_id) {
  34. header("HTTP/1.0 404 Not Found");
  35. ?>
  36. <div id="main">
  37. <div class="row">
  38. <div class="span9">
  39. <h1 class="page-header">Nie ma takiej oferty</h2>
  40. <div class="property-detail">
  41. Przepraszamy, ale nie mamy oferty o podanej nazwie. Skorzystaj z bocznej wyszukiwarki ofert i znać nieruchomość dla Siebie.
  42. </div>
  43. </div>
  44. <div class="span3">
  45. <?php include '_parts/search.php'; ?>
  46. </div>
  47. </div>
  48. </div>
  49. <?php
  50. } else {
  51.  
  52. $ofertaDane = array();
  53.  
  54. $oferta = new Oferta($biuro, $oferta_id);
  55. $ofertaDane['dane'] = $oferta->pobierz();
  56. $kategoria = new Kategoria($biuro, $oferta->pobierzIdKategorii());
  57. $kategoria_id=$oferta->pobierzIdKategorii();
  58. $ofertaDane['nazwaKategorii'] = $kategoria->pobierzNazwe();
  59.  
  60. $makler_id = $oferta->pobierzIdMaklera();
  61. $ofertaDane['makler'] = array();
  62. if ($makler_id)
  63. {
  64. $makler = new Makler($biuro, $makler_id);
  65. $ofertaDane['makler'] = $makler->pobierz();
  66. }
  67.  
  68. $ofertaDane['cechyPodstawowe'] = array();
  69. foreach ($oferta->pobierzWartosciCech(7) as $cecha_id => $wartosc)
  70. if ($wartosc . '' != '')
  71. $ofertaDane['cechyPodstawowe'][$biuro->pobierzTlumaczenie($cecha_id, false,
  72. 'Cecha')] = $wartosc;
  73. $ofertaDane['cechyPozostale'] = array();
  74. foreach ($oferta->pobierzPozostaleWartosciCech(7) as $cecha_id => $wartosc)
  75. if ($wartosc . '' != '')
  76. $ofertaDane['cechyPozostale'][$biuro->pobierzTlumaczenie($cecha_id, false,
  77. 'Cecha')] = $wartosc;
  78.  
  79.  
  80. $grafika = $oferta->pobierzGrafikeTytulowa();
  81. if (is_object($grafika))
  82. {
  83. $ofertaDane['grafika'] = $grafika->pobierzAdres(true);
  84. }
  85.  
  86. $zdjecia = $biuro->pobierzArgument('zdjecia', 'miniaturki', 'char');
  87.  
  88. if ($zdjecia != 'brak')
  89. {
  90. $ofertaDane['grafiki'] = array();
  91. $grafiki = $oferta->pobierzGrafiki();
  92. }
  93. if (!is_array($grafiki))
  94. $grafiki = array();
  95. $ofertaDane['liczbaGrafik'] = count($grafiki);
  96. $licznik = 0;
  97. foreach ($grafiki as $row)
  98. {
  99. if (!$licznik)
  100. {
  101. $licznik++;
  102. $tytulowa = $row->pobierzId();
  103. }
  104. $ofertaDane['grafiki'][$row->pobierzId()]['adres'] = $row->pobierzAdres($zdjecia ==
  105. 'miniaturki');
  106. $ofertaDane['grafiki'][$row->pobierzId()]['szerokosc'] = $row->pobierzSzerokosc($zdjecia ==
  107. 'miniaturki');
  108. $ofertaDane['grafiki'][$row->pobierzId()]['wysokosc'] = $row->pobierzWysokosc($zdjecia ==
  109. 'miniaturki');
  110. }
  111.  
  112. // zbieramy statystyki klikniec w oferte
  113. $data = date('Y-m-d, H-i-s');
  114. // metoda wartoscCechyOferty - mozna jej uzyc do sprawdzenia czy oferta jest specjalna, ustawiajac cecha_id na 307, zwroci TAK/NIE
  115. $czyspecjalna = $biuro->wartoscCechyOferty($biuro->pobierzArgument('oferta'),'307');
  116. if($czyspecjalna == '') {$czyspecjalna = 'NIE';}
  117. $biuro->insertStats($ofertaDane['dane']['Numer'],$ofertaDane['dane']['Kategoria_Id'],$data,$czyspecjalna);
  118. $biuro->zwiekszLiczbeOdslon($ofertaDane['dane']['Numer']);
  119.  
  120.  
  121. $biuro->ostatnioPrzegladane($oferta_id); // dodaje do cookie jesli nie byla juz przegladana
  122.  
  123.  
  124. $video = $oferta->pobierzVideo($ofertaDane['dane']['Numer']);
  125.  
  126.  
  127. /* -------- Warstwa danych ------- */
  128.  
  129. $street = $streetGmaps = $ofertaDane['cechyPodstawowe']['ulica'];
  130. //unset($ofertaDane['cechyPodstawowe']['ulica']);
  131.  
  132. $ofnr = $ofertaDane['dane']['Numer'];
  133. unset($ofertaDane['dane']['Numer']);
  134. $cityName = $cityGmaps = $ofertaDane['cechyPodstawowe']['miejscowość'];
  135. //$cityName='<a href="'.seo::link("lista_ofert_prop",array("kategoria"=>$kategoria_id),array("prop_id_48"=>$cityName)).'">'.$cityName.'</a>';
  136. unset($ofertaDane['cechyPodstawowe']['miejscowość']);
  137. $district = $districtGmaps = $ofertaDane['cechyPodstawowe']['dzielnica - osiedle'];
  138. unset($ofertaDane['cechyPodstawowe']['dzielnica - osiedle']);
  139. if($district != '') {$cityName .= ', '.$district;}
  140. $stretch = $ofertaDane['cechyPodstawowe']['pow. całkowita [m&sup2;]'];
  141. unset($ofertaDane['cechyPodstawowe']['pow. całkowita [m&sup2;]']);
  142. // dla działki...
  143. if($stretch == '') {$stretch = $ofertaDane['cechyPodstawowe']['pow. działki [m&sup2;]']; unset($ofertaDane['cechyPodstawowe']['pow. działki [m&sup2;]']);}
  144. $price = $ofertaDane['cechyPodstawowe']['cena ofertowa PLN'];
  145. unset($ofertaDane['cechyPodstawowe']['cena ofertowa PLN']);
  146.  
  147. if($price == '') {$price = $ofertaDane['cechyPodstawowe']['czynsz ofertowy PLN'];} // cena dla wynajem
  148.  
  149. $price1m = $ofertaDane['cechyPodstawowe']['cena ofertowa za 1 m2'];
  150. unset($ofertaDane['cechyPodstawowe']['cena ofertowa za 1 m2']);
  151. if($price1m == '') {$price1m = $ofertaDane['cechyPodstawowe']['czynsz ofertowy za 1m2'];} // cena 1m2 dla wynajem
  152.  
  153. //if($street != '') {$city .= ', '.$street;}
  154. //echo $city;
  155.  
  156. $info = array();
  157. if ($stretch !='') {
  158. $info[] = array('powierzchnia', $stretch . 'm<sup>2</sup>');
  159. }
  160. if ($ofertaDane['cechyPodstawowe']['liczba pokoi']!='') {
  161. $info[] = array('ilość pokoi', $ofertaDane['cechyPodstawowe']['liczba pokoi']);
  162. unset($ofertaDane['cechyPodstawowe']['liczba pokoi']);
  163. }
  164. if ($ofertaDane['cechyPodstawowe']['piętro']!='') {
  165. $info[] = array('piętro', ($ofertaDane['cechyPodstawowe']['piętro']==0 ? 'parter' : $ofertaDane['cechyPodstawowe']['piętro']));
  166. unset($ofertaDane['cechyPodstawowe']['piętro']);
  167. }
  168.  
  169. //debug($ofertaDane);
  170.  
  171. if (!$video){
  172. if (preg_match('#([[:space:]]|[/])((www\.)?youtube\.com/watch\?v=|youtu.be\/)([^[:space:]&]+)#si',str_replace('<br />',"\n<br />\n",str_replace(array('<br>','<br/>'),'<br />',$ofertaDane['dane']['Opis'])),$out)){
  173. //parse_str( parse_url( $arr['video_url'], PHP_URL_QUERY ), $yt_vars );
  174. $yt_vars['v']=$out[4];
  175. $code = '<iframe class="youtube-player" type="text/html" width="360" height="230" src="http://www.youtube.com/embed/'.$yt_vars['v'].'?wmode=opaque" frameborder="0"></iframe>';
  176. //obejście na przyklejone menu (warstwa trzyma się dzięki temu ładnie na swoim miejscu)
  177. $code='<div style="height:230px">
  178. <div style="position:absolute;z-index:100">
  179. <object width="360" height="230">
  180. <param name="movie" value="http://www.youtube.com/v/'.$yt_vars['v'].'?version=3&amp;autoplay=0&amp;fs=1"></param>
  181. <param name="allowScriptAccess" value="always"></param>
  182. <param name="allowFullScreen" value="true"></param>
  183. <param name="wmode" value="opaque"></param>
  184. <embed wmode="opaque" src="http://www.youtube.com/v/'.$yt_vars['v'].'?version=3&amp;autoplay=0&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="360" height="230"></embed>
  185. </object>
  186. </div></div>';
  187. $video=$code;
  188. }
  189. //youtube.com/watch?v=tovinPXgGds&feature=youtu.be
  190. }
  191.  
  192. $properties = array();
  193. $daneOferty = $ofertaDane['cechyPodstawowe'] + $ofertaDane['cechyPozostale'];
  194. foreach ($daneOferty as $key => $row) {
  195. if (
  196. !$key ||
  197. preg_match('/numer|usd|euro|biuro wprow|agent|waluta wio/', $key) ||
  198. !$row ||
  199. $row === '0' ||
  200. $row === '0.0000' ||
  201. $row === '0000-00-00 00:00:00'
  202. ) {
  203. continue;
  204. }
  205. if (is_numeric($row)){
  206. $row=round($row,2);
  207. $srow=(string)$row;
  208. if (strpos($srow,'.')===false){
  209. $row=number_format($row,0,',',' ');
  210. } else {
  211. $row=number_format($row,2,',',' ');
  212. }
  213. }
  214. $key = mb_strtolower($key,"UTF-8");
  215. switch ($key) {
  216. case 'cena ofertowa euro':
  217. $row = '€ '.$row;
  218. break;
  219. case 'cena ofertowa usd':
  220. $row = '$ '.$row;
  221. break;
  222. case 'numer licencji':
  223. case 'rok budowy':
  224. $row = str_replace(' ', '', $row);
  225. break;
  226. case 'data wprowadzenia':
  227. $row = explode(" ",$row);
  228. $row = $row[0];
  229. break;
  230. case 'cena ofertowa pln':
  231. case 'czynsz ofertowy pln':
  232. case 'czynsz dla spółdz./wspólnoty':
  233. case 'czynsz ofertowy za 1m2':
  234. case 'cena ofertowa za 1m2':
  235. $key = str_replace(' 1m2', '&nbsp;1m<sup>2</sup>', $key);
  236. $row .= '&nbsp;zł';
  237. break;
  238. case 'data zaznaczenia do e-net':
  239. case 'status oferty':
  240. case 'kraj':
  241. unset($row);
  242. break;
  243. }
  244. $row = preg_replace('/,$/', '', $row);
  245. if (!$row) {
  246. continue;
  247. }
  248. $properties[$key] = $row;
  249. }
  250. /* ----- Warstwa prezentacji ----- */
  251. ?>
  252.  
  253. <? $kategoria = explode('/', $ofertaDane['nazwaKategorii']); ?>
  254. <div id="main">
  255. <div class="row">
  256. <div class="span9">
  257. <h1 class="page-header">Oferta nr <?= $ofnr ?> - <?= $kategoria[0] . ' / ' . $kategoria[1]; ?></h1>
  258. <? /* Mobile karuzela obrazkow. BxSlider. */ ?>
  259. <style>
  260. @media (min-width: 168px){
  261. .carousel-mobile{
  262. display: none
  263. }
  264. }
  265. @media (max-width: 167px){
  266. .carousel.property
  267. {
  268. display: none
  269. }
  270. }
  271.  
  272. </style>
  273.  
  274.  
  275.  
  276.  
  277.  
  278. <div class="carousel-mobile">
  279. <div class="container" style="width:100%">
  280. <div class="slider">
  281. <div class="slider__wrapper">
  282. <div class="slide">
  283. <ul class="bxslider" style="width:100%">
  284. <?php foreach ($ofertaDane['grafiki'] as $key => $row): ?>
  285. <li<?= !$key ? ' class="active"' : ''; ?>>
  286. <img src="<?= $row['adres']; ?>" rel="<?= str_replace('thumbs/','', $row['adres']); ?>" alt="" class="slide__img" />
  287. </li>
  288. <? endforeach; ?>
  289. </ul>
  290. </div>
  291. </div>
  292. </div>
  293. <script src="./scriptkar.js"></script>
  294. </div>
  295. </div>
  296. <? /* Karuzela mobilna end */ ?>
  297.  
  298. <?php if (!empty ($ofertaDane['grafiki'])): ?>
  299. <div class="carousel property">
  300.  
  301. <div class="preview" style="overflow: hidden; text-align: center;">
  302. <a href="<?= str_replace('thumbs/','', $ofertaDane['grafika']); ?>" rel="prettyPhoto[gallery]">
  303. <img src="<?= str_replace('thumbs/','', $ofertaDane['grafika']); ?>" alt="" rel="prettyPhoto[gallery]" style="width: 100%;" class="slide__img" >
  304. </a>
  305. </div>
  306.  
  307.  
  308.  
  309. <div class="content">
  310. <a class="carousel-prev" href="#">Poprzednia</a>
  311. <a class="carousel-next" href="#">Następna</a>
  312. <ul>
  313. <?php foreach ($ofertaDane['grafiki'] as $key => $row): ?>
  314. <li<?= !$key ? ' class="active"' : ''; ?>>
  315. <a href="<?= str_replace('thumbs/','', $row['adres']); ?>" rel="prettyPhoto[gallery]"><img src="<?= $row['adres']; ?>" data-large="<?= str_replace('thumbs/','', $row['adres']); ?>" alt="" /></a>
  316. </li>
  317. <? endforeach; ?>
  318. </ul>
  319. </div>
  320. </div>
  321. <?php endif; ?>
  322.  
  323. <div class="property-detail">
  324. <div class="pull-left overview">
  325. <div class="row">
  326. <div class="span3">
  327. <h2>Dane oferty</h2>
  328.  
  329. <table>
  330. <tr>
  331. <th>Cena:</th>
  332. <td><?= $price; ?> zł</td>
  333. </tr>
  334. <?php foreach ($info as $i => $data): if (!$data) { continue; } ?>
  335. <tr>
  336. <th><?= $data[0]; ?>:</th>
  337. <td><?= $data[1]; ?></td>
  338. </tr>
  339. <?php endforeach; ?>
  340. <tr>
  341. <th>miejscowość:</th>
  342. <td><?= $cityName; ?></td>
  343. </tr>
  344. <?php foreach ($ofertaDane['cechyPodstawowe'] as $key => $value): if (!$value) { continue; } ?>
  345. <tr>
  346. <th><?= $key; ?>:</th>
  347. <td><?= $value; ?></td>
  348. </tr>
  349. <?php endforeach; ?>
  350. </table>
  351. </div>
  352. <!-- /.span2 -->
  353. </div>
  354. <!-- /.row -->
  355. </div>
  356.  
  357. <p><?= preg_replace('#(((http://)|[[:space:]])(([a-zA-Z0-9\._-]+)\.[a-zA-Z]{2,}[/]([a-zA-Z0-9/\?=&%\._-]*)))#si','<a class="new-window" rel="nofolow" href="http://\4">\1</a>',str_replace('<br />',"\n<br />\n",str_replace(array('<br>','<br/>'),'<br />',str_replace("\n","<br />",str_replace(array("\n\r","\r\n","\r"),"\n",$ofertaDane['dane']['Opis'])))));?></p> <br><br>
  358. <div class="share-box">
  359. Podziel się:
  360. <!-- AddThis Button BEGIN -->
  361. <div class="addthis_toolbox addthis_default_style ">
  362. <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
  363. <a class="addthis_button_tweet"></a>
  364. <a class="addthis_button_pinterest_pinit"></a>
  365. <a class="addthis_counter addthis_pill_style"></a>
  366. </div>
  367. <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-51fbda3937261f34"></script>
  368. <!-- AddThis Button END -->
  369. </div>
  370. <h2 style="clear: both;">Więcej informacji</h2>
  371.  
  372. <div class="row">
  373. <?php $properties = array_chunk ($properties, ceil (count ($properties) / 4), 1); ?>
  374. <?php foreach ($properties as $column): ?>
  375. <ul class="span2">
  376. <?php foreach ($column as $key => $value): ?>
  377. <li class="checked"><?= $key; ?>: <span><?= $value; ?></span></li>
  378. <?php endforeach; ?>
  379. </ul>
  380. <?php endforeach; ?>
  381. </div>
  382.  
  383. <?php include '_offermod/mapa.php'; ?>
  384. </div>
  385. </div>
  386. <div class="sidebar span3">
  387.  
  388. <?php if (!empty($ofertaDane['makler'])): ?>
  389. <div class="widget our-agents">
  390. <div class="title">
  391. <h2>Dane agenta</h2>
  392. </div>
  393. <div class="content">
  394. <div class="agent">
  395. <?php if (!empty($ofertaDane['makler']['ImageSource'])): ?>
  396. <div class="image">
  397. <img src="/images/agents/<?= $ofertaDane['makler']['ImageSource']; ?>" alt="">
  398. </div>
  399. <?php endif; ?>
  400. <div class="name"><?= $ofertaDane['makler']['ImieNazwisko']; ?></div>
  401. <div class="phone"><?= $ofertaDane['makler']['GaduGadu']; ?></div>
  402. <div class="phone"><?= $ofertaDane['makler']['Telefon']; ?></div>
  403. <div class="email"><a href="<?= $ofertaDane['makler']['Email']; ?>"><?= $ofertaDane['makler']['Email']; ?></a></div>
  404. </div>
  405. </div>
  406. </div>
  407. <?php endif; ?>
  408.  
  409. <div class="widget contact">
  410. <div class="title">
  411. <h2 class="block-title">Kontakt</h2>
  412. </div><!-- /.title -->
  413.  
  414. <div class="content">
  415. <form action="#" enctype="multipart/form-data" method="post" id="contact_form2">
  416. <div class="name control-group">
  417. <label class="control-label" for="qc_topic">
  418. Temat
  419. <span class="form-required" title="Pole wymagane">*</span>
  420. </label>
  421. <div class="controls">
  422. <input type="text" id="qc_topic" name="qc_topic" readonly value="Pytanie o ofertę nr: <?= $ofnr; ?>">
  423. </div><!-- /.controls -->
  424. </div><!-- /.control-group -->
  425.  
  426. <div class="control-group">
  427. <label class="control-label" for="qc_email">
  428. Email
  429. <span class="form-required" title="Pole wymagane">*</span>
  430. </label>
  431. <div class="controls">
  432. <input type="text" id="qc_email" name="qc_email">
  433. </div><!-- /.controls -->
  434. </div><!-- /.control-group -->
  435.  
  436. <div class="control-group">
  437. <label class="control-label" for="qc_text">
  438. Wiadomość
  439. <span class="form-required" title="Pole wymagane">*</span>
  440. </label>
  441.  
  442. <div class="controls">
  443. <textarea id="qc_text" name="qc_text"></textarea>
  444. </div><!-- /.controls -->
  445. </div><!-- /.control-group -->
  446.  
  447. <div class="control-group">
  448. <input type="checkbox" name="ia" id="qc_ia" value="1" /> Wyrażam zgodę na przetwarzanie moich danych osobowych.
  449. </div>
  450.  
  451. <div class="form-actions">
  452. <p class="msg"></p>
  453. <input type="submit" class="btn btn-primary arrow-right" value="Wyślij">
  454. </div><!-- /.form-actions -->
  455. </form>
  456. </div><!-- /.content -->
  457. </div>
  458.  
  459. <div class="widget contact">
  460. <div class="title">
  461. <h2 class="block-title">Opcje oferty</h2>
  462. </div><!-- /.title -->
  463. <div class="content">
  464.  
  465. <a id="notesik_<?= $ofertaDane['dane']['Id']; ?>" href="#" onclick="operacjListaNotatnikuUsun(<?= $ofertaDane['dane']['Id']; ?>);return false;" class="send-friend notes-list-del" title="Usuń z notesu"<?= $biuro->czyOfertaWNotesie($ofertaDane['dane']['Id']) ? '' : ' style="display: none;"'; ?>>Usuń z notesu</a>
  466. <a id="notesik_<?= $ofertaDane['dane']['Id']; ?>" href="#" onclick="operacjListaNotatnikuDodaj(<?= $ofertaDane['dane']['Id']; ?>);return false;" class="send-friend notes-list-add" title="Dodaj do notesu"<?= $biuro->czyOfertaWNotesie($ofertaDane['dane']['Id']) ? ' style="display: none;"' : ''; ?>>Dodaj do notesu</a>
  467. <br />
  468.  
  469. <a href="/wyslij_oferte.php?oferta=<?php echo $oferta->pobierzId(); ?>&amp;tryb=<?= $_REQUEST['tryb']; ?>"><span></span>Wyślij ofertę na email</a><br />
  470. <a class="popup" href="/kalkulator_oplat_dodatkowych.php?cena=<?= trim(str_replace(" ","",$price)); ?>#?custom=true&width=480&height=500"><span></span>Kalkulator opłat dodatkowych</a><br />
  471. <a href="#" onclick="window.open('/oferta_druk.php?oferta=<?php echo $ofertaDane['dane']['Id']; ?>&amp;styl=druk&amp;zdjecia=powiekszenia', '_blank', 'width=800,height=600,status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes'); return false;" title=""><span></span>Drukuj ofertę ze zdjęciami</a><br />
  472. <a href="#" onclick="window.open('/oferta_druk.php?oferta=<?php echo $oferta_id; ?>&amp;styl=druk&amp;zdjecia=miniatury', '_blank', 'width=800,height=600,status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes'); return false;" title=""><span></span>Drukuj ofertę z miniaturami</a><br />
  473. <a href="#" onclick="window.open('/oferta_druk.php?oferta=<?php echo $oferta_id; ?>&amp;styl=druk&amp;zdjecia=brak', '_blank', 'width=800,height=600,status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes'); return false;" title=""><span></span>Drukuj ofertę bez zdjęć</a><br />
  474.  
  475. </div>
  476. </div>
  477.  
  478. </div>
  479. </div>
  480. </div>
  481.  
  482. <?php } ?>
  483.  
  484. <?php
  485. if ($_REQUEST['popup'] != 'yes')
  486. include(dirname(dirname(__FILE__)).'/include/footer.inc.php');
  487. seo::meta("title",$cityGmaps.' - '.ucwords(str_replace("/"," / ",$ofertaDane['nazwaKategorii']))." - ".NCMS_SITE_NAME." ");
  488. seo::meta("description",$ofertaDane['dane']['Opis']);
  489. seo::meta('keywords',$ofertaDane['cechyPodstawowe']['miejscowość'].', '.$ofertaDane['cechyPodstawowe']['PAŃSTWO'].', '.seo::meta('keywords'));
  490. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement