<?php
//该文件是由DIRCMS自动生成的缓存文件，请不要手动删除
//2010-12-16 16:53:47
return array (
  '内容页评论调用' => 'tag(\'tag_comment_content\',"SELECT * FROM `".DB_PRE."comment` WHERE `".DB_PRE."comment`.`status`=1 AND `".DB_PRE."comment`.`contentid`=".intval($id)." ORDER BY `".DB_PRE."comment`.`id` DESC",0,5,array(),array())',
  '评论列表页调用' => 'tag(\'tag_comment_list\',"SELECT * FROM `".DB_PRE."comment` WHERE `".DB_PRE."comment`.`status`=1 AND `".DB_PRE."comment`.`contentid`=".intval($id)." ORDER BY `".DB_PRE."comment`.`id` DESC",$page,20,array(),array())',
  '首页网站公告' => 'tag(\'tag_notice_index\',"SELECT * FROM `".DB_PRE."notice` ORDER BY `".DB_PRE."notice`.`orderby` ASC",0,7,array(),array())',
  '首页文字链' => 'tag(\'tag_link_words\',"SELECT `".DB_PRE."link`.`name`,`".DB_PRE."link`.`url`,`".DB_PRE."link`.`introduce` FROM `".DB_PRE."link` WHERE `".DB_PRE."link`.`isindex`=1 AND `".DB_PRE."link`.`ispassed`=1 AND `".DB_PRE."link`.`logo`=\'\' ORDER BY `".DB_PRE."link`.`orderby` ASC",0,20,array(),array())',
  '首页图片链接' => 'tag(\'tag_link_picture\',"SELECT `".DB_PRE."link`.`name`,`".DB_PRE."link`.`url`,`".DB_PRE."link`.`logo`,`".DB_PRE."link`.`introduce` FROM `".DB_PRE."link` WHERE `".DB_PRE."link`.`isindex`=1 AND `".DB_PRE."link`.`ispassed`=1 AND `".DB_PRE."link`.`logo`!=\'\' ORDER BY `".DB_PRE."link`.`orderby` ASC",0,10,array(),array())',
  '商家首页调用' => 'tag(\'tag_company_index\',"SELECT a.id,a.modelid,a.groupid,a.areaid,a.username,a.password,a.facephoto,a.email,a.message,a.spaceurl,a.companyurl,a.amount,a.point,a.regtime,a.logintime,a.logintimes,a.movetime,a.loginip,a.ispassed,a.islocked,b.companyname,b.companypic,b.phone FROM ".DB_PRE."member a LEFT JOIN ".DB_PRE."corporatemember b ON a.id=b.userid WHERE a.ispassed=1 AND a.iscompmayed=1 AND a.islocked=0 AND a.modelid=2 AND a.gradeid!=0 ORDER BY id DESC",0,24,array (),0)',
  '商家首页调用按分类' => 'tag(\'tag_company_index\',"SELECT a.id,a.modelid,a.groupid,a.areaid,a.username,a.password,a.facephoto,a.email,a.message,a.spaceurl,a.companyurl,a.amount,a.point,a.regtime,a.logintime,a.logintimes,a.movetime,a.loginip,a.ispassed,a.islocked,b.companyname,b.companypic,b.phone FROM ".DB_PRE."member a LEFT JOIN ".DB_PRE."corporatemember b ON a.id=b.userid WHERE a.ispassed=1 AND a.iscompmayed=1 AND a.islocked=0 AND a.modelid=2 AND a.".getTypeid($dir_typeid)." AND a.gradeid!=0 ORDER BY id DESC",$page,24,array (),0)',
  '商家地图左侧商家列表' => 'tag(\'tag_company_list\',"SELECT a.id,a.modelid,a.groupid,a.areaid,a.username,a.password,a.facephoto,a.email,a.message,a.spaceurl,a.companyurl,a.amount,a.point,a.regtime,a.logintime,a.logintimes,a.movetime,a.loginip,a.ispassed,a.islocked,b.companyname,b.companypic,b.phone,b.map,b.address FROM ".DB_PRE."member a LEFT JOIN ".DB_PRE."corporatemember b ON a.id=b.userid WHERE a.ispassed=1 AND a.iscompmayed=1 AND a.islocked=0 AND a.modelid=2 AND a.typeid=".intval($typeid)." AND a.gradeid!=0 ORDER BY amount DESC",$page,6,array (  \'dateformat\' => \'Y-m-d\',  \'target\' => \'_blank\',  \'photo_width\' => \'75\',  \'photo_height\' => \'65\',),0)',
);
?>