, 5);
$data[phphotlist] = getArticleList(1, "clicks DESC, id DESC", 1, 3);
$data[aspnewlist] = getArticleList(2, "id DESC", 1, 3);
dbDisconnect();
renderTpl(’’, $data);
?>
How effective is the operation? Have you implemented the required functions? Now let's make some changes and add "Asp development hot article list" to it, and the implementation code is as follows
------------------------------
<a href="">Add a new article</a><hr>
<table>
<tr><th>php development article</th></tr>
<!-- BEGIN phplist -->
<tr><td>{id}--<a href="?id={id}">{title}</a></td></tr>
<!-- END phplist -->
</table>
<!-- BEGIN phplist_page -->
<script src="" language="javascript"></script>
<script language="javascript">
recordCount = {recordCount}; //Total number of records
show = {pageSize}; //The number of records displayed per page
pageShow = 10; //The number of page connections displayed per page
pageCount = {pageCount}; //Total number of pages
pageNow = {page}; // Current page count
pageStr = "?page=_page_"; //Page connection
(showListPage(recordCount, show, pageShow, pageCount, pageNow, pageStr));
</script>
<!-- END phplist_page -->
<hr>
<table ID="Table1">
<tr><th>Php development hot articles</th></tr>
<!-- BEGIN phphotlist -->
<tr><td>{id}--<a href="?id={id}">{title}</a></td></tr>
<!-- END phphotlist -->
</table><hr>
<table ID="Table2">
<tr><th>asp development latest articles</th></tr>
<!-- BEGIN aspnewlist -->
<tr><td>{id}--<a href="?id={id}">{title}</a></td></tr>
<!-- END aspnewlist -->
</table>
<table ID="Table3">
<tr><th>asp hot articles</th></tr>
<!-- BEGIN asphotlist -->
<tr><td>{id}--<a href="?id={id}">{title}</a></td></tr>
<!-- END asphotlist -->
</table>
------------------------------
<?php
require_once "";
dbConnect();
$data = array();
$data[phplist] = getArticleList(1, "id DESC", (int)$_GET
$data[phphotlist] = getArticleList(1, "clicks DESC, id DESC", 1, 3);
$data[aspnewlist] = getArticleList(2, "id DESC", 1, 3);
dbDisconnect();
renderTpl(’’, $data);
?>
How effective is the operation? Have you implemented the required functions? Now let's make some changes and add "Asp development hot article list" to it, and the implementation code is as follows
------------------------------
<a href="">Add a new article</a><hr>
<table>
<tr><th>php development article</th></tr>
<!-- BEGIN phplist -->
<tr><td>{id}--<a href="?id={id}">{title}</a></td></tr>
<!-- END phplist -->
</table>
<!-- BEGIN phplist_page -->
<script src="" language="javascript"></script>
<script language="javascript">
recordCount = {recordCount}; //Total number of records
show = {pageSize}; //The number of records displayed per page
pageShow = 10; //The number of page connections displayed per page
pageCount = {pageCount}; //Total number of pages
pageNow = {page}; // Current page count
pageStr = "?page=_page_"; //Page connection
(showListPage(recordCount, show, pageShow, pageCount, pageNow, pageStr));
</script>
<!-- END phplist_page -->
<hr>
<table ID="Table1">
<tr><th>Php development hot articles</th></tr>
<!-- BEGIN phphotlist -->
<tr><td>{id}--<a href="?id={id}">{title}</a></td></tr>
<!-- END phphotlist -->
</table><hr>
<table ID="Table2">
<tr><th>asp development latest articles</th></tr>
<!-- BEGIN aspnewlist -->
<tr><td>{id}--<a href="?id={id}">{title}</a></td></tr>
<!-- END aspnewlist -->
</table>
<table ID="Table3">
<tr><th>asp hot articles</th></tr>
<!-- BEGIN asphotlist -->
<tr><td>{id}--<a href="?id={id}">{title}</a></td></tr>
<!-- END asphotlist -->
</table>
------------------------------
<?php
require_once "";
dbConnect();
$data = array();
$data[phplist] = getArticleList(1, "id DESC", (int)$_GET
Previous page12345Next pageRead the full text