Changeset 625 for temp


Ignore:
Timestamp:
2006/12/10 20:26:29 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/test-xoops.ec-cube.net/html/modules/mylinks/index.php

    r405 r625  
    9191$xoopsTpl->assign('lang_comments' , _COMMENTS); 
    9292 
    93 $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.status>0 and l.lid=t.lid ORDER BY date DESC", $xoopsModuleConfig['newlinks'], 0); 
     93$xoopsTpl->assign('lang_siteurl', _MD_SITEURL); 
     94$xoopsTpl->assign('lang_developer', _MD_DEVELOPER); 
     95$xoopsTpl->assign('lang_release_date', _MD_RELEASE_DATE); 
     96$xoopsTpl->assign('lang_development_time', _MD_DEVELOPMENT_TIME); 
     97$xoopsTpl->assign('lang_site_status', _MD_SITE_STATUS); 
     98$xoopsTpl->assign('lang_customize', _MD_CUSTOMIZE); 
     99$xoopsTpl->assign('lang_new_open', _MD_NEW_OPEN); 
     100$xoopsTpl->assign('lang_renewal', _MD_RENEWAL); 
     101 
     102$xoopsTpl->assign('lang_on', _MD_ON); 
     103$xoopsTpl->assign('lang_off', _MD_OFF); 
     104$xoopsTpl->assign('lang_caution_title', _POST_CAUTION_TITLE); 
     105$xoopsTpl->assign('lang_caution_body', _POST_CAUTION_BODY); 
     106     
     107$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.status>0 and l.lid=t.lid ORDER BY date DESC", $xoopsModuleConfig['newlinks'], 0); 
     108 
    94109while(list($lid, $cid, $ltitle, $url, $logourl, $status, $time, $hits, $rating, $votes, $comments, $description) = $xoopsDB->fetchRow($result)) { 
    95110    if ($isadmin) { 
Note: See TracChangeset for help on using the changeset viewer.