【php开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了php开源代码-common.php的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
<?php
$expired = 630720000;
$data = array (
'settings' =>
array (
'site_name' => 'ITZCN',
'site_icp' => '',
'site_closed' => '0',
'themetag' => 'zh-cn',
'site_reason' => '绯荤粺姝e湪鍗囩骇锛岃绋嶅悗璁块棶鈥︹?,
'member_reg_validate' => '0',
'seo_pvtotalcodes' => '',
'publish_comment' => '0',
'publish_special' => '0',
'publish_video' => '0',
'anony_allowreport' => '0',
'refers_on' => '1',
'views_cache_on' => '0',
'emote_nums' => '5',
'session_updatetime' => '15',
'reg_group' => '0',
'reggroup_expired' => '0',
'show_time_video' => '4',
'show_time_special' => '4',
'show_time_channel' => '4',
'show_simple_index' => '4',
'site_maxpage' => '0',
'adm_maxrows' => '20',
'rowmax' => '20',
'relate_max' => '8',
'seccodedata' =>
array (
'minposts' => '0',
'width' => '160',
'height' => '60',
'type' => '0',
'background' => '1',
'adulterate' => '1',
'ttf' => '1',
'angle' => '1',
'color' => '1',
'size' => '1',
'shadow' => '1',
'animator' => '0',
'loginfailedcount' => '0',
),
'gzipcompress' => '1',
'search_on' => '1',
'search_maxtime' => '0',
'search_queuemax' => '30',
'search_fatertime' => '180',
'search_maxpages' => '20',
'time_fmtdate' => 'Y-m-d',
'time_fmttime' => 'H:i:s',
'time_zone' => '8',
'postbanperiods' => '',
'postmodperiods' => '',
'allowrewrite' => '0',
'rewritecompatible' => '0',
'seo_title' => '',
'seo_key
words' => '',
'seo_description' => '',
'sitemap_baidu' => '1',
'sitemap_google' => '1',
'credit_rule' =>
array (
'register' => '1',
'login' => '0',
'publishvideo' => '10',
'addtospecial' => '0',
'videocomment' => '1',
'videodeleted' => '-10',
'membersubscibe' => '1',
'publishspecial' => '10',
'specialsubscibe' => '1',
'specialdelete' => '-10',
'publishcomment' => '0',
'commentdeleted' => '-1',
'locktag' => '-2',
),
'exchangecredit' =>
array (
'ispublish' => '0',
'exchangemincredits' => '',
'ratio' => '',
),
'mail' =>
array (
'type' => '2',
'silent' => '1',
'mailusername' => '1',
'maildelimiter' => '1',
'socket_host' => 'smtp.sina.com.cn',
'socket_port' => '25',
'socket_auth' => '1',
'socket_from' => 'supev@sina.com',
'socket_user' => 'supev@sina.com',
'socket_pass' => 'langwan',
'smtp_host' => '',
'smtp_port' => '',
),
'feed' =>
array (
'addvideo' => '1',
'addspecial' => '1',
),
'refer_mode' => '0',
'site_key' => 'c5afa89PBEUlVbLi',
'siteuniqueid' => 'IMKBkvde3eN55OPb',
'supev_version' => '1.0.0 Beta2',
'supev_release' => '0',
'video_set' =>
array (
'siteKey' => '4cc62da95521add0151afd70c9f38f4b',
'siteId' => '58413',
'sitename' => 'Name',
'siteurl' => 'www.name.com',
'sitetype' => '41',
),
'cronnextrun' => '1228968000',
'hottags' => '',
'tpl_index' => 'index',
'site_licensed' => '1',
'reg_closed' => '0',
),
'theme' =>
array (
1 =>
array (
'themeid' => '1',
'tag' => 'zh-cn',
'subject' => '榛樿涓婚',
'copyright' => 'supev.com',
'ctime' => '1191838422',
),
),
'memgroups' =>
array (
1 =>
array (
'gid' => '1',
'displayorder' => '0',
'subject' => '娓稿',
'grouptype' => 'system',
'startnum' => '0',
'groupcolor' => '',
'creditrequire' => '0',
'timelimit' => '0',
'postnum' => '0',
'specialnum' => '0',
'subscibememnum' => '0',
'subscibespnum' => '0',
'favoritenum' => '0',
'uploadnumper' => '0',
'readaccess' => '0',
'allowvisit' => '1',
'allowcomment' => '1',
'allowupload' => '0',
'allowsuperpload' => '0',
'allowrecord' => '0',
'allowcreatspecial' => '0',
'allowfavorite' => '0',
'allowsubscibe' => '0',
'allowsearch' => '0',
'allowgrade' => '1',
'allowreport' => '0',
'timesectionlimit' => '0',
'ispublishvideo' => '0',
'ispublishspecial' => '0',
'ispublishcomment' => '0',
),
2 =>
array (
'gid' => '2',
'displayorder' => '0',
'subject' => '琚姝㈢敤鎴?,
'grouptype' => 'system',
'startnum' => '0',
'groupcolor' => '',
'creditrequire' => '0',
'timelimit' => '0',
'postnum' => '0',
'specialnum' => '0',
'subscibememnum' => '0',
'subscibespnum' => '0',
'favoritenum' => '0',
'uploadnumper' => '0',
'readaccess' => '0',
'allowvisit' => '0',
'allowcomment' => '0',
'allowupload' => '0',
'allowsuperpload' => '0',
'allowrecord' => '0',
'allowcreatspecial' => '0',
'allowfavorite' => '0',
'allowsubscibe' => '0',
'allowsearch' => '0',
'allowgrade' => '0',
'allowreport' => '0',
'timesectionlimit' => '0',
'ispublishvideo' => '1',
'ispublishspecial' => '1',
'ispublishcomment' => '1',
),
3 =>
array (
'gid' => '3',
'displayorder' => '0',
'subject' => '寰呴獙璇佷細鍛?,
'grouptype' => 'system',
'startnum' => '0',
'groupcolor' => '',
'creditrequire' => '0',
'timelimit' => '0',
'postnum' => '0',
'specialnum' => '0',
'subscibememnum' => '5',
'subscib