Mam problem zeby zmienic jakie kolwiek dane na stronie, nie wiem jakie informacje bedą wam pomocne..ale sytuacja wygląda tak, łacze sie z serwerem i zmieniam dane kontaktowe:
układ index:
<?php require_once(ROOT.'includes/session_nologin.php'); require_once(ROOT.'Smarty.class.php'); wyswietlHTML('site/site_common_header.tpl'); { switch ($_GET['arg']) { case "main" : include('site_main.php'); Loguj('strona główna'); break; case "firma" : include('firma.php'); Loguj('o firmie'); break; case "nosnik" : include('nosnik.php'); Loguj('nośniki'); break; case "oferta" : include('oferta.php'); Loguj('oferta'); break; case "case_study" : include('case_study.php'); Loguj('case study'); break; case "praca" : include('praca.php'); Loguj('praca'); break; case "cennik" : include('cennik.php'); Loguj('cennik'); break; case "contact" : include('contact.php'); Loguj('kontakt'); break; case "download" : include('download.php'); Loguj('download'); break; default : include('site_main.php'); } } else { include('site_main.php'); } wyswietlHTML('site/site_common_footer.tpl'); ?>
wiec wchodze na np contact.ph a tam:
<?php wyswietlHTML('site/site_contact.tpl); ?>
wiec w site/site_contact.tpl :
<table width="455" height="310" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td width="455" height="310" align="left" valign="top"><table width="455" height="310" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td height="30" background="images/images/kontakt_31.jpg"> </td> </tr> <tr align="left" valign="top" > <td class="srodek"> <div id="text"> ffffffffffffffffffffffffffffffff <br> <br> <strong>Firma</strong><br> Tel XXX XXX XXX<br> - np chce zmienic numer telefonu <br></p> </div> </div></td> </tr> <tr valign="top"> <td height="25" background="images/39.jpg"></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td align="left" valign="top" background="images/t40.jpg"></td> </tr>
i nic sie nie zmizenia to samo jest np przy zmianie site/site_download_box.tpl....jestem zielony nie wiem co to może być.