function drawAdminBox($class, $content) { $result = drawAdminBoxBegin($class); $result.= $content; $result.= drawAdminBoxEnd(); return $result; }
<span class="name"><?php echo _t("전체블로그");?></span> <span class="sep">|</span> <span class="count"><?php echo $feedCount;?></span>개 </div> </div> <div class="clear"></div> <?php echo drawAdminBoxEnd();?> <br /> <div class="contents_item1"> <?php if($is_admin) { $lastUpdate = Stats::getLatestUpdate(); ?> <?php echo drawAdminBoxBegin('simple_stat');?> <div class="title"> <?php echo _t('간략통계');?> </div> <div class="line"></div> <div class="data"> <ol> <li><div class="title"><?php echo _t('마지막 업데이트');?></div> <div class="data"><?php echo empty($lastUpdate)?_t('업데이트 없음'):date('Y-m-d H:i:s', $lastUpdate);?></div><div class="clear"></div></li> <li><div class="title"><?php echo _t('전체 블로그');?></div> <div class="data"><?php echo _f('%1 개', number_format(Stats::countFeeds()));?></div><div class="clear"></div></li> <li><div class="title"><?php echo _t('수집된 글수');?></div> <div class="data"><?php echo _f('%1 개', number_format(Stats::countFeedItems()));?></div><div class="clear"></div></li> <li><div class="title"><?php echo _t('오늘의 방문자');?></div> <div class="data"><?php echo _f('%1 명', number_format(Stats::getTodayVisits()));?> (<?php echo _f('전체 방문자 : %1 명', number_format(Stats::getVisits())); ?>)</div><div class="clear"></div></li> </ol> </div> <?php echo drawAdminBoxEnd('');?> <?php
} } else { ?> <li class="empty"><?php echo _t('수집된 글이 없습니다.');?></li> <?php } ?> <li class="more"><a href="<?php echo $service['path'];?>/admin/blog/entrylist/?type=blogURL&keyword=<?php echo rawurlencode($readFeed['blogURL']);?>"><?php echo _t('전체보기..');?></a></li> </ul> </div> </div> </div> <?php echo drawAdminBoxEnd();?> </div> <div class="read_item read_item2"> <?php echo drawAdminBoxBegin('item_wrap');?> <div id="read_item2" class="item"> <form method="post" action=""> <input type="hidden" name="id" value="<?php echo $read;?>"/> <dl> <dt><?php echo _t('그룹');?></dt> <dd> <select name="group"> <option value="0"><?php echo _t('없음');?></option> <?php foreach($groups as $group) { ?> <option value="<?php echo $group['id'];?>"<?php echo $readFeed['group']==$group['id']?' selected="selected"':'';?>><?php echo $group['name'];?></option> <?php } ?>
alert($("response message", msg).text()); } }, error: function(msg) { alert('unknown error'); } }); } </script> <div class="wrap title_wrap"> <h3><?php echo _t("현재 사용중인 메타스킨");?></h3> </div> <div class="wrap select_skin_wrap"> <?php echo drawAdminBoxBegin('select_skin');?> <div class="select_skin_data"> <?php if(!empty($xmls->struct)) { ?> <div class="thumbnail"> <img src="<?php echo $n_skinpath;?>/preview.gif" alt="<?php echo _t('미리보기 이미지');?>" /> </div> <div class="data"> <dl class="normal"> <dt><?php echo _t("스킨명");?></dt> <dd class="text"><?php echo $xmls->getValue('/skin/information/name[lang()]');?> ver<?php echo $xmls->getValue('/skin/information/version');?> (<?php echo $n_skinname;?>)</dd> </dl> <dl class="normal"> <dt><?php echo _t("제작자");?></dt> <dd class="text"><?php echo $xmls->getValue('/skin/author/name[lang()]');?> <a href="mailto:<?php echo $xmls->getValue('/skin/author/email');?>"><img src="<?php echo $service['path'];?>/images/admin/icon_email.gif" alt="<?php echo _t('이메일 보내기');?>" align="absmiddle" /></a> , <a href="<?php echo $xmls->getValue('/skin/author/homepage[lang()]');?>" target="_blank"><?php echo $xmls->getValue('/skin/author/homepage[lang()]');?></a> </dd>