Obsah fóra www.hojko.com
Cvaknito.sk
Hľadať  •  FAQ  •  IP  •  Zoznam užívateľov  •  Karma  •  Závisláci  •  Registrácia
 Prihlásiť sa pre kontrolu súkromných správ  •  Prihlásenie






Vylepsenie stranky
Odoslať novú tému   Táto téma je zamknutá bez možností úpravy príspevkov a písania odpovedí    Obsah fóra www.hojko.com -> Programovanie  
 Moje príspevky :: Zobraziť predchádzajúcu tému :: Zobraziť nasledujúcu tému  
Autor Správa
human_fly
Light Expert
Light Expert


Pohlavie: Pohlavie:Muž
Stav: Odhlásený
Založený: 27.05.2006
Príspevky: 67
Bydlisko: BA
Karma:  Odobrať Kladná karma Pridať

PríspevokZaslal: 17 Aug 2006, 19:06    Predmet: Vylepsenie stranky Odpovedať s citátom  

Ahoj.potrebujem poradit jak zmenim moju stranku www.dc-lamky.ic.cz aby som tam nemal iframe ale aby som to mal v php tu je skript na index.php: pls pomozte mi
Kód:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head> 
  <title>dclamky Site</title>
  <link href="style.css" rel="stylesheet" type="text/css">
  <LINK REL="SHORTCUT ICON" HREF="iko.ico">
</head>

<body>

   <div class="hlavni">
   <div class="banner">
   </div>
   <div class="on_lista" style="position: absolute; left: 0px; top: 200px; width: 820px; height: 75px">
   
   
   <table cellpadding="0" cellspacing="0" width="817" height="16">
         <!-- MSTableType="nolayout" -->
         <tr>
            
         <td height="16" width="87"></td>
            
         <td height="16" width="267"><b><font color="black" face="verdana" size="2">
   
    <SCRIPT src="svatky_sk.js" charset="windows-1250" type="text/javascript"></SCRIPT>
</font></b></td>
            
         <td height="16" width="130"></td>
            
         <td height="16" width="333"><b><font color="black" face="verdana" size="2">
<?
$ref = $REMOTE_ADDR;
echo $ref;
?></font></b> </td>
         </tr>
         
            <td width="354" valign="top" colspan="2">
            <p align="center"> </td>

            <td width="463" valign="top" colspan="2">
            </td>

      </table>
      
   </div>
      <div class="menu_box">
           <table border="0" width="157" id="table1" height="330" bgcolor="#4c4c4c">
            <tr>
               <td height="330" valign="top">
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table2">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="space.jpg">
                     <p align="center"><font size="1" color="#FFFFFF"><b>
                     Začíname</b></font></td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table3">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159">
                     <p align="center"><a href="welcome.php" target="pole"><font size="2">Main</font></a><font size="2">
                     </font>
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table4">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159">
                     <p align="center">
                     <a href="help/index.php" target="pole">
                     <font size="2">Návody</font></a><font size="2">
                     </font>
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table5">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table6">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table7">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table8">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table9">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table10">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table11">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table12">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table13">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table14">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table15">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table16">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table17">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table18">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table19">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               <table cellpadding="0" cellspacing="0" width="157" height="17" id="table20">
                  <!-- MSTableType="nolayout" -->
                  <tr>
                     <td height="17" width="159" background="">
                     <p align="center">
                     </td>
                  </tr>
               </table>
               </td>
            </tr>
         </table>
      </div>
      <div class="stat_box">
         <div class="login" style="position: absolute; left: 5px; top: 30px; width: 147px; height: 135px">
            
            <?php include('e-mail2.php') ?>

      </div></div>
      <div class="main_box">
         <div class="pole" style="position: absolute; left: 2px; top: 2px; width: 498px; height: 640px">
         
         </div>
      </div>
      <div class= "baner_box">
   
         <div class="baners" style="position: absolute; left: -2px; top: 31px; height: 309px; width: 159px">
        <iframe frameborder="0" src="shout/shoutbox.php" width="147" height="295"></iframe>

           
         </div><br>
      </div>
      <div class="log_box">
      <div class="login">
      <?php include('reklama.php') ?>
      </div>
      </div>
   </div>

</body>
</html>
Návrat hore
Zobraziť informácie o autorovi Odoslať súkromnú správu Odoslať e-mail Zobraziť autorove WWW stránky
Hip-hoper
Star
Star



Stav: Odhlásený
Založený: 16.01.2006
Príspevky: 544
Bydlisko: Sabinov
Karma:  Odobrať Kladná karma Pridať

PríspevokZaslal: 20 Aug 2006, 10:04    Predmet: Odpovedať s citátom  

Vidim,ze kazdy nato kasle,tak skusim ja.
ja to mam riesene takto
Kód:
<?php
if (isset ($_GET['id']))      // pokial sme si poslali nejake id
{

    $filename = $_GET['id'].".html";    // vytvorime z id nazov suboru
    if (file_exists($filename))         // pokial taky subor existuje
    {
        include $filename;              // vlozime ho sem
    }
    else                                // inak
    {
        include "home.html";            // sem vlozime home.html
    }
}
else                      // pre pripad, ze niekto stranku vola bez id, potom sa objavi home.html
{
    include "home.html";
}
?>

a teraz kazdy tvoj odkaz bude vyzerat takto(ak to mas v tej istej zlozke ako index.php
Kód:
<a href="index.php?id=home">home</a>
<a href="index.php?id=druha_stranka">druha_stranka</a>
<a href="index.php?id=tretia_stranka">tretia_stranka</a>


este k tomu odkazu, ked mas index.php?id=home,nepises home.html,pretoze to html si zadal v php kode,cize uz to tam nemusi byt

dufam,ze som nezabudol na nic.mne to ide...
Návrat hore
Zobraziť informácie o autorovi Odoslať súkromnú správu Odoslať e-mail Zobraziť autorove WWW stránky
human_fly
Light Expert
Light Expert


Pohlavie: Pohlavie:Muž
Stav: Odhlásený
Založený: 27.05.2006
Príspevky: 67
Bydlisko: BA
Karma:  Odobrať Kladná karma Pridať

PríspevokZaslal: 20 Aug 2006, 20:29    Predmet: Odpovedať s citátom  

To Hip-hoper uz som to urobil [podobnym sposobom] ale inak thx.
Návrat hore
Zobraziť informácie o autorovi Odoslať súkromnú správu Odoslať e-mail Zobraziť autorove WWW stránky
audiotrack
Moderátor
Moderátor


Pohlavie: Pohlavie:Muž
Stav: Odhlásený
Založený: 09.09.2005
Príspevky: 6743
Bydlisko: Prievidza
Karma:  Odobrať Kladná karma Pridať

PríspevokZaslal: 20 Aug 2006, 21:06    Predmet: Odpovedať s citátom  

takže vyriešené
Návrat hore
Zobraziť informácie o autorovi Odoslať súkromnú správu Odoslať e-mail Zobraziť autorove WWW stránky AOL Instant Messenger Yahoo Messenger
Zobraziť príspevky z predchádzajúcich:    Časy uvádzané v GMT + 1 hodina
Odoslať novú tému   Táto téma je zamknutá bez možností úpravy príspevkov a písania odpovedí    Obsah fóra www.hojko.com -> Programovanie
Strana 1 z 1

 
Prejdi na:  
Nemôžete odosielať nové témy do tohto fóra
Nemôžete odpovedať na témy v tomto fóre
Nemôžete upravovať svoje príspevky v tomto fóre
Nemôžete mazať svoje príspevky v tomto fóre
Nemôžete hlasovať v tomto fóre
Nemôžete pripájať súbory do tohto fóra
Môžete sťahovať súbory v tomto fóre


Powered by phpBB © 2005 phpBB Group, phpBB SEO, © Hojko 2004-2008

[ Vygenerované za: 0.2s ] :: [ 16 Queries ] :: [ 83,306 stránok za dnes ] :: [ Dnes DB: 1,467,782 ] :: [ Max DB: 2,334,336 Queries ]