Phpmailer hatası alıyorum

Arkadaşlar admin şifrem ve site adresimi vereceiğim kodlarımı da atacağım smtp kurmal istiyorum ama surekli hata alıyorum 

 

<?php
if(!isset($_SESSION)){ session_start(); }
include("plugin/class.site.php"); $mth = new mth;
$site = $mth->in('settings','*',"WHERE active='1'");
if($site->hata=="1"){error_reporting(E_ALL); ini_set("display_errors", 1);}

$url = mysql_real_escape_string(htmlentities($_GET['url'])); $kat = mysql_real_escape_string(htmlentities($_GET['kat']));
$ttt = mysql_query("select * from blog where kategori='$kat' AND sefurl='$url'");
if(mysql_num_rows($ttt)=="0"){ header("Location:404.php"); }else{
while($kkk = mysql_fetch_array($ttt)){ 
$id          = $kkk['id']; 
$keywords    = $kkk['keywords']; 
$editor      = $kkk['editor']; 
$tarih       = $kkk['tarih'];
$baslik      = $kkk['baslik'];
$resimyolu2  = $kkk['resimyolu2'];
$description = $kkk['description'];
$icerik      = $kkk['icerik'];
//$icerik      = ssl($kkk['icerik']);
$indirurl    = $kkk['indirurl'];
$indirboyut  = $kkk['indirboyut'];
$indirhit    = $kkk['indirhit'];
$hit         = $kkk['hit'];
$yorum_za1   = strtotime($tarih); $ay1=array('','Ocak','Şubat','Mart','Nisan','Mayıs','Haziran','Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık');

												$ilktarihstr = strtotime($tarih);	
												$sontarihstr = strtotime(date("Y/m/d"));
												$fark=($sontarihstr-$ilktarihstr)/86400;
												
$id_post     = $id; 
if(!isset($_SESSION['hasVisited '.$id.''])){
  $_SESSION['hasVisited '.$id.'']="yes";
  
$updatecounter = mysql_query("UPDATE blog SET hit = hit+1 WHERE id = '$id'");
}
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

	<title><?php echo $baslik; ?> | <?=$site->title?></title>
	<meta name="description" content="<? echo $description;?>" />
	<meta name="keywords" content="<? echo $keywords;?>" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- Fav icon -->
    <?php include("plugin/favicon.php"); ?>

    <!-- Bootstrap -->
    <link rel="stylesheet" type="text/css" media="all" href="//<?=$site->siteurl?>/css/bootstrap.css" />

    <!-- Template CSS Files  -->
    <link rel="stylesheet" type="text/css" media="all" href="//<?=$site->siteurl?>/css/responsive.css" />
    <link rel="stylesheet" type="text/css" media="all" href="//<?=$site->siteurl?>/css/prettyPhoto.css" />
    <link rel="stylesheet" type="text/css" media="all" href="//<?=$site->siteurl?>/css/style.css" />

    <!-- Template JS Files -->
    <script type="text/javascript" src="//<?=$site->siteurl?>/js/modernizr.js"></script>
	
	<link type="text/css" rel="stylesheet" href="//<?=$site->siteurl?>/plugin/rating/css/style.css">
	<link type="text/css" rel="stylesheet" href="//<?=$site->siteurl?>/plugin/rating/css/example.css">
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
		

	<?=$site->headkod?>
</head>

<body>

    <div class="main-holder">
        <!-- Header Section Starts -->
<?php include("plugin/header.php"); ?>
        <!-- Header Section Ends -->
        <div class="content-holder clearfix">
            <div class="container">
                <div class="row">
                    <div class="span12">					
                        <div class="row">
							<!-- Main Content Starts -->
                            <div class="span8 right" id="content">
                          <?php if($fark>"365") { ?>
								<!-- Post Content Ends -->
									<div style="margin:10px 2em;padding: 10px;border: none;background: #FFFACD;border-style: dotted;border-width: 1px;border-color: #FFFF00;border-radius:  10px/5px;">
                                            Dikkat! Bu yazı yayınlandığından beri <a href="#"><?php echo $fark; ?></a> gün geçmiş. 
											Yazının içeriği güncelliğini kaybetmiş olabilir.
                                        </div>
						  <?php } ?>
								<!-- Post Content Starts -->
                                <article class="post post__holder">
                                    <header class="post-header">
                                        <h1 class="post-title"><?php echo $baslik; ?></h1>
                                    </header>
									<?php if(!empty($resimyolu2)) { ?>
                                    <figure class="featured-thumbnail thumbnail large">
                                        <img src="//<?=$site->siteurl?>/<?php echo $resimyolu2; ?>" alt="<?php echo $baslik; ?>" />
                                    </figure>
									<?php } ?>
                                    <div class="post_content">
                                        <p><?=$site->googleads?></p>
                                        <p><?php echo $description; ?></p>
										<p><?php echo $icerik; ?></p>
			<center>
			<hr><p> Bu yazıyı 5 yıldız üzerinden kaçla değerlendirirsiniz?
		<div class="rate-ex1-cnt">
            <div id="1" class="rate-btn-1 rate-btn"></div>
            <div id="2" class="rate-btn-2 rate-btn"></div>
            <div id="3" class="rate-btn-3 rate-btn"></div>
            <div id="4" class="rate-btn-4 rate-btn"></div>
            <div id="5" class="rate-btn-5 rate-btn"></div>
        </div>
			<div class="box-result-cnt">
            <?php
                $query = mysql_query("SELECT * FROM wcd_rate WHERE id_post = '$id_post'"); 
                while($data = mysql_fetch_assoc($query)){
                    $rate_db[] = $data;
                    $sum_rates[] = $data['rate'];
                }
                if(@count($rate_db)){
                    $rate_times = count($rate_db);
                    $sum_rates = array_sum($sum_rates);
                    $rate_value = $sum_rates/$rate_times;
                    $rate_bg = (($rate_value)/5)*100;
                }else{
                    $rate_times = 0;
                    $rate_value = 0;
                    $rate_bg = 0;
                }
            ?>
            <br />
            Daha önce bu yazı <strong><?php echo $rate_times; ?></strong> kez değerlendirilmiş ve ortalama <strong><?php echo $rate_value; ?></strong> yıldız verilmiş.
            <hr>
            <div class="rate-result-cnt">
                <div class="rate-bg" style="width:<?php echo $rate_bg; ?>%"></div>
                <div class="rate-stars"></div>
            </div>
            <hr>
<div style="text-align:right;font-size: 75%;">Bu yazı daha önce <?php echo $hit; ?> kez okundu.</div>
        </div><!-- /rate-result-cnt -->
		</center></p>
										<p>
										<?php if(!empty($indirurl)) { ?><center>
					<button id="cf_send" onclick="window.open('<?php if($site->seourl==".php"){ ?>//<?=$site->siteurl?>/plugin/git.php?kat=<?php echo $id; ?>&url=1<?php }elseif($site->seourl==".html"){ ?>//<?=$site->siteurl?>/git-<?php echo $id; ?>&1.html<?php } ?>','_blank');"><strong>Dosyayı İndir</strong>
					<?php if(!empty($indirboyut)) { ?>(<?php echo $indirboyut; ?>)<?php } ?><br />Daha önce <b><?php echo $indirhit; ?></b> kez indirildi.</button>				
                    </center><?php } ?></p>
					<p><?=$site->googleads?></p>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="post_meta">
                                        <span class="post_category">
											<i class="icon-bookmark"></i>
<?php $ggg = mysql_query("select * from tags where blogID='$id' ORDER BY RAND() limit 5"); while($fff = mysql_fetch_array($ggg)){ $sefurl = $fff['baslik']; ?>
<?php if($site->seourl==".php"){ ?>
<a rel="category tag" title="<?php echo $fff['baslik']; ?>" href="//<?=$site->siteurl?>/<?php echo "etiket.php?url=$sefurl";?>">
<?php }elseif($site->seourl==".html"){ ?>
<a rel="category tag" title="<?php echo $fff['baslik']; ?>" href="//<?=$site->siteurl?>/<?php echo "etiket-$sefurl";?>.html">
<?php } ?><?php echo $fff['baslik']; ?></a> <?php } ?>
										</span>
                                        <span class="post_date">
											<i class="icon-calendar"></i>
											<time datetime="<?php echo substr($ay1[date("n",$yorum_za1)],0,3);?> <?php echo date('d',$yorum_za1) ;?>, <?php echo date('Y',$yorum_za1) ;?>"><?php echo substr($ay1[date("n",$yorum_za1)],0,3);?> <?php echo date('d',$yorum_za1) ;?>, <?php echo date('Y',$yorum_za1) ;?></time>
										</span>
                                        <span class="post_author">
											<i class="icon-user"></i>
<?php $ggg = mysql_query("select * from uyeler where nick='$editor'"); while($fff = mysql_fetch_array($ggg)){ ?>
<a title="<?php echo $fff['nick']; ?>" href="//<?=$site->siteurl?>/yazar<?php echo $site->seourl; ?>?nick=<?php echo $fff['nick']; ?>" rel="author">
<?php echo $fff['nick']; ?></a><?php } ?>
										</span>
                                        <span class="post_comment">
											<i class="icon-comments"></i>
											<a href="//<?=$site->siteurl?>/#" class="comments-link" title="Yorumlar"><a href="//<?=$site->siteurl?>/#post-207" title="Yorumlar"><?php $yorum = mysql_query("SELECT * FROM `comments` where blogID='$id'"); $po = mysql_num_rows($yorum); echo "$po" ?> Yorum</a></a>
										</span>
                                        <span class="post_permalink">
											<i class="icon-link"></i>
											<a href="//<?=$site->siteurl?>/blog-<?php echo $kat; ?>&amp;<?php echo $url; ?>.html" title="<?php echo $baslik; ?>">Permalink</a>
										</span>
                                    </div>

                                </article>
								<!-- Post Content Ends -->
                                <div class="post-author clearfix">
                                    <h3 class="post-author_h"><?php $ggg = mysql_query("select * from uyeler where nick='$editor'"); while($fff = mysql_fetch_array($ggg)){ ?>
<a title="<?php echo $fff['nick']; ?>" href="//<?=$site->siteurl?>/yazar<?php echo $site->seourl; ?>?nick=<?php echo $fff['nick']; ?>" rel="author">
<?php echo $fff['nick']; ?></a>
</h3>
                                    <p class="post-author_gravatar"><img alt="avatar" src="//<?=$site->siteurl?>/<?php echo $fff['logo']; ?>" class="photo" height="80" width="80" /></p>
                                    <div>
                                        <?php echo $fff['text']; ?>
                                    </div>
									<?php } ?>
                                </div>
                                <!-- Comments Section Starts -->
                                <div class="comment-holder" id="post-207">
                                    <h3 class="comments-h"><?php $sorgu = mysql_query("select * from comments where blogID='$id' AND cvpID='0' AND onoff='1'");if(mysql_num_rows($sorgu)=="0"){ echo '0'; }else{ echo mysql_num_rows($sorgu); }?> Yorum</h3>
                                    <div class="pagination">
                                    </div>
                                    <ol class="comment-list clearfix">
									<?php $yor = mysql_query("select * from comments where blogID='$id' AND cvpID='0' AND onoff='1' order by id asc"); if(mysql_num_rows($yor)=="0"){ echo 'Bu yazıya henüz bir yorum yapılmamış. İlk yorumu yapan siz olun!'; }else{ while($rum = mysql_fetch_array($yor)){ $webs = $rum['web']; $yresimyolu = $rum['resimyolu']; $yid = $rum['id']; ?>
                                        <li class="comment bypostauthor clearfix">
                                            <div class="comment-body clearfix">
                                                <div class="wrapper">
                                                    <div class="comment-author vcard">
                                                        <img alt="user" src="//<?=$site->siteurl?>/images/user.png" height="59" width="59" /> <span class="author"><?php if($webs!=""){ ?><a href="//<?=$site->siteurl?>/http://<?php echo $rum['web']; ?>" target="_blank" rel="nofollow"><?php echo $rum['adsoyad']; ?></a><?php }else{ echo $rum['adsoyad']; } ?></span> </div>
                                                    <div class="extra-wrap">
                                                        <p><?php echo $rum['mesaj']; ?></p>
                                                    </div>
                                                </div>
                                                <div class="wrapper">
                                                    <div class="reply">
                <form id="form<?php echo $yid;?>" action="#respond" method="post"><small>
                <a href="javascript:;" name="cvyid" onclick="document.getElementById('form<?php echo $yid;?>').submit();" class="comment-reply-link">Cevapla</a>
                <input type="hidden" name="cvyid" value="<?php echo $yid;?>" />
                </small></form> </div>
                                                    <div class="comment-meta"><small><?php $yorum_za=strtotime($rum['tarih']); $ay = array('','Ocak','Şubat','Mart','Nisan','Mayıs','Haziran','Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'); $yorum_z = date('d',$yorum_za)." ".$ay[date("n",$yorum_za)]." ".date('Y', $yorum_za); ?><?php echo $yorum_z; ?></small></div>
                                                </div>
                                            </div>
											<?php $yor2 = mysql_query("select * from comments where blogID='$id' AND cvpID='$yid' AND onoff='1' order by id asc"); if(mysql_num_rows($yor2)=="0"){ echo ''; }else{ ?>
                                            <ul class="children">
											<?php while($rum2 = mysql_fetch_array($yor2)){ $webs2 = $rum2['web']; $yresimyolu2 = $rum2['resimyolu']; ?>
                                                <li class="comment bypostauthor clearfix">
                                                    <div class="comment-body clearfix">
                                                        <div class="wrapper">
                                                            <div class="comment-author vcard">
                                                                <img alt="user" src="//<?=$site->siteurl?>/images/user.png" height="59" width="59" /> <span class="author"><?php if($webs2!=""){ ?><a href="//<?=$site->siteurl?>/http://<?php echo $rum2['web']; ?>" target="_blank" rel="nofollow"><?php echo $rum2['adsoyad']; ?></a><?php }else{ echo $rum2['adsoyad']; } ?></span> </div>
                                                            <div class="extra-wrap">
                                                                <p><?php echo $rum2['mesaj']; ?></p>
                                                            </div>

                                                        </div>
                                                        <div class="wrapper">
                                                            <div class="comment-meta"><small><?php $yorum_za=strtotime($rum2['tarih']); $ay = array('','Ocak','Şubat','Mart','Nisan','Mayıs','Haziran','Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'); $yorum_z = date('d',$yorum_za)." ".$ay[date("n",$yorum_za)]." ".date('Y', $yorum_za); ?><?php echo $yorum_z; ?></small></div>
                                                        </div>
                                                    </div>
                                                </li>
												<?php } } ?>
                                            </ul>
                                        </li>
										<?php } } ?>
                                    </ol>
                                </div>
<div id="post-206">
<?php
if(isset($_POST['send'])){

 $adsoyad = strip_tags(addslashes(trim($_POST['adsoyad'])));
 $email = strip_tags(addslashes(trim($_POST['email'])));
 $web = strip_tags(addslashes(trim($_POST['web'])));
 $mesaj = strip_tags(addslashes(trim($_POST['mesaj'])));
 $cvpID = strip_tags(addslashes(trim($_POST['cvpID'])));
 $tarih = date('Y-m-d');
 $ip = $_SERVER['REMOTE_ADDR'];
 $date1 = $_POST['visit_time']; //Formdan gelen zaman değeri
 $date2 = time(); //Şimdiki zaman
 $subTime = $date2 - $date1; //İki zaman arasındaki fark

if($adsoyad==""||$email==""||$mesaj==""){

	echo '<div class="wrapper" style="width:80%;padding:15px;color:red;background-color: #f5f5f5;">Lütfen zorunlu alanları doldurun!</div>';

}else{


if(!preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $email)) {
	
	echo '<div class="wrapper" style="width:80%;padding:15px;color:red;background-color: #f5f5f5;">Lütfen geçerli bir e-mail adresi girin!</div>'; }else{

$girilen_kod	= trim(strip_tags($_POST['security']));
$guvenlik_kodu	= trim(strip_tags($_SESSION['koruma']));

if($girilen_kod != $guvenlik_kodu){
		echo '<div class="wrapper" style="width:80%;padding:15px;color:red;background-color: #f5f5f5;">Güvenlik kodunu eksik yada yanlış girdiniz. Lütfen tekrar deneyin!</div>'; }else{		
	
	if ($subTime < 10)
{
    echo '<div class="wrapper" style="width:80%;padding:15px;color:red;background-color: #f5f5f5;">Spam yorum algılandı.</div>';
}
else
{
$kayit = mysql_query("insert into comments
(blogID,adsoyad,email,web,mesaj,tarih,ip,cvpID) values('$id','$adsoyad','$email','$web','$mesaj','$tarih','$ip','$cvpID')"); 

$mailemail = $site->sitemail;
$mailtitle = $site->title;
$mailhost  = $site->mailhost;
$mailuser  = $site->mailuser;
$mailpass  = $site->mailpass;
$siteurl  = $site->siteurl;

$text = "<a href='http://".$siteurl."'><img src='http://".$siteurl."/images/logo.png' alt='Ogznet.com'></a> \n  Yazıya , ".$adsoyad.", \n ".$email." tarafından yorum yazılmış. \n <p>Yorum: <strong>".$mesaj."</strong></p>";
$subject = "Ogznet.com Yeni Yorum Var!";

require_once("dashboard/class.phpmailer.php");
 	
$mail = new PHPMailer(); //nesneyi oluşturuyoruz
 
$mail->IsSMTP(); //smtp kullanmak için
$mail->Host = "$mailhost"; //mail sunucunuz
$mail->Port = 587; //
$mail->SMTPAuth = true; //onayı aktive ediyoruz
$mail->Username = "$mailuser"; //kullanılacak eposta adresi
$mail->Password = "$mailpass"; //şifre
$mail->From = $email; //formdan gelen mail adresi
$mail->FromName = $adsoyad; //formdan gelen isim
$mail->AddAddress("$mailemail","$mailtitle");
$mail->CharSet = 'UTF-8';
$mail->Subject = $subject; //formdan gelen konu
$mail->MsgHTML(nl2br($text));
if(!$mail->Send())
{
	echo '<div class="wrapper" style="width:80%;padding:15px;color:green;background-color: #f5f5f5;">Yorumunuz eklenmiştir. Yönetici onayından sonra gösterilecektir. Mail yok.</div>';	
} else {
	echo '<div class="wrapper" style="width:80%;padding:15px;color:green;background-color: #f5f5f5;">Yorumunuz eklenmiştir. Yönetici onayından sonra gösterilecektir.</div>';	
}
	
	  } } } } }
?>
</div>
                                <div id="respond">
                                    <h3>Yorum Yaz</h3>
									 <form method="post" id="commentform" action="#post-206">
                                        <p class="field">
                                            <input type="text" name="adsoyad" id="adsoyad" value="Adınız*" onfocus="if(this.value=='Adınız*'){this.value=''}" onblur="if(this.value==''){this.value='Adınız*'}" size="22" tabindex="1" aria-required='true' />
                                        </p>
                                        <p class="field">
                                            <input type="text" name="email" id="email" value="E-mail adresiniz*" onfocus="if(this.value=='E-mail adresiniz*'){this.value=''}" onblur="if(this.value==''){this.value='E-mail adresiniz*'}" size="22" tabindex="2" aria-required='true' />
                                        </p>
                                        <p class="field">
                                            <input type="text" name="web" id="web" value="Website" onfocus="if(this.value=='Website'){this.value=''}" onblur="if(this.value==''){this.value='Website'}" size="22" tabindex="3" />
                                        </p>
                                        <p>
										<img src="//<?=$site->siteurl?>/js/security.php" alt="guvenlik" />
										</p>
                                        <p>
										<input type="text" name="security" id="security" value="Güvenlik kodu*" onfocus="if(this.value=='Güvenlik kodu*'){this.value=''}" onblur="if(this.value==''){this.value='Güvenlik kodu*'}" size="22" tabindex="2" aria-required='true' />
										</p>
                                        <p>
                                            <textarea name="mesaj" id="mesaj" cols="58" rows="10" tabindex="4" onfocus="if(this.value=='Yorumlar*'){this.value=''}" onblur="if(this.value==''){this.value='Yorumlar*'}">Yorumlar*</textarea>
                                        </p>
                                        <p>
                                            <input type="submit" class="btn btn-primary" id="send" name="send" tabindex="5" value="Gönder" />
                                        </p>
										<input type="hidden" name="visit_time" value="<?php echo time(); ?>">
					                    <input type="hidden" name="cvpID" value="<?php if(isset($_POST['cvyid'])){ echo strip_tags(addslashes(trim($_POST['cvyid']))); }?>">
                                    </form>

                                </div>
								<!-- Comments Section Ends -->
                            </div>
							<!-- Main Content Ends -->
							<!-- Sidebar Starts -->
                            <div class="span4 sidebar" id="sidebar">
                                <div class="widget"><!-- Categories Widget -->
                                    <h3>Blog Kategorileri</h3>
                                    <ul>
                    <?php $www = mysql_query("select * from blogkategori order by sira asc"); while($vvv = mysql_fetch_array($www)){
					if($site->seourl==".php"){ ?>				
					<li><a href="//<?=$site->siteurl?>/kategori.php?url=<?php echo $vvv['sefurl']; ?>"><?php echo $vvv['baslik']; ?></a></li>
					<?php }elseif($site->seourl==".html"){ ?>
					<li><a href="//<?=$site->siteurl?>/kategori-<?php echo $vvv['sefurl']; ?>.html"><?php echo $vvv['baslik']; ?></a></li>
					<?php } } ?>
                                    </ul>
                                </div>
                                <div class="widget"><!-- Archives Widget -->
                                    <h3>Ads</h3>
                                    <?=$site->googleads?>
                                </div>
                                <div class="widget"><!-- Recent Posts Widget -->
                                    <h3>Benzer Yeni Bloglar</h3>
                                    <ul class="post-list unstyled">
<?php 
$pop = mysql_query("SELECT * FROM `blog` where kategori='$kat' and id!='$id' ORDER BY id DESC LIMIT 5");
$p = 0;
$po = mysql_num_rows($pop);
if($po=="0"){ echo '<li>Yazı eklenmemiş!</li>'; 
}else{
while($p < $po)
{
$sefurl = mysql_result($pop,$p,"sefurl");
$baslik = mysql_result($pop,$p,"baslik");
$resim = mysql_result($pop,$p,"resimyolu");
$kategori = mysql_result($pop,$p,"kategori");
$description = mysql_result($pop,$p,"description");
$tarih2 = mysql_result($pop,$p,"tarih");
$yorum_za2   = strtotime($tarih2); $ay1=array('','Ocak','Şubat','Mart','Nisan','Mayıs','Haziran','Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık');

?>
                                        <li class="post-list_li clearfix">
                                            <figure class="featured-thumbnail thumbnail">
                                              <img style="height:150px;width:150px;" src="//<?=$site->siteurl?>/<?php echo $resim; ?>" alt="<?php echo $baslik; ?>" />
                                            </figure>
                                            <time datetime="<?php echo substr($ay1[date("n",$yorum_za2)],0,3);?> <?php echo date('d',$yorum_za2) ;?>, <?php echo date('Y',$yorum_za2) ;?>"><?php echo substr($ay1[date("n",$yorum_za2)],0,3);?> <?php echo date('d',$yorum_za2) ;?>, <?php echo date('Y',$yorum_za2) ;?></time>
                                            <h4 class="post-list_h">
								<?php if($site->seourl==".php"){ ?>
								<a title="Detay" rel="bookmark" href="//<?=$site->siteurl?>/blog.php?kat=<?php echo $kategori; ?>&url=<?php echo $sefurl; ?>">
								<?php }elseif($site->seourl==".html"){ ?>
			                    <a title="Detay" rel="bookmark" href="//<?=$site->siteurl?>/blog-<?php echo $kategori; ?>&<?php echo $sefurl; ?>.html"><?php } ?>
								<?php echo $baslik; ?></a></h4>
											<?php if($site->seourl==".php"){ ?>
								<a title="Detay" class="btn btn-primary" rel="bookmark" href="//<?=$site->siteurl?>/blog.php?kat=<?php echo $kategori; ?>&url=<?php echo $sefurl; ?>">
								<?php }elseif($site->seourl==".html"){ ?>
			                    <a title="Detay" class="btn btn-primary" rel="bookmark" href="//<?=$site->siteurl?>/blog-<?php echo $kategori; ?>&<?php echo $sefurl; ?>.html"><?php } ?>Detay</a>
                                        </li>
<?php
$p++;
} }
?>
                                    </ul>
                                </div>
                            </div>
							<!-- Sidebar Ends -->
                        </div>
                        <!-- Main Content Ends -->
                    </div>
                </div>
            </div>
        </div>
        <!-- Footer Starts -->
        <?php include("plugin/footer.php"); ?>
        <!-- Footer Ends -->
    </div>
    <div id="back-top-wrapper" class="visible-desktop">
        <p id="back-top">
            <a href="//<?=$site->siteurl?>/#top"><span></span></a>
        </p>
    </div>
	<!-- Template JS Files -->
	<script type="text/javascript" src="//<?=$site->siteurl?>/js/superfish.js"></script>
    <script type="text/javascript" src="//<?=$site->siteurl?>/js/jquery.prettyPhoto.js"></script>
    <script type="text/javascript" src="//<?=$site->siteurl?>/js/jquery.elastislide.js"></script>
    <script type="text/javascript" src="//<?=$site->siteurl?>/js/jquery.mobilemenu.js"></script>
    <script type="text/javascript" src="//<?=$site->siteurl?>/js/jflickrfeed.js"></script>
    <script type="text/javascript" src="//<?=$site->siteurl?>/js/custom.js"></script>
    <script type="text/javascript" src="//<?=$site->siteurl?>/js/bootstrap.min.js"></script>
	
	    <script>
        // rating script
        $(function(){ 
            $('.rate-btn').hover(function(){
                $('.rate-btn').removeClass('rate-btn-hover');
                var therate = $(this).attr('id');
                for (var i = therate; i >= 0; i--) {
                    $('.rate-btn-'+i).addClass('rate-btn-hover');
                };
            });
                            
            $('.rate-btn').click(function(){    
                var therate = $(this).attr('id');
                var dataRate = 'act=rate&post_id=<?php echo $id_post; ?>&rate='+therate; //
                $('.rate-btn').removeClass('rate-btn-active');
                for (var i = therate; i >= 0; i--) {
                    $('.rate-btn-'+i).addClass('rate-btn-active');
                };
                $.ajax({
                    type : "POST",
                    url : "//<?=$site->siteurl?>/plugin/rating/ajax.php",
                    data: dataRate,
                    success:function(){}
                });
                
            });
        });
    </script>
</body>

</html>
<?php } }
mysql_close();
?>

 

 

Kodu bu blog sayfasında yorum bölümü yer almakta ve aldığım hata mesajıda şudur;

 

 

Hata kodumda bu yardımcı olacak olan arkdaşa tüm gerekli bilgileri saglayacagım

Hocam hangi yönde phpmailer kullanacaksınız $_GET gelen bir id'mi yoksa normal bir iletişim formumu?

dashboard/class.phpmailer.php bulunamıyor hatası veriyor

Cevap Yaz

Cevap yazabilmek için üye girişi yapmanız gerekiyor!

Yukarı Git