- Timestamp:
- 2006/12/13 19:43:41 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/mylinks/singlelink.php
r882 r887 34 34 include XOOPS_ROOT_PATH."/header.php"; 35 35 36 $result = $xoopsDB->query("select l.lid, l.cid, l.title, l.url, l.logourl, l.status, l.date, l.hits, l.rating, l.votes, l.comments, t.description from ".$xoopsDB->prefix("mylinks_links")." l, ".$xoopsDB->prefix("mylinks_text")." t where l.lid=$lid and l.lid=t.lid and status>0"); 37 list($lid, $cid, $ltitle, $url, $logourl, $status, $time, $hits, $rating, $votes, $comments, $description) = $xoopsDB->fetchRow($result); 36 $result = $xoopsDB->query("select l.lid, l.cid, l.title, l.url, l.logourl, l.status, l.date, l.hits, l.rating, l.votes, l.comments, t.description, l.developer, l.release_date, l.development_time, l.site_status, l.customize_flag from ".$xoopsDB->prefix("mylinks_links")." l, ".$xoopsDB->prefix("mylinks_text")." t where l.lid=$lid and l.lid=t.lid and status>0"); 37 switch($site_status) { 38 case 1: 39 $site_status = _MD_NEW_OPEN; 40 break; 41 case 2: 42 $site_status = _MD_RENEWAL; 43 break; 44 default: 45 $site_status = _MD_NEW_OPEN; 46 } 47 48 switch($customize_flag) { 49 case 1: 50 $customize = _MD_ON; 51 break; 52 case 2: 53 $customize = _MD_OFF; 54 break; 55 default: 56 $customize = _MD_OFF; 57 } 58 list($lid, $cid, $ltitle, $url, $logourl, $status, $time, $hits, $rating, $votes, $comments, $description, $developer, $release_date, $development_time, $site_status, $customize_flag) = $xoopsDB->fetchRow($result); 38 59 39 60 $pathstring = "<a href='index.php'>"._MD_MAIN."</a> : ";
Note: See TracChangeset
for help on using the changeset viewer.
