\n");
+ }
+
+ /**
+ * @brief 제목을 출력
+ **/
+ function printTitle() {
+ if($this->totalPage > $this->mobilePage) $titlePageStr = sprintf("(%d/%d)",$this->mobilePage, $this->totalPage);
+ printf('<%s%s>
%s', $this->title,$titlePageStr,"\n");
+ }
+
+ /**
+ * @brief 내용을 출력
+ * hasChilds()가 있으면 목록형을 그렇지 않으면 컨텐츠를 출력
+ **/
+ function printContent() {
+ if($this->hasChilds()) {
+ foreach($this->getChilds() as $key => $val) {
+ if(!$val['link']) continue;
+ printf('
%s', str_replace("
","
",$this->getContent()),"\n");
+ }
+ }
+
+ /**
+ * @brief 버튼을 출력함
+ **/
+ function printBtn() {
+ if($this->prevUrl) {
+ $url = $this->prevUrl;
+ printf('
|
+ {$history->version} + {$history->date} + |
+
+
+ {$author->name} ({$author->homepage} / {$author->email_address}) + + +{nl2br(trim($history->description))} + + +
|
+
|---|
|
+ {$history->version} + {zdate($history->date, 'Y-m-d')} + |
+
+
+ {$author->name} ({$author->homepage} / {$author->email_address}) + + +{nl2br(trim($history->description))} + + +
|
+
|---|
|
+ {$history->version} + {zdate($history->date, 'Y-m-d')} + |
+
+
+ {$author->name} ({$author->homepage} / {$author->email_address}) + + +{nl2br(trim($history->description))} + + +
|
+
|---|