• 14-09-2009, 02:25:23
    #1
     <div class="rightads"><div class="rightads_container">
    	<div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
    	<div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
    	<div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
    	<div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
    	</div>
    	<div class="clear"></div>
    	<div class="recent_data_container">
    				<h3>Son Yazılar</h3>
    				<ul>
    					<?php $mynew_query = new WP_Query('showposts=5'); ?>
    					<?php while ($mynew_query->have_posts()) : $mynew_query->the_post(); ?>
    					<li><a href="<?php the_permalink() ?>"><span><?php the_time('d-m-Y') ?></span><?php the_title(); ?></a></li>
    					<?php endwhile; ?>
    					<?php rewind_posts(); ?>
    				</ul>
    			</div>
    	<div class="recent_data_container">
    				<h3>Son Yorumlar</h3>
    				<ul>
    					<?php
    					$sql = "SELECT * FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' ORDER BY comment_date DESC LIMIT 0 , 5";
    					$comments = $wpdb->get_results($sql);
    					foreach ($comments as $comment) {
    						$data = "<span>" . $comment->comment_author . ":</span>" . substr($comment->comment_content,0,35);
    						echo "<li><a href=\"" . get_permalink($comment->comment_post_ID) . "\">" . $data . "...</a></li>\n";   
    					}
    					?>
    				</ul>
    			</div>
    </div>
    şimdi arkadaşlar yukarıdaki kodların içersine adsense reklamı yerleştiricem. bannerleri siliyorum ve adsense reklamnı yerleştiriyorum olmuyor. bannerleri silmeden adsenseyi yerleştirince oluyor fakat kayma oluyor ve bannerler de duruyor yerinde. css den pek anlamıyorum yardım edebilecek olan varmı? css kodlarını da veriyorum ordan da birşeyler değiştirilecekse değiştireyim.
    /*
    Theme Name: Beauty Magazine
    Theme URI: http://themesjunction.com
    Description: A Very high quality magzine wordpress theme
    Version: 1.0
    Author: Themes Junction Team
    Author URI: http://themesjunction.com 
    */
    /*------TJ-------*/	
    /*     Global    */
    /*---------------*/
    body {
    	margin: 0;
    	background:#F4EDF3;
    }
    h1, h2, h3, h4 {
    	margin: 0;
    }
    a {
    	text-decoration: none;
    }
    a:hover {
    	text-decoration: underline;
    }
    img {
    	border: 0;
    }
    .clear {
    	clear: both;
    	height: 0;
    	overflow: hidden;
    }
    /*------TJ-------*/	
    /*    The Wrap   */
    /*---------------*/
    #wrap {
    	width: 1004px;	
    	margin: 0 auto;
    	padding:0px;
    	background: #F4EDF3 url("images/bg.gif") repeat-y top;
    }
    #content-container {
    	width: 1004px;
    	background: url("images/header.jpg") no-repeat top;	
    	margin: 0 auto;
    	padding:0px;
    }
    #page-top {
    	width: 1004px;
    	background: url("images/page_top.gif") no-repeat bottom;
    	height:202px;
    	position:absolute;
    	top:230px;
    	left:0;
    }
    #contents {
    	width: 945px;
    	padding: 0 22px 0 32px;
    	margin-top:202px;
    }
    #page-bottom {
    	width: 1004px;
    	background: url("images/page_bottom.gif") no-repeat bottom;
    }
    /*------TJ-------*/	
    /*   The Header  */
    /*---------------*/
    #header {
    	width: 1004px;
    	height: 230px;
    	position: relative;
    }
    #header-title {
    	position: absolute;
    	text-transform: uppercase;
    	left: 50px;
    	top: 20px;	
    }
    #header-title h1 {
    	color: #ffffff;
    	font:36px "Century Gothic", Arial;
    	font-weight:bold;
    	margin-bottom: 2px;
    }
    #header-title h1 a {
    	color: #C96193;
    	text-decoration: none;
    }
    .header-subtitle {
    	color: #942C5E;
    	font:12px Arial;
    }
    #rss {
    	position: relative;
    	padding-left:50px;
    	height: 60px;
    	font: bold 12px tahoma;
    	color: #a2a2a2;
    	line-height:60px;
    	background: url("images/icon_feed.gif") no-repeat;
    }
    #rss a {
    	color: #a2a2a2;
    }
    /*------TJ-------*/		
    /*   Top Menu    */
    /*---------------*/
    #navlist {
    	position: absolute;
    	top: 180px;
    	left: 30px;
    	height: 28px;
    }
    #navlist ul {
    	list-style-type: none;
    	height: 28px;
    	padding: 0;
    	margin: 0;
    }
    #navlist ul li {
    	font: bold 16px Arial;
    	color: #aaaaaa;
    	margin: 0 0 0 2px;
    	height: 28px;
    	float: left;
    }
    #navlist ul li a {
    	display: block;
    	text-decoration: none;
    	padding: 10px 14px;
    	height:18px;
    	color: #666666;	
    	background:url("images/ctg_divider.gif") no-repeat right;
    }
    #navlist ul li:hover {
    }
    #navlist ul li a:hover {
    		color: #F2A9D5;
    }
    #navlist ul li.current_page_item {
    		color: #F2A9D5;
    }
    #navlist ul li.current_page_item a {
    		color: #F2A9D5;
    }
    /*------TJ-------*/		
    /*  Search Area  */
    /*---------------*/
    #menu_search_box {
    	position: absolute;
    	top: 10px;
    	left: 824px;
    	width: 130px;
    	height: 20px;
    }
    #menu_search_box #searchform {
    	margin: 0;
    	padding: 0;
    	width: 130px;
    	height: 27px;
    }
    #menu_search_box #s {
    	font: 10px tahoma;
    	color: #D0689B;
    	border: 0;
    	padding: 3px 10px 0 10px;		
    	background: none;
    	float: left;
    	width: 130px;
    	height: 18px;
    }
    #menu_search_box #submit {
    	display: none;
    }
    /*------TJ-------*/		
    /*    Top Post   */
    /*---------------*/
    #contents .top_post {
    	float: left;
    	padding:0;
    	margin: 0 0 10px 0;
    	height:280px;
    	width: 560px;
    }
    .post_title {
    	width: 560px;
    	color: #848484;
    	height:120px;
    	font: 10px Arial;
    	background:url("images/top_post_top.gif") repeat-x top left;
    }
    .post_title h2 {
    	color: #CC6699;
    	font: 18px Arial;
    	padding:5px;
    	margin-left:7px;
    	width:520px;
    }
    .post_title h2 a {
    	color: #AB4C7D;
    	text-decoration: none;
    }
    .post_title h2 a:hover {
    	text-decoration: underline;
    }
    .post_title a {
    	color: #848484;
    	text-decoration: none;
    }
    .post_title a:hover {
    	text-decoration: underline;
    }
    .meta_inf {
    	width: 530px;
    	height: 22px;
    }
    .meta_inf a{
    color:#AB4C7D;
    }	
    .headline {
    	float: left;
    	display:inline;
    	padding-left: 5px;
    }
    .headline_date {
    	float: right;
    	display:inline;
    	padding-right: 0px;
    	color:#CC6699;
    	font:14px arial;
    }
    .meta_date {
    	float: left;
    	display:inline;
    	padding-left: 5px;
    	color:#CCCCCC;
    	font:10px arial;
    	line-height:22px;
    }
    .meta_comments {
    	float: right;
    	font:10px arial;
    	padding-left: 16px;
    	height:22px;
    	line-height:22px;
    }
    .top_titles a{
    	color: #C767A0;
    	text-decoration: none;
    	font: bold 18px arial;
    }
    .top_entry {
    	text-align:justify;
    	color: #808080;
    	width: 520px;
    	padding: 1px 10px 0 12px;
    	clear:both;
    	font: 12px Arial;
    	margin-top:-70px;
    	height:185px;
    	overflow: hidden;
    }
    .top_entry blockquote {
    	border-left: 7px solid #efefef;
    	font-style:italic;
    	padding:0 0 0 15px;
    	margin: 0px 15px;
    }
    .top_entry a {
    	color: #C767A0;
    	text-decoration: none;
    }
    .top_entry a:hover {
    	text-decoration: underline;
    }
    .top_entry img {
    	padding: 3px;
    	border: 1px solid #F5C8EF;
    }
    .post_bottom {
    	width: 560px;
    	padding-top: 14px;
    	line-height: 22px;
    	height: 30px;
    	font: 11px Arial;
    	color: #cccccc;	
    }
    .post_cat {
    	padding-left: 14px;
    	line-height: 22px;
    	font: 11px Arial;
    	color: #cccccc;	
    }
    .post_cat a {
    	color: #AB4C7D;
    }
    /*------TJ-------*/		
    /*   Mag Posts   */
    /*---------------*/
    #content {
    	float: left;
    	width: 560px;
    	overflow: hidden;
    }
    #content .mag_posts {
    	float: left;
    	width: 270px;
    	margin: 0 6px 6px 0;
    	color: #858585;
    	font: 11px Arial;
    }
    #content .mag_posts a {
    	color: #AB4C7D;
    }
    #content .top_mag_posts {
    	width: 270px;
    	background: url("images/post_mag_top.gif") no-repeat;
    }
    #content .bottom_mag_posts {
    	width: 270px;
    	padding-top: 7px;
    	padding-bottom: 4px;
    }
    #content .mag_posts h2 {
    	padding:0;
    	padding-left: 7px;
    	color: #DD9BC3;
    	font: bold 14px verdana;
    	height:30px;
    	margin:0;
    }
    #content .mag_posts h2 a {
    	color: #DEC3D3;
    }
    #content .top_mag_titles a{
    	color: #C767A0;
    	text-decoration: none;
    	font: bold 12px verdana;
    }
    #content .mag_posts .mag_posts_entry {
    	padding: 0px 9px 0px 12px;
    	margin:0;
    	width: 250px;
    	height: 192px;
    	text-align:justify;
    	overflow: hidden;
    }
    #content .mag_posts .mag_posts_meta {
    	margin: 0 9px 0 6px;
    	width:250px;
    	height: 22px;
    	overflow:hidden;
    }
    /*------TJ-------*/		
    /*  Pages Posts  */
    /*---------------*/
    #content .post {
    	float: left;
    	width: 560px;
    	margin-bottom: 10px;
    }
    #content .post-top {
    	width: 560px;
    	color: #C767A0;
    	height:120px;
    	font: 10px Arial;
    	background:url("images/top_post_top.gif") repeat-x top left;
    }
    #content .post-bottom {
    	width: 560px;
    	padding-top: 14px;
    	line-height: 22px;
    	height: 30px;
    	font: 11px Arial;
    	color: #cccccc;
    }
    #content .post-top a {
    	color: #C767A0;
    	text-decoration: none;
    }
    #content .post-top a:hover {
    	text-decoration: underline;
    }
    #content .post-top h2 {
    	color: #C767A0;
    	font: 20px Arial;
    	padding:5px;
    }
    #content .post-top h2 a {
    	color: #C767A0;
    	text-decoration: none;
    }
    #content .post-top h2 a:hover {
    	text-decoration: underline;
    }
    #content .meta_inf {
    	width: 530px;
    	height: 22px;
    }
    #content .post .post_ctg {
    	width: 560px;
    	padding-left: 14px;
    	line-height: 22px;
    	height: 22px;
    	font: 11px Arial;
    	color: #999999;
    }
    #content .post .post_ctg a {
    	color: #AB4C7D;
    }
    #content .post-entry {
    	font: 12px Arial;
    	color: #909090;			
    	width: 540px;
    	padding: 0 10px 0 10px;
    	text-align:justify;
    	margin-top:-70px;
    }
    #content .post-entry a {
    	color: #C767A0;
    	text-decoration: none;
    }
    #content .post .post-entry a:hover {
    	text-decoration: underline;
    }
    #content .post .post-entry blockquote {
    	border-left: 6px solid #999999;
    	margin: 0px 20px;
    	padding-left: 10px;
    	font-style:italic;
    }
    #content .post .post-entry img {
    	padding: 5px;
    	border: 0px;
    }
    #content .post h3 {
    	margin: 20px 0 5px 0;
    	color: #AB4C7D;
    	font: 18px Verdana;
    }
    #comment {
    	background:#ffffff;
    	width:500px;
    	border:1px solid #606060;
    }
    #commentform input{
    	border:1px solid #606060;
    	background:#ffffff;
    }
    #commentform #submit{
    	border:1px solid #909090;
    	border-style:outset;
    	background:#cccccc;
    	color:#AB4C7D;
    }
    #content .post .comments {
    	font: 11px Arial;
    	color: #969696;
    	width: 600px;
    }
    #content .post .comments ol {
    	margin: 10px 0;
    	padding-left: 25px;
    }
    #content .post .comments ol li {
    	padding: 5px;
    }
    #content .post .comments ol li a {
    	color: #C767A0;
    	text-decoration: none;
    }
    #content .post .comments ol li a:hover {
    	text-decoration: underline;
    }
    #content .post .comments ol li.alt {
    	background: #eeeeee;
    }
    #content .post .comments ol li cite {
    	color: #606060;
    	font-style: normal;
    	font-weight: bold;
    }
    #content .post .comments ol li cite a {
    	color: #606060;
    	text-decoration: none;
    }
    #content .post .comments ol li cite a:hover {
    	text-decoration: underline;
    }
    #content .post .comments ol li .commentmetadata a {
    	color: #aaaaaa;
    	text-decoration: none;
    }
    #content .post .comments ol li .commentmetadata a:hover {
    	text-decoration: underline;
    }
    #content .post #commentform {
    	font: 11px Arial;
    	color: #909090;
    	width: 548px;
    	padding-left: 25px;
    	margin: 0;
    }
    #content .post #commentform a {
    	color: #C767A0;
    	text-decoration: none;
    }
    #content .post #commentform a:hover {
    	text-decoration: underline;
    }
    /*------TJ-------*/		
    /*   About Box   */
    /*---------------*/
    #about_box {
    	float: left;
    	width: 345px;
    	margin-left:13px;
    	padding:0 10px 0 10px;
    	height:270px;
    	margin-top:0px;
    	text-align:justify;
    	font:12px arial;
    	color:#F8E1ED;
    	overflow:hidden;
    	background: url("images/box_about.gif") no-repeat top left;
    }
    #about_box h3 {
    	margin:5px 0px;
    	color:#F8DFEC;
    	font:bold 14px arial;
    	padding:0;
    }
    #about_box img{
    float:right;
    padding:0px;
    margin:25px 0 0 10px;
    border:1px solid #999999;
    }
    #about_box a{
    color:#ffffff;
    text-decoration:none;
    }
    /*------TJ-------*/		
    /*  Top Advert   */
    /*---------------*/
    .topads {
    	position:absolute;
    	width: 975px;
    	top:250px;
    	left:25px;
    	padding:0;
    	height:200px;
    }
    .topads_ad {
    	margin:0 7px 10px 0px;
    	float:left;
    	padding:0;
    	border:1px solid #CC528C;
    }
    /*------TJ-------*/		
    /*  Ads Spaces   */
    /*---------------*/
    .rightads {
    	float: left;
    	width: 180px;
    	margin-left:0px;
    	margin-bottom: 10px;
    	margin-top:0px;
    	padding:0;
    }
    .rightads_container{
    padding-left:40px;
    }
    .rightads_ad {
    	margin:0 0 10px 0px;
    	padding:0;
    }
    /*------TJ-------*/		
    /*   Side bar    */
    /*---------------*/
    #sidebar {
    	float: right;
    	width: 185px;
    	font: 11px Arial;
    	color: #7D7D7D;
    	margin-top:0px;
    }
    .sidebar_container {
    	width: 185px;
    	margin-bottom: 20px;
    }
    #sidebar h2 {
    	width: 175px;
    	height: 32px;
    	padding-left: 7px;
    	padding-top:7px;
    	margin-bottom: 2px;
    	font: bold 14px tahoma;
    	color: #333333;
    	font-variant:small-caps;
    	background: url("images/sidebar_title.gif") no-repeat top left;
    }
    #sidebar a {
    	color: #7D7D7D;
    	text-decoration: none;
    }
    #sidebar a:hover {
    	text-decoration: underline;
    }
    #sidebar ul {
    	margin: 0;
    	padding: 0 5px;
    	list-style-type: none;
    }
    #sidebar ul li {
    	color: #656565;
    	font: 12px Arial;
    	border-bottom:1px dashed #cccccc;
    }
    #sidebar ul li a {
    	color: #7D7D7D;
    	text-decoration: none;
    	padding: 5px 5px 5px 8px;
    	height:15px;
    	margin:0;
    	display: block;
    }
    #sidebar ul li a:hover {
    	text-decoration: none;
    	background:#fefefe;	
    	height:15px;
    }
    #sidebar ul li ul {
    	margin: 0;
    	padding: 0;
    	background: none;
    }
    #sidebar #searchform {
    	margin: 0;
    	padding: 10px 0;
    	width: 172px;
    	text-align: center;
    }
    #sidebar #searchform #s {
    	width: 130px;
    }
    #sidebar #calendar_wrap {
    	width: 130px;
    	margin: 0 auto;
    	padding-top: 5px;
    	padding-left:0;
    }
    #sidebar #calendar_wrap table {
    	width: 130px;
    }
    #sidebar #calendar_wrap a {
    	color:#F2A9D5;
    }
    #sidebar #calendar_wrap caption {
    	margin: 0 auto;
    	font-weight: bold;
    }
    #sidebar #calendar_wrap tbody {
    	text-align: right;
    }
    #sidebar #calendar_wrap tfoot #next {
    	text-align: right;
    }
    #sidebar #calendar_wrap #today {
    	font-weight: bold;
    }
    #sidebar .textwidget {
    	padding: 0 5px;
    }
    .sidebar_bottom {
    	margin: 0px;
    	padding: 0px;
    	clear:both;
    	height: 1px;
    	width: 180px;
    	display:block;
    	position:relative;
    }
    /*------TJ-------*/		
    /*  Recent Data  */
    /*---------------*/
    #recent_data {
    	width: 935px;
    	margin-bottom: 15px;
    }
    #recent_data_top {
    	width: 933px;
    }
    #recent_data_bottom {
    	width: 923px;
    	padding: 0 0 20px 10px;
    	overflow: hidden;
    }
    .recent_data_container {
    	width: 190px;
    	float: left;
    	padding-left:5px;
    }
    .recent_data_container h3 {
    	color: #F8D8F3;
    	padding: 6px;
    	height:20px;
    	font: bold 14px Verdana;
    	background: url("images/top_side_left.gif") repeat-x top;
    }
    .recent_data_container ul {
    	margin: 0;
    	padding: 0;
    	list-style-type: none;
    }
    .recent_data_container ul li {
    	font:12px tahoma;
    	text-align:left;
    	border-bottom: 1px dotted #ffffff;
    }
    .recent_data_container ul li a {
    	color: #F2A9D5;
    	text-decoration: none;
    	display: block;
    	padding: 4px;
    }
    .recent_data_container ul li a:hover {
    	text-decoration: none;
    	background-color:#dedede;
    }
    .recent_data_container ul li a span {
    	color: #222222;
    	font: 10px Arial;
    	display: block;
    	margin-bottom: 4px;
    }
    .recent_data_container ul li ul {
    	display: none;
    }
    .recent_data_middle {
    	width: 320px;
    	margin-top: 8px;
    	padding: 0 23px;
    	overflow: hidden;
    	float: left;
    }
    /*------TJ-------*/		
    /*  Navigations  */
    /*---------------*/
    .navigation {
    	font: 12px Arial;
    	color: #C767A0;
    	width: 530px;
    	margin-left:10px;
    }
    .navigation a {
    	color: #C767A0;
    	text-decoration: none;
    }
    .navigation a:hover {
    	text-decoration: underline;
    }
    .navigation-p {
    	float: left;
    }
    .navigation-n {
    	float: right;
    }
    /*------TJ-------*/		
    /*  Footer Links */
    /*---------------*/
    #footer {
    	width: 934px;
    	height: 60px;
    	padding: 0;
    	color: #999999;
    	padding-top:30px;
    	text-align:center;
    	font: 11px Arial;
    	clear:both;
    }
    #footer a {
    	color: #DD9BC3;
    	text-decoration: none;
    }
    #footer a:hover {
    	text-decoration: none;
    }
    özelden anlatmak isteyenler pm ile msn bildirsinler online yapalım şu işi kodunuzu da siteme hemen ekleyeyim.
  • 14-09-2009, 02:29:54
    #2
    <div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
        <div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
        <div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
        <div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
    Bu dördünün yerine 250*250 kodu yapıştırdığınız zaman sorun mu çıkartıyor ?
  • 14-09-2009, 02:34:54
    #3
    habana adlı üyeden alıntı: mesajı görüntüle
    <div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
        <div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
        <div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
        <div class="rightads_ad"><a href="http://www.themesjunction.com"><img src="<?php bloginfo('template_directory'); ?>/ads/banner_125x125.jpg" alt="Banner" /></a></div>
    Bu dördünün yerine 250*250 kodu yapıştırdığınız zaman sorun mu çıkartıyor ?

    Bağlantı kesildi













    Sayfa yüklenirken sunucuyla bağlantı kesildi.







    Bağlantı sırasında ağ iletişimi kesintiye uğradı. Lütfen yeniden deneyin.




    böyle bir hata veriyor üstad
  • 14-09-2009, 02:51:27
    #4
    Sorun halledildi teşekkrler.