0

hello as I could have and I Categories subcategory. PHP
For example: Categories - Action / Horror / Comedy series - to be Category
Tv Series - Arron / Fringe / and so appear in episodic - Arron / Fringe Help me please thank you

Here's what's Codu Category:

<?php
echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>";
echo "<html xmlns='http://www.w3.org/1999/xhtml'>";
echo "<head>";
echo "<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />";
echo "<title>Filme Online Gratis | www.Filme-Free.eu!</title>";
echo "<link href='".pagrindinis."stilius/bliumt/css/stilius.css' rel='stylesheet' type='text/css' />";
echo "<link href='".pagrindinis."stilius/bliumt/css/title.css' rel='stylesheet' type='text/css' />";
echo "<script src='".pagrindinis."stilius/bliumt/js/title.js' type='text/javascript' language='javascript'></script>";
?>
    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
    <script type="text/javascript" src="<?php echo pagrindinis; ?>stilius/bliumt/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
    <script type="text/javascript" src="<?php echo pagrindinis; ?>stilius/bliumt/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" type="text/css" href="<?php echo pagrindinis; ?>stilius/bliumt/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    <script type="text/javascript">
        $(document).ready(function() {
            $("a#ziureti").fancybox({
                'width'             : 600,
                'height'            : 320,
                'autoScale'         : false,
                'padding'           : 0,
                'type'              : 'iframe'
            });

            $("#komentarai").fancybox({
                'width'             : 727,
                'height'            : 800,
                'autoScale'         : false,
                'padding'           : 0,
                'type'              : 'iframe'
            });

            $("a#foto").fancybox({
                'padding'           : 0
            });
        });
    </script>
<?php

echo "</head>";

function headeris()
{
    echo "<body>";
    echo "<div class='virsuspervisa'>";
    echo "<div class='wrapper'>";
    echo "<div class='virsus'>";
    echo "<div class='virsuskaire'><a href='/index.php'><img src='".pagrindinis."stilius/bliumt/paveiksliukai/tuscia.png' class='pasirinkimas_pagrindinis' /></a><a href='/forumas/'><img src='".pagrindinis."stilius/bliumt/paveiksliukai/tuscia.png' class='pasirinkimas_forumas' /></a><a href='#taisykles'><img src='".pagrindinis."stilius/bliumt/paveiksliukai/tuscia.png' class='pasirinkimas_taisykles' /></a><a href='#duk'><img src='".pagrindinis."stilius/bliumt/paveiksliukai/tuscia.png' class='pasirinkimas_duk' /></a><a href='#kontaktai'><img src='".pagrindinis."stilius/bliumt/paveiksliukai/tuscia.png' class='pasirinkimas_kontaktai' /></a></div>";
    echo "<div class='virsusdesine'>";
    if (!prisijunges)
    {
        echo "<form action='".pagrindinis."variklis/prisijungti.php' method='POST' class='loginforma'>";
        echo "<input type='text' name='slapyvardis' class='logininput1' placeholder='Numele ..' autocomplete='off' tabindex='1' />";
        echo "<input type='submit' name='prisijungti' class='loginbutton' value='' tabindex='3' />";
        echo "<input type='password' name='slaptazodis' class='logininput2' placeholder='Parola ..' autocomplete='off' tabindex='2' />";
        echo "</form>";
        echo "<div class='prisijunges'>";
        echo "<a href='/registracija/'>Inregistare</a> <a href='/slaptazodis/'>am uitat parola</a>&nbsp;&nbsp;";
        echo "</div>";
    }
    else
    {
        echo "<div class='prisijunges'>";
        echo "Labas, <a href='/narys/".slapyvardis.".html'>".slapyvardis."</a>!";

        if (preg_match("/.AP./", teises))
        {
            echo " <a href='/administravimas/'>administrare</a>";
        }

        echo " <a href='/redaguoti_profili/'>Editare profil</a>";
        echo " <a href='/asmenines_zinutes/'>Mesaj personal (".naujos_az.")</a>";
        echo " <a href='/atsijungti/'>sign out</a>";
        echo "</div>";
    }
    echo "</div>";
    echo "</div>";
    echo "</div>";
    echo "</div>";

    echo "<div class='ponavigacijapervisa'>";
    echo "<div class='wrapper'>";
    echo "<div class='ponavigacija'>";
    echo "<div class='ponavigacijakaire'></div>";
    echo "<div class='ponavigacijadesine'>";
    $uzklausa = mysql_query("SELECT * FROM filmai ORDER BY perziurejo DESC LIMIT 8");
    while ($duomenys = mysql_fetch_array($uzklausa))
    {
        echo "<div class='ponavigacijadesine2'><a href='".pagrindinis."filmas/".$duomenys['id'] . "-" . $duomenys['pavadinimas'] . "/'>".substr($duomenys['pavadinimas'], 0, 20). ((strlen($duomenys['pavadinimas']) > 20) ? "..." : "") ."</a></div>";
    }
    echo "</div>";
    echo "</div>";
    echo "</div>";
    echo "</div>";

    echo "<div class='wrapper'>";
    echo "<div class='bodyarea'>";
    echo "<div class='turinys'>";
}

function footeris()
{

    echo "</div>";
    echo "</div>";
    echo "<div class='wrapper'>";
    echo "<div class='footer'>";
    ?>
    <script language="javascript" type="text/javascript">
<!--
var _hey_lt_w = "", _hey_lt_h = "", _hey_lt_c = "";
//-->
<footer>
</script>

<script id="_wau13p">var _wau = _wau || []; _wau.push(["classic", "qhf9c4hzw3wv", "13p"]);
(function() {var s=document.createElement("script"); s.async=true;
s.src="http://widgets.amung.us/classic.js";
document.getElementsByTagName("head")[0].appendChild(s);
})();</script>
<center><div class="footer_copyright">COPYRIGHT © 2010 - 2014 Filme-Free.eu Toate Drepturile Rezervate.</div></center>
</footer>
<?
    //echo "<a href='http://filme-free.eu/pridetinis_puslapis.php?id=8'>Publicitate</a> - <a href='http://filme-free.eu/pridetinis_puslapis.php?id=9'>Cerere Film</a> - <a href='http://filme-free.eu/pridetinis_puslapis.php?id=10'>Disclaimer</a> - <a href='#'>Partener</a> - <a href='#'>Link Tau</a> - <a href='#'>Contact</a>";

    echo "<br></div>";
    echo "</div>";

}

function klaida($klaida)
{
    echo "<div id='klaida'><p>$klaida</p></div>";
}

function pavyko($zinute)
{
    echo "<div id='pavyko'><p>$zinute</p></div>";
}

function visi_filmai($id, $pavadinimas, $originalus_pavadinimas, $isleidimo_metai, $trukme, $nuoroda, $traileris, $paveiksliukas, $kategorija, $vertimas, $vertimo_tipas, $rezisierius, $aktoriai, $imdb, $imdb_adresas, $aprasymas)
{
    if ($vertimas == "LT")
    {
        $vertimas = "<img src=http://filme-free.eu/patalpinta/paveiksliukai/1319913968lt[1].png /> Lietuvių";
    }
    elseif ($vertimas == "EN")
    {
        $vertimas = "<img src=http://filme-free.eu/patalpinta/paveiksliukai/1320513349gb.png /> Anglų";
    }
    elseif ($vertimas == "RU")
    {
        $vertimas = "<img src=http://filme-free.eu/patalpinta/paveiksliukai/1320513369ru.png /> Rusų";
    }

    echo "<div class='turinysfilmas'>";
    echo "<a href='/filmas/$id-$pavadinimas/'><img style='height: 244px; width: 164px;' src='$paveiksliukas' onmouseover='filmoinfo.show(\"<b class=pavadinimas>$pavadinimas</b> ($originalus_pavadinimas)<br /><b>Categorie:</b> $kategorija<br /><b>Făcut:</b> $isleidimo_metai m.<br /><b>Durată:</b> $trukme<br /><b>traducere:</b> $vertimas ".(($vertimo_tipas == 1) ? "(profesional)" : "(amator)")."<br /><b>Nota Film:</b> $imdb<br /><b>Regie:</b> $rezisierius<br /><b>Cu:</b> $aktoriai\");' onmouseout='filmoinfo.hide();' /></a>";
    echo "</div>";
}

function filmas($id, $pavadinimas, $originalus_pavadinimas, $isleidimo_metai, $trukme, $nuoroda, $traileris, $paveiksliukas, $kategorija, $vertimas, $vertimo_tipas, $rezisierius, $aktoriai, $imdb, $imdb_adresas, $aprasymas, $perziurejo, $komentaru)
{
    echo "<div class='filmas'>";
    echo "<a href='$paveiksliukas' id='foto'><img src='$paveiksliukas' class='apvalinta' style='float: left; height: 244px; width: 164px; margin-bottom: 5px;' /></a>";

    echo "<pav>$pavadinimas</pav><originalus_pav>($originalus_pavadinimas)</originalus_pav>";
    echo "<table>";
    echo "<tr style='height: 50px;'>
            <td>
                <div id='juosta'>
                    <a href='".pagrindinis."ziureti.php?id=$id' id='ziureti'><ziureti>Vezi Film</ziureti></a>
                    <a href='".pagrindinis."ziureti.php?traileris=$traileris' id='ziureti'><ziureti>Trailer</ziureti></a>
                    <a href='".pagrindinis."komentarai/$id/' id='komentarai'><ziureti>Comentarii: $komentaru</ziureti></a>
                    <span id='ziureti'><ziureti>Vizualizari: $perziurejo</ziureti></span>
                </div>
            </td>
        </tr>";
    echo "</table>";

    echo "<table style='width: 526px;'>";
    echo "<tr class='eilute'><td style='width: 80px; padding: 3px;'><b>Traducere In:</b></td><td>";

    if ($vertimas == "LT")
    {
        $vertimas = "<img src='http://filme-free.eu/patalpinta/paveiksliukai/1319913968lt[1].png' /> <a href='".pagrindinis."kalba/$vertimas'>Lietuvių</a>";
    }
    elseif ($vertimas == "EN")
    {
        $vertimas = "<img src='http://filme-free.eu/patalpinta/paveiksliukai/1320513349gb.png' /> <a href='".pagrindinis."kalba/$vertimas'>Anglų</a>";
    }
    elseif ($vertimas == "RU")
    {
        $vertimas = "<img src='http://filme-free.eu/patalpinta/paveiksliukai/1320513369ru.png' /> <a href='".pagrindinis."kalba/$vertimas'>Rusų</a>";
    }

    echo "$vertimas ".(($vertimo_tipas == 1) ? "(Profesional)" : "(amator)")."</td></tr>";
    echo "<tr class='eilute'><td style='width: 80px; padding: 3px;'><b>Gen Film:</b></td><td>";
    $kategorijos = explode(", ", $kategorija);

    foreach ($kategorijos as $kategorija)
    {
        echo "<a href='".pagrindinis."zanras/$kategorija'>$kategorija</a>";

        $x++;
        if ($x != count($kategorijos))
        {
            echo ", ";
        }
    }
    echo "</td></tr>";
    echo "<tr class='eilute'><td style='width: 80px; padding: 3px;'><b>Durata:</b></td><td>$trukme</td></tr>";
    echo "<tr class='eilute'><td style='width: 80px; padding: 3px;'><b>Anul:</b></td><td><a href='".pagrindinis."metai/$isleidimo_metai'>$isleidimo_metai</a> m.</td></tr>";
    echo "<tr class='eilute'><td style='width: 80px; padding: 3px;'><b>Nota Film:</b></td><td><a href='$imdb_adresas'>$imdb</a></td></tr>";
    echo "<tr class='eilute'><td style='width: 80px; padding: 3px;'><b>Rating:</b></td><td>";
    require_once(pagrindinis."variklis/reitingas.php");
    echo "</td></tr>";
    echo "<tr class='eilute'><td style='width: 80px; padding: 3px;'><b>Regia:</b></td><td><a href='".pagrindinis."rezisierius/$rezisierius'>$rezisierius</a></td></tr>";
    echo "<tr class='eilute'><td style='width: 80px; padding: 3px;'><b>Cu:</b></td><td>";
    $aktoriai = explode(", ", $aktoriai);
    foreach ($aktoriai as $aktorius)
    {
        echo "<a href='".pagrindinis."aktorius/$aktorius'>$aktorius</a>";

        $y++;
        if ($y != count($aktoriai))
        {
            echo ", ";
        }
    }
    echo "</td></tr>";
    echo "</table>";
    echo "<table class='aprasymas'>";
    echo "<tr><td>$aprasymas</td></tr>";
    echo "</table>";
    echo "</div>";
}

function paneles()
{
?>
    <script language="javascript" type="text/javascript">
<!--
var _hey_lt_w = "", _hey_lt_h = "", _hey_lt_c = "";
//-->
<script>
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "3c0fa1c1-a387-4240-b880-f8e7768f1a64", doNotHash: false, doNotCopy: false, hashAddressBar: true});</script>
</script>
<?
    echo "<br style='clear: both;' />";
    echo "<br style='clear: both;' />";
    echo "<br style='clear: both;' />";
    echo "</div>";
    ?>
    <script type="text/javascript">
        var rodoma = 0;

        function nuleisti(kalba)
        {
            $('#kalba_'+kalba).slideDown('slow');
        }

        function isskleisti(kalba)
        {
            if (rodoma == 0)
            {
                rodoma = kalba;
                nuleisti(kalba);
            }
            else
            {       
                $('#kalba_'+rodoma).slideUp('slow', function()
                {
                    if(rodoma == kalba)
                    {
                        rodoma = 0; return 0;
                    }
                    rodoma = kalba;
                    nuleisti(kalba);
                });
            }
        }
    </script>
    <?php
    echo "<div class='paneledesine'>";
    echo "<div class='paneleskolona'>";
    echo "<div class='panelestitle'>Menu</div>";
    echo "<div class='panelestext'>";
    echo "<div id='meniu'>";
    echo "<ul>";
    echo "<li onclick=\"isskleisti('en')\"><span class='kalba'>Click pentru A Vedea Categorile</span></li>";
    echo "<ul id='kalba_en' class='submeniu' style='display: none'>";
    echo "<a href='".pagrindinis."zanras/Actiune'><li><span>Actiune</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Animatie'><li><span>Animatie</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Aventura'><li><span>Aventura</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Biografic'><li><span>Biografic</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Comedie'><li><span>Comedie</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Craciun'><li><span>Craciun</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Crima'><li><span>Crima</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Documentar'><li><span>Documentar</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Dragoste'><li><span>Dragoste</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Drama'><li><span>Drama</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Familie'><li><span>Familie</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Fantastic'><li><span>Fantastic</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Filme-2013'><li><span>Filme-2013</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Horror'><li><span>Horror</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Istoric'><li><span>Istoric</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Mister'><li><span>Mister</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Muzical'><li><span>Muzical</span></li></a>";
    echo "<a href='".pagrindinis."zanras/seriale'><li><span>Seriale-TV</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Netitrate'><li><span>Netitrate</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Razboi'><li><span>Razboi</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Romanesti'><li><span>Romanesti</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Romantic'><li><span>Romantic</span></li></a>";
    echo "<a href='".pagrindinis."zanras/SF'><li><span>Sci-Fi</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Scurt-Metraj'><li><span>Scurt Metraj</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Sport'><li><span>Sport</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Thriller'><li><span>Thriller</span></li></a>";
    echo "<a href='".pagrindinis."zanras/Western'><li><span>Western</span></li></a>";
    echo "</ul>";
    echo "</ul>";
    echo "</div>";
    echo "</div>";
    echo "</div>";

    if (naujos_az > 0 && !az_uzdaryta)
    {
        echo "<div class='paneleskolona'>";
        echo "<div class='panelestitle'>Mesaj personal de la ".az_nuo."</div>";
        echo "<div class='panelestext'>".az_zinute."<br /><br />
        <a href='".pagrindinis."/asmenines_zinutes/atsakyti-".az_id."' class='az'>răspuns</a> <a href='".pagrindinis."/asmenines_zinutes/uzdaryti-".az_id."' class='az'>închide</a></div>";
        echo "</div>";
    }

    echo "<div class='paneleskolona'>";
    echo "<div class='panelestitle'>ChatOn</div>";
    echo "<div class='panelestext'>";
    require_once("".pagrindinis."variklis/moduliai/saukykla/saukykla.php");
    echo "</div>";
    echo "</div>";

    /*Apklausa
    echo "<div class='paneleskolona'>";
    echo "<div class='panelestitle'>Apklausa</div>";
    echo "<div class='panelestext'>";
    require_once("".pagrindinis."variklis/apklausa.php");
    echo "</div>";
    echo "</div>";*/

    echo "<div class='paneleskolona'>";
    echo "<div class='panelestitle'>Statistica</div>";
    echo "<div class='panelestext'>";
    require_once("".pagrindinis."variklis/statistika.php");
    echo "</div>";
    echo "</div>";
    echo "</div>";
    echo "<br style='clear: both;' />";
}
?>

Edited by marin cristina

3
Contributors
4
Replies
43
Views
3 Years
Discussion Span
Last Post by marin cristina
0

So .... I need to give me the site I click to show the Movies / otherwise lie hidden, I do not so I clicked to show movies category

0

so .... on my website in Categories:

echo " <li onclick=\"isskleisti('en')\"> <span class='kalba'> click to see Category < / span > < / li> "

invisible must I click where it says Click see Category : I do not want to give Click on category I can see Definitely , I want to be visible category as a list

the site looks like = >

Menu

The problem here is to not clicked Click to Category = > click to see Category
    action
    animation
    venture
    biographical
    comedy
    Christmas
    Crime
    documentary
    love
    drama
    family
    fantastic
    Movies 2013
    Horror
    historical
    mystery
    musical
    series
    Arrow -S1
    Arrow -S2
    Arrow S3
    Arrow -S4
    Netitrate
    war
    Romanian
    romantic
    Sci -Fi
    short Film
    sports
    Thriller
    Western

I want to be like this = >

    Menu

    action
    animation
    venture
    biographical
    comedy
    Christmas
    Crime
    documentary
    love
    drama
    family
    fantastic
    Movies 2013
    Horror
    historical
    mystery
    musical
    series
    Arrow -S1
    Arrow -S2
    Arrow S3
    Arrow -S4
    Netitrate
    war
    Romanian
    romantic
    Sci -Fi
    short Film
    sports
    Thriller
    Western
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.