code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
function copyfrom($field, $value) { static $copyfrom_array; if(!$copyform_array) $copyfrom_array = getcache('copyfrom','admin'); if($value && strpos($value,'|')!==false) { $arr = explode('|',$value); $value = $arr[0]; $value_data = $arr[1]; } if($value_data) { $copyfrom_link = $copyfrom_...
108wo
phpcms/modules/content/fields/copyfrom/output.inc.php
PHP
asf20
753
function copyfrom($field, $value) { $field_data = $field.'_data'; if(isset($_POST[$field_data])) { $value .= '|'.$_POST[$field_data]; } return $value; }
108wo
phpcms/modules/content/fields/copyfrom/input.inc.php
PHP
asf20
173
function readpoint($field, $value, $fieldinfo) { $paytype = $this->data['paytype']; if($paytype) { $checked1 = ''; $checked2 = 'checked'; } else { $checked1 = 'checked'; $checked2 = ''; } return '<input type="text" name="info['.$field.']" value="'.$value.'" size="5"><input type="radio" n...
108wo
phpcms/modules/content/fields/readpoint/form.inc.php
Hack
asf20
464
<?php defined('IN_ADMIN') or exit('No permission resources.'); $field_type = 'readpoint'; //字段数据库类型 $field_basic_table = 1; //是否允许作为主表字段 $field_allow_index = 0; //是否允许建立索引 $field_minlength = 0; //字符长度默认最小值 $field_maxlength = ''; //字符长度默认最大值 $field_allow_search = 1; //作为搜索条件 $field_allow_fulltext = 0;...
108wo
phpcms/modules/content/fields/readpoint/config.inc.php
PHP
asf20
501
<?php defined('IN_PHPCMS') or exit('No permission resources.');?>
108wo
phpcms/modules/content/fields/readpoint/field_edit_form.inc.php
PHP
asf20
66
<?php defined('IN_ADMIN') or exit('No permission resources.'); $this->db->query("ALTER TABLE `$tablename` DROP `$field`"); ?>
108wo
phpcms/modules/content/fields/delete.sql.php
PHP
asf20
130
<?php defined('IN_ADMIN') or exit('No permission resources.'); $defaultvalue = isset($_POST['setting']['defaultvalue']) ? $_POST['setting']['defaultvalue'] : ''; $minnumber = isset($_POST['setting']['minnumber']) ? $_POST['setting']['minnumber'] : 1; $decimaldigits = isset($_POST['setting']['decimaldigits']) ? $_PO...
108wo
phpcms/modules/content/fields/edit.sql.php
PHP
asf20
2,985
function brand($field, $value, $fieldinfo) { //品牌 $brand_db = pc_base::load_model('brand_model'); $brand_1 = $brand_db->select(array('catid'=>$this->catid, 'parentid'=>0), 'id,name', '', 'name ASC'); if (is_array($brand_1)) { foreach ($brand_1 as &$b){ $b['child'] = $brand_db->select(array('cati...
108wo
phpcms/modules/content/fields/brand/form.inc.php
PHP
asf20
2,577
<?php defined('IN_ADMIN') or exit('No permission resources.'); $field_type = 'varchar'; //字段数据库类型 $field_basic_table = 1; //是否允许作为主表字段 $field_allow_index = 1; //是否允许建立索引 $field_minlength = 0; //字符长度默认最小值 $field_maxlength = ''; //字符长度默认最大值 $field_allow_search = 1; //作为搜索条件 $field_allow_fulltext = 0; /...
108wo
phpcms/modules/content/fields/brand/config.inc.php
PHP
asf20
499
function downfiles($field, $value, $fieldinfo) { extract(string2array($fieldinfo['setting'])); $list_str = ''; if($value) { $value = string2array(html_entity_decode($value,ENT_QUOTES)); if(is_array($value)) { foreach($value as $_k=>$_v) { $list_str .= "<div id='multifile{$_k}'><input type='t...
108wo
phpcms/modules/content/fields/downfiles/form.inc.php
Hack
asf20
1,607
<?php defined('IN_ADMIN') or exit('No permission resources.'); $field_type = 'mediumtext'; //字段数据库类型 $field_basic_table = 0; //是否允许作为主表字段 $field_allow_index = 0; //是否允许建立索引 $field_minlength = 0; //字符长度默认最小值 $field_maxlength = ''; //字符长度默认最大值 $field_allow_search = 0; //作为搜索条件 $field_allow_fulltext = 0...
108wo
phpcms/modules/content/fields/downfiles/config.inc.php
PHP
asf20
502
<table cellpadding="2" cellspacing="1" width="98%"> <tr> <td>允许上传的文件类型</td> <td><input type="text" name="setting[upload_allowext]" value="gif|jpg|jpeg|png|bmp" size="40" class="input-text"></td> </tr> <tr> <td>是否从已上传中选择</td> <td><input type="radio" name="setting[isselectfile]" val...
108wo
phpcms/modules/content/fields/downfiles/field_add_form.inc.php
Hack
asf20
1,177
<?php defined('IN_PHPCMS') or exit('No permission resources.');?> <table cellpadding="2" cellspacing="1" width="98%"> <tr> <td>允许上传的文件类型</td> <td><input type="text" name="setting[upload_allowext]" value="<?php echo $setting['upload_allowext'];?>" size="40" class="input-text"></td> </tr> <tr> ...
108wo
phpcms/modules/content/fields/downfiles/field_edit_form.inc.php
PHP
asf20
1,588
function downfiles($field, $value) { extract(string2array($this->fields[$field]['setting'])); $list_str = array(); $file_list = string2array($value); if(is_array($file_list)) { foreach($file_list as $_k=>$_v) { if($_v[fileurl]){ $filename = $_v[filename] ? $_v[filename] : L('click_to_down')...
108wo
phpcms/modules/content/fields/downfiles/output.inc.php
PHP
asf20
797
function downfiles($field, $value) { $files = $_POST[$field.'_fileurl']; $files_alt = $_POST[$field.'_filename']; $array = $temp = array(); if(!empty($files)) { foreach($files as $key=>$file) { $temp['fileurl'] = $file; $temp['filename'] = $files_alt[$key]; $array[$key] = $temp; }...
108wo
phpcms/modules/content/fields/downfiles/input.inc.php
PHP
asf20
383
function template($field, $value, $fieldinfo) { $sitelist = getcache('sitelist','commons'); $default_style = $sitelist[$this->siteid]['default_style']; return form::select_template($default_style,'content',$value,'name="info['.$field.']" id="'.$field.'"','show'); }
108wo
phpcms/modules/content/fields/template/form.inc.php
PHP
asf20
279
<?php defined('IN_ADMIN') or exit('No permission resources.'); $field_type = 'tinyint'; //字段数据库类型 $field_basic_table = 1; //是否允许作为主表字段 $field_allow_index = 1; //是否允许建立索引 $field_minlength = 0; //字符长度默认最小值 $field_maxlength = ''; //字符长度默认最大值 $field_allow_search = 1; //作为搜索条件 $field_allow_fulltext = 0; /...
108wo
phpcms/modules/content/fields/template/config.inc.php
PHP
asf20
499
<?php defined('IN_PHPCMS') or exit('No permission resources.');?>
108wo
phpcms/modules/content/fields/template/field_edit_form.inc.php
PHP
asf20
65
function datetime($field, $value, $fieldinfo) { extract(string2array($fieldinfo['setting'])); $isdatetime = 0; if($fieldtype=='int') { if(!$value) $value = SYS_TIME; $format_txt = $format == 'm-d' ? 'm-d' : $format; $value = date($format_txt,$value); $isdatetime = strlen($format) > 6 ? 1 : 0; ...
108wo
phpcms/modules/content/fields/datetime/form.inc.php
PHP
asf20
448
<?php defined('IN_ADMIN') or exit('No permission resources.'); $field_type = 'int'; //字段数据库类型 $field_basic_table = 1; //是否允许作为主表字段 $field_allow_index = 1; //是否允许建立索引 $field_minlength = ''; //字符长度默认最小值 $field_maxlength = ''; //字符长度默认最大值 $field_allow_search = 1; //作为搜索条件 $field_allow_fulltext = 0; //作为...
108wo
phpcms/modules/content/fields/datetime/config.inc.php
PHP
asf20
496
<table cellpadding="2" cellspacing="1" bgcolor="#ffffff"> <tr> <td><strong>时间格式:</strong></td> <td> <input type="radio" name="setting[fieldtype]" value="date" checked>日期(<?php echo date('Y-m-d');?>)<br /> <input type="radio" name="setting[fieldtype]" value="datetime">日期+时间(<?php echo date('Y-m-...
108wo
phpcms/modules/content/fields/datetime/field_add_form.inc.php
PHP
asf20
970
<?php defined('IN_PHPCMS') or exit('No permission resources.');?> <table cellpadding="2" cellspacing="1" bgcolor="#ffffff"> <tr> <td><strong>时间格式:</strong></td> <td> <input type="radio" name="setting[fieldtype]" value="date" <?php if($setting['fieldtype']=='date') echo 'checked';?>>日期(<?=date('Y-m...
108wo
phpcms/modules/content/fields/datetime/field_edit_form.inc.php
PHP
asf20
1,420
function datetime($field, $value) { $setting = string2array($this->fields[$field]['setting']); extract($setting); if($fieldtype=='date' || $fieldtype=='datetime') { return $value; } else { $format_txt = $format; } if(strlen($format_txt)<6) { $isdatetime = 0; } else { $isdatetime = ...
108wo
phpcms/modules/content/fields/datetime/output.inc.php
PHP
asf20
423
function datetime($field, $value) { $setting = string2array($this->fields[$field]['setting']); if($setting['fieldtype']=='int') { $value = strtotime($value); } return $value; }
108wo
phpcms/modules/content/fields/datetime/input.inc.php
PHP
asf20
197
function catid($field, $value, $fieldinfo) { if(!$value) $value = $this->catid; $publish_str = ''; if(defined('IN_ADMIN') && ROUTE_A=='add') $publish_str = " <a href='javascript:;' onclick=\"omnipotent('selectid','?m=content&c=content&a=add_othors&siteid=".$this->siteid."','".L('publish_to_othor_category')."'...
108wo
phpcms/modules/content/fields/catid/form.inc.php
Hack
asf20
591
<?php defined('IN_ADMIN') or exit('No permission resources.'); $field_type = 'int'; //字段数据库类型 $field_basic_table = 1; //是否允许作为主表字段 $field_allow_index = 1; //是否允许建立索引 $field_minlength = 1; //字符长度默认最小值 $field_maxlength = ''; //字符长度默认最大值 $field_allow_search = 0; //作为搜索条件 $field_allow_fulltext = 0; //作为全...
108wo
phpcms/modules/content/fields/catid/config.inc.php
PHP
asf20
495
<?php defined('IN_PHPCMS') or exit('No permission resources.');?>
108wo
phpcms/modules/content/fields/catid/field_edit_form.inc.php
PHP
asf20
66
<?php defined('IN_PHPCMS') or exit('No permission resources.'); class readpoint { public $userid,$username; function __construct() { $this->userid = param::get_cookie('_userid'); if(!$this->userid) { header("Location: index.php?m=member&c=index&a=login&forward=".urlencode(get_url())); exit; } ...
108wo
phpcms/modules/content/readpoint.php
PHP
asf20
2,212
<?php /** * eddy * 会员中心 产品管理 */ defined('IN_PHPCMS') or exit('No permission resources.'); class product { private $db; public $memberinfo; function __construct() { $this->db = pc_base::load_model('content_model'); $this->db->set_model(13); $this->_userid = param::get_cookie('_userid'); $this->_username...
108wo
phpcms/modules/content/product.php
PHP
asf20
10,456
<?php defined('IN_PHPCMS') or exit('No permission resources.'); //模型缓存路径 define('CACHE_MODEL_PATH',CACHE_PATH.'caches_model'.DIRECTORY_SEPARATOR.'caches_data'.DIRECTORY_SEPARATOR); pc_base::load_app_func('util','content'); class MY_tag { private $db; function __construct() { $this->db = pc_base::load_mode...
108wo
phpcms/modules/content/MY_tag.php
PHP
asf20
1,821
<?php defined('IN_PHPCMS') or exit('No permission resources.'); //模型缓存路径 define('CACHE_MODEL_PATH',CACHE_PATH.'caches_model'.DIRECTORY_SEPARATOR.'caches_data'.DIRECTORY_SEPARATOR); pc_base::load_app_func('util','content'); class MY_search { private $db; function __construct() { $this->db = pc_base::load_m...
108wo
phpcms/modules/content/MY_search.php
PHP
asf20
9,666
<?php defined('IN_PHPCMS') or exit('No permission resources.'); //模型缓存路径 define('CACHE_MODEL_PATH',CACHE_PATH.'caches_model'.DIRECTORY_SEPARATOR.'caches_data'.DIRECTORY_SEPARATOR); pc_base::load_app_func('util','content'); class tag { private $db; function __construct() { $this->db = pc_base::load_model('...
108wo
phpcms/modules/content/tag.php
PHP
asf20
1,818
<?php defined('IN_PHPCMS') or exit('No permission resources.'); //模型缓存路径 define('CACHE_MODEL_PATH',CACHE_PATH.'caches_model'.DIRECTORY_SEPARATOR.'caches_data'.DIRECTORY_SEPARATOR); //定义在单独操作内容的时候,同时更新相关栏目页面 define('RELATION_HTML',true); pc_base::load_app_class('admin','admin',0); pc_base::load_sys_class('form'...
108wo
phpcms/modules/content/MY_content.php
PHP
asf20
35,757
<?php defined('IN_PHPCMS') or exit('No permission resources.'); //模型缓存路径 define('CACHE_MODEL_PATH',CACHE_PATH.'caches_model'.DIRECTORY_SEPARATOR.'caches_data'.DIRECTORY_SEPARATOR); //定义在单独操作内容的时候,同时更新相关栏目页面 define('RELATION_HTML',true); pc_base::load_app_class('admin','admin',0); pc_base::load_sys_class('form'...
108wo
phpcms/modules/content/content.php
PHP
asf20
34,810
<?php defined('IN_PHPCMS') or exit('No permission resources.'); pc_base::load_app_class('admin','admin',0); pc_base::load_sys_class('push_factory', '', 0); //权限判断,根据栏目里面的权限设置检查 if((isset($_GET['catid']) || isset($_POST['catid'])) && $_SESSION['roleid'] != 1) { $catid = isset($_GET['catid']) ? intval($_GET['ca...
108wo
phpcms/modules/content/push.php
PHP
asf20
2,252
<?php defined('IN_PHPCMS') or exit('No permission resources.'); //模型缓存路径 define('CACHE_MODEL_PATH',CACHE_PATH.'caches_model'.DIRECTORY_SEPARATOR.'caches_data'.DIRECTORY_SEPARATOR); class down { private $db; function __construct() { $this->db = pc_base::load_model('content_model'); } public function ini...
108wo
phpcms/modules/content/down.php
PHP
asf20
7,080
<?php /** * 分页函数 * * @param $num 信息总数 * @param $curr_page 当前分页 * @param $pageurls 链接地址 * @return 分页 */ function content_pages($num, $curr_page,$pageurls) { $multipage = ''; $page = 11; $offset = 4; $pages = $num; $from = $curr_page - $offset; $to = $curr_page + $offset; $more = 0; if($p...
108wo
phpcms/modules/content/functions/util.func.php
PHP
asf20
1,704
<?php defined('IN_PHPCMS') or exit('No permission resources.'); class rss { private $db; function __construct() { $this->db = pc_base::load_model('content_model'); pc_base::load_app_class('rssbuilder','','','0'); $this->siteid = $_GET['siteid'] ? intval($_GET['siteid']) : '1'; $this->rssid = intval(...
108wo
phpcms/modules/content/rss.php
PHP
asf20
3,405
<?php defined('IN_PHPCMS') or exit('No permission resources.'); pc_base::load_app_class('admin', 'admin', 0); class block_admin extends admin { private $db, $siteid, $priv_db, $history_db, $roleid; public function __construct() { $this->db = pc_base::load_model('block_model'); $this->priv_db = pc_base::lo...
108wo
phpcms/modules/block/block_admin.php
PHP
asf20
15,098
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header', 'admin'); ?> <div class="pad_10"> <div class="table-list"> <table width="100%" cellspacing="0"> <thead> <tr> <th><?php echo L('name')?></th> <th width="80"><?php echo L('type')?></th> <th><...
108wo
phpcms/modules/block/templates/block_list.tpl.php
PHP
asf20
2,638
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header', 'admin'); ?> <script type="text/javascript"> <!-- $(function(){ $.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50...
108wo
phpcms/modules/block/templates/block_add_edit.tpl.php
PHP
asf20
2,451
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header', 'admin'); $authkey = upload_key('1,jpg|jpeg|gif|bmp|png,1,200,200'); ?> <?php if ($data['type'] == 2) :?> <style> .arrowhead,.arrowhead-b{background: url(<?php echo IMG_PATH?>icon/arrowhead.png) no-repeat; height:15...
108wo
phpcms/modules/block/templates/block_update.tpl.php
PHP
asf20
13,426
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header', 'admin'); ?> <div class="pad_10"> <form action="?" method="get"> <input type="hidden" name="m" value="block"> <input type="hidden" name="c" value="block_admin"> <input type="hidden" name="a" value="public_search_co...
108wo
phpcms/modules/block/templates/search_content.tpl.php
PHP
asf20
3,263
<?php defined('IN_PHPCMS') or exit('No permission resources.'); class block_tag { private $db; public function __construct() { $this->db = pc_base::load_model('block_model'); } /** * PC标签中调用数据 * @param array $data 配置数据 */ public function pc_tag($data) { $siteid = isset($data['sitei...
108wo
phpcms/modules/block/classes/block_tag.class.php
PHP
asf20
2,053
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('UNINSTALL') or exit('Access Denied'); return array('link'); ?>
108wo
phpcms/modules/link/uninstall/model.php
PHP
asf20
129
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('UNINSTALL') or exit('Access Denied'); $type_db = pc_base::load_model('type_model'); $typeid = $type_db->delete(array('module'=>'link')); if(!$typeid) return FALSE; ?>
108wo
phpcms/modules/link/uninstall/extention.inc.php
PHP
asf20
237
<?php defined('IN_PHPCMS') or exit('No permission resources.'); pc_base::load_app_class('admin','admin',0); class link extends admin { function __construct() { parent::__construct(); $this->M = new_html_special_chars(getcache('link', 'commons')); $this->db = pc_base::load_model('link_model'); $this->db...
108wo
phpcms/modules/link/link.php
PHP
asf20
14,348
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header','admin'); ?> <script type="text/javascript"> <!-- $(function(){ $.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50...
108wo
phpcms/modules/link/templates/link_add.tpl.php
PHP
asf20
3,471
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_dialog = 1; include $this->admin_tpl('header', 'admin'); ?> <div class="pad-lr-10"> <form name="myform" action="?m=link&c=link&a=delete_type" method="post" onsubmit="checkuid();return false;"> <div class="table-list"> <table width="100%" cells...
108wo
phpcms/modules/link/templates/link_list_type.tpl.php
PHP
asf20
3,500
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_dialog = 1; include $this->admin_tpl('header', 'admin'); ?> <div class="pad-lr-10"> <form name="myform" id="myform" action="?m=link&c=link&a=check_register" method="post" onsubmit="checkuid();return false;"> <div class="table-list"> <table wid...
108wo
phpcms/modules/link/templates/check_register_list.tpl.php
PHP
asf20
3,285
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_dialog = 1; include $this->admin_tpl('header', 'admin'); ?> <div class="pad-lr-10"> <table width="100%" cellspacing="0" class="search-form"> <tbody> <tr> <td><div class="explain-col"> <?php echo L('all_linktype')?>: &nbsp;&nbsp; <...
108wo
phpcms/modules/link/templates/link_list.tpl.php
PHP
asf20
4,475
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header','admin'); ?> <script type="text/javascript"> <!-- $(function(){ $.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50...
108wo
phpcms/modules/link/templates/link_type_edit.tpl.php
PHP
asf20
1,939
<?php include $this->admin_tpl('header','admin'); ?> <script type="text/javascript"> <!-- $(function(){ $.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50'}, function(){this.close();$(obj).focus();})}}); $("...
108wo
phpcms/modules/link/templates/link_edit.tpl.php
PHP
asf20
4,828
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header','admin'); ?> <script type="text/javascript"> <!-- $(function(){ $.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50...
108wo
phpcms/modules/link/templates/link_type_add.tpl.php
PHP
asf20
1,892
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header', 'admin'); ?> <form method="post" action="?m=link&c=link&a=setting"> <table width="100%" cellpadding="0" cellspacing="1" class="table_form"> <tr> <th width="20%"><?php echo L('application_or_not')?>:</th> ...
108wo
phpcms/modules/link/templates/setting.tpl.php
PHP
asf20
1,174
<?php defined('IN_PHPCMS') or exit('No permission resources.'); class index { function __construct() { pc_base::load_app_func('global'); $siteid = isset($_GET['siteid']) ? intval($_GET['siteid']) : get_siteid(); define("SITEID",$siteid); } public function init() { $siteid = SITEID; $setting...
108wo
phpcms/modules/link/index.php
PHP
asf20
2,359
<?php defined('IN_PHPCMS') or exit('No permission resources.'); class link_tag { private $link_db,$type_db; public function __construct() { $this->link_db = pc_base::load_model('link_model'); $this->type_db = pc_base::load_model('type_model'); } /** * 取出该分类的详细 信息 * @param $typeid 分类ID ...
108wo
phpcms/modules/link/classes/link_tag.class.php
PHP
asf20
3,862
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('INSTALL') or exit('Access Denied'); return array('link'); ?>
108wo
phpcms/modules/link/install/model.php
PHP
asf20
128
{template "content","header"} <script type="text/javascript" src="{JS_PATH}formvalidator.js" charset="UTF-8"></script> <script type="text/javascript" src="{JS_PATH}formvalidatorregex.js" charset="UTF-8"></script> <link href="{CSS_PATH}link.css" rel="stylesheet" type="text/css" /> <link href="{CSS_PATH}table_form.c...
108wo
phpcms/modules/link/install/templates/register.html
HTML
asf20
4,935
{template "content","header"} <link href="{CSS_PATH}link.css" rel="stylesheet" type="text/css" /> <!--main--> <div class="main"> <!--left_bar--> <div class="col-left"> <div class="crumbs"><a href="{siteurl($siteid)}">网站首页</a><span> &gt; </span><a href="{APP_PATH}index.php?m={ROUTE_M}&siteid={$siteid}">友情链接<...
108wo
phpcms/modules/link/install/templates/index.html
HTML
asf20
3,099
{template "content","header"} <link href="{CSS_PATH}link.css" rel="stylesheet" type="text/css" /> <!--main--> <div class="main"> <!--left_bar--> {pc:link action="get_type" typeid="$type_id" siteid="$siteid"} {php $type_arr = $data;} {/pc} <div class="col-left"> <div class="crumbs"><a href="{si...
108wo
phpcms/modules/link/install/templates/list_type.html
HTML
asf20
2,221
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('INSTALL') or exit('Access Denied'); $parentid = $menu_db->insert(array('name'=>'link', 'parentid'=>29, 'm'=>'link', 'c'=>'link', 'a'=>'init', 'data'=>'', 'listorder'=>0, 'display'=>'1'), true); $menu_db->insert(array('name'=>'add_link', 'parentid'=>$pare...
108wo
phpcms/modules/link/install/extention.inc.php
PHP
asf20
2,106
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('INSTALL') or exit('Access Denied'); $module = 'link'; $modulename = '友情链接'; $introduce = '友情链接模块'; $author = 'phpcms Team'; $authorsite = 'http://www.phpcms.cn'; $authoremail = ''; ?>
108wo
phpcms/modules/link/install/config.inc.php
PHP
asf20
275
<?php $LANG['link'] = '友情链接'; $LANG['link_add'] = '添加友情链接'; $LANG['link_name'] = '网站名称'; $LANG['logo'] = '图片LOGO'; $LANG['url'] = '网站网址'; $LANG['link_type'] = '链接类型'; $LANG['typeid'] = '所属分类'; $LANG['status'] = '状 态'; $LANG['type_id'] = '分类ID'; ...
108wo
phpcms/modules/link/install/languages/zh-cn/link.lang.php
PHP
asf20
2,242
<?php ?>
108wo
phpcms/modules/link/functions/global.func.php
PHP
asf20
9
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header','admin'); ?><style type="text/css"> <!-- *{ padding:0; margin:0; font-size:12px} a:link,a:visited{text-decoration:none;color:#0068a6} a:hover,a:active{color:#ff6600;text-decoration: underline} .showMsg{border: 1px ...
108wo
phpcms/modules/scan/templates/md5_creat.tpl.php
PHP
asf20
973
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header','admin'); ?> <div class="pad-10"> <div class="common-form"> <form name="myform" action="?m=scan&c=index&a=public_update_config" method="post" id="myform" onsubmit="return check_form()"> <table width="100%" class=...
108wo
phpcms/modules/scan/templates/scan_index.tpl.php
PHP
asf20
2,514
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header', 'admin'); ?> <div class="pad-10" style="padding-bottom:0px;"> <table width="100%" height="400" class="table_form"> <?php if (isset($func)) :?> <tr> <td><?php echo L('characteristic_function')?>:<?php if ...
108wo
phpcms/modules/scan/templates/public_view.tpl.php
PHP
asf20
1,678
<?php defined('IN_ADMIN') or exit('No permission resources.');?> <?php include $this->admin_tpl('header', 'admin');?> <div class="pad-lr-10"> <div class="table-list"> <table width="100%" cellspacing="0"> <thead> <tr> <th align="left"><?php echo L('file_address')?></th> <th align="left"><?php echo L('fu...
108wo
phpcms/modules/scan/templates/scan_report.tpl.php
PHP
asf20
2,131
<?php defined('IN_PHPCMS') or exit('No permission resources.'); pc_base::load_app_class('admin', 'admin', 0); class index extends admin { protected $safe = array ('file_type' => 'php|js','code' => '','func' => 'com|system|exec|eval|escapeshell|cmd|passthru|base64_decode|gzuncompress','dir' => '', 'md5_file'=>''...
108wo
phpcms/modules/scan/index.php
PHP
asf20
6,490
<?php /** * 文件扫描 * @param $filepath 目录 * @param $subdir 是否搜索子目录 * @param $ex 搜索扩展 * @param $isdir 是否只搜索目录 * @param $md5 是否生成MD5验证码 * @param $enforcement 强制更新缓存 */ function scan_file_lists($filepath, $subdir = 1, $ex = '', $isdir = 0, $md5 = 0, $enforcement = 0) { static...
108wo
phpcms/modules/scan/functions/global.func.php
PHP
asf20
1,156
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('UNINSTALL') or exit('Access Denied'); return array('mood'); ?>
108wo
phpcms/modules/mood/uninstall/model.php
PHP
asf20
129
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('UNINSTALL') or exit('Access Denied'); ?>
108wo
phpcms/modules/mood/uninstall/extention.inc.php
PHP
asf20
106
<?php defined('IN_ADMIN') or exit('No permission resources.');?> <?php include $this->admin_tpl('header', 'admin');?> <div class="pad-lr-10"> <form name="searchform" action="" method="get" > <input type="hidden" value="mood" name="m"> <input type="hidden" value="mood_admin" name="c"> <input type="hidden" value="i...
108wo
phpcms/modules/mood/templates/mood_list.tpl.php
PHP
asf20
2,013
<?php defined('IN_ADMIN') or exit('No permission resources.');?> <?php include $this->admin_tpl('header', 'admin');?> <div class="pad-lr-10"> <form name="myform" action="?m=mood&c=mood_admin&a=setting" method="post"> <div class="table-list"> <table width="100%" cellspacing="0"> <thead> <tr> <th align="...
108wo
phpcms/modules/mood/templates/mood_setting.tpl.php
PHP
asf20
1,245
<?php defined('IN_PHPCMS') or exit('No permission resources.'); class index { private $setting, $catid, $contentid, $siteid, $mood_id; public function __construct() { $this->setting = getcache('mood_program', 'commons'); $this->mood_id = isset($_GET['id']) ? $_GET['id'] : ''; if (empty($this->moo...
108wo
phpcms/modules/mood/index.php
PHP
asf20
3,251
<?php defined('IN_PHPCMS') or exit('No permission resources.'); pc_base::load_app_class('admin', 'admin', 0); class mood_admin extends admin { public function __construct() { parent::__construct(); } //排行榜查看 public function init() { $mood_program = getcache('mood_program', 'commons'); $mood_pr...
108wo
phpcms/modules/mood/mood_admin.php
PHP
asf20
3,584
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('INSTALL') or exit('Access Denied'); return array('mood'); ?>
108wo
phpcms/modules/mood/install/model.php
PHP
asf20
128
<style type="text/css"> #mood{text-align: center;} #mood ul li,#mood ul li div.pillar{display:inline-block;display:-moz-inline-stack;zoom:1;*display:inline;} #mood ul li{vertical-align: bottom} #mood ul li{width:80px; padding-bottom:10px} #mood ul li span{ font-size:12px} #mood ul li label{ display:block;}...
108wo
phpcms/modules/mood/install/templates/index.html
HTML
asf20
1,280
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('INSTALL') or exit('Access Denied'); return array ( 'index.html' => '新闻心情', ); ?>
108wo
phpcms/modules/mood/install/templates/name.inc.php
PHP
asf20
161
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('INSTALL') or exit('Access Denied'); $parentid = $menu_db->insert(array('name'=>'mood', 'parentid'=>'29', 'm'=>'mood', 'c'=>'mood_admin', 'a'=>'init', 'data'=>'', 'listorder'=>0, 'display'=>'1'), true); $menu_db->insert(array('name'=>'mood_setting', 'pare...
108wo
phpcms/modules/mood/install/extention.inc.php
PHP
asf20
1,533
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('INSTALL') or exit('Access Denied'); $module = 'mood'; $modulename = '新闻心情'; $introduce = '新闻心情模块'; $author = 'phpcms team'; $authorsite = 'http://www.phpcms.cn'; $authoremail = ''; ?>
108wo
phpcms/modules/mood/install/config.inc.php
PHP
asf20
275
<?php $LANG['id_cannot_be_empty'] = 'ID不能为空'; $LANG['total'] = '总数'; $LANG['expressed'] = '你已经表达过心情了,保持平常心有益身体健康!'; $LANG['category'] = '栏目'; $LANG['time'] = '时间'; $LANG['sort'] = '排序'; $LANG['today'] = '今天'; $LANG['yesterday'] = '昨天'; $LANG['this_week'] = '本周'; $LANG['this_month'] = '本月'; $LANG['all'] = '所有...
108wo
phpcms/modules/mood/install/languages/zh-cn/mood.lang.php
PHP
asf20
548
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('UNINSTALL') or exit('Access Denied'); return array('poster', 'poster_space'); ?>
108wo
phpcms/modules/poster/uninstall/model.php
PHP
asf20
149
<?php defined('IN_PHPCMS') or exit('Access Denied'); defined('UNINSTALL') or exit('Access Denied'); $poster_stat = pc_base::load_model('poster_stat_model'); $diff1 = date('Y', SYS_TIME); //当前年份 $diff2 = date('m', SYS_TIME); //当前月份 $diff = ($diff1-2010)*12+$diff2; for($y=$diff;$y>0;$y--) { $value = date('Y...
108wo
phpcms/modules/poster/uninstall/extention.inc.php
PHP
asf20
560
<?php defined('IN_PHPCMS') or exit('No permission resources.'); pc_base::load_app_class('admin','admin',0); pc_base::load_app_func('global', 'poster'); class poster extends admin { private $db, $s_db; function __construct() { parent::__construct(); $this->s_db = pc_base::load_model('poster_space_model'...
108wo
phpcms/modules/poster/poster.php
PHP
asf20
13,333
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header','admin'); ?> <div class="subnav"> <h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('ads_module')?></h2> <div class="content-menu ib-a blue line-x"> <a class="add fb" href="?m=poster&c=poster&a=init&space...
108wo
phpcms/modules/poster/templates/poster_stat.tpl.php
PHP
asf20
5,946
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_header = $show_validator = $show_scroll = 1; include $this->admin_tpl('header', 'admin'); $authkey = upload_key('1,'.$this->M['ext'].',1'); ?> <form method="post" action="?m=poster&c=poster&a=add" id="myform"> <table class="table_form" width=...
108wo
phpcms/modules/poster/templates/poster_add.tpl.php
PHP
asf20
9,132
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_header = 1; include $this->admin_tpl('header', 'admin'); ?> <form method="post" action="?m=poster&c=space&a=public_tempate_setting" name="myform" id="myform"> <table class="table_form" width="100%" cellspacing="0"> <tbody> <tr> <th width=...
108wo
phpcms/modules/poster/templates/template_setting.tpl.php
PHP
asf20
3,915
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header', 'admin'); ?> <form method="post" action="?m=poster&c=space&a=add" name="myform" id="myform"> <table class="table_form" width="100%" cellspacing="0"> <tbody> <tr> <th width="80"><strong><?php echo L('boardtype')...
108wo
phpcms/modules/poster/templates/space_add.tpl.php
PHP
asf20
5,622
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header', 'admin'); ?> <div class="subnav"> <h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('ad_list')?></h2> <div class="content-menu ib-a blue line-x">   <?php if(isset($big_menu)) echo '<a class="add fb" href=...
108wo
phpcms/modules/poster/templates/poster_list.tpl.php
PHP
asf20
4,153
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo L('preview')?></title> </head> <body> <table wi...
108wo
phpcms/modules/poster/templates/space_preview.tpl.php
PHP
asf20
618
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_header = $show_validator = $show_scroll = 1; include $this->admin_tpl('header', 'admin'); ?> <div class="pad-10"> <h2 class="title-1 f14 lh28">(<?php echo $r['name'];?>)<?php echo L('get_code_space')?></h2> <div class="bk10"></div> <div clas...
108wo
phpcms/modules/poster/templates/space_call.tpl.php
PHP
asf20
1,932
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_dialog = $show_header = 1; include $this->admin_tpl('header', 'admin'); ?> <div class="subnav"> <div class="content-menu ib-a blue line-x"> <?php if(isset($big_menu)) echo '<a class="add fb" href="'.$big_menu[0].'"><em>'.$big_menu[1]....
108wo
phpcms/modules/poster/templates/space_list.tpl.php
PHP
asf20
4,221
<?php defined('IN_ADMIN') or exit('No permission resources.'); include $this->admin_tpl('header', 'admin'); ?> <form method="post" action="?m=poster&c=space&a=edit&spaceid=<?php echo $_GET['spaceid']?>" name="myform" id="myform"> <table class="table_form" width="100%" cellspacing="0"> <tbody> <tr> <th width...
108wo
phpcms/modules/poster/templates/space_edit.tpl.php
PHP
asf20
5,891
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_header = $show_validator = $show_scroll = 1; include $this->admin_tpl('header', 'admin'); $authkey = upload_key('1,'.$this->M['ext'].',1'); ?> <form method="post" action="?m=poster&c=poster&a=edit&id=<?php echo $_GET['id']?>&spaceid=<?php echo...
108wo
phpcms/modules/poster/templates/poster_edit.tpl.php
PHP
asf20
9,599
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_header = 1; include $this->admin_tpl('header', 'admin'); ?> <form method="post" action="?m=poster&c=space&a=setting" id="myform" name="myform"> <table width="100%" cellpadding="0" cellspacing="1" class="table_form"> <tr> <th width="130"><?...
108wo
phpcms/modules/poster/templates/setting.tpl.php
PHP
asf20
1,258
<?php defined('IN_ADMIN') or exit('No permission resources.'); $show_dialog = $show_header = 1; include $this->admin_tpl('header', 'admin'); ?> <div class="subnav"> <div class="content-menu ib-a blue line-x"> <?php if(isset($big_menu)) echo '<a class="add fb" href="'.$big_menu[0].'"><em>'.$big_menu[1]....
108wo
phpcms/modules/poster/templates/poster_template.tpl.php
PHP
asf20
2,866
<?php return array ( 'banner' => array ( 'name' => '矩形横幅', 'select' => '0', 'padding' => '0', 'size' => '1', 'option' => '0', 'num' => '1', 'iscore' => '1', 'type' => array ( 'images' => '图片', 'flash' => '动画', ), ), 'fixure' => array ( 'name' => '固定位置...
108wo
phpcms/modules/poster/poster_template.cache.php
PHP
asf20
2,079
<?php return array ( 'banner' => array ( 'name' => '矩形横幅', 'select' => '0', 'padding' => '0', 'size' => '1', 'option' => '0', 'num' => '1', 'iscore' => '1', 'type' => array ( 'images' => '图片', 'flash' => '动画', ), ), 'fixure' => array ( 'name' => '固定位置...
108wo
phpcms/modules/poster/poster_template_1.cache.php
PHP
asf20
2,079