Authored by tmq

处理老数据

... ... @@ -404,7 +404,7 @@ EOT;
<div class='pagination-form'>
<form action="{$formurl}" method="GET">
<span class="btn38_page">到</span>
<input type="text" class="btn39_inp" name="page" maxLength="10"
<input type="text" class="btn39_inp" name="page" maxLength="10"
onKeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
onblur="if(isNaN(this.value)) this.value='1'">
<span class="btn38_page1">页</span>
... ...
... ... @@ -44,7 +44,15 @@ $width = 342;
echo "limited-edition";
break;
}
?>" href="/news/index/tag/<?php echo $news['tag']?>"><?php echo $news['tag']?></a>
?>" href="/news/index/tag/<?php echo $news['tag']?>">
<?php
$newtag=array("品牌资讯","活动介绍","亮点活动","限量商品");
if(!in_array($news['tag'],$newtag)){
$news['tag']='品牌资讯';
}
echo $news['tag'];
?>
</a>
<span class="item-time"><?php $en = array('01'=>'January','02'=>'February','03'=>'March','04'=>'April','05'=>'May','06'=>'June','07'=>'July','08'=>'August','09'=>'September','10'=>'October','11'=>'November','12'=>'December');$m=date('m', $news['create_time']);echo $en[$m]?>&nbsp;<?php ECHO $m=date('d,Y', $news['create_time'])?></span>
</div>
<div class="content">
... ...