<?php
return array (
'标签内容列表' =>
array (
'introduce' => '',
'mode' => '1',
'sql' => 'select * from `phpcms_content` where status=99 and contentid in(select contentid from `phpcms_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 => 'inputtime',
12 => '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 `phpcms_content` where status=99 and contentid in(select contentid from `phpcms_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,userid,updatetime,inputtime,url FROM `phpcms_content` WHERE `status`=99 AND `contentid` IN(SELECT `contentid` FROM `phpcms_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 => 'userid',
9 => 'updatetime',
10 => 'inputtime',
11 => '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 => '40',
),
'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,userid,updatetime,inputtime,url FROM `phpcms_content` WHERE `status`=99 AND `contentid` IN(SELECT `contentid` FROM `phpcms_content_position` WHERE `posid`=\'1\') ORDER BY contentid DESC", 0, 5, array ( \'class\' => \'url\', \'target\' => \'_blank\', \'titlelen\' => \'40\',))',
),
'网站首页头条' =>
array (
'introduce' => '',
'mode' => '0',
'sql' => 'SELECT title,style,thumb,description,updatetime,inputtime,url FROM `phpcms_content` WHERE `status`=99 AND `contentid` IN(SELECT `contentid` FROM `phpcms_content_position` WHERE `posid`=\'3\') ORDER BY contentid DESC',
'selectfields' =>
array (
0 => 'title',
1 => 'style',
2 => 'thumb',
3 => 'description',
4 => 'updatetime',
5 => 'inputtime',
6 => '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 title,style,thumb,description,updatetime,inputtime,url FROM `phpcms_content` WHERE `status`=99 AND `contentid` IN(SELECT `contentid` FROM `phpcms_content_position` WHERE `posid`=\'3\') ORDER BY contentid DESC", 0, 1, array ( \'class\' => \'c_orange\', \'target\' => \'_blank\', \'titlelen\' => \'32\',))',
),
'首页栏目标签' =>
array (
'introduce' => '',
'mode' => '0',
'sql' => 'SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime FROM `phpcms_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',
),
'orderby' => 'contentid DESC',
'page' => '0',
'number' => '8',
'template' => 'tag_subcat',
'var_description' =>
array (
1 => '链接样式',
2 => '打开窗口',
),
'var_name' =>
array (
1 => 'class',
2 => 'target',
),
'var_value' =>
array (
1 => 'url',
2 => '_blank',
),
'type' => 'content',
'where' =>
array (
'catid' => '$catid',
'typeid' => '',
'areaid' => '',
'keywords' => '',
'userid' => '',
'updatetime' => '',
'inputtime' => '',
'posids' => '0',
),
'modelid' => '0',
'tagcode' => 'tag(\'phpcms\', \'tag_subcat\', "SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime FROM `phpcms_content` WHERE `status`=99 ".get_sql_catid($catid)." ORDER BY contentid DESC", 0, 8, array ( \'class\' => \'url\', \'target\' => \'_blank\',))',
),
'一级栏目' =>
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 catid,typeid,title,style,userid,updatetime,inputtime,url FROM `phpcms_content` WHERE `status`=99 ".get_sql_catid($catid)." ORDER BY contentid DESC',
'selectfields' =>
array (
0 => 'catid',
1 => 'typeid',
2 => 'title',
3 => 'style',
4 => 'userid',
5 => 'updatetime',
6 => 'inputtime',
7 => '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' => '',
'pos