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 |
|---|---|---|---|---|---|
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
class index {
function __construct() {
$this->db = pc_base::load_model('poster_model');
$this->s_db = pc_base::load_model('poster_stat_model');
}
public function init() {
}
/**
* 统计广告点击次数
*
*/
public function poster... | 108wo | phpcms/modules/poster/index.php | PHP | asf20 | 4,168 |
<?php
/**
*
* @param 广告生成js类
*/
defined('IN_PHPCMS') or exit('No permission resources.');
class html {
private $db, $s_db, $queue;
public function __construct() {
$this->s_db = pc_base::load_model('poster_space_model');
$this->db = pc_base::load_model('poster_model');
$this->queue = pc_bas... | 108wo | phpcms/modules/poster/classes/html.class.php | PHP | asf20 | 2,288 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
pc_base::load_sys_class('form', '', 0);
class space extends admin {
private $M, $db;
function __construct() {
parent::__construct();
$setting = new_html_special_chars(getcache('poster', 'commons'... | 108wo | phpcms/modules/poster/space.php | PHP | asf20 | 11,965 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');
return array('poster', 'poster_space');
?> | 108wo | phpcms/modules/poster/install/model.php | PHP | asf20 | 147 |
function PCMSAD(PID) {
this.ID = PID;
this.PosID = 0;
this.ADID = 0;
this.ADType = "";
this.ADName = "";
this.ADContent = "";
this.PaddingLeft = 0;
this.PaddingTop = 0;
this.Wspaceidth = 0;
this.Height = 0;
this.IsHitCount = "N";
this.UploadFilePath = "";
this.URL... | 108wo | phpcms/modules/poster/install/templates/banner.html | HTML | asf20 | 3,111 |
function PCMSAD(PID) {
this.ID = PID;
this.PosID = 0;
this.ADID = 0;
this.ADType = "";
this.ADName = "";
this.ADContent = "";
this.PaddingLeft = 0;
this.PaddingTop = 0;
this.Width = 0;
this.Height = 0;
this.IsHitCount = "N";
this.UploadFilePath = "";
this.URL = ""... | 108wo | phpcms/modules/poster/install/templates/imagelist.html | HTML | asf20 | 2,799 |
function PCMSAD(PID) {
this.ID = PID;
this.PosID = 0;
this.ADID = 0;
this.ADType = "";
this.ADName = "";
this.ADContent = "";
this.PaddingLeft = 0;
this.PaddingTop = 0;
this.Width = 0;
this.Height = 0;
this.IsHitCount = "N";
this.UploadFilePath = "";
this.Step... | 108wo | phpcms/modules/poster/install/templates/float.html | HTML | asf20 | 5,830 |
{show_ad(1, 15)} | 108wo | phpcms/modules/poster/install/templates/test.html | HTML | asf20 | 16 |
function PCMSAD(PID) {
this.ID = PID;
this.PosID = 0;
this.ADID = 0;
this.ADType = "";
this.ADName = "";
this.ADContent = "";
this.PaddingLeft = 0;
this.PaddingTop = 0;
this.Width = 0;
this.Height = 0;
this.IsHitCount = "N";
this.UploadFilePath = "";
this.URL = ""... | 108wo | phpcms/modules/poster/install/templates/text.html | HTML | asf20 | 2,287 |
function PCMSAD(PID) {
this.ID = PID;
this.PosID = 0;
this.ADID = 0;
this.ADType = "";
this.ADName = "";
this.ADContent = "";
this.PaddingLeft = 0;
this.PaddingTop = 0;
this.Width = 0;
this.Height = 0;
this.IsHitCount = "Y";
this.Scroll = "N";
this.UploadFilePath ... | 108wo | phpcms/modules/poster/install/templates/couplet.html | HTML | asf20 | 5,698 |
function PCMSAD(PID) {
this.ID = PID;
this.PosID = 0;
this.ADID = 0;
this.ADType = "";
this.ADName = "";
this.ADContent = "";
this.PaddingLeft = 0;
this.PaddingTop = 0;
this.Width = 0;
this.Height = 0;
this.IsHitCount = "Y";
this.Scroll = "N";
this.Align = "N";
... | 108wo | phpcms/modules/poster/install/templates/fixure.html | HTML | asf20 | 5,069 |
var links = new Array();
var isIE=!!window.ActiveXObject;
{loop $pinfo $k $p}
links[{intval($k+1)}] = "{APP_PATH}index.php?m=poster&c=index&a=poster_click&siteid={$siteid}&id={$p['id']}";
if (isIE){
if (document.readyState=="complete"){
statAD('{$siteid}', '{$p['id']}', '{$p['spaceid']}');
} else {
docume... | 108wo | phpcms/modules/poster/install/templates/imagechange.html | HTML | asf20 | 2,986 |
<?php
error_reporting(E_ALL);
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');
$parentid = $menu_db->insert(array('name'=>'poster', 'parentid'=>29, 'm'=>'poster', 'c'=>'space', 'a'=>'init', 'data'=>'', 'listorder'=>0, 'display'=>'1'), true);
$menu_db->insert(array('name... | 108wo | phpcms/modules/poster/install/extention.inc.php | PHP | asf20 | 7,136 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');
$module = 'poster';
$modulename = '广告模块';
$introduce = '独立模块';
$author = 'phpcms Team';
$authorsite = 'http://www.phpcms.cn';
$authoremail = '';
?> | 108wo | phpcms/modules/poster/install/config.inc.php | PHP | asf20 | 273 |
<?php
/*Language Format:
Add a new file(.lang.php) with your module name at /phpcms/languages/
translation save at the array:$LANG
*/
$LANG['poster'] = '广告';
$LANG['setting_updates_successful'] = '配置更新完成!';
$LANG['name_plates_not_empty'] = '版位名称不能为空';
$LANG['plate_width_not_empty'] = '版位的宽度不能为空';
... | 108wo | phpcms/modules/poster/install/languages/zh-cn/poster.lang.php | PHP | asf20 | 7,907 |
<?php
/**
* 广告模板配置函数
*/
function get_types() {
$poster_template = getcache('poster_template_'.get_siteid(), 'commons');
$TYPES = array();
if (is_array($poster_template) && !empty($poster_template)){
foreach ($poster_template as $k => $template) {
$TYPES[$k] = $template['name'];
}
} else {
$TY... | 108wo | phpcms/modules/poster/functions/global.func.php | PHP | asf20 | 584 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('UNINSTALL') or exit('Access Denied');
return array('tag');
?> | 108wo | phpcms/modules/tag/uninstall/model.php | PHP | asf20 | 130 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('UNINSTALL') or exit('Access Denied');
?> | 108wo | phpcms/modules/tag/uninstall/extention.inc.php | PHP | asf20 | 108 |
<?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:... | 108wo | phpcms/modules/tag/templates/tag_edit.tpl.php | PHP | asf20 | 7,310 |
<?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:... | 108wo | phpcms/modules/tag/templates/tag_add.tpl.php | PHP | asf20 | 6,972 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad_10">
<div class="table-list">
<form action="" method="get">
<input type="hidden" name="m" value="tag" />
<input type="hidden" name="c" value="tag" />
<input type="hidden" name="a" valu... | 108wo | phpcms/modules/tag/templates/tag_lists.tpl.php | PHP | asf20 | 1,466 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad_10">
<div class="table-list">
<form action="" method="get">
<input type="hidden" name="m" value="tag" />
<input type="hidden" name="c" value="tag" />
<input type="hidden" name="a" valu... | 108wo | phpcms/modules/tag/templates/tag_list.tpl.php | PHP | asf20 | 2,651 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div style="padding: 200px 0px 0px 100px;"><?php echo L('click_copy_code')?>:<textarea ondblclick="copy_text(this)" style="width: 400px;height:30px" /><?php echo htmlspecialchars($tag)?></textarea><div>
... | 108wo | phpcms/modules/tag/templates/tag_show.tpl.php | PHP | asf20 | 645 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');
return array('tag');
?> | 108wo | phpcms/modules/tag/install/model.php | PHP | asf20 | 128 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');
$parentid = $menu_db->insert(array('name'=>'tag', 'parentid'=>826, 'm'=>'tag', 'c'=>'tag', 'a'=>'init', 'data'=>'', 'listorder'=>0, 'display'=>'1'), true);
$menu_db->insert(array('name'=>'add_tag', 'parentid'=>$paren... | 108wo | phpcms/modules/tag/install/extention.inc.php | PHP | asf20 | 1,046 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');
$module = 'tag';
$modulename = '标签向导';
$introduce = '独立模块';
$author = 'phpcms Team';
$authorsite = 'http://www.phpcms.cn';
$authoremail = '';
?> | 108wo | phpcms/modules/tag/install/config.inc.php | PHP | asf20 | 270 |
<?php
$LANG['enter_the_cache_input_will_not_be_cached'] = '请输入缓存时间,不输入则不进行缓存。';
$LANG['cache_time_can_only_be_positive'] = '缓存时间只能正数。';
$LANG['that_shows_only_positive_numbers'] = '显示条数只能正数。';
$LANG['num'] = '调用数量';
$LANG['name'] = '名称';
$LANG['should'] = '应该';
$LANG['is_greater... | 108wo | phpcms/modules/tag/install/languages/zh-cn/tag.lang.php | PHP | asf20 | 2,420 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin', 'admin', 0);
class tag extends admin {
private $db, $dbsource;
public function __construct() {
$this->db = pc_base::load_model('tag_model');
$this->dbsource = pc_base::load_model('dbsource_model');
parent:... | 108wo | phpcms/modules/tag/tag.php | PHP | asf20 | 12,671 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('UNINSTALL') or exit('Access Denied');
return array('comment', 'comment_check', 'comment_setting', 'comment_table');
?> | 108wo | phpcms/modules/comment/uninstall/model.php | PHP | asf20 | 185 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('UNINSTALL') or exit('Access Denied');
$comment_table_db = pc_base::load_model('comment_table_model');
$tablelist = $comment_table_db->select('', 'tableid');
foreach($tablelist as $k=>$v) {
$comment_table_db->query("DROP TABLE IF EXISTS `".$commen... | 108wo | phpcms/modules/comment/uninstall/extention.inc.php | PHP | asf20 | 390 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin', 'admin', 0);
class check extends admin {
//数据库连接
private $comment_check_db,$comment_db,$comment;
function __construct() {
$this->comment_data_db = pc_base::load_model('comment_data_model');
$this->comment_ch... | 108wo | phpcms/modules/comment/check.php | PHP | asf20 | 2,660 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin', 'admin', 0);
class comment_admin extends admin {
private $comment_setting_db,$comment_data_db,$comment_db,$siteid;
function __construct() {
parent::__construct();
$this->comment_setting_db = pc_base::load_mode... | 108wo | phpcms/modules/comment/comment_admin.php | PHP | asf20 | 7,295 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad_10">
<div id="searchid">
<form name="searchform" action="" method="get" >
<input type="hidden" value="comment" name="m">
<input type="hidden" value="comment_admin" name="c">
<input ... | 108wo | phpcms/modules/comment/templates/comment_listinfo.tpl.php | PHP | asf20 | 4,729 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad-10">
<form action="?m=comment&c=comment_admin&a=init" method="post" id="myform">
<fieldset>
<legend><?php echo L('comments_module_configuration')?></legend>
<table width="100%" cl... | 108wo | phpcms/modules/comment/templates/comment_setting.tpl.php | PHP | asf20 | 1,686 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad-lr-10">
<div class="comment_button"><a href="?m=comment&c=comment_admin&a=lists&show_center_id=1&commentid=<?php echo $commentid?>&hot=0"<?php if (empty($hot)) {?> class="on"<?php }?>>... | 108wo | phpcms/modules/comment/templates/comment_data_list.tpl.php | PHP | asf20 | 2,740 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad_10">
<div class="subnav">
<h1 class="title-2"><?php echo L('comment_check')?> (<?php echo L('for_audit_several')?>:<span id="wait" style="color:red"><?php echo $total?></span>)</h1>
<... | 108wo | phpcms/modules/comment/templates/comment_check.tpl.php | PHP | asf20 | 2,630 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
class index {
protected $commentid, $modules, $siteid, $format;
function __construct() {
pc_base::load_app_func('global');
pc_base::load_sys_class('format', '', 0);
$this->commentid = isset($_GET['commentid']) && trim(urldecode($_GET['comm... | 108wo | phpcms/modules/comment/index.php | PHP | asf20 | 6,987 |
<?php
class comment_tag {
//数据库连接
private $comment_db, $comment_setting_db, $comment_data_db, $comment_table_db;
public function __construct() {
$this->comment_db = pc_base::load_model('comment_model');
$this->comment_setting_db = pc_base::load_model('comment_setting_model');
$this->comment_data_db =... | 108wo | phpcms/modules/comment/classes/comment_tag.class.php | PHP | asf20 | 4,924 |
<?php
/**
* 评论操作类
* @author chenzhouyu
*
*/
class comment {
//数据库连接
private $comment_db, $comment_setting_db, $comment_data_db, $comment_table_db, $comment_check_db;
public $msg_code = 0;
public function __construct() {
$this->comment_db = pc_base::load_model('comment_model');
$this->comme... | 108wo | phpcms/modules/comment/classes/comment.class.php | PHP | asf20 | 10,530 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');
return array('comment', 'comment_check', 'comment_data', 'comment_setting', 'comment_table');
?> | 108wo | phpcms/modules/comment/install/model.php | PHP | asf20 | 200 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isse... | 108wo | phpcms/modules/comment/install/templates/show_list.html | HTML | asf20 | 6,963 |
{template "content","header"}
{pc:comment action="get_comment" commentid="$commentid"}
{php $comment = $data;}
{/pc}
<div class="main">
<h2 class="comment-title blue"><a href="{if $comment[url]}{$comment[url]}{else}{$url}{/if}">{if $comment[title]}{$comment[title]}{else}{$title}{/if}</a> <a href="#comment"... | 108wo | phpcms/modules/comment/install/templates/list.html | HTML | asf20 | 7,018 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');
return array (
'show_list.html' => '内容页评论列表',
'list.html' => '评论列表',
);
?> | 108wo | phpcms/modules/comment/install/templates/name.inc.php | PHP | asf20 | 211 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');
$parentid = $menu_db->insert(array('name'=>'comment', 'parentid'=>'29', 'm'=>'comment', 'c'=>'comment_admin', 'a'=>'init', 'data'=>'', 'listorder'=>0, 'display'=>'1'), true);
$mid = $menu_db->insert(array('name'=>'comm... | 108wo | phpcms/modules/comment/install/extention.inc.php | PHP | asf20 | 930 |
<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');
$module = 'comment';
$modulename = '评论';
$introduce = '评论模块';
$author = 'phpcms team';
$authorsite = 'http://www.phpcms.cn';
$authoremail = '';
?> | 108wo | phpcms/modules/comment/install/config.inc.php | PHP | asf20 | 266 |
<?php
$LANG['coment_class_php_1'] = '没有获取到正常的数据存储表。';
$LANG['coment_class_php_2'] = '数据存储表不存在,并在尝试创建数据存储表时出现错误,请联系管理员。';
$LANG['coment_class_php_3'] = '写入数据存储表时出错,请联系管理员。';
$LANG['coment_class_php_4'] = '自动创建数据存储表时出错,请联系管理员。';
$LANG['coment_class_php_5'] = '尝试添加评论数据时出错,请联系管理员。';
$LANG['coment_class_php_6'] = '评论没... | 108wo | phpcms/modules/comment/install/languages/zh-cn/comment.lang.php | PHP | asf20 | 2,406 |
<?php
/**
* 解析评论ID
* @param $commentid 评论ID
*/
function decode_commentid($commentid) {
return explode('-', $commentid);
}
/**
* 方向生成
* @param $direction
*/
function direction($direction) {
switch($direction){
case 1:
return '<img src="'.IMG_PATH.'/icon/zheng.png" />';
break;
case 2:
... | 108wo | phpcms/modules/comment/functions/global.func.php | PHP | asf20 | 1,054 |
<script src="<?php echo JS_PATH;?>colorpicker.js" type="text/javascript" language="javascript"></script>
<?php echo $html?>
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH?>admin_visualization.css" />
</body>
</html> | 108wo | phpcms/modules/special/templates/template_edit.tpl.php | PHP | asf20 | 241 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_validator = $show_scroll = $show_dialog = 1;
include $this->admin_tpl('header', 'admin');
?>
<form method="post" action="?m=special&c=special&a=add" id="myform">
<div class="pad-10">
<div class="col-tab">
<ul class="tabBut cu-li">
<li i... | 108wo | phpcms/modules/special/templates/special_add.tpl.php | PHP | asf20 | 11,264 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_header = $show_validator = $show_scroll = 1;
include $this->admin_tpl('header','admin');
?>
<br />
<div class="pad-lr-10">
<div id="searchid" style="display:">
<form name="searchform" action="" method="get" >
<input type="hidden" value="sp... | 108wo | phpcms/modules/special/templates/import_content.tpl.php | PHP | asf20 | 3,844 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$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)) { foreach($big_menu as $big) { echo '<a class="add fb" href="'.$big[0].'"><em>'.$big[1]... | 108wo | phpcms/modules/special/templates/content_list.tpl.php | PHP | asf20 | 3,277 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad-lr-10">
<form name="myform" action="?m=special&c=special&a=listorder" method="post">
<table width="100%" cellspacing="0" class="table-list nHover">
<thead>
<tr>... | 108wo | phpcms/modules/special/templates/special_list.tpl.php | PHP | asf20 | 5,953 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_dialog = $show_validator = $show_header = 1;
include $this->admin_tpl('header','admin');
?>
<style type="text/css">
html,body{ background:#e2e9ea}
</style>
<script type="text/javascript">
<!--
var charset = '<?php echo CHARSET?>';
var... | 108wo | phpcms/modules/special/templates/content_add.tpl.php | PHP | asf20 | 9,772 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_validator = $show_scroll = $show_dialog = 1;
include $this->admin_tpl('header', 'admin');
?>
<form method="post" action="?m=special&c=special&a=edit&specialid=<?php echo $_GET['specialid']?>" id="myform">
<div class="pad-10">
<div class="col... | 108wo | phpcms/modules/special/templates/special_edit.tpl.php | PHP | asf20 | 12,574 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_dialog = $show_validator = $show_header = 1;
include $this->admin_tpl('header','admin');
?>
<style type="text/css">
html,body{background:#e2e9ea}
</style>
<script type="text/javascript">
<!--
var charset = '<?php echo CHARSET?>';
var ... | 108wo | phpcms/modules/special/templates/content_edit.tpl.php | PHP | asf20 | 10,357 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_header = $show_validator = $show_scroll = 1;
include $this->admin_tpl('header','admin');
?>
<br />
<div class="pad-lr-10">
<div id="searchid" style="display:">
<form name="searchform" action="" method="get" >
<input type="hidden" value="sp... | 108wo | phpcms/modules/special/templates/import_pics.tpl.php | PHP | asf20 | 3,255 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_func('global', 'special');
class index {
private $db;
function __construct() {
$this->db = pc_base::load_model('special_model');
}
/**
* 专题列表
*/
public function special() {
$siteid = $_GET['siteid'] ?... | 108wo | phpcms/modules/special/index.php | PHP | asf20 | 6,818 |
<?php
/**
* special_tag.class.php 专题标签调用类
* @author
*
*/
class special_tag {
private $db, $c;
public function __construct() {
$this->db = pc_base::load_model('special_model');
$this->c = pc_base::load_model('special_content_model');
}
/**
* lists调用方法
* @param array $data 标签配置传递过来的配置... | 108wo | phpcms/modules/special/classes/special_tag.class.php | PHP | asf20 | 6,557 |
<?php
/**
* special_api.class.php 专题接口类
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-8-3
*/
defined('IN_PHPCMS') or exit('No permission resources.');
class special_api {
private $db, $type_db, $c_db, $data_db;
public $pages;
publ... | 108wo | phpcms/modules/special/classes/special_api.class.php | PHP | asf20 | 16,515 |
<?php
/**
* search_api.class.php 专题执行接口类
*
*/
defined('IN_PHPCMS') or exit('No permission resources.');
class search_api {
private $db, $c;
public function __construct() {
$this->db = pc_base::load_model('special_content_model');
$this->c = pc_base::load_model('special_c_data_model');
}
... | 108wo | phpcms/modules/special/classes/search_api.class.php | PHP | asf20 | 1,463 |
<?php
/**
* push_api.class.php 专题推送接口类
*
*/
defined('IN_PHPCMS') or exit('No permission resources.');
class push_api {
private $special_api;
public function __construct() {
$this->special_api = pc_base::load_app_class('special_api', 'special');
}
/**
* 信息推荐至专题接口
* @param array $param ... | 108wo | phpcms/modules/special/classes/push_api.class.php | PHP | asf20 | 897 |
<?php
/**
* 获取专题评论类
*/
defined('IN_PHPCMS') or exit('No permission resources.');
if (!module_exists('comment')) showmessage(L('module_not_exists'));
class comment_api {
private $db;
function __construct() {
$this->db = pc_base::load_model('special_model');
}
/**
* 获取评论信息
* @param $module ... | 108wo | phpcms/modules/special/classes/comment_api.class.php | PHP | asf20 | 952 |
<?php
/**
* html.class.php 生成静态类
*/
defined('IN_PHPCMS') or exit('No permission resources.');
class html {
private $db, $type_db, $c_db, $data_db, $site, $queue;
public function __construct() {
$this->db = pc_base::load_model('special_model'); //专题数据模型
$this->type_db = pc_base::load_model('type_mo... | 108wo | phpcms/modules/special/classes/html.class.php | PHP | asf20 | 11,194 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
pc_base::load_app_func('global', 'special');
class template extends admin {
private $db;
public function __construct() {
parent::__construct();
$this->db = pc_base::load_model('special_model');... | 108wo | phpcms/modules/special/template.php | PHP | asf20 | 2,603 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
pc_base::load_sys_class('form', '', 0);
pc_base::load_sys_class('format', '', 0);
class content extends admin {
private $db, $data_db, $type_db;
public function __construct() {
parent::__construct()... | 108wo | phpcms/modules/special/content.php | PHP | asf20 | 12,781 |
<?php
/**
* 生成css
* @param array $param css参数
*/
function get_css($param = array()) {
if (!isset($param) || empty($param)) return false;
$css = '<style type="text/css">'."\n";
if ($param['bg_path']) {
$css .= ' body{ background: url(\''.$param['bg_path'].'\');';
if ($param['repeat']) $css .= ' back... | 108wo | phpcms/modules/special/functions/global.func.php | PHP | asf20 | 4,638 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
pc_base::load_sys_class('form', '', 0);
pc_base::load_sys_class('format', '', 0);
class special extends admin {
private $db, $special_api;
function __construct() {
parent::__construct();
$this->... | 108wo | phpcms/modules/special/special.php | PHP | asf20 | 18,825 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
class badword extends admin {
function __construct() {
$admin_username = param::get_cookie('admin_username');
$userid = $_SESSION['userid'];
$this->db = pc_base::load_model('badword_model');
pare... | 108wo | phpcms/modules/admin/badword.php | PHP | asf20 | 6,711 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
class setting extends admin {
private $db;
function __construct() {
parent::__construct();
$this->db = pc_base::load_model('module_model');
pc_base::load_app_func('global');
}
/**
* 配置信息... | 108wo | phpcms/modules/admin/setting.php | PHP | asf20 | 3,343 |
<?php
@set_time_limit(0);
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
class database extends admin {
private $db;
function __construct() {
parent::__construct();
$this->userid = $_SESSION['userid'];
pc_base::load_sys_class('db_factory');
pc... | 108wo | phpcms/modules/admin/database.php | PHP | asf20 | 14,752 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
class ipbanned extends admin {
function __construct() {
$this->db = pc_base::load_model('ipbanned_model');
pc_base::load_sys_class('form', '', 0);
parent::__construct();
}
function init () {
... | 108wo | phpcms/modules/admin/ipbanned.php | PHP | asf20 | 3,552 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<div class="pad-lr-10">
<form name="downform" action="?m=admin&c=downservers&a=init" method="post" >
<table width="100%" cellspacing="0" class="search-form">
<tbody>
<tr>
<td><div class="explain-col"><?p... | 108wo | phpcms/modules/admin/templates/downservers_list.tpl.php | PHP | asf20 | 3,167 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$pc_hash = $_SESSION['pc_hash'];
foreach($datas as $_value) {
echo '<h3 class="f14"><span class="switchs cu on" title="'.L('expand_or_contract').'"></span>'.L($_value['name']).'</h3>';
echo '<ul>';
$sub_array = admin::admin_menu($_value['id']);
f... | 108wo | phpcms/modules/admin/templates/left.tpl.php | PHP | asf20 | 1,097 |
<?php defined('IN_ADMIN') or exit('No permission resources.'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSE... | 108wo | phpcms/modules/admin/templates/login.tpl.php | PHP | asf20 | 3,457 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<form name="myform" action="?m=admin&c=position&a=listorder" method="post">
<div class="pad_10">
<div class="table-list">
<table width="100%" cellspacing="0">
<thead>
<tr>
... | 108wo | phpcms/modules/admin/templates/plugin_list_import.tpl.php | PHP | asf20 | 2,351 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<script type="text/javascript">
$(document).ready(function() {
$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
$("#name").formValidator({onshow:"<?php echo L('input').L('lin... | 108wo | phpcms/modules/admin/templates/linkage_edit.tpl.php | PHP | asf20 | 2,548 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');
?>
<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'}, fun... | 108wo | phpcms/modules/admin/templates/copyfrom_add.tpl.php | PHP | asf20 | 1,710 |
<style type="text/css">
.sbs{}
.sbul{margin:10px;}
.sbul li{line-height:30px;}
.button{margin-top:20px;}
.subnav,.ifm{display:none;}
</style>
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header','admin');?>
<div class="pad-10">
<form action="?m=admin&c=cach... | 108wo | phpcms/modules/admin/templates/cache_all.tpl.php | PHP | asf20 | 1,258 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<script type="text/javascript">
<!--
$(function(){
$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
$("#title").formValidator({onshow:"<?php echo L('input').L('posid_title')?>... | 108wo | phpcms/modules/admin/templates/position_item_manage.tpl.php | PHP | asf20 | 2,567 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');
?>
<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'}, fun... | 108wo | phpcms/modules/admin/templates/urlrule_edit.tpl.php | PHP | asf20 | 3,639 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<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(){... | 108wo | phpcms/modules/admin/templates/badword_add.tpl.php | PHP | asf20 | 2,446 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_dialog = 1;
include $this->admin_tpl('header', 'admin');
?>
<div class="pad-lr-10">
<div class="table-list">
<table width="100%" cellspacing="0">
<thead>
<tr>
<th width="220" align="center"><?php echo L(... | 108wo | phpcms/modules/admin/templates/module_list.tpl.php | PHP | asf20 | 3,818 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<div class="pad_10">
<form name="myform" action="?m=admin&c=role&a=listorder" method="post">
<div class="table-list">
<table width="100%" cellspacing="0">
<thead>
<tr>
<th width="10%">ID</th>
... | 108wo | phpcms/modules/admin/templates/linkage_get_list.tpl.php | PHP | asf20 | 1,153 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<link href="<?php echo CSS_PATH?>appcenter.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo JS_PATH?>jquery.switchable.min.js"></script>
<div class="pad_10">
<d... | 108wo | phpcms/modules/admin/templates/plugin_appcenter.tpl.php | PHP | asf20 | 4,089 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<form name="myform" action="?m=admin&c=plugin&a=listorder" method="post">
<div class="pad_10">
<?php if(pc_base::load_config('system','plugin_debug')) { ?>
<div class="explain-col"><?php echo L('plug... | 108wo | phpcms/modules/admin/templates/plugin_list.tpl.php | PHP | asf20 | 4,248 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<script type="text/javascript">
<!--
$(function(){
$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
$("#name").formValidator({onshow:"<?php echo L('input').L('posid_name')?>",... | 108wo | phpcms/modules/admin/templates/position_edit.tpl.php | PHP | asf20 | 2,728 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_validator = true;include $this->admin_tpl('header');?>
<script type="text/javascript">
$(document).ready(function() {
$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
$("#password").formValidator({empty:tru... | 108wo | phpcms/modules/admin/templates/admin_edit.tpl.php | PHP | asf20 | 2,843 |
<?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=admin&c=keylink&a=delete" method="post" onsubmit="checkuid();return false;">
<div class="table-list">
<table width="... | 108wo | phpcms/modules/admin/templates/keylink_list.tpl.php | PHP | asf20 | 2,844 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<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'}, func... | 108wo | phpcms/modules/admin/templates/category_page_edit.tpl.php | PHP | asf20 | 9,024 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');
?>
<div class="pad-10">
<?php $n=1; foreach ($menu as $key=>$v):if ($v['name']=='phpsso') continue;if($n==1) {echo '<div class="map-menu lf">';}?>
<ul>
<li class="title"><?php echo L($v['name'])?></li>
<?php forea... | 108wo | phpcms/modules/admin/templates/map.tpl.php | PHP | asf20 | 1,086 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<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'}, func... | 108wo | phpcms/modules/admin/templates/category_page_add.tpl.php | PHP | asf20 | 9,589 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad_10">
<div class="bk15"></div>
<div class="explain-col">
<?php echo L('card_msg')?>
</div>
<div class="bk15"></div>
<?php
if (empty($pic_url)) {
echo '<input type="button" class=... | 108wo | phpcms/modules/admin/templates/admin_card.tpl.php | PHP | asf20 | 792 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<script type="text/javascript">
$(document).ready(function() {
$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
$("#name").formValidator({onshow:"<?php echo L('input').L('lin... | 108wo | phpcms/modules/admin/templates/linkage_add.tpl.php | PHP | asf20 | 1,696 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<form action="?m=admin&c=plugin&a=config" method="post" id="myform">
<div class="pad-10">
<div class="col-tab">
<ul class="tabBut cu-li">
<?php foreach($plugin_menus as $_num => $menu) {?>
<li <?... | 108wo | phpcms/modules/admin/templates/plugin_setting.tpl.php | PHP | asf20 | 1,705 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<div class="pad_10">
<div class="table-list">
<table width="100%" cellspacing="0" >
<thead>
<tr>
<th width="60">ID</th>
<th><?php echo L('respective_modules');?><... | 108wo | phpcms/modules/admin/templates/urlrule_list.tpl.php | PHP | asf20 | 1,992 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');
?>
<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'}, fun... | 108wo | phpcms/modules/admin/templates/site_edit.tpl.php | PHP | asf20 | 13,078 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<div class="pad_10">
<form name="myform" action="?m=admin&c=linkage&a=public_listorder" method="post">
<input type="hidden" name="keyid" value="<?php echo $keyid?>">
<div class="table-list">
<table width="100... | 108wo | phpcms/modules/admin/templates/linkage_submenu.tpl.php | PHP | asf20 | 1,777 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_validator = true;include $this->admin_tpl('header');?>
<script type="text/javascript">
<!--
$(function(){
$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
$("#rolename").formValidator({onshow:"<?php echo L('... | 108wo | phpcms/modules/admin/templates/role_edit.tpl.php | PHP | asf20 | 1,829 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');?>
<div class="pad_10">
<table cellpadding="2" cellspacing="1" class="table_form" width="100%">
<form action="?m=admin&c=badword&a=import" method="post" name="myform">
<tr>
<th width="10%"> <?php echo L('ba... | 108wo | phpcms/modules/admin/templates/badword_import.tpl.php | PHP | asf20 | 1,024 |
<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');
?>
<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(... | 108wo | phpcms/modules/admin/templates/keylink_edit.tpl.php | PHP | asf20 | 1,974 |