• 20-06-2008, 20:54:14
    #1
    Bi arkadaşımla tasarım yaptık fakat üstüne php kodları gömemedim...Yardımcı olurmusunuz mantık : film tablosunun içindeki sinehaber sutünundan haberleri çekip sinehaber yazılı layouta alt alta yazı olarak -10 Kelimesi Ve Sonra Devam Linki- eklemek...
    Sinehaber sütünundakiler : id , adi , yazi

    Site: Alo Sinema

    İndex kodu :



    Alıntı
    <?php

    @mysql_connect ("localhost", "baksakne_sinema", "sinema") or die ("MySQL'e baglanilamadi");
    @mysql_select_db ("baksakne_sinema") or die ("Veritabanina baglanilamadi");
    $sql = mysql_query ("select * from film");
    $sonkayit = mysql_num_rows($sql);

    ?>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Alo Sinema</title>
    <style type="text/css">
    * {
    margin:0;
    padding:0;
    list-style:none;
    }
    body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    margin:10px;
    background-image: url(images/bg.gif);
    background-color: #000000;
    background-repeat: repeat;
    }

    #basic-accordian{
    border:5px solid #EEE;
    padding:5px;
    width:848px;
    position:absolute;
    z-index:2;
    top:140px;
    left:40px;
    }

    .accordion_headings{
    padding:5px;
    background:#99CC00;
    color:#FFFFFF;
    border:1px solid #FFF;
    cursorointer;
    font-weight:bold;
    }

    .accordion_headings:hover{
    background:#00CCFF;
    }

    .accordion_child{
    padding:15px;
    background:#EEE;
    width:848px
    }

    .header_highlight{
    background:#00CCFF;
    }

    .tab_container *{
    float:left;
    width:100px;
    }

    /* Blue Menu */

    #blue {margin: 5px 0 0 0; color: #fff;}
    #blue #orta{margin:0 auto; width: 500px; }
    #blue #orta .menu{padding: 15px 0}
    #blue #orta ul{list-style: none}
    #blue #orta ul li{display: inline}
    #blue #orta ul li a{padding: 2px 0 2px 5px; text-decoration: none; color: #164967; outline: none}
    #blue #orta ul li a strong{padding: 2px 7px 2px 0}
    #blue #orta ul li a:hover{color: #010507;background: #B5DAEF url(blue/a-bg-left-hover.gif) no-repeat;}
    #blue #orta ul li a:hover strong{background: url(blue/a-bg-right-hover.gif) top right no-repeat}
    #blue #orta ul li.this a{background: #fff url(blue/a-bg-left.gif) top left no-repeat; color: #1C5B82}
    #blue #orta ul li.this a strong{background: url(blue/a-bg-right.gif) right top no-repeat}
    #blue #orta ul li a:active{background: #7EBEE3 url(blue/a-bg-left-active.gif) top left no-repeat; color: #0E2F43}
    #blue #orta ul li a:active strong{background: url(blue/a-bg-right-active.gif) top right no-repeat}

    a:link {
    color: #00CCFF;
    }
    a:visited {
    color: #FFFFFF;
    }
    .style1 {color: #99CC00}
    .style3 {font-size: 18px; color: #FFFFFF; font-family: Tahoma;}
    </style>
    <script type="text/javascript" src="https://www.r10.net/php/accordian.pack.js"></script>
    </head>
    <body onLoad="new Accordian('basic-accordian',5,'header_highlight');"><!--End of accordion parent-->





    <table width="1006" border="0" cellpadding="0" cellspacing="0">
    <!--DWLayoutTable-->

    <tr>
    <td width="3" height="24">&nbsp;</td>
    <td width="29">&nbsp;</td>
    <td width="285">&nbsp;</td>
    <td width="7">&nbsp;</td>
    <td width="285">&nbsp;</td>
    <td width="8">&nbsp;</td>
    <td width="285">&nbsp;</td>
    <td width="111">&nbsp;</td>
    <td width="3">&nbsp;</td>
    </tr>
    <tr>
    <td height="95">&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="5" valign="top" background="https://www.r10.net/images/banner.jpg" style="padding-left:300px; padding-top:15px"><div id="blue"><div id="orta"><div class="menu">
    <ul>
    <li class="this"><a href="https://www.r10.net/php/anasayfa_tr.html"><strong>Homepage</strong></a></li>
    <li><a href="https://www.r10.net/bilgidepo.html"><strong>Database </strong></a></li>
    <li><a href="https://www.r10.net/galerigiris/HTML_galeri/index.html"><strong>Gallery</strong></a></li>
    <li><a href="https://www.r10.net/manifesto.html"><strong>Manifesto</strong></a></li>
    <li><a href="https://www.r10.net/iletisim.html"><strong>Contact</strong></a></li>
    <li><a href="https://www.r10.net/hakkimizda.htm"><strong>About</strong></a></li>
    <li><a href="https://www.r10.net/uyelik.html"><strong>Register</strong></a></li>
    </ul>
    </div></div>
    </div></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td height="245">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>

    <tr>
    <td height="330">&nbsp;</td>
    <td><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td valign="top" background="https://www.r10.net/images/aln1.png"><div align="center" class="style3">SineHaberler</div>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p></p></td>
    <td>


    </td>
    <td valign="top" background="https://www.r10.net/images/aln3.png" class="style3"><div align="center">EN ÇOK İZLENENLER</div></td>
    <td>


    </td>
    <td valign="top" background="https://www.r10.net/images/aln2.png"><div align="center" class="style3">EN BEĞENİLENLER </div></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>

    <tr>
    <td height="568">&nbsp;</td>
    <td colspan="7" valign="top" id="basic-accordian"><div class="tab_container">
    <div id="test1-header" class="accordion_headings header_highlight" >En Yeniler </div>
    <div id="test2-header" class="accordion_headings" >En Çok İzlenenler </div>
    <div id="test3-header" class="accordion_headings" >En Beğenilenler </div>
    </div> <div style="float:left;">
    <div id="test1-content">
    <div class="accordion_child">
    &nbsp;&nbsp;&nbsp; <img src="https://www.r10.net/images/300.jpg" alt="300 Sparta" width="98" height="141" />&nbsp;&nbsp;&nbsp;<img src="https://www.r10.net/images/recepivedik_mp4_film_indir.jpg" alt="Recep İvedik" width="98" height="141" />&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;&nbsp;</div>
    </div>
    <div id="test2-content">
    <div class="accordion_child">&nbsp;
    <img src="https://www.r10.net/images/300.jpg" alt="300 Sparta" width="98" height="141" />&nbsp;&nbsp;&nbsp;<img src="https://www.r10.net/images/recepivedik_mp4_film_indir.jpg" alt="Recep İvedik" width="98" height="141" />&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;&nbsp;</div>
    </div>
    <div id="test3-content">
    <div class="accordion_child">&nbsp;
    <img src="https://www.r10.net/images/300.jpg" alt="300 Sparta" width="98" height="141" />&nbsp;&nbsp;&nbsp;<img src="https://www.r10.net/images/recepivedik_mp4_film_indir.jpg" alt="Recep İvedik" width="98" height="141" />&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;<img src="https://www.r10.net/images/images.jpeg" alt="Born Ultimatom" width="98" height="141" />&nbsp;&nbsp;&nbsp;</div>
    </div>
    </div></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td height="51">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td height="95">&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="5" valign="top" background="https://www.r10.net/images/footer.png"><p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p align="center">Her Hakkı Mahfuzdur - All Rights Reserved.</p>
    <p align="center">Copyright 2008 © <a href="https://www.r10.net/php/www.xxxxx.com">Xxxxx.com</a> </p></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    </table>
    </body>
    </html>
  • 21-06-2008, 00:46:00
    #2
    Arkadaşlar acale yardımınz gerekli lütfen ff