Jump to content

Php Sayfada Size Yapamıyorum


Recommended Posts

arkadaşlar bir sıkıntım var resimdede göründüğü gibi

bu aradakı boşlugu nasıl sağlarım code bilgisi olan varsa yardımcı olabilirmi

[codebox]<?php include('cgi_bin/config.php'); ob_start();?>
<div style="width:915px; padding-left:10px; height:100%;min-height: 100%; ">
<div style="width:885px;height:100%;min-height: 100%;">
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="450" valign="top">
<?php
$hsql=mysql_query("select * from haberler order by id asc limit 1");
while($hrow=mysql_fetch_object($hsql)){
$haber_baslik=$hrow->konu;
$haber_detay=$hrow->kisa_haber;
$rsql=mysql_query("select * from haber_resim where kid='".$hrow->kod."'");
$rrow=mysql_fetch_object($rsql);
?>
<table width="225" border="0" cellspacing="0" cellpadding="0" style="float:left; margin-right:5px; margin-top:5px">
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="500" style="background:url(media/images/p2.png) repeat-x; font-size:15px; color:#552B00"><span class="emex">ETKİNLİK VE DUYURULAR</span></td>
<td width="10"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td style="background:url(media/images/p5.png) repeat"><div class="img" ><img src="<?php echo Adres?>media/oriaupload/upload_pic/thumbnail_<?php echo $rrow->resim?>" width="218" height="87" /></div>
<div class="text" style="height:65px; font-family:Tahoma, Geneva, sans-serif; font-size:13px"> <?php echo $haber_detay?></div>
<div style="width:96%; text-align:right"> <a href="haberler/<?php echo $hrow->id?>/<?php echo seola($hrow->konu)?>.html" class="haber_btn"><img src="media/images/haber_detay_btn.png" width="73" height="21" border="0" /></a></div></td>
<td width="10" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table>
<?php } ?>
<table width="225" border="0" cellspacing="0" cellpadding="0" style="float:left; margin-right:5px; margin-top:5px">
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="500" style="background:url(media/images/p2.png) repeat-x; font-size:15px; color:#552B00"><span class="emex">EMEX SANAL TUR</span></td>
<td width="10"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td style="background:url(media/images/p5.png) repeat">
<a href="sanaltur/0/sanaltur.html"><img src="media/images/sanaltur.png" width="215" height="172" border="0" /></a>
</td>
<td width="10" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table><br />&nbsp;&nbsp;<table width="410" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="865" style="background:url(media/images/p2.png) repeat-x" class="bordo"><span class="emex">BOYRAZ SPA</span></td>
<td width="10"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" height="173" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td valign="top" style="background:url(media/images/p5.png) repeat"><a href="/emex/dosyalar/BoyrazSpaKatalog.pdf"><img src="media/images/boyrazspa.png" width="460" height="172" /></a></td>
<td width="10" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table></td>
<td width="44%" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:5px">
<tr>
<td><table width="197" border="0" cellpadding="0" cellspacing="0" style="margin-top:5px">
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="224" style="background:url(media/images/p2.png) repeat-x; font-size: 14px;" class="bordo"><span class="emex">ONLİNE REZERVASYON</span></td>
<td width="10"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" height="173" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td valign="top" style="background:url(media/images/p5.png) repeat"><?php include('rez_slider.php')?></td>
<td width="10" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table></td>
<td>&nbsp;</td>
<td><table width="197" border="0" cellpadding="0" cellspacing="0" style="margin-top:5px">
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="175" style="background:url(media/images/p2.png) repeat-x" class="bordo"><span class="emex">BANKET</span></td>
<td width="12"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" height="173" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td valign="top" style="background:url(media/images/p5.png) repeat"><ul>
<li class="list_li2"><a href="banket/12/dugun.html">Düğün</a></li>
<li class="list_li2"><a href="banket/12/dugun.html">Kokteyl ve</a></li>
<li class="list_li2"><a href="banket/12/dugun.html"> Özel Davetler</a></li>
<li class="list_li2"><a href="banket/14/toplanti.html">Eğitim </a></li>
<li class="list_li2"><a href="banket/15/resepsiyon.html">Toplantı ve</a> <a href="banket/15/resepsiyon.html">Kongre</a></li>
<li class="list_li2"><a href="banket/15/resepsiyon.html">Organizasyonları</a></li>
</ul></td>
<td width="12" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table></td>
</tr>
</table>&nbsp;&nbsp;<table width="417" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="865" style="background:url(media/images/p2.png) repeat-x" class="bordo"><span class="emex">DİĞER HİZMETLERİMİZ</span></td>
<td width="10"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" height="173" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td valign="top" style="background:url(media/images/p5.png) repeat"><?php include('diger_hizmet.php')?></td>
<td width="10" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table></td>
</tr>
</table>
</div>
<div style="width:885px;" class="bodbg_bottom"></div>
</div>
<div style="width:885px;" class="bodbg_bottom"></div>


<?php
$pagemaincontent = ob_get_contents();
ob_end_clean();
$pagetitle =FIRMA_ADI;
include("master.php");
?>[/codebox] Edited by esaka
Link to comment
Share on other sites

[codebox]
<?php include('cgi_bin/config.php'); ob_start();?>
<div style="width:915px; padding-left:10px; height:100%;min-height: 100%; ">
<div style="width:885px;height:100%;min-height: 100%;">
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="450" valign="top">
<?php
$hsql=mysql_query("select * from haberler order by id asc limit 1");
while($hrow=mysql_fetch_object($hsql)){
$haber_baslik=$hrow->konu;
$haber_detay=$hrow->kisa_haber;
$rsql=mysql_query("select * from haber_resim where kid='".$hrow->kod."'");
$rrow=mysql_fetch_object($rsql);
?>
<table width="225" border="0" cellspacing="0" cellpadding="0" style="float:left; margin-right:5px; margin-top:5px">
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="500" style="background:url(media/images/p2.png) repeat-x; font-size:15px; color:#552B00"><span class="emex">ETKİNLİK VE DUYURULAR</span></td>
<td width="10"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td style="background:url(media/images/p5.png) repeat"><div class="img" ><img src="<?php echo Adres?>media/oriaupload/upload_pic/thumbnail_<?php echo $rrow->resim?>" width="218" height="87" /></div>
<div class="text" style="height:65px; font-family:Tahoma, Geneva, sans-serif; font-size:13px"> <?php echo $haber_detay?></div>
<div style="width:96%; text-align:right"> <a href="haberler/<?php echo $hrow->id?>/<?php echo seola($hrow->konu)?>.html" class="haber_btn"><img src="media/images/haber_detay_btn.png" width="73" height="21" border="0" /></a></div></td>
<td width="10" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table>
<?php } ?>
<table width="225" border="0" cellspacing="0" cellpadding="0" style="float:left; margin-right:5px; margin-top:5px">
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="500" style="background:url(media/images/p2.png) repeat-x; font-size:15px; color:#552B00"><span class="emex">EMEX SANAL TUR</span></td>
<td width="10"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td style="background:url(media/images/p5.png) repeat">
<a href="sanaltur/0/sanaltur.html"><img src="media/images/sanaltur.png" width="215" height="172" border="0" /></a>
</td>
<td width="10" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table><br />&nbsp;&nbsp;<table width="410" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="865" style="background:url(media/images/p2.png) repeat-x" class="bordo"><span class="emex">BOYRAZ SPA</span></td>
<td width="10"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" height="173" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td valign="top" style="background:url(media/images/p5.png) repeat"><a href="/emex/dosyalar/BoyrazSpaKatalog.pdf"><img src="media/images/boyrazspa.png" width="460" height="172" /></a></td>
<td width="10" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table></td>
<td width="44%" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:5px">
<tr>
<td><table width="197" border="0" cellpadding="0" cellspacing="0" style="margin-top:5px">
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="224" style="background:url(media/images/p2.png) repeat-x; font-size: 14px;" class="bordo"><span class="emex">ONLİNE REZERVASYON</span></td>
<td width="10"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" height="173" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td valign="top" style="background:url(media/images/p5.png) repeat"><?php include('rez_slider.php')?></td>
<td width="10" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table></td>
<td>&nbsp;</td>
<td><table width="197" border="0" cellpadding="0" cellspacing="0" style="margin-top:5px">
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="175" style="background:url(media/images/p2.png) repeat-x" class="bordo"><span class="emex">BANKET</span></td>
<td width="12"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" height="173" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td valign="top" style="background:url(media/images/p5.png) repeat"><ul>
<li class="list_li2"><a href="banket/12/dugun.html">Düğün</a></li>
<li class="list_li2"><a href="banket/12/dugun.html">Kokteyl ve</a></li>
<li class="list_li2"><a href="banket/12/dugun.html"> Özel Davetler</a></li>
<li class="list_li2"><a href="banket/14/toplanti.html">Eğitim </a></li>
<li class="list_li2"><a href="banket/15/resepsiyon.html">Toplantı ve</a> <a href="banket/15/resepsiyon.html">Kongre</a></li>
<li class="list_li2"><a href="banket/15/resepsiyon.html">Organizasyonları</a></li>
</ul></td>
<td width="12" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table></td>
</tr>
</table>&nbsp;&nbsp;<table width="417" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:-2px">
<tr>
<td width="10"><img src="media/images/P1.png" width="10" height="35" /></td>
<td width="865" style="background:url(media/images/p2.png) repeat-x" class="bordo"><span class="emex">DİĞER HİZMETLERİMİZ</span></td>
<td width="10"><img src="media/images/p3.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10" height="173" style="background:url(media/images/p4.png) repeat-y"><img src="media/images/p4.png" width="10" height="35" /></td>
<td valign="top" style="background:url(media/images/p5.png) repeat"><?php include('diger_hizmet.php')?></td>
<td width="10" style="background:url(media/images/p6.png) repeat-y"><img src="media/images/p6.png" width="10" height="35" /></td>
</tr>
<tr>
<td width="10"><img src="media/images/p7.png" width="10" height="9" /></td>
<td style="background:url(media/images/p8.png) repeat-x"><img src="media/images/p8.png" width="10" height="9" /></td>
<td><img src="media/images/p9.png" width="10" height="9" /></td>
</tr>
</table></td>
</tr>
</table>
</div>
<div style="width:885px;" class="bodbg_bottom"></div>
</div>
<div style="width:885px;" class="bodbg_bottom"></div>


<?php
$pagemaincontent = ob_get_contents();
ob_end_clean();
$pagetitle =FIRMA_ADI;
include("master.php");
?>
[/codebox]

Link to comment
Share on other sites

[quote name='saydax' date='02 February 2012 - 00:31 ' timestamp='1328142675' post='1149532']
Burdan kodlara bakınca pek anlaşılmıyor isteren bir pm ne bak yardımcı olayım sana.
[/quote]
allah razı olsun hemen bakıyorum

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...