|
|
|
|
|
|
|
|
|
|
|
 |
|
|
$dm1_sql = "select * from spafront where type=1 order by rand() limit 1";
include('dm1.inc');
$title = dm1('title', 0);
$gif = dm1('gif', 0);
$url = dm1('url', 0);
echo " ";
?>
|
|
• |
$dm1_sql = "select * from spafront where type=2 order by rand() limit 1";
include('dm1.inc');
$title = dm1('title', 0);
$gif = dm1('gif', 0);
$url = dm1('url', 0);
echo " ";
?>
|
|
• |
 |
|
發佈日期 |
最新訊息 |
$dm1_sql = "select newsid,substring(title,1,50) as title,sdate from news where type=1 order by sdate desc limit 6";
include('dm1.inc');
for ($i=0; $i<$dm1_count; $i++) :
$newsid = dm1('newsid', $i);
$title = dm1('title', $i);
// if (ord(substr($title, -1)) > 127) $title = substr($title, 0, -1);
$sdate = dm1('sdate', $i);
$sdate = date('Y.m.d', $sdate);
$ts1 = ($i % 2 == 0) ? '#79A6D2' : '#6296CA';
echo "";
echo "| $sdate | ";
echo "";
echo " $title ...";
echo " | ";
echo " ";
endfor;
?>
| |
|
|
|
|
|
|
|
 |
|