Example #1
0
><?php 
                echo $archives->datetime->ViewValue;
                ?>
</div>
				</td>
				<!-- title -->
				<td<?php 
                echo $archives->title->CellAttributes();
                ?>
>
					<div<?php 
                echo $archives->title->ViewAttributes();
                ?>
><?php 
                echo $archives->title->ViewValue;
                echo countword($archives->content->ViewValue, $keywords);
                ?>
</div>
				</td>
				<?php 
                if ($Security->CanView()) {
                    ?>
				<td nowrap><span class="phpmaker">
				<a href="<?php 
                    echo $archives->ViewUrl($keyaction);
                    ?>
">快照</a>
				</span></td>
				<?php 
                }
                ?>
Example #2
0
><?php 
                echo $hoturls->datetime->ViewValue;
                ?>
</div>
</td>
		<!-- title -->
		<td<?php 
                echo $hoturls->title->CellAttributes();
                ?>
>
<div<?php 
                echo $hoturls->title->ViewAttributes();
                ?>
><?php 
                echo $hoturls->title->ViewValue;
                echo countword($hoturls->content->ViewValue, $keywords);
                ?>
 </div>
</td>
		<!-- categories -->
		<td<?php 
                echo $hoturls->categories->CellAttributes();
                ?>
>
<div<?php 
                echo $hoturls->categories->ViewAttributes();
                ?>
><?php 
                echo $hoturls->categories->ViewValue;
                ?>
</div>
Example #3
0
><?php 
                echo $posts->datetime->ViewValue;
                ?>
</div>
				</td>
				<!-- title -->
				<td<?php 
                echo $posts->title->CellAttributes();
                ?>
>
					<div<?php 
                echo $posts->title->ViewAttributes();
                ?>
><?php 
                echo $posts->title->ViewValue;
                echo countword($posts->content->ViewValue, $keywords);
                ?>
</div>
				</td>
				<?php 
                if ($Security->CanView()) {
                    ?>
				<td nowrap><span class="phpmaker">
				<a href="<?php 
                    echo $posts->ViewUrl($keyaction);
                    ?>
">快照</a>
				</span></td>
				<?php 
                }
                ?>
><?php 
            echo $values['datetime'];
            ?>
</div>
				</td>
				<!-- title -->
				<td<?php 
            echo $posts->title->CellAttributes();
            ?>
>
					<div<?php 
            echo $posts->title->ViewAttributes();
            ?>
><?php 
            echo $values['title'];
            echo countword($values['content'], $keywords);
            ?>
</div>
				</td>
				<?php 
            if ($Security->CanView()) {
                ?>
				<td nowrap><span class="phpmaker">
				<a href="<?php 
                echo ViewUrl('postsview.php', intval($values['id']), $keyaction);
                ?>
">快照</a>
				</span></td>
				<?php 
            }
            ?>
<?php } ?>
				<!-- id -->
				<td<?php echo $posts->id->CellAttributes() ?>>
					<div<?php echo $posts->id->ViewAttributes() ?>><?php echo $posts->id->ViewValue ?></div>
				</td>
				<!-- url -->
				<td<?php echo $posts->projectname->CellAttributes() ?>>
					<div<?php echo $posts->projectname->ViewAttributes() ?> class="url"><a href="<?php echo $posts->url->ViewValue ?>" target="_blank"><?php echo $posts->projectname->ViewValue ?></a></div>
				</td>
				<!-- datetime -->
				<td<?php echo $posts->datetime->CellAttributes() ?>>
					<div<?php echo $posts->datetime->ViewAttributes() ?>><?php echo $posts->datetime->ViewValue ?></div>
				</td>
				<!-- title -->
				<td<?php echo $posts->title->CellAttributes() ?>>
					<div<?php echo $posts->title->ViewAttributes() ?>><?php echo $posts->title->ViewValue ?><?php echo countword( $posts->content->ViewValue,$keywords) ?></div>
				</td>
				<?php if ($Security->CanView()) { ?>
				<td nowrap><span class="phpmaker">
				<a href="<?php echo $posts->ViewUrl($keyaction) ?>">快照</a>
				</span></td>
				<?php } ?>
				<?php if ($Security->CanEdit()) { ?>
				<td nowrap><span class="phpmaker">
				<a href="<?php echo $posts->EditUrl() ?>">编辑</a>
				</span></td>
				<?php } ?>
			</tr>
		<?php
			}
			$rs->MoveNext();