Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem ze stopką w galerii, stopka nie wychodzi poza tabele
hbboz
post
Post #1





Grupa: Zarejestrowani
Postów: 15
Pomógł: 0
Dołączył: 9.07.2010

Ostrzeżenie: (0%)
-----


Witam . Mam problem i nie mogę sobie z nim za Chiny poradzić otóż stopka w galerii siedzi w ramce strony i nie chce za nią wyjść próbowałem wszystkich znanych mi sposobów oto link do galerii http://twojpiaskowiec.pl/customGallery.php we wszystkich innych podstronach jest ok . Bardzo proszę o pomoc
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
hbboz
post
Post #2





Grupa: Zarejestrowani
Postów: 15
Pomógł: 0
Dołączył: 9.07.2010

Ostrzeżenie: (0%)
-----


a mógłbyś powiedzieć w którym miejscu mam to wstawić (IMG:style_emoticons/default/smile.gif) Bo popatrz to jest kod z podstrony kontaktu tu tak samo konczy sie footer i jest wszystko ok .
  1. <?php
  2.  
  3. $useSSL = true;
  4.  
  5. include(dirname(__FILE__).'/config/config.inc.php');
  6. include(dirname(__FILE__).'/header.php');
  7.  
  8. $errors = array();
  9.  
  10. $smarty->assign('contacts', Contact::getContacts(intval($cookie->id_lang)));
  11. if (Tools::isSubmit('submitMessage'))
  12. {
  13. if (!($from = Tools::getValue('from')) OR !Validate::isEmail($from))
  14. $errors[] = Tools::displayError('invalid e-mail address');
  15. elseif (!($message = nl2br2(Tools::getValue('message'))))
  16. $errors[] = Tools::displayError('message cannot be blank');
  17. elseif (!Validate::isMessage($message))
  18. $errors[] = Tools::displayError('invalid message');
  19. elseif (!($id_contact = intval(Tools::getValue('id_contact'))) OR !(Validate::isLoadedObject($contact = new Contact(intval($id_contact), intval($cookie->id_lang)))))
  20. $errors[] = Tools::displayError('please select a contact in the list');
  21. else
  22. {
  23. if (intval($cookie->id_customer))
  24. $customer = new Customer(intval($cookie->id_customer));
  25. if (Mail::Send(intval($cookie->id_lang), 'contact', 'Message from contact form', array('{email}' => $from, '{message}' => stripslashes($message)), $contact->email, $contact->name, $from, (intval($cookie->id_customer) ? $customer->firstname.' '.$customer->lastname : $from)))
  26. $smarty->assign('confirmation', 1);
  27. else
  28. $errors[] = Tools::displayError('an error occurred while sending message');
  29. }
  30. }
  31.  
  32. $email = Tools::safeOutput(Tools::getValue('from', ((isset($cookie) AND isset($cookie->email) AND Validate::isEmail($cookie->email)) ? $cookie->email : '')));
  33. $smarty->assign(array(
  34. 'errors' => $errors,
  35. 'email' => $email
  36. ));
  37.  
  38. $smarty->display(_PS_THEME_DIR_.'contact-form.tpl');
  39. include(dirname(__FILE__).'/footer.php');
  40.  
  41. ?>



Ten post edytował hbboz 18.03.2011, 09:22:10
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 12.10.2025 - 20:09