�����������֡��
A little text to describe your forum 
¤ÍÁ¾ÔÇàµÍÃìÈÖ¡ÉÒ  
 ÊÁѤÃÊÁÒªÔ¡(Register)��Ѥ���Ҫԡ(Register) 
 ªèÇÂàËÅ×Í���������   ¤é¹ËÒ����   ÃÒª×èÍÊÁҪԡ��ª�����Ҫԡ   ¡ÅØèÁ¼Ùéãªé���������� 
 ¢éÍÁÙÅÊèǹµÑÇ(Profile)��������ǹ���(Profile)   à¢éÒÊÙèÃкºà¾×èÍàªç¤¢éͤÇÒÁÊèǹµÑÇ�������к������礢�ͤ�����ǹ���   à¢éÒÊÙèÃкº(Log in)�������к�(Log in) 
���ҧ block ���ᵡ��ҧ

 
ÊÃéÒ§ËÑÇ¢éÍãËÁè   µÍº    ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ö¡ï¿½ï¿½ -> Phpnuke
��ҹ��Ǣ�͡�͹˹�� :: ��ҹ��Ǣ�ͶѴ�  
����� ��ͤ���
ryuozero
Site Admin


�������: 13 Jul 2005
�ͺ: 1145

µÍºï¿½Íºï¿½ï¿½ï¿½ï¿½ï¿½: Thu Jun 12, 2008 4:48 pm    ï¿½ï¿½ï¿½ï¿½Í§: ���ҧ block ���ᵡ��ҧ µÍºâ´ÂÍéÒ§¢éͤÇÒÁ

http://www.thainuke.org/modules.php?name=Forums&file=viewtopic&t=22001

�ջ���ª���ҡ�͹���������͹Ф�Ѻ
from:K.superwan thainuke.org
Ẻ���2

��ҧ�ԧ�ҡ:


�׺���ͧ�ҡ���֡�� nuke ������˹�� ����龺���������ҡ��¨ҡ�������
�֧�Ӣ�͹حҵ�Ӥ����������ҹ�� ��������繺������������ʹ����Һ�Ф�Ѻ

��÷Ӻ��͡���ᵡ��ҧ
�ôԵ��������֡������ http://www.cazdesign.com/forums

��÷Ӻ��͡����/���
��鹵͹��� 1
���ҧ��� html (��Сͺ������ html ������ٻ�Ҿ)
�ºѹ�֡����� html ������ͧ�纸��
�� block-clock.html
����ٻ�Ҿ��Сͺ��������ͧ themes/���͸��/images/������ͧ���ٻ���͡���
�� themes/iCGstation/images/clock

������ҧ block-clock.html


��鹵͹��� 2
������ theme.php ���ͧ���

�Դ����������͹


��:
/*
function themesidebox($title, $content) {
$tmpl_file = "themes/iCGstation/blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
*/


�����
��:
function themesidebox($title, $content) {
if($title =="����Ѻ�������к�"){
$tmpl_file = "themes/iCGstation/block-admin.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
else if($title =="����Ѻ��Ҫԡ"){
$tmpl_file = "themes/iCGstation/block-login.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
else if($title =="clock.jpg"){
$tmpl_file = "themes/iCGstation/block-clock.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
else{ // �óչ͡�˹�ͨҡ��ҧ�� ���� blocks.html ������
$tmpl_file = "themes/iCGstation/blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
}


�·�� $title == "���ͺ��͡������ admin"

������ҧ block-clock



��÷Ӻ��͡�ç��ҧ���ᵡ��ҧ
��鹵͹��� 1
���ҧ��� html (��Сͺ������ html ������ٻ�Ҿ)
�ºѹ�֡����� html ������ͧ�纸��
�� block-shutbox.html
����ٻ�Ҿ��Сͺ��������ͧ images/������ͧ���ٻ���͡���
������ҧ block-shutbox.html

��鹵͹��� 2
������ theme.php ���ͧ���

�����ѧ��ѹ��� ��͹ ?>

��:
function themecenterbox($title, $content) {
if($title == "Snowtoo Forums"){
$tmpl_file = \"themes/iCGstation/music.html\";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
else if($title == "�ҡ��ͤ���" ){
$tmpl_file = "themes/iCGstation/block-shutbox.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
else if($title == "Forums" ){
$tmpl_file = "themes/iCGstation/music.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
else if($title == "��������ǡѺ����֡�ҵ��" ){
$tmpl_file = "themes/iCGstation/music.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
else if($title == "Sirirat-Forums" ){
$tmpl_file = "themes/iCGstation/music.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
else{
OpenTable();
echo "<center><font class=\"option\"><b>$title</b></font></center><br>".$content;
CloseTable();
echo "<br>";
}
}



������ҧ block-shutbox


�ٻ�Ҿ��Сͺ : http://www.krusombat.com



Code:
���ǹ�ͧ���͡�ʴ�����/������ ˹���á �����������Ѻ ��� story_home.html
�¨��յ���� $title , $content , $posted ������ҵ�������ͺ���
��ǹ $morelink ��任�Ѻ������ News ��� ryuozero.html ��Ѻ


�������ش�� ryuozero ����� Tue Dec 01, 2009 8:58 am, ������ 3 ����
���仢�ҧ��
´Ù¢éÍÁÙÅÊèǹµÑÇ Ê觢éͤÇÒÁÊèǹµÑÇ Êè§ Email
ryuozero
Site Admin


�������: 13 Jul 2005
�ͺ: 1145

µÍºï¿½Íºï¿½ï¿½ï¿½ï¿½ï¿½: Thu Jun 12, 2008 4:49 pm    ï¿½ï¿½ï¿½ï¿½Í§: µÍºâ´ÂÍéÒ§¢éͤÇÒÁ

Code:
�ա�Ըդ�Ѻ�ͧ�س niceword
1. ������ٻ�Ҿ�˹�ͺ��͡
2. ������ block.html 㹸������ͧ��÷ӵ���괢�ҧ��ҧ��Ѻ
3. ����¹��ͤ���㹺��͡ (�͹�������͡� admin)

niceword �ѹ�֡:
�ա�Ըչ֧���...

���ա�Ըչ� ���ͧ�����������Ф�Ѻ �����㹸���س������������ blocks.html ���Ф�Ѻ
���س Edit ���� ����᷹����괷��������� blocks.html �����괴ѧ���仹��
��:
<table width="165"  border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td><img src="blocksimg/$title"></td>
  </tr>
    <tr>
    <td>$content</td>
  </tr>
</table>
 

�ҡ������س����ҧ�������������� blocksimg ��������ǡѺ��� PHP-Nuke �س�����Ѻ���Ǩҡ��鹵�ͧ���������ö㹡���͡Ẻ�������
��������� Photoshop ��Ѻ�͡Ẻ��Ǻ��ͤ����ͧ��÷��й���᷹����ѡ������ѹ
�� ��ͧ��������ͤ User Info ����¹���ٻ���

 

�����س���ҧ�ٻ����������������Ӥѭ�����ٻ����ʹ���ͧ�Ѻ��Ǣ�ʹ��¹�
���͡�èӷ����¡�������������� blocksimg ���س���ҧ������������ �����صԼ��ѹ�֡�ٻ�繪��� user.jpg ���Ф�Ѻ

�ҡ���价�� ���٢ͧ���Ǻ����к� --> ���� ���Ǥس������͡��䢺��ͤ User Info ��Ѻ
���ѧࡵ����ҵç������������������·���ʴ��ź���Ǻ��ͤ�Ф�Ѻ ���س��������й��ʡ�Ţͧ�ٻ������ҧ��᷹

 

���ǡ�������ҧ����

�ҡ��鹤س仴١����ѧ����Ѻ
 

���բ�������Ҥس��ͧ���ٻ����Ѻ���ͤ�س�ء���ͤ��Ѻ����ͧ�������ʴ���
����괺��ͤ���������ѡ�������繵�����ҧ�괵��ҧ HTML ������Ѻ
����������ҹ�鹤س����ö�ӹ��Ƿҧ���仴Ѵ�ŧ�������纤س���Ѻ
 
���仢�ҧ��
´Ù¢éÍÁÙÅÊèǹµÑÇ Ê觢éͤÇÒÁÊèǹµÑÇ Êè§ Email
ryuozero
Site Admin


�������: 13 Jul 2005
�ͺ: 1145

µÍºï¿½Íºï¿½ï¿½ï¿½ï¿½ï¿½: Thu Jun 12, 2008 4:49 pm    ï¿½ï¿½ï¿½ï¿½Í§: µÍºâ´ÂÍéÒ§¢éͤÇÒÁ

Code:
���Ҥ���� function themecenterbox($title, $content) ���� theme.php ���ͧ��� ���ͨлԴ����� ������ѹ����դ���觹�����

 

�������ա����� �������ͧ theme.php ��¤�Ѻ
��ѧ��� function themesidebox($title, $content) ��¡���
���ͧ������͹ ?> �Ф�Ѻ

��:
function themecenterbox($title, $content) {
   if($title == "Snowtoo Forums"){
        $tmpl_file = "themes/iCGstation/music.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
   else if($title == "�ҡ��ͤ���" ){
        $tmpl_file = "themes/iCGstation/block-shutbox.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
   else if($title == "Forums" ){
        $tmpl_file = "themes/iCGstation/music.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
   else if($title == "��������ǡѺ����֡�ҵ��" ){
        $tmpl_file = "themes/iCGstation/music.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
   else if($title == "Sirirat-Forums" ){
        $tmpl_file = "themes/iCGstation/music.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
   else{
   OpenTable();
   echo "<center><font class=\"option\"><b>$title</b></font></center><br>".$content;
   CloseTable();
   echo "<br>";
   }
  }


����ҡ�����������͡�ç��ҧ ������ code ���
��:
else if($title == "���ͷ����ҵ�� block � admin" ){
        $tmpl_file = "themes/���͸���������/�����͡������ҧ�ͧ.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
 


��͹

��:
 else{
   OpenTable();
   echo "<center><font class=\"option\"><b>$title</b></font></center><br>".$content;
   CloseTable();
   echo "<br>";
   } 



���������������������͹��¹��˹��¹Ф�Ѻ
���仢�ҧ��
´Ù¢éÍÁÙÅÊèǹµÑÇ Ê觢éͤÇÒÁÊèǹµÑÇ Êè§ Email
ryuozero
Site Admin


�������: 13 Jul 2005
�ͺ: 1145

µÍºï¿½Íºï¿½ï¿½ï¿½ï¿½ï¿½: Thu Jun 12, 2008 4:50 pm    ï¿½ï¿½ï¿½ï¿½Í§: µÍºâ´ÂÍéÒ§¢éͤÇÒÁ

Code:
����Ѻ���͡�ç��ҧ ��ͧ��� code ��ҧ��ҧ�������
���ͧ��Ѻ nuke 7.9 ���������������

��÷Ӻ��͡�ç��ҧ���ᵡ��ҧ
��鹵͹��� 1
���ҧ��� html (��Сͺ������ html ������ٻ�Ҿ)
�ºѹ�֡����� html ������ͧ�纸�� �ѧ������ҧ�ٻ folder ��ҧ��
�� block-shutbox.html
����ٻ�Ҿ��Сͺ��������ͧ images/������ͧ���ٻ���͡���
������ҧ block-shutbox.html

��鹵͹��� 2
������ theme.php ���ͧ��� themes\���͸��

�����ѧ��ѹ��� ��͹ ?> ���ͧ�ҡ����տѧ��ѹ������� theme.php
��������ǡѹ �е�ͧ����Ǣ�� ������㹺��͡ �繵������㹡�����ҧ���͡���

��:
function themecenterbox($title, $content) {
   if($title == "Snowtoo Forums"){
        $tmpl_file = "themes/iCGstation/music.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
   else if($title == "�ҡ��ͤ���" ){
        $tmpl_file = "themes/iCGstation/block-shutbox.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
   else if($title == "Forums" ){
        $tmpl_file = "themes/iCGstation/music.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
   else if($title == "��������ǡѺ����֡�ҵ��" ){
        $tmpl_file = "themes/iCGstation/music.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
   else if($title == "Sirirat-Forums" ){
        $tmpl_file = "themes/iCGstation/music.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        }
......
copy code ��ҧ���� ��ҵ�ͧ����������͡�ç��ҧ
������¹ else if($title == "���ͷ����㹺��͡ ������� admin" ){
$tmpl_file = "themes/���͸��/�����͡�����������ҧ���.html";

���ѹ�˹�����ҡ�Ѵ�͡
�ҡ else if($title == "Sirirat-Forums" ){ ...................... print $r_file;      }
......
   else{
   OpenTable();
   echo "<center><font class=\"option\"><b>$title</b></font></center><br>".$content;
   CloseTable();
   echo "<br>";
   }
  }



������ҧ block-shutbox
 

�ٻ�Ҿ��Сͺ : http://www.krusombat.com


�Ӿٴ:
���ǹ�ͧ���͡�ʴ�����/������ ˹���á �����������Ѻ ��� story_home.html
�¨��յ���� $title , $content , $posted ������ҵ�������ͺ���
��ǹ $morelink ��任�Ѻ������ News ��� ryuozero.html ��Ѻ
���仢�ҧ��
´Ù¢éÍÁÙÅÊèǹµÑÇ Ê觢éͤÇÒÁÊèǹµÑÇ Êè§ Email
���§�ӴѺ��ͤ����ͺ�ҡ��͹˹��:   
ÊÃéÒ§ËÑÇ¢éÍãËÁè   µÍº    ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ö¡ï¿½ï¿½ -> Phpnuke ��Ѻ���� GMT
˹�� 1 �ҡ 1

 
价��:  
�س�������ö���ҧ��Ǣ������
�س�������ö�����ͺ
�س�������ö��䢢�ͤ����ͧ�س
�س�������öź��ͤ����ͧ�س
�س�������öŧ��ṹ


Powered by phpBB © 2001 phpBB Group
-- Template created by dav.bo=> PurpleStylus --


For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!