¹èÃߺô´õ·Î °£´ÜÇÑ Ä¿¹Â´ÏƼ ȨÆäÀÌÁö¸¦ ¸¸µé¾î¼ »ç¿ëÇÏ°í ÀÖ½À´Ï´Ù.
ȸ¿øµéÀÌ Á¢¼ÓÇßÀ» ¶§ º¼ ¼ö ÀÖµµ·Ï Æ˾÷âÀ» ¶ç¿ì°í ½ÍÀºµ¥, ¶óÀÌÆ® ¹öÀü¿¡¼´Â
Æ˾÷À» ¶ç¿ì´Â ¸Þ´º°¡ ¾ø´Â °Í °°½À´Ï´Ù. ¹èÃߺô´õ ¶óÀÌÆ®¿¡¼ Æ˾÷±â´ÉÀ» ¾µ ¼ö
ÀÖ´Â ¹æ¹ýÀÌ ÀÖ´Ù¸é ¾Ë·ÁÁÖ¼¼¿ä.
Æ˾÷Å×ÀÌºí »ý¼º
$sql = "create table mw_popup (
pp_id int not null auto_increment,
gr_id varchar(20) not null,
mb_id varchar(20) not null,
pp_start date not null,
pp_end date not null,
pp_use char(1) not null,
pp_left int not null,
pp_top int not null,
pp_width int not null,
pp_height int not null,
pp_type char(1) not null,
pp_time tinyint not null,
mb_level tinyint not null,
pp_subject varchar(255) not null,
pp_content text not null,
pp_datetime datetime not null,
primary key (pp_id),
index (mb_id),
index (pp_use, pp_start, pp_end)
);";
@mysql_query($sql);
°ü·Ã ÆÄÀÏ ¾÷·Îµå
adm/mw.builder/mw.popup.*.php
lib/mw.popup.lib.php ¾÷·Îµå
mw.config.php
config.php ÇÏ´Ü Ãß°¡
@include_once("$g4[path]/mw.config.php");
index.php »ó´Ü Ãß°¡
define("_MW_INDEX_", TRUE); // index ÆÄÀÏ
tail.php ÇÏ´Ü Ãß°¡
<?
// Æ˾÷â
if (_MW_INDEX_) echo mw_popup();
?>
°ü¸®ÀÚ ¸ðµå ¸Þ´º ¼³Á¤(adm Æú´õ¿¡ ¹Ù·Î Æ˾÷ÆÄÀÏ ¾÷·Îµå½Ã °æ·Î ¼öÁ¤)