• 08-09-2010, 20:57:24
    #1
    Üyeliği durduruldu
    Yeni açtığım wordpress 3.0.1 siteme strukmen temasını kurdum gerçekten mükemmel bir tema ama manset.php yi ayarlayamadım bana yardımcı olabilecek varsa p.m göndersin lütfen.


    Manset.php ;

    <?php
    $resim     = mysql_query("SELECT * FROM wp_postmeta LEFT OUTER JOIN wp_posts ON wp_postmeta.post_id = wp_posts.id Where wp_postmeta.meta_key='manset' ORDER By wp_postmeta.post_id DESC Limit 0,5");
            for ($j=0; $niphell=mysql_fetch_array($resim); $j++){
            $ust .= '<div class="contentdiv"><a href="'.get_permalink($niphell[post_id]).'" rel="bookmark"><img src="'.$niphell[meta_value].'" alt="" /></a>
                        <h2 class="featuredTitle"><a href="'.get_permalink($niphell[post_id]).'" rel="bookmark">'.$niphell[post_title].' &raquo;</a></h2>
                    </div>
                    ';
            $alt .='<a href="#" class="toc"><img src="'.$niphell[meta_value].'" alt="" width="67" height="42"/></a>
            ';
            }
    
    
    echo '<!-- featured entries -->
                <div id="slider2" class="sliderwrapper">
                ';
    echo $ust;
    echo '</div><div id="paginate-slider2" class="pagination">
    ';
    echo $alt;
    echo '<div class="clear"></div>    
                </div>
    
    ';
    echo '<script type="text/javascript">featuredcontentslider.init({
        id: "slider2",  //id of main slider DIV
        contentsource: ["inline", ""],  //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
        toc: "markup",  //Valid values: "#increment", "markup", ["label1", "label2", etc]
        nextprev: ["", ""],  //labels for "prev" and "next" links. Set to "" to hide.
        revealtype: "mouseover", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
        enablefade: [true, 0.4],  //[true/false, fadedegree]
        autorotate: [true, 4000],  //[true/false, pausetime]
        onChange: function(previndex, curindex){  //event handler fired whenever script changes slide
            //previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
            //curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
        }
    })</script><!-- End of featured entries -->';
    ?>
    Ana dizine attığım deneme resim ; http://www.empati.info/empati8.jpg

    Sitemin adresi ; http://www.empati.info/

    Editleyip verdiğim resmi eklerseniz sevinirim gerisini ben hallederim .
  • 08-09-2010, 21:57:22
    #2
    <?php
    $resim     = mysql_query("SELECT * FROM wp_postmeta LEFT OUTER JOIN wp_posts ON wp_postmeta.post_id = wp_posts.id Where wp_postmeta.meta_key='manset' ORDER By wp_postmeta.post_id DESC Limit 0,5");
            for ($j=0; $niphell=mysql_fetch_array($resim); $j++){
            $ust .= '<div class="contentdiv"><a href="'.get_permalink($niphell[post_id]).'" rel="bookmark"><img src="'.$niphell[meta_value].'" alt="" /></a>
                        <h2 class="featuredTitle"><a href="'.get_permalink($niphell[post_id]).'" rel="bookmark">'.$niphell[post_title].' &raquo;</a></h2>
                    </div>
                    ';
            $alt .='<a href="#" class="toc"><img src="'.$niphell[meta_value].'" alt="" width="67" height="42"/></a>
            ';
            }
    
    
    <!-- featured entries --> 
    			<div id="slider2" class="sliderwrapper"> 
    			<div class="contentdiv"><a href="http://www..html" rel="bookmark"><img src="http://www.empati.info/empati8.jpg" alt="" /></a> 
    					<h2 class="featuredTitle"><a href="http://www..html" rel="bookmark">12345</a></h2> 
    				</div> 
    				<div class="contentdiv"><a href="http://www..html" rel="bookmark"><img src="http://www.empati.info/empati8.jpg" alt="" /></a> 
    					<h2 class="featuredTitle"><a href="http://www..html" rel="bookmark">123456</a></h2> 
    				</div> 
    				<div class="contentdiv"><a href="http://www..html" rel="bookmark"><img src="http://www.empati.info/empati8.jpg" alt="" /></a> 
    					<h2 class="featuredTitle"><a href="http://www..html" rel="bookmark">1234</a></h2> 
    				</div> 
    				<div class="contentdiv"><a href="http://www..html" rel="bookmark"><img src="http://www.empati.info/empati8.jpg" alt="" /></a> 
    					<h2 class="featuredTitle"><a href="http://www..html" rel="bookmark">123</a></h2> 
    				</div> 
    				<div class="contentdiv"><a href="http://www..html" rel="bookmark"><img src="http://www.empati.info/empati8.jpg" alt="" /></a> 
    					<h2 class="featuredTitle"><a href="http://www..html" rel="bookmark">12</a></h2> 
    				</div> 
    				</div><div id="paginate-slider2" class="pagination"> 
    <a href="#" class="toc"><img src="http://www.empati.info/empati8.jpg" alt="" width="67" height="42"/></a> 
    		<a href="#" class="toc"><img src="http://www.empati.info/empati8.jpg" alt="" width="67" height="42"/></a> 
    		<a href="#" class="toc"><img src="http://www.empati.info/empati8.jpg" alt="" width="67" height="42"/></a> 
    		<a href="#" class="toc"><img src="http://www.empati.info/empati8.jpg" alt="" width="67" height="42"/></a> 
    		<a href="#" class="toc"><img src="http://www.empati.info/empati8.jpg" alt="" width="67" height="42"/></a> 
    		<div class="clear"></div>	
    			</div> 
     
    <script type="text/javascript">featuredcontentslider.init({
    	id: "slider2",  //id of main slider DIV
    	contentsource: ["inline", ""],  //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
    	toc: "markup",  //Valid values: "#increment", "markup", ["label1", "label2", etc]
    	nextprev: ["", ""],  //labels for "prev" and "next" links. Set to "" to hide.
    	revealtype: "mouseover", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
    	enablefade: [true, 0.4],  //[true/false, fadedegree]
    	autorotate: [true, 4000],  //[true/false, pausetime]
    	onChange: function(previndex, curindex){  //event handler fired whenever script changes slide
    		//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
    		//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
    	}
    })</script><!-- End of featured entries --> 
    ?>
    denermisin bi
  • 08-09-2010, 22:00:54
    #3
    Üyeliği durduruldu
    Parse error: syntax error, unexpected '<' in /home/empatii/public_html/wp-content/themes/sturkmen/manset.php on line 13

    Hatası verdi usta
  • 08-09-2010, 22:02:18
    #4
    tekrar dene yukarıdaki verdigim kodu
  • 08-09-2010, 22:03:16
    #5
    Üyeliği durduruldu
    bilisimturk adlı üyeden alıntı: mesajı görüntüle
    tekrar dene yukarıdaki verdigim kodu
    Bu sefer oldu kardeş teşekkürler ellerin dert gormesın + rep.