Changeset 8337 for temp/trunk/html


Ignore:
Timestamp:
2006/11/16 11:18:01 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/shopping/complete.php

    r8051 r8337  
    6363    $other_data = $objQuery->get("dtb_order", "memo02", "order_id = ? ", array($order_id)); 
    6464    if($other_data != "") { 
     65        $arrOther = unserialize($other_data); 
     66         
     67        // ¥Ç¡¼¥¿¤òÊÔ½¸ 
     68        foreach($arrOther as $key => $val){ 
     69            // URL¤Î¾ì¹ç¤Ë¤Ï¥ê¥ó¥¯¤Ä¤­¤Çɽ¼¨¤µ¤»¤ë 
     70            if (preg_match('/^(https?|ftp)(:\/\/[-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]+)$/', $val)) { 
     71                $arrOther[$key] = "<a href='$val'>" . $val ."</a>"; 
     72            } 
     73        } 
     74         
    6575        $objPage->arrOther = unserialize($other_data); 
     76         
    6677    } 
    6778     
Note: See TracChangeset for help on using the changeset viewer.