<?php
return array (
'标签内容列表' =>
array (
'introduce' => '',
'mode' => '1',
'sql' => 'select * from `phpcms2008_content` a,`phpcms2008_content_tag` k where a.contentid=k.contentid and a.status=99 and k.tag=\'$tag\' order by a.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` a,`phpcms2008_content_tag` k where a.contentid=k.contentid and a.status=99 and k.tag=\'$tag\' order by a.contentid desc", $page, 20, array ( \'class\' => \'url\', \'target\' => \'_blank\', \'titlelen\' => \'80\',))',
),
'网站首页推荐' =>
array (
'introduce' => '',
'mode' => '0',
'sql' => 'SELECT a.contentid,a.catid,a.typeid,a.areaid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.inputtime,a.url FROM `phpcms2008_content` a, `phpcms2008_content_position` p WHERE a.contentid=p.contentid AND p.posid=1 AND a.status=99 ORDER BY a.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 a.contentid,a.catid,a.typeid,a.areaid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.inputtime,a.url FROM `phpcms2008_content` a, `phpcms2008_content_position` p WHERE a.contentid=p.contentid AND p.posid=1 AND a.status=99 ORDER BY a.contentid DESC", 0, 5, array ( \'class\' => \'url\', \'target\' => \'_blank\', \'titlelen\' => \'35\',))',
),
'网站首页头条' =>
array (
'introduce' => '',
'mode' => '0',
'sql' => 'SELECT a.contentid,a.catid,a.typeid,a.areaid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.inputtime,a.url FROM `phpcms2008_content` a, `phpcms2008_content_position` p WHERE a.contentid=p.contentid AND p.posid=3 AND a.status=99 ORDER BY a.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 a.contentid,a.catid,a.typeid,a.areaid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.inputtime,a.url FROM `phpcms2008_content` a, `phpcms2008_content_position` p WHERE a.contentid=p.contentid AND p.posid=3 AND a.status=99 ORDER BY a.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 => '50',
),
'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\' => \'50\',))',
),
'首页幻灯片' =>
array (
'introduce' => '',
'mode' => '0',
'sql' => 'SELECT a.contentid,a.catid,a.typeid,a.areaid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.inputtime,a.url FROM `phpcms2008_content` a, `phpcms2008_content_position` p WHERE a.contentid=p.contentid AND p.posid=2 AND a.status=99 AND `thumb`!=\'\' ORDER BY a.contentid DESC',
'selectfields' =>
array (
0 => 'contentid',
1 => 'catid',
2 => 'typeid',
3 => 'areaid',
4 => 'title',
5 => 'styl
评论0