G

뭐라고해야하나 그냥고안해본 카페플긘 출력 방식이라고할까나요

· 2012-06-14 (목) 15:36:57 · 3030
<!DOCTYPE html>
<html>
<head>
<title><?$g4[title]?> - Cafe - <?=$cafe_title?></title>
</head>
<body>
<div id="wrap">
<div id="x1">
<div class="y1" style="display:<?=$x1_y1_display?>; width:<?=$x1_y1_width?>px; height:<?=$x1_y1_width?>px; float:left;"><? if($x1_y1_display == 'display')include_once("./x1_y1_page.php"); ?></div>
<div class="y2" style="display:<?=$x1_y2_display?>; width:<?=$x1_y2_width?>px; height:<?=$x1_y2_width?>px; float:left;"><? if($x1_y2_display == 'display')include_once("./x1_y2_page.php"); ?></div>
<div class="y3" style="display:<?=$x1_y3_display?>; width:<?=$x1_y3_width?>px; height:<?=$x1_y3_width?>px; float:left;"><? if($x1_y3_display == 'display')include_once("./x1_y3_page.php"); ?></div>
<div class="y4" style="display:<?=$x1_y4_display?>; width:<?=$x1_y4_width?>px; height:<?=$x1_y4_width?>px; float:left;"><? if($x1_y4_display == 'display')include_once("./x1_y4_page.php"); ?></div>
<div class="y5" style="display:<?=$x1_y5_display?>; width:<?=$x1_y5_width?>px; height:<?=$x1_y5_width?>px; float:left;"><? if($x1_y5_display == 'display')include_once("./x1_y5_page.php"); ?></div>
</div>
<div id="x2">
<div class="y1" style="display:<?=$x2_y1_display?>; width:<?=$x2_y1_width?>px; height:<?=$x2_y1_width?>px; float:left;"><? if($x2_y1_display == 'display')include_once("./x2_y1_page.php"); ?></div>
<div class="y2" style="display:<?=$x2_y2_display?>; width:<?=$x2_y2_width?>px; height:<?=$x2_y2_width?>px; float:left;"><? if($x2_y2_display == 'display')include_once("./x2_y2_page.php"); ?></div>
<div class="y3" style="display:<?=$x2_y3_display?>; width:<?=$x2_y3_width?>px; height:<?=$x2_y3_width?>px; float:left;"><? if($x2_y3_display == 'display')include_once("./x2_y3_page.php"); ?></div>
<div class="y4" style="display:<?=$x2_y4_display?>; width:<?=$x2_y4_width?>px; height:<?=$x2_y4_width?>px; float:left;"><? if($x2_y4_display == 'display')include_once("./x2_y4_page.php"); ?></div>
<div class="y5" style="display:<?=$x2_y5_display?>; width:<?=$x2_y5_width?>px; height:<?=$x2_y5_width?>px; float:left;"><? if($x2_y5_display == 'display')include_once("./x2_y5_page.php"); ?></div>
</div>
<div id="x3">
<div class="y1" style="display:<?=$x3_y1_display?>; width:<?=$x3_y1_width?>px; height:<?=$x3_y1_width?>px; float:left;"><? if($x3_y1_display == 'display')include_once("./x3_y1_page.php"); ?></div>
<div class="y2" style="display:<?=$x3_y2_display?>; width:<?=$x3_y2_width?>px; height:<?=$x3_y2_width?>px; float:left;"><? if($x3_y2_display == 'display')include_once("./x3_y2_page.php"); ?></div>
<div class="y3" style="display:<?=$x3_y3_display?>; width:<?=$x3_y3_width?>px; height:<?=$x3_y3_width?>px; float:left;"><? if($x3_y3_display == 'display')include_once("./x3_y3_page.php"); ?></div>
<div class="y4" style="display:<?=$x3_y4_display?>; width:<?=$x3_y4_width?>px; height:<?=$x3_y4_width?>px; float:left;"><? if($x3_y4_display == 'display')include_once("./x3_y4_page.php"); ?></div>
<div class="y5" style="display:<?=$x3_y5_display?>; width:<?=$x3_y5_width?>px; height:<?=$x3_y5_width?>px; float:left;"><? if($x3_y5_display == 'display')include_once("./x3_y5_page.php"); ?></div>
</div>
<div id="x4">
<div class="y1" style="display:<?=$x4_y1_display?>; width:<?=$x4_y1_width?>px; height:<?=$x4_y1_width?>px; float:left;"><? if($x4_y1_display == 'display')include_once("./x4_y1_page.php"); ?></div>
<div class="y2" style="display:<?=$x4_y2_display?>; width:<?=$x4_y2_width?>px; height:<?=$x4_y2_width?>px; float:left;"><? if($x4_y2_display == 'display')include_once("./x4_y2_page.php"); ?></div>
<div class="y3" style="display:<?=$x4_y3_display?>; width:<?=$x4_y3_width?>px; height:<?=$x4_y3_width?>px; float:left;"><? if($x4_y3_display == 'display')include_once("./x4_y3_page.php"); ?></div>
<div class="y4" style="display:<?=$x4_y4_display?>; width:<?=$x4_y4_width?>px; height:<?=$x4_y4_width?>px; float:left;"><? if($x4_y4_display == 'display')include_once("./x4_y4_page.php"); ?></div>
<div class="y5" style="display:<?=$x4_y5_display?>; width:<?=$x4_y5_width?>px; height:<?=$x4_y5_width?>px; float:left;"><? if($x4_y5_display == 'display')include_once("./x4_y5_page.php"); ?></div>
</div>
<div id="x5">
<div class="y1" style="display:<?=$x5_y1_display?>; width:<?=$x5_y1_width?>px; height:<?=$x5_y1_width?>px; float:left;"><? if($x5_y1_display == 'display')include_once("./x5_y1_page.php"); ?></div>
<div class="y2" style="display:<?=$x5_y2_display?>; width:<?=$x5_y2_width?>px; height:<?=$x5_y2_width?>px; float:left;"><? if($x5_y2_display == 'display')include_once("./x5_y2_page.php"); ?></div>
<div class="y3" style="display:<?=$x5_y3_display?>; width:<?=$x5_y3_width?>px; height:<?=$x5_y3_width?>px; float:left;"><? if($x5_y3_display == 'display')include_once("./x5_y3_page.php"); ?></div>
<div class="y4" style="display:<?=$x5_y4_display?>; width:<?=$x5_y4_width?>px; height:<?=$x5_y4_width?>px; float:left;"><? if($x5_y4_display == 'display')include_once("./x5_y4_page.php"); ?></div>
<div class="y5" style="display:<?=$x5_y5_display?>; width:<?=$x5_y5_width?>px; height:<?=$x5_y5_width?>px; float:left;"><? if($x5_y5_display == 'display')include_once("./x5_y5_page.php"); ?></div>
</div>
</div>
</body>
</html>

카페 플러그인들이 너무 정형적인거 같아서 약간의 변동성을 주면 좋지 않을까해서 고안해 봣습니당!!

진짜 개발 아무것도 안된 그냥 개발과제를 던진것처럼 투척하고갑니다.

어느분이 덥석 물어서 멋진플긘 만들어주시길 기대하고있겠습니다.

이상 허접이엿스빈다.
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4와 관련된 팁을 여러분들과 함께 공유하세요. 나누면 즐거움이 커집니다.

+
제목 글쓴이 날짜 조회
12-07-09 조회 1.6만
12-07-07 조회 5,152
12-07-06 조회 5,095
12-07-05 조회 5,098
12-07-04 조회 9,765
12-07-03 조회 6,271
12-07-01 조회 1만
12-06-28 조회 4,192
12-06-28 조회 4,537
12-06-27 조회 4,555
12-06-26 조회 7,625
12-06-21 조회 4,084
12-06-21 조회 8,901
12-06-20 조회 6,007
12-06-15 조회 5,148
12-06-14 조회 3,031
12-06-13 조회 9,980
12-06-10 조회 4,046
12-06-09 조회 6,493
12-06-08 조회 7,546