Changeset 4749 for temp/trunk


Ignore:
Timestamp:
2006/09/14 20:08:04 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_View.php

    r3549 r4749  
    3333        $this->_smarty->register_function("sf_mb_convert_encoding","sf_mb_convert_encoding"); 
    3434        $this->_smarty->register_function("sf_mktime","sf_mktime"); 
    35         $this->_smarty->register_function("sf_date","sf_date");      
     35        $this->_smarty->register_function("sf_date","sf_date"); 
     36        $this->_smarty->register_function("str_replace","str_replace"); 
    3637 
    3738        if(ADMIN_MODE == '1') {      
  • temp/trunk/html/admin/contents/index.php

    r4748 r4749  
    146146$sql = "SELECT *, cast(substring(news_date,1, 10) as date) as cast_news_date FROM dtb_news WHERE del_flg = '0' ORDER BY rank DESC"; 
    147147$objPage->list_data = $conn->getAll($sql); 
    148 $objPage->list_data[0]["cast_news_data"] = str_replace("-", "/", $objPage->list_data["cast_news_data"]); 
     148$objPage->list_data["cast_news_data"] = str_replace("-", "/", $objPage->list_data["cast_news_data"]); 
    149149$objPage->line_max = count($objPage->list_data); 
    150150$sql = "SELECT MAX(rank) FROM dtb_news WHERE del_flg = '0'";        // rank¤ÎºÇÂçÃͤò¼èÆÀ 
Note: See TracChangeset for help on using the changeset viewer.