|
@@ -347,7 +347,7 @@ if (!empty($keyword)&&(strpos($PathInfo, '/search') === 0))
|
|
|
<div class="uk-card uk-card-category uk-card-default uk-card-hover uk-card-body uk-inline uk-border-rounded uk-width-1-1">
|
|
|
<div class="question" onclick="toggleAnswer(<?= $index ?>)">
|
|
|
<h4><?= "$index. $question" ?> </h4>
|
|
|
-<!-- <span id="icon---><?php //= $index ?><!--" class="toggle-icon">▼</span>-->
|
|
|
+
|
|
|
|
|
|
</div>
|
|
|
<div id="answer-<?= $index ?>" class="answer" style="display: none;white-space: pre-line;">
|
|
@@ -512,7 +512,7 @@ if (!empty($keyword)&&(strpos($PathInfo, '/search') === 0))
|
|
|
<div class="uk-card uk-card-category uk-card-default uk-card-hover uk-card-body uk-inline uk-border-rounded uk-width-1-1">
|
|
|
<div class="question" onclick="toggleAnswer(<?= $index ?>)">
|
|
|
<h4><?= "$index. $question" ?> </h4>
|
|
|
- <!-- <span id="icon---><?php //= $index ?><!--" class="toggle-icon">▼</span>-->
|
|
|
+
|
|
|
|
|
|
</div>
|
|
|
<div id="answer-<?= $index ?>" class="answer" style="display: none;white-space: pre-line;">
|
|
@@ -550,26 +550,6 @@ if (!empty($keyword)&&(strpos($PathInfo, '/search') === 0))
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
- <?php if ($search&&$this->have()): ?>
|
|
|
- <?php while($this->next()): ?>
|
|
|
-
|
|
|
- <div class="uk-card uk-card-category uk-card-default uk-card-hover uk-card-body uk-inline uk-border-rounded uk-width-1-1">
|
|
|
- <a class="uk-position-cover" href="<?php $this->permalink() ?>"></a>
|
|
|
- <h3 class="uk-card-title uk-margin-remove uk-text-secondary uk-article-titles"><?php echo $this->title; ?></h3>
|
|
|
- <p class="uk-margin-small-top"><?php if($this->fields->excerpt):?><?php echo $this->fields->excerpt;?><?php else:?><?php echo General::cutexpert($this->excerpt,100);?><?php endif; ?></p>
|
|
|
-<!-- <div class="uk-article-meta uk-flex uk-flex-middle">-->
|
|
|
-<!-- <img class="uk-border-circle uk-avatar-small" src="--><?php //echo General::getAvatar($this->author->mail); ?><!--">-->
|
|
|
-<!-- <div>-->
|
|
|
-<!-- --><?php //$this->author->screenName();?><!-- Write <br>-->
|
|
|
-<!-- <time class="uk-margin-small-right" datetime="--><?php //$this->date('Y-m-d H:i:s'); ?><!--">Post --><?php //$this->date('Y-m-d H:i:s'); ?><!--</time><br>-->
|
|
|
-<!-- -->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
- </div>
|
|
|
- <?php endwhile;?>
|
|
|
- <?php else:?>
|
|
|
-
|
|
|
- <?php endif;?>
|
|
|
|
|
|
|
|
|
|