<?php
return array (
'标签内容列表' =>
array (
'introduce' => '',
'mode' => '1',
'sql' => 'select * from `phpcms2008_content` where status=99 and contentid in(select contentid from `phpcms2008_content_tag` where tag=\'$tag\') order by listorder desc,contentid desc',
'selectfields' =>
array (
0 => 'contentid',
1 => 'catid',
2 => 'typeid',
3 => 'areaid',
4 => 'title',
5 => 'style',
6 => 'thumb',
7 => 'keywords',
8 => 'description',
9 => 'userid',
10 => 'updatetime',
11 => 'islink',
12 => 'inputtime',
13 => 'url',
),
'orderby' => 'contentid DESC',
'page' => '$page',
'number' => '20',
'template' => 'tag_content',
'var_description' =>
array (
1 => '链接样式',
2 => '打开窗口',
3 => '标题长度',
),
'var_name' =>
array (
1 => 'class',
2 => 'target',
3 => 'titlelen',
),
'var_value' =>
array (
1 => 'url',
2 => '_blank',
3 => '80',
),
'type' => 'content',
'modelid' => '1',
'tagcode' => 'tag(\'phpcms\', \'tag_content\', "select * from `phpcms2008_content` where status=99 and contentid in(select contentid from `phpcms2008_content_tag` where tag=\'$tag\') order by listorder desc,contentid desc", $page, 20, array ( \'class\' => \'url\', \'target\' => \'_blank\', \'titlelen\' => \'80\',))',
),
'网站首页推荐' =>
array (
'introduce' => '',
'mode' => '0',
'sql' => 'SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `phpcms2008_content` WHERE `status`=99 AND `contentid` IN(SELECT `contentid` FROM `phpcms2008_content_position` WHERE `posid`=\'1\') ORDER BY contentid DESC',
'selectfields' =>
array (
0 => 'contentid',
1 => 'catid',
2 => 'typeid',
3 => 'areaid',
4 => 'title',
5 => 'style',
6 => 'thumb',
7 => 'keywords',
8 => 'description',
9 => 'userid',
10 => 'updatetime',
11 => 'inputtime',
12 => 'url',
),
'orderby' => 'contentid DESC',
'page' => '0',
'number' => '5',
'template' => 'tag_content',
'var_description' =>
array (
1 => '链接样式',
2 => '打开窗口',
3 => '标题长度',
),
'var_name' =>
array (
1 => 'class',
2 => 'target',
3 => 'titlelen',
),
'var_value' =>
array (
1 => 'url',
2 => '_blank',
3 => '35',
),
'type' => 'content',
'where' =>
array (
'catid' => '',
'typeid' => '',
'areaid' => '',
'keywords' => '',
'userid' => '',
'updatetime' => '',
'inputtime' => '',
'posids' => '1',
),
'modelid' => '0',
'tagcode' => 'tag(\'phpcms\', \'tag_content\', "SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `phpcms2008_content` WHERE `status`=99 AND `contentid` IN(SELECT `contentid` FROM `phpcms2008_content_position` WHERE `posid`=\'1\') ORDER BY contentid DESC", 0, 5, array ( \'class\' => \'url\', \'target\' => \'_blank\', \'titlelen\' => \'35\',))',
),
'网站首页头条' =>
array (
'introduce' => '',
'mode' => '0',
'sql' => 'SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `phpcms2008_content` WHERE `status`=99 AND `contentid` IN(SELECT `contentid` FROM `phpcms2008_content_position` WHERE `posid`=\'3\') ORDER BY contentid DESC',
'selectfields' =>
array (
0 => 'contentid',
1 => 'catid',
2 => 'typeid',
3 => 'areaid',
4 => 'title',
5 => 'style',
6 => 'thumb',
7 => 'keywords',
8 => 'description',
9 => 'userid',
10 => 'updatetime',
11 => 'inputtime',
12 => 'url',
),
'orderby' => 'contentid DESC',
'page' => '0',
'number' => '1',
'template' => 'tag_content_one',
'var_description' =>
array (
1 => '链接样式',
2 => '打开窗口',
3 => '标题长度',
),
'var_name' =>
array (
1 => 'class',
2 => 'target',
3 => 'titlelen',
),
'var_value' =>
array (
1 => 'c_orange',
2 => '_blank',
3 => '32',
),
'type' => 'content',
'where' =>
array (
'catid' => '',
'typeid' => '',
'areaid' => '',
'keywords' => '',
'userid' => '',
'updatetime' => '',
'inputtime' => '',
'posids' => '3',
),
'modelid' => '0',
'tagcode' => 'tag(\'phpcms\', \'tag_content_one\', "SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `phpcms2008_content` WHERE `status`=99 AND `contentid` IN(SELECT `contentid` FROM `phpcms2008_content_position` WHERE `posid`=\'3\') ORDER BY contentid DESC", 0, 1, array ( \'class\' => \'c_orange\', \'target\' => \'_blank\', \'titlelen\' => \'32\',))',
),
'一级栏目' =>
array (
'introduce' => '',
'module' => 'phpcms',
'catid' => '0',
'number' => '0',
'template' => 'tag_category',
'var_description' =>
array (
1 => '链接样式',
2 => '打开窗口',
),
'var_name' =>
array (
1 => 'class',
2 => 'target',
),
'var_value' =>
array (
1 => 'url',
2 => '_self',
),
'type' => 'category',
'sql' => '',
'page' => '0',
'tagcode' => 'tag(\'phpcms\', \'tag_category\', "", 0, 0, array ( \'module\' => \'phpcms\', \'catid\' => \'0\', \'class\' => \'url\', \'target\' => \'_self\',))',
),
'网站首页内容标签' =>
array (
'introduce' => '',
'mode' => '0',
'sql' => 'SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `phpcms2008_content` WHERE `status`=99 ".get_sql_catid($catid)." ORDER BY contentid DESC',
'selectfields' =>
array (
0 => 'contentid',
1 => 'catid',
2 => 'typeid',
3 => 'areaid',
4 => 'title',
5 => 'style',
6 => 'thumb',
7 => 'keywords',
8 => 'description',
9 => 'userid',
10 => 'updatetime',
11 => 'inputtime',
12 => 'url',
),
'orderby' => 'contentid DESC',
'page' => '0',
'number' => '8',
'template' => 'tag_content',
'var_description' =>
array (
1 => '链接样式',
2 => '打开窗口',
3 => '标题字数',
),
'var_name' =>
array (
1 => 'class',
2 => 'target',
3 => 'titlelen',
),
'var_value' =>
array (
1 => 'url',
2 => '_blank',
3 => '52',
),
'type' => 'content',
'where' =>
array (
'catid' => '$catid',
'typeid' => '',
'areaid' => '',
'keywords' => '',
'userid' => '',
'updatetime' => '',
'inputtime' => '',
'posids' => '0',
),
'modelid' => '0',
'tagcode' => 'tag(\'phpcms\', \'tag_content\', "SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `phpcms2008_content` WHERE `status`=99 ".get_sql_catid($catid)." ORDER BY contentid DESC", 0, 8, array ( \'class\' => \'url\', \'target\' => \'_blank\', \'titlelen\' => \'52\',))',
),
'首页幻灯片' =>
array (
'introduce' => '',
'mode' => '0',
'sql' => 'SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `phpcms2008_content` WHERE `status`=99 AND `thumb`!=\'\' AND `contentid` IN(SELECT `contentid` FROM `phpcms2008_content_position` WHERE `posid`=\'2\') ORDER BY contentid DESC',
'selectfields' =>
array (
0 => 'contentid',
1 => 'catid',
2 => 'typeid',
3 => 'areaid',
4 => 'title',
5 => 'style',