This commit is contained in:
Amberstone 2024-09-25 01:23:46 +09:00
parent af501b05ea
commit 027d6313d8
Signed by: amber
GPG key ID: 094B0E55F98D8BF1
3 changed files with 52 additions and 43 deletions

View file

@ -1,6 +1,13 @@
<?php <?php
if (!defined('_GNUBOARD_')) if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가 exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="' . $content_skin_url . '/style.css">', 0); add_stylesheet('<link rel="stylesheet" href="' . $content_skin_url . '/style.css">', 0);
include_once G5_PATH . "/head.sub.php";
include_once G5_PATH . "/head.php";
echo $str; echo $str;
include_once G5_PATH . "/tail.php";
include_once G5_PATH . "/tail.sub.php";

View file

@ -8,8 +8,6 @@ if ($w == 'u')
$g5['title'] = $delete_str . "글 수정"; $g5['title'] = $delete_str . "글 수정";
else if ($w == 'd' || $w == 'x') else if ($w == 'd' || $w == 'x')
$g5['title'] = $delete_str . "글 삭제"; $g5['title'] = $delete_str . "글 삭제";
else
$g5['title'] = $g5['title'];
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0); add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);

View file

@ -32,10 +32,10 @@ $f_img_out = $box_f_img['cs_etc_3'] != "" ? $box_f_img['cs_etc_3'] : 0;
<style> <style>
<?php <?php
/************************************************** /**************************************************
Design Setting Design Setting
-------------------------------- --------------------------------
#design_frameBox:before 이미지 테두리 프레임 #design_frameBox:before 이미지 테두리 프레임
#design_frameBox:after 일반 테두리 프레임 #design_frameBox:after 일반 테두리 프레임
**************************************************/ **************************************************/
?> @media all and (min-width:1025px) { ?> @media all and (min-width:1025px) {
html.single #header { html.single #header {
@ -124,48 +124,52 @@ $f_img_out = $box_f_img['cs_etc_3'] != "" ? $box_f_img['cs_etc_3'] : 0;
<?php <?php
echo "border:{$f_img_sli}px solid;"; echo "border:{$f_img_sli}px solid;";
echo "border-image:url({$f_img_url}) {$f_img_sli} / {$f_img_sli}px / {$f_img_out}px {$f_img_rep};"; echo "border-image:url({$f_img_url}) {$f_img_sli} / {$f_img_sli}px / {$f_img_out}px {$f_img_rep};";
?>} ?>
#design_frameBox:after }
{border:none !important;}
#design_frameBox:after {
border: none !important;
}
<?php } ?> <?php } ?>
#design_frameBox:after {<?php
if ($box_f_line['cs_value']) #design_frameBox:after {
echo "border-color:" . hex2rgba($box_f_line['cs_value'], $box_f_line['cs_etc_1']) . "; "; <?php
$box_f_line['border'] = explode("||", $box_f_line['cs_etc_4']); if ($box_f_line['cs_value'])
for ($i = 0; $i < count($box_f_line['border']); $i++) { echo "border-color:" . hex2rgba($box_f_line['cs_value'], $box_f_line['cs_etc_1']) . "; ";
if ($box_f_line['border'][$i]) { $box_f_line['border'] = explode("||", $box_f_line['cs_etc_4']);
if ($box_f_line['cs_etc_2']) for ($i = 0; $i < count($box_f_line['border']); $i++) {
echo "border-{$box_f_line['border'][$i]}-style:{$box_f_line['cs_etc_2']}; "; if ($box_f_line['border'][$i]) {
if ($box_f_line['cs_etc_3']) if ($box_f_line['cs_etc_2'])
echo "border-{$box_f_line['border'][$i]}-width:{$box_f_line['cs_etc_3']}px; "; echo "border-{$box_f_line['border'][$i]}-style:{$box_f_line['cs_etc_2']}; ";
if ($box_f_line['cs_etc_3'])
echo "border-{$box_f_line['border'][$i]}-width:{$box_f_line['cs_etc_3']}px; ";
}
} }
} if ($box_f_line['cs_etc_5'])
if ($box_f_line['cs_etc_5']) echo "border-top-left-radius:{$box_f_line['cs_etc_5']}px; ";
echo "border-top-left-radius:{$box_f_line['cs_etc_5']}px; "; if ($box_f_line['cs_etc_6'])
if ($box_f_line['cs_etc_6']) echo "border-top-right-radius:{$box_f_line['cs_etc_6']}px; ";
echo "border-top-right-radius:{$box_f_line['cs_etc_6']}px; "; if ($box_f_line['cs_etc_7'])
if ($box_f_line['cs_etc_7']) echo "border-bottom-right-radius:{$box_f_line['cs_etc_7']}px; ";
echo "border-bottom-right-radius:{$box_f_line['cs_etc_7']}px; "; if ($box_f_line['cs_etc_8'])
if ($box_f_line['cs_etc_8']) echo "border-bottom-left-radius:{$box_f_line['cs_etc_8']}px; ";
echo "border-bottom-left-radius:{$box_f_line['cs_etc_8']}px; ";
if ($box_f_bak['cs_value']) if ($box_f_bak['cs_value'])
echo "background-image:url('{$box_f_bak['cs_value']}'); "; echo "background-image:url('{$box_f_bak['cs_value']}'); ";
if ($box_f_bak['cs_etc_1']) if ($box_f_bak['cs_etc_1'])
echo "background-color:" . hex2rgba($box_f_bak['cs_etc_1'], $box_f_bak['cs_etc_2']) . "; "; echo "background-color:" . hex2rgba($box_f_bak['cs_etc_1'], $box_f_bak['cs_etc_2']) . "; ";
if ($box_f_bak['cs_etc_3']) if ($box_f_bak['cs_etc_3'])
echo "background-repeat:{$box_f_bak['cs_etc_3']}; "; echo "background-repeat:{$box_f_bak['cs_etc_3']}; ";
if ($box_f_bak['cs_etc_4']) if ($box_f_bak['cs_etc_4'])
echo "background-position:{$box_f_bak['cs_etc_4']}; "; echo "background-position:{$box_f_bak['cs_etc_4']}; ";
if ($box_f_bak['cs_etc_5']) if ($box_f_bak['cs_etc_5'])
echo "background-size:{$box_f_bak['cs_etc_5']}; "; echo "background-size:{$box_f_bak['cs_etc_5']}; ";
?>} ?>}
#design_frameBox .characterViewer {position:relative; height:100%;} #design_frameBox .characterViewer {position:relative; height:100%;}
#design_frameBox .characterViewer .ch-body {position:absolute; overflow:hidden;} #design_frameBox .characterViewer .ch-body {position:absolute; overflow:hidden;}