Gönderen Konu: sayfa altı toplist  (Okunma sayısı 2900 defa)

0 Üye ve 2 Ziyaretçi konuyu incelemekte.

Çevrimdışı burajan

  • Web Programcısı
  • Administrator
  • *
  • İleti: 5109
  • Puan: 334
  • Cinsiyet: Bay
  • Web Programcısı
    • Burak ŞİMŞEK - Kişisel İnternet Sitesi
-sayfa altı toplist
« Yanıtla #10 : Haziran 17, 2008, 16:23:02 ÖS »
Temanın kaynak kodlarının yerleşimi düzgün olmazsa böyle sorunlar oluşabilir. İstersen temanın kaynak kodlarını buraya yaz ben kod olarak bir fikir vereyim.
Konuyu Paylaş:
  delicious  facebook  twitter  google
Kişisel İnternet Sitem => buraksimsek.com.tr - http://www.buraksimsek.com.tr

Lütfen özel mesaj ile destek istemeyiniz. Önce forumda arama yapınız daha sonra forumda ilgili bölüme konu açınız.

Çevrimdışı jarni

  • Moderatör
  • *
  • İleti: 864
  • Puan: 122
  • Cinsiyet: Bay
  • Trash Metal
-sayfa altı toplist
« Yanıtla #11 : Haziran 17, 2008, 19:11:09 ÖS »
Kaynak kodları derken hangi dosyayı yazmamı istersn ona gore yazarım.

Çevrimdışı burajan

  • Web Programcısı
  • Administrator
  • *
  • İleti: 5109
  • Puan: 334
  • Cinsiyet: Bay
  • Web Programcısı
    • Burak ŞİMŞEK - Kişisel İnternet Sitesi
-sayfa altı toplist
« Yanıtla #12 : Haziran 17, 2008, 20:17:42 ÖS »
mkportal/templates/temaadı/tpl_main.php dosyasının kodlarını yazarsan bi inceleyeyim.

Birde sayfa altına eklerken site üzerinden yapıyorsun eklemeyi değil mi?
Kişisel İnternet Sitem => buraksimsek.com.tr - http://www.buraksimsek.com.tr

Lütfen özel mesaj ile destek istemeyiniz. Önce forumda arama yapınız daha sonra forumda ilgili bölüme konu açınız.

Çevrimdışı jarni

  • Moderatör
  • *
  • İleti: 864
  • Puan: 122
  • Cinsiyet: Bay
  • Trash Metal
-sayfa altı toplist
« Yanıtla #13 : Haziran 18, 2008, 08:40:18 ÖÖ »

Evet Site Üzerinden yapıyorum kodlarla oynamıyorum ftpdeki kod bu.


Kod: [Seç]
<?
/*
+--------------------------------------------------------------------------
|   MkPortal "default" Portal Template
|   ========================================
|   by Meo aka Luponero <Amedeo de longis>
|      visiblesoul <Don K. Colburn>
|   (c) 2004-2005 mkportal.it
|   http://www.mkportal.it
|   Email: luponero@mclink.it
|
+---------------------------------------------------------------------------
|
|   > MKPortal
|   > Written By Amedeo de longis
|   > Date started: 9.2.2004
|
+--------------------------------------------------------------------------
*/

class tpl_main {

function view_header($title, $css, $js, $pmk_js, $board_header) {
global $mklib, $mklib_board;
//$css = $mklib_board->import_css();
return <<<EOF

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="tr" lang="tr">

<!-- begin document head -->

<head>
  <meta http-equiv="content-type" content="text/html; charset={$mklib->charset}" />
  <meta name="generator" content="PortalForum" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta content="no-cache" http-equiv="no-cache" />
  <meta http-equiv="Cache-Control" content="no-cache" />
  {$title}
  {$css}
  {$board_header}
  <script type="text/javascript" src="{$js}"></script>
   {$pmk_js}
</head>

<body onload="javascript:GetPos()">

<!-- end document head -->

EOF;
}

function open_main($mainwidth) {
global $mklib;
return <<<EOF

<!-- begin open main table -->

<div id="mkwrapper" align="center" style="width: 900px;">
<table class="tabmain" width="100%" align="center" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td width="40" class="tdmenblock" style="background-image: url('$mklib->images/left.gif')" align="center">
    <td width="820" align="center">

      <table border="0" width="100%" cellpadding="0" cellspacing="0">

<!-- end open main table -->

EOF;
}

function view_logo() {
global $mklib;
return <<<EOF

<!-- begin logostrip -->
 
    <tr>
  <td colspan="2" height="23" style="background-image: url('$mklib->images/sf.gif')" width="100%">
          </td>
</tr>
<tr>
  <td id="mklogostrip" style="background-image: url('$mklib->images/sf_logo.gif')" width="99%">
          <a href="$mklib->siteurl/index.php"><img src="$mklib->images/logo.gif" border="0" alt="" /></a>
          </td>
  <td id="mklogostrip" style="background-image: url('$mklib->images/sf_logo.gif')" width="1%">
  <img src="$mklib->images/sf_logo2.png" border="0" alt="" />
          </td>
</tr>

<!-- end logostrip -->

EOF;
}

function view_linkbar($row_link) {
global $mklib, $mkportals;
return <<<EOF

<!-- begin linkbar -->

<tr>
  <td colspan="2">
    <table width="100%" align="center" cellspacing="0" cellpadding="2" border="0" >
      <tr>
<td class="navigatore" style="padding: 4px; background-image: url('$mklib->images/sf.gif')">  
  <center>$row_link</center>  
</td>
      </tr>
    </table>
  </td>
</tr>

<!-- end linkbar -->

EOF;
}

function view_urlo($urlo1, $urlo2) {
global $mklib;
return <<<EOF

<!-- begin shoutbox -->

<tr align="left">
  <td  colspan="2">  
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
      <tr>
<td height="25" width="1%" nowrap="nowrap"><img src="$mklib->images/u_l.gif" border="0" alt="" />
</td>
<td class="urlo" height="25" style="background-image: url('$mklib->images/u_c.gif')" width="99%" valign="bottom" nowrap="nowrap">
<center>{$mklib->lang['urlolast']} - $urlo1 </center>
</td>
<td height="25" width="1%" nowrap="nowrap"><img src="$mklib->images/u_r.gif" border="0" alt="" />
</td>
      </tr>
      <tr>
<td class="urlo2" colspan="2"><center>$urlo2</center>
</td>
      </tr>
    </table>         
  </td>
</tr>

<!-- end shoutbox -->

EOF;
}

function view_separator_h() {
global $mklib;
return <<<EOF

<!-- begin horizontal spacer -->

<!-- separatore orizzontale
<tr align="center">
  <td class="trattini"><img src="$mklib->images/punto_or.gif" width="1" height="1" alt="" />
  </td>
</tr> -->

<!-- end horizontal spacer -->

EOF;
}

function open_body() {
global $mklib;
return <<<EOF

<!-- begin open portal body -->

<tr align="center">
  <td colspan="2" width="100%">
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>

<!-- end open portal body -->
     
EOF;
}

function view_column_left($blocks) {
global $mklib;

return <<<EOF

<!-- begin left column -->

<td id="menusx" valign="top" align="left">
<div id="menucontents" style="$mklib->menucontents">
<div style="text-align:right;"><a href="javascript:ColumnClose('menusx');MemoPos('MKmenusx', '1');"><img src="$mklib->images/f2.gif" border="0" alt="" /></a>&nbsp;</div>
  <table cellpadding="0" cellspacing="2" border="0" style="width: {$mklib->columnwidth}px;">
  {$blocks}
  </table>
</div>
<div id="menucloseds" style="$mklib->menucloseds">
<div style="text-align:right;"><a href="javascript:ColumnOpen('menusx');MemoPos('MKmenusx', '0');"><img src="$mklib->images/f1.gif" border="0"  alt="" /></a></div>
</div>
</td>

<!-- end left column -->

EOF;
}


function view_separator_v() {
global $mklib;
return <<<EOF

<!-- begin column spacer -->



<!-- end column spacer -->

EOF;
}

function view_column_center($blocks) {
global $mklib;
return <<<EOF

<!-- begin center column -->

<td valign="top" align="left" width="100%">
  <table cellpadding="0" cellspacing="3" border="0" width="100%">
  {$blocks}
  </table>
</td>

<!-- end center column -->

EOF;
}

function view_column_right($blocks) {
global $mklib;
return <<<EOF

<!-- begin right column -->

<td id="menudx" valign="top" align="left">
<div id="menucontentr" style="$mklib->menucontentr">
<div style="text-align:left;">&nbsp;<a href="javascript:ColumnClose('menudx');MemoPos('MKmenudx', '1')"><img src="$mklib->images/f2.gif" border="0" alt="" /></a></div>
  <table cellpadding="0" cellspacing="2" border="0" style="width: {$mklib->columnwidth}px;">
  {$blocks}
  </table>
</div>
<div id="menuclosedr" style="$mklib->menuclosedr">
<div style="text-align:left;"><a href="javascript:ColumnOpen('menudx');MemoPos('MKmenudx', '0')"><img src="$mklib->images/f1.gif" border="0" alt="" /></a></div>
</div>
</td>

<!-- end right column -->

EOF;
}

function close_body() {
global $mklib;
return <<<EOF

<!-- begin close portal body -->

      </tr>
    </table>
  </td>
</tr>
<tr>
<tr>
     <td colspan="3" style="background-image: url('$mklib->images/blue.gif')" width="99%" valign="bottom" nowrap="nowrap"><center><img src="$mklib->images/copyright.gif" border="0" alt="" /></center>
     </td>
</tr>
<!-- end close portal body -->

EOF;
}

function close_main() {
global $mklib;
return <<<EOF

<!-- begin close main table -->

     

<!-- end close main table -->

EOF;
}


function view_footer($block) {
global $mklib;
return <<<EOF

<!-- begin footer -->
<!-- you can add your credits here  --><!-- end footer -->
   </table>
 <p align="center">{$block}</p>
    </td>
<td width="40" class="tdmenblock" style="background-image: url('$mklib->images/right.gif')" align="center">
  </tr>
</table>
</div>

</body>
</html>

<!-- end footer -->

EOF;
}

function view_block($title, $content) {
global $mklib;
return <<<EOF

<!-- begin block template -->

    <tr>
      <td valign="top">
<table border="0" width="100%" cellpadding="0" cellspacing="0">
  <tr>
    <td>
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
  <td class="tdmenblock" width="1%"><img src="$mklib->images/m_sx.gif" border="0" class="tdmenblock" alt="" />
  </td>
  <td class="sottotitolo" width="99%" style="background-image: url('$mklib->images/m_sf.gif')" valign="middle" nowrap="nowrap">{$title}
  </td>
  <td class="tdmenblock" width="1%"><img src="$mklib->images/m_dx.gif" border="0" class="tdmenblock" alt="" />
  </td>
</tr>
      </table>
    </td>
  </tr>
  <tr>
    <td class="tablemenu" width="100%">
      <table border="0" width="100%" cellpadding="1" cellspacing="1">
      {$content}
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
  <td class="tdmenblock" width="1%" align="right" valign="top"><img src="$mklib->images/m_sx2.gif" class="tdmenblock" alt="" />
  </td>
  <td class="tdmenblock" width="99%" style="background-image: url('$mklib->images/m_sf2.gif')"><img src="$mklib->images/m_sf2.gif" border="0" class="tdmenblock" alt="" />
  </td>
  <td class="tdmenblock" width="1%"><img src="$mklib->images/m_dx2.gif" class="tdmenblock" alt="" />
  </td>
</tr>
      </table>
    </td>
  </tr>
</table>
      </td>
    </tr>
    <tr>
      <td class="tdspacer">&nbsp;
      </td>
    </tr>

<!-- end block template -->    

EOF;
}

function row_link( $icon, $url, $text) {
global $mklib;
return <<<EOF

<!-- begin link template -->

&nbsp;<img src="$icon" border="0" style="vertical-align: middle;" alt="" />&nbsp;<a class="uno" $url>$text</a>

<!-- end link template -->

EOF;
}

function view_quote($content, $author) {
global $mklib;
return <<<EOF
<!-- begin mkportal quote -->
<table class="mkquotetable" style="margin-top: 5px; margin-bottom: 5px; width: auto;" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
  <td valign="bottom">
    <table border="0" cellpadding="0" cellspacing="0">      
      <tr>
<td valign="top" width="26"><img src="$mklib->images/quote/mkquote_balloon_l.gif" height="23" width="26" alt="" /></td>
<td style="background-image: url($mklib->images/quote/mkquote_balloon_bg.gif); background-position: center; padding-bottom: 3px;" valign="middle" nowrap="nowrap">
  <span class="mkquoteball"><b>{$mklib->lang['editor_quote']}</b> $author</span>
</td>
<td valign="top"><img src="$mklib->images/quote/mkquote_balloon_r.gif" height="23" width="26" alt="" /></td>
      </tr>      
    </table>
  </td>  
       
  <td align="right" valign="bottom" width="100%">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">      
      <tr>
<td width="100%">
  <table border="0" cellpadding="0" cellspacing="0" width="100%">    
    <tr>
      <td style="background-image: url($mklib->images/quote/mkquote_top_bg.gif);" valign="middle" width="100%"></td>
      <td align="left" valign="top"><img src="$mklib->images/quote/mkquote_top_r.gif" height="23" width="13" alt="" /></td>
    </tr>    
  </table>
</td>
      </tr>      
    </table>
  </td>
</tr>
      </table>

      <table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
  <td style="background-image: url($mklib->images/quote/mkquote_left_bg.gif);" width="13"></td>
  <td class="mkquotetext" bgcolor="#ffffff" valign="top" width="100%">
    <i>$content</i>
  </td>
  <td style="background-image: url($mklib->images/quote/mkquote_right_bg.gif);" width="13"></td>
</tr>
<tr>
  <td valign="bottom" height="9" width="13"><img src="$mklib->images/quote/mkquote_bot_l.gif" alt="" /></td>
  <td style="background-image: url($mklib->images/quote/mkquote_bot_bg.gif);" width="100%"></td>
  <td valign="bottom" height="9" width="13"><img src="$mklib->images/quote/mkquote_bot_r.gif" alt="" /></td>
</tr>
      </table>
    </td>
  </tr> 
</table>
<!-- end mkportal quote -->
EOF;
}

}

$Skin = new tpl_main;

?>

Çevrimdışı burajan

  • Web Programcısı
  • Administrator
  • *
  • İleti: 5109
  • Puan: 334
  • Cinsiyet: Bay
  • Web Programcısı
    • Burak ŞİMŞEK - Kişisel İnternet Sitesi
-sayfa altı toplist
« Yanıtla #14 : Haziran 18, 2008, 16:11:01 ÖS »
Verdiğin kodlardaki şu belirttiğim kodu:
Kod: [Seç]
<!-- begin footer -->
<!-- you can add your credits here  --><!-- end footer -->
   </table>
 <p align="center">{$block}</p>
    </td>
<td width="40" class="tdmenblock" style="background-image: url('$mklib->images/right.gif')" align="center">
  </tr>
</table>
</div>

</body>
</html>

<!-- end footer -->

Şu şekilde değiştirerek ve belirttiğim yere toplist kodlarını ekleyerek denermisin?
Kod: [Seç]
<!-- begin footer -->
<!-- you can add your credits here  --><!-- end footer -->
   </table>
 <p align="center">{$block}</p>
 <p align="center">..........Toplist kodları buraya..........</p>
    </td>
<td width="40" class="tdmenblock" style="background-image: url('$mklib->images/right.gif')" align="center">
  </tr>
</table>
</div>

</body>
</html>

<!-- end footer -->
Kişisel İnternet Sitem => buraksimsek.com.tr - http://www.buraksimsek.com.tr

Lütfen özel mesaj ile destek istemeyiniz. Önce forumda arama yapınız daha sonra forumda ilgili bölüme konu açınız.

Çevrimdışı jarni

  • Moderatör
  • *
  • İleti: 864
  • Puan: 122
  • Cinsiyet: Bay
  • Trash Metal
-sayfa altı toplist
« Yanıtla #15 : Haziran 19, 2008, 11:04:22 ÖÖ »
eyvallah oldu burak aşşağı geldi ancak ben her toplist eklemek itediğimde kodlarlamı oynamam gerekiyor yoksa portalKP den yapabilirmiyim artık?

Çevrimdışı burajan

  • Web Programcısı
  • Administrator
  • *
  • İleti: 5109
  • Puan: 334
  • Cinsiyet: Bay
  • Web Programcısı
    • Burak ŞİMŞEK - Kişisel İnternet Sitesi
-sayfa altı toplist
« Yanıtla #16 : Haziran 19, 2008, 16:48:59 ÖS »
Bu kodları büyük ihtimalle portalkp'den görebilirsin. Tam emin değilim ama büyük ihtimalle bu kodlar görünecektir ve dolayısıyla her istediğinde düzenleyebileceksin.
Kişisel İnternet Sitem => buraksimsek.com.tr - http://www.buraksimsek.com.tr

Lütfen özel mesaj ile destek istemeyiniz. Önce forumda arama yapınız daha sonra forumda ilgili bölüme konu açınız.

Çevrimdışı jarni

  • Moderatör
  • *
  • İleti: 864
  • Puan: 122
  • Cinsiyet: Bay
  • Trash Metal
-sayfa altı toplist
« Yanıtla #17 : Haziran 19, 2008, 21:44:46 ÖS »
Malesef PortalKpden olmadı yine üste cıkardı sadece verdiğin koda wekleyip tekrar ftp ye atmam gerekti olsun o sekilde de idare ederiz sorun degil tekrar sagol

 

Benzer Konular

  Konu / Başlatan Yanıt Son İleti
5 Yanıt
1440 Gösterim
Son İleti Ekim 17, 2008, 22:52:05 ÖS
Gönderen: isabey
5 Yanıt
4094 Gösterim
Son İleti Aralık 09, 2008, 23:22:40 ÖS
Gönderen: gencler
0 Yanıt
1429 Gösterim
Son İleti Temmuz 08, 2009, 10:47:47 ÖÖ
Gönderen: ßeraT
0 Yanıt
548 Gösterim
Son İleti Nisan 04, 2010, 19:43:31 ÖS
Gönderen: AdmiN
0 Yanıt
790 Gösterim
Son İleti Kasım 03, 2010, 11:45:18 ÖÖ
Gönderen: burajan