LuGeLaS adlı üyeden alıntı: mesajı görüntüle
yada resimlerin başına / koy

misal
www.site.com/images/resim.gif olsun resmin

<img src="images/resim.gif"> yerine <img src="/images/resim.gif"> yap
alala bende mi sorun var
bunu da denedim bu da olmadı
kanal.php bu
Alıntı
<?php
include("ayar.php");
$tv_id = $_REQUEST["tv"];
$sor = mysql_query("SELECT * FROM tv WHERE tv_id = '$tv_id'");
$yaz = mysql_fetch_array($sor);
$tv_ad = $yaz["tv_ad"];
$tv_description = $yaz["tv_description"];
$tv_keyword = $yaz["tv_keyword"];
$tv_tur = $yaz["tv_tur"];
$tv_ulke = $yaz["tv_ulke"];
$tv_dil = $yaz["tv_dil"];
$tv_mms = $yaz["tv_mms"];
$tv_logo = $yaz["tv_logo"];
$tv_hit = $yaz["tv_hit"];
$guncelle = mysql_query("UPDATE tv SET tv_hit=(tv_hit+1) WHERE tv_id = '$tv_id'");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title><?php echo "$tv_ad - $tv_ad Canlı İzle $tv_ad Yayın Akışı"; ?></title>
<meta name="Description" content="<?php echo "$tv_description"; ?>">
<meta name="Keywords" content="<?php echo "$tv_keyword"; ?>">
<base href="Gazeteburda.Net - Günlük Gazeteler Gazete Oku Gazete Manşetleri Gazeteler">
</head>
<body>
<?php
include("ust.php");
?>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="80%" id="AutoNumber1">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="925" id="AutoNumber2" height="241">
<tr>
<td width="365" bgcolor="#E5E5E5" height="241" rowspan="3" valign="top">
<p align="center">
<embed name="OZKE TV" src="<?php echo "$tv_mms"; ?>" width="355" height="321" type="application/x-mplayer2" ShowStatusBar="0" AutoSize="true" DisplaySize="0" AutoStart="true" align="absmiddle" width="355" height="321"></embed>


</td>
<td width="560" valign="top" height="1">

</td>
</tr>
<tr>
<td width="560" valign="top" height="39" bgcolor="#ECECEC" bordercolorlight="#8AADD7" bordercolordark="#ECECEC" style="border:1px solid #8AADD7; "><font face="Tahoma" size="2">

&nbsp;<?php
if(!empty($tv_logo)){
echo "<img src='$tv_logo' width='60' height='40'></img>";
}else{
echo "<img src='Resimler/TV.gif'></img>";
}

?>
<br>
&nbsp;TV Adı : <?php echo "<b>$tv_ad</b>"; ?><br>
&nbsp;TV Türü : <?php echo "<b>$tv_tur</b>"; ?><br>
&nbsp;TV Ülke : <?php echo "<b>$tv_ulke</b>"; ?><br>
&nbsp;TV Dil : <?php echo "<b>$tv_dil</b>"; ?><br>
&nbsp;<?php echo "Bu TV kanalı <b>$tv_hit</b> kere izlenmiştir. "; ?>
</font> </td>
</tr>
<tr>
<td width="560" valign="top" height="228">
<table border="0" cellpadding="0" cellspacing="0" style="border:1px outset #BEBEBE; border-collapse: collapse" bordercolor="#111111" width="562" id="AutoNumber1"><tr>
<td width="185" bgcolor="#BEBEBE" align='center'><b>
<font face="Tahoma" size="2">TV</font></b></td>
<td width="185" bgcolor="#BEBEBE" align="center"><b>
<font face="Tahoma" size="2">Tür</font></b></td>
<td width="185" bgcolor="#BEBEBE" align="center"><b>
<font face="Tahoma" size="2">Dil</font></b></td>
</tr>
<?php
$limit = 12;
$sayfa = $_REQUEST["sayfa"];
if(($sayfa=="")or !is_numeric($sayfa)){
$sayfa=1;
}
$baslangic = ($sayfa-1)*$limit;
$satir = mysql_query("SELECT * FROM tv");
$satir_sayisi = ($satir);
$sayfa_sayisi = ceil($satir_sayisi / $limit);
$sor = mysql_query("SELECT * FROM tv ORDER BY tv_hit DESC Limit $baslangic,$limit");
while($yaz=mysql_fetch_array($sor)){
$tv_id = $yaz["tv_id"];
$tv_ad = $yaz["tv_ad"];
$tv_tur = $yaz["tv_tur"];

$link_tr = array('Ç','ç','İ','ı','Ğ','ğ','Ü','ü','Ş','ş','Ö', 'ö',' ');
$link_en = array('C','c','I','i','G','g','U','u','S','s','O', 'o','_');
$filtreli_ad = str_replace($link_tr,$link_en,$tv_ad);

$tv_dil = $yaz["tv_dil"];
$tv_hit = $yaz["tv_hit"];
echo "<tr>
<td width=\"185\" bgcolor=\"#E5E5E5\" align='center'>
<font face=\"Tahoma\" size='2pt'><a href='kanal.php?id=$tv_id&ad=$filtreli_ad'>$tv_ad</a></font></td>
<td width=\"185\" bgcolor=\"#E5E5E5\" align='center'>
<font face=\"Tahoma\" size='2pt'>$tv_tur</font></td>
<td width=\"185\" bgcolor=\"#E5E5E5\" align='center'>
<font face=\"Tahoma\" size='2pt'>$tv_dil</font></td>
</tr>";
}
?>

</td>
</tr>
</table>
<?php
for($i=1;$i<=$sayfa_sayisi;$i++){
echo "<center>Sayfalar : <a href='kanal.php?sayfa=$i'>$i | </a></center>";
}
?>

</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
<p></p>
<p></p>
</body>
</html>