code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
/*!
* VERSION: beta 1.641
* DATE: 2012-11-07
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
*
* Copyright (c) 2008-2012, GreenSock. All rights reserved.
* This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for
* Club G... | zwh-web | trunk/ui/lib/greensock/TimelineMax.js | JavaScript | asf20 | 38,526 |
/*!
* VERSION: beta 1.663
* DATE: 2012-12-20
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
*
* Copyright (c) 2008-2012, GreenSock. All rights reserved.
* This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for
* Club G... | zwh-web | trunk/ui/lib/greensock/TweenLite.js | JavaScript | asf20 | 48,965 |
/*
* Yuichi Tateno. <hotchpotch@N0!spam@gmail.com>
* http://rails2u.com/
*
* The MIT License
* --------
* Copyright (c) 2007 Yuichi Tateno.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in th... | zwh-web | trunk/ui/lib/tweener/src/JSTweener.js | JavaScript | asf20 | 14,112 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>JSTweener Example (Canvas Animation)</title>
<script language="JavaScript" src="../src/JSTweener.js"></script>
</head>
<body>
</body>
</html>... | zwh-web | trunk/ui/lib/tweener/examples/canvas_animation.html | HTML | asf20 | 380 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>JSTweener Example - Transitoins</title>
<script language="JavaScript" src="../src/JST... | zwh-web | trunk/ui/lib/tweener/examples/transitions.html | HTML | asf20 | 4,825 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>JSTweener Example (Motion Typo)</title>
<script language="JavaScript" src="../src/JST... | zwh-web | trunk/ui/lib/tweener/examples/mtypo.html | HTML | asf20 | 3,534 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>JSTweener Example (Motion Typo bezier)</title>
<script language="JavaScript" src="../... | zwh-web | trunk/ui/lib/tweener/examples/mtypo_bezier.html | HTML | asf20 | 4,803 |
var canvas = document.createElement('canvas');
canvas.width = '100px';
canvas.height = '100px';
document.body.appendChild(canvas);
var Circle = function() { this.initialize.apply(this, arguments) };
Circle.canvas = canvas; // ...
Circle.prototype = {
initialize: function(radian, alpha) {
this.graphics = Ci... | zwh-web | trunk/ui/lib/tweener/examples/canvas_animation.js | JavaScript | asf20 | 1,499 |
if (typeof console == 'undefined') {
console = {};
if (typeof(external) != 'undefined' && typeof(external.consolelog) == 'unknown') {
console.log = function(arg) {
external.consolelog(arg);
}
} else {
console.log = function() {};
}
}
log = console.log;
Function.proto... | zwh-web | trunk/ui/lib/tweener/test/utils.js | JavaScript | asf20 | 1,791 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>JSTweener Test</title>
<script language="JavaScript" src="../src/JSTweener.js"></scri... | zwh-web | trunk/ui/lib/tweener/test/test.html | HTML | asf20 | 6,278 |
/*
selectivizr v1.0.2 - (c) Keith Clark, freely distributable under the terms
of the MIT license.
selectivizr.com
*/
/*
Notes about this source
-----------------------
* The #DEBUG_START and #DEBUG_END comments are used to mark blocks of code
that will be removed prior to building a final release... | zwh-web | trunk/ui/lib/plugin/selectivizr.js | JavaScript | asf20 | 19,040 |
/*
http://layerstyles.org/builder.html
With jquery.pseudo.js in the <head/> of your document, you can then do:
p:before, p {
before: 'foo';
content: 'foo'; }
p:before, p .before {
color: blue; }
Images are also supported:
p:before, p {
before: url(foo.png);
content: url(foo.pn... | zwh-web | trunk/ui/lib/plugin/jquery.pseudo.js | JavaScript | asf20 | 1,346 |
(function($){
$.fn.tipBox = function(){
function TipBox(obj){
var _o = {
align : 'left',
width: 150,
height: 80,
content: ''
};
var tip_box,tip_title,tip_close,tip_content;
var s,o = {};
s = obj.getAttribute('data-widget-config');
if(s){
o = eval('('+s+')'... | zwh-web | trunk/ui/lib/jq.tipBox.js | JavaScript | asf20 | 2,078 |
<?php echo $this->layout()->content;?> | zwh-web | trunk/wiki/application/layouts/scripts/error/layout.phtml | HTML+PHP | asf20 | 38 |
<?php
echo $this->doctype();
?>
<html>
<head>
<?php
echo $this->headTitle(BLOGGER_NAME."的博客");
echo $this->headMeta()->appendHttpEquiv('Content-Type','text/html; charset=UTF-8')
->appendHttpEquiv('Content-Language', 'zh_CN');
$this->headLink()->appendStylesheet('/global/css/global.css'... | zwh-web | trunk/wiki/application/layouts/scripts/container_layout.phtml | HTML+PHP | asf20 | 1,074 |
<header>
<span class="logo">
<a href="<?php echo '/' ?>"><img src="<?php echo LOGO;?>" /></a>
</span>
</header> | zwh-web | trunk/wiki/application/layouts/scripts/login/header.phtml | HTML+PHP | asf20 | 119 |
<?php echo $this->doctype('HTML5'); ?>
<html>
<head>
<?php
echo $this->headTitle();
echo $this->headMeta()->setCharset('utf-8');
$this->headLink()->appendStylesheet('/global/css/global.css')
->appendStylesheet('/global/css/login_layout.css')
->headLink(array('rel' => 'shortcut icon',
'hr... | zwh-web | trunk/wiki/application/layouts/scripts/login/layout.phtml | HTML+PHP | asf20 | 916 |
<?php echo $this->layout()->content;?> | zwh-web | trunk/wiki/application/layouts/scripts/login/empty_layout.phtml | HTML+PHP | asf20 | 38 |
<footer>
<div class="copyright">
<small>Copyright © 2012-2015 虫儿飞 保留所有权利.</small>
</div>
</footer> | zwh-web | trunk/wiki/application/layouts/scripts/login/footer.phtml | HTML+PHP | asf20 | 127 |
<header class="back_header">
<nav id="menu">
<ul class="home">
<li><a href="<?php echo '/tiger/index';?>" title="用户管理">用户管理</a></li>
</ul>
<ul class="navigation">
<li><a href="<?php echo '/menu/index';?>" title="导航管理">导航管理</a></li>
<li><a href="<?php echo '/tiger/webset';?>... | zwh-web | trunk/wiki/application/layouts/scripts/tiger/header.phtml | HTML+PHP | asf20 | 810 |
<?php
echo $this->doctype();
?>
<html>
<head>
<?php
echo $this->headTitle("博客后台管理");
echo $this->headMeta()->appendHttpEquiv('Content-Type','text/html; charset=UTF-8')
->appendHttpEquiv('Content-Language', 'zh_CN');
$this->headLink()->appendStylesheet('/global/css/global.css')
-... | zwh-web | trunk/wiki/application/layouts/scripts/tiger/layout.phtml | HTML+PHP | asf20 | 974 |
<?php echo $this->layout()->content;?> | zwh-web | trunk/wiki/application/layouts/scripts/tiger/empty_layout.phtml | HTML+PHP | asf20 | 38 |
<footer>
<div class="foot_menu clfix">
<ul class="foot_nav">
</ul>
<h2 class="blog_title">
<a title="返回首页" href="<?php echo '/admin'?>">返回首页</a>
</h2>
</div>
<div class="copyright">
<small>Copyright © 2012-2015 虫儿飞 保留所有权利.</small>
</div>
</footer> | zwh-web | trunk/wiki/application/layouts/scripts/tiger/footer.phtml | HTML+PHP | asf20 | 312 |
<header>
<span class="logo">
<a href="<?php echo '/'; ?>"><img src="<?php echo LOGO;?>" /></a>
</span>
</header> | zwh-web | trunk/wiki/application/layouts/scripts/system/header.phtml | HTML+PHP | asf20 | 120 |
<?php echo $this->doctype('HTML5'); ?>
<html>
<head>
<?php
echo $this->headTitle();
echo $this->headMeta()->setCharset('utf-8');
$this->headLink()->appendStylesheet('/global/css/global.css')
->appendStylesheet('/global/css/system.css')
->headLink(array('rel' => 'shortcut icon',
'href' =>... | zwh-web | trunk/wiki/application/layouts/scripts/system/layout.phtml | HTML+PHP | asf20 | 910 |
<?php echo $this->layout()->content;?> | zwh-web | trunk/wiki/application/layouts/scripts/system/empty_layout.phtml | HTML+PHP | asf20 | 38 |
<footer>
<div class="copyright">
<small>Copyright © 2012-2015 虫儿飞 保留所有权利.</small>
</div>
</footer> | zwh-web | trunk/wiki/application/layouts/scripts/system/footer.phtml | HTML+PHP | asf20 | 127 |
<header>
<section class="blog_banner">
<?php if($this->layout()->title):?>
<?php echo $this->layout()->title;?>
<aside><a href="<?php echo '/'.BLOGGER_NAME.'/post/build/type/title'?>">修改</a></aside>
<?php else:?>
<aside style="margin-top:60px;"><a href="<?php echo '/'.BLOGGER_NAME.'/post/build/type/... | zwh-web | trunk/wiki/application/layouts/scripts/header.phtml | HTML+PHP | asf20 | 407 |
<?php echo $this->doctype('HTML5'); ?>
<html>
<head>
<?php
echo $this->headTitle("ui-wiki");
$this->baseUrl('http://www.cblog.com/'.BLOGGER_NAME);
echo $this->headMeta()->setCharset('utf-8');
$this->headLink()->prependStylesheet('/global/css/global.css')
->appendStylesheet('/global/css/main.css'... | zwh-web | trunk/wiki/application/layouts/scripts/layout.phtml | HTML+PHP | asf20 | 1,148 |
<?php
echo $this->doctype();
?>
<html>
<head>
<?php
echo $this->headTitle("注册博客");
echo $this->headMeta()->appendHttpEquiv('Content-Type','text/html; charset=UTF-8')
->appendHttpEquiv('Content-Language', 'zh_CN');
$this->headLink()->appendStylesheet('/global/css/global.css')
->a... | zwh-web | trunk/wiki/application/layouts/scripts/admin_layout.phtml | HTML+PHP | asf20 | 1,026 |
<?php echo $this->layout()->content;?> | zwh-web | trunk/wiki/application/layouts/scripts/empty_layout.phtml | HTML+PHP | asf20 | 38 |
<header>
<section id="top_nav">
<nav class="friend_nav">
<?php
echo $this->action('render', 'menu', null,array('menu' => $this->topMenuId));
?>
</nav>
<nav class="help_nav">
<?php
$user = new Zend_Session_Namespace('user');
//echo $user->nickname;
if(!empty($use... | zwh-web | trunk/wiki/application/layouts/scripts/header.bak.phtml | HTML+PHP | asf20 | 2,571 |
<header class="back_header">
<section id="top_nav">
<nav class="help_nav">
<?php
$user = new Zend_Session_Namespace('user');
//echo $user->nickname;
if(!empty($user->nickname)){
echo "<span style='color:red;'>".$user->nickname."</span> 欢迎您!|";
}else{
echo "<span style='color:re... | zwh-web | trunk/wiki/application/layouts/scripts/admin_header.phtml | HTML+PHP | asf20 | 897 |
<footer>
<div class="foot_menu clfix">
<ul class="foot_nav">
</ul>
<h2 class="blog_title">
<a title="<?php echo BLOGGER_NAME?>" href="<?php echo '/'.BLOGGER_NAME.'/'?>">返回首页</a>
</h2>
</div>
<div class="copyright">
<small>Copyright © 2012-2015 虫儿飞 保留所有权利.</small>
</div>
</footer> | zwh-web | trunk/wiki/application/layouts/scripts/footer.phtml | HTML+PHP | asf20 | 337 |
<?php
array("name" => "阅读排行",
"description" => "这是一个阅读排行组件,博主文章阅读的排行榜。",
); | zwh-web | trunk/wiki/application/widgets/readrankbox/info/detail.php | PHP | asf20 | 135 |
<section class="J_TBox readrank">
<h3 class="hd">阅读排行</h3>
<section class="bd">
<ul class="item_list">
<?php if($this->data):?>
<?php foreach($this->data as $data):?>
<li>
<a href="<?php echo '/'.BLOGGER_NAME.'/article/detail/id/'.$data['id'];?>" t... | zwh-web | trunk/wiki/application/widgets/readrankbox/views/scripts/readrank/index.phtml | HTML+PHP | asf20 | 675 |
<?php
class Readrankbox_readrankController extends Zend_Controller_Action
{
public function init()
{
$this->_helper->layout->disableLayout();
}
public function indexAction()
{
$cache = Zend_Registry::get('cache');
$id = md5("readrankControllerIndex");
if(($result = $cache->load($id)) === false... | zwh-web | trunk/wiki/application/widgets/readrankbox/controllers/ReadrankController.php | PHP | asf20 | 791 |
<?php
array("name" => "评论排行",
"description" => "这是一个评论排行组件,博主文章评论的排行榜。",
); | zwh-web | trunk/wiki/application/widgets/comrankbox/info/detail.php | PHP | asf20 | 135 |
<section class="J_TBox comrank">
<h3 class="hd">评论排行</h3>
<section class="bd">
<ul class="item_list">
<?php if($this->data):?>
<?php foreach($this->data as $data):?>
<li>
<a href="<?php echo '/'.BLOGGER_NAME.'/article/detail/id/'.$data['id'];?>" ti... | zwh-web | trunk/wiki/application/widgets/comrankbox/views/scripts/comrank/index.phtml | HTML+PHP | asf20 | 673 |
<?php
class Comrankbox_comrankController extends Zend_Controller_Action
{
public function init()
{
$this->_helper->layout->disableLayout();
}
public function indexAction()
{
$cache = Zend_Registry::get('cache');
$id = md5("comrankControllerIndex");
if(($result = $cache->load($id)) === false) {... | zwh-web | trunk/wiki/application/widgets/comrankbox/controllers/ComrankController.php | PHP | asf20 | 1,193 |
<?php
array("name" => "最新评论",
"description" => "这是一个最新评论组件,展示博主收到的最新的评论。",
); | zwh-web | trunk/wiki/application/widgets/newcommentbox/info/detail.php | PHP | asf20 | 141 |
<section class="J_TBox newcomment">
<h3 class="hd">最新评论</h3>
<section class="bd">
<ul class="item_list">
<?php if($this->data):?>
<?php foreach($this->data as $data):?>
<?php $comment=mb_substr(strip_tags($data['content']),0,15,'utf-8');?>
<?php if($comment):?>... | zwh-web | trunk/wiki/application/widgets/newcommentbox/views/scripts/newcomment/index.phtml | HTML+PHP | asf20 | 933 |
<?php
class Newcommentbox_newcommentController extends Zend_Controller_Action
{
public function init()
{
$this->_helper->layout->disableLayout();
}
public function indexAction()
{
$cache = Zend_Registry::get('cache');
$id = md5("newcommentControllerIndex");
if(($result = $cache->load($id)) ===... | zwh-web | trunk/wiki/application/widgets/newcommentbox/controllers/NewcommentController.php | PHP | asf20 | 573 |
<?php
array("name" => "文章分类",
"description" => "这是一个文章分类组件,展示博主所列的文章类别。",
); | zwh-web | trunk/wiki/application/widgets/artcatebox/info/detail.php | PHP | asf20 | 138 |
<section class="J_TBox artcate">
<h3 class="hd">文章分类</h3>
<section class="bd">
<ul class="item_list">
<?php if($this->data):?>
<?php foreach($this->data as $data):?>
<li>
<a href="<?php echo '/'.BLOGGER_NAME.'/article/catespec/id/'.$data['id'];?>" ... | zwh-web | trunk/wiki/application/widgets/artcatebox/views/scripts/artcate/index.phtml | HTML+PHP | asf20 | 652 |
<?php
class Artcatebox_artcateController extends Zend_Controller_Action
{
public function init()
{
$this->_helper->layout->disableLayout();
}
public function indexAction()
{
$cache = Zend_Registry::get('cache');
$id = md5("artcateControllerIndex");
if(($result = $cache->load($id)) === false)... | zwh-web | trunk/wiki/application/widgets/artcatebox/controllers/ArtcateController.php | PHP | asf20 | 556 |
<?php
array("name" => "友情链接",
"description" => "这是一个友情链接组件,展示一些网站的连接。",
); | zwh-web | trunk/wiki/application/widgets/frlinkbox/info/detail.php | PHP | asf20 | 132 |
<section class="J_TBox frlink">
<h3 class="hd">友情链接</h3>
<section class="bd">
<?php
echo $this->action('render', 'menu', null,array('menu' => $this->bottomMenuId));
?>
</section>
</section> | zwh-web | trunk/wiki/application/widgets/frlinkbox/views/scripts/frlink/index.phtml | HTML+PHP | asf20 | 238 |
<?php
class Frlinkbox_frlinkController extends Zend_Controller_Action
{
public function init()
{
$this->_helper->layout->disableLayout();
}
public function indexAction()
{
//$this->view->data = $result;
}
} | zwh-web | trunk/wiki/application/widgets/frlinkbox/controllers/FrlinkController.php | PHP | asf20 | 233 |
<?php
array("name" => "个人信息",
"description" => "这是一个自我介绍的组件,展示自己的相关信息。",
); | zwh-web | trunk/wiki/application/widgets/aboutmebox/info/detail.php | PHP | asf20 | 135 |
<section class="J_TBox aboutme">
<h3 class="hd">个人资料</h3>
<section class="bd">
<section class="userface">
<a href="<?php echo '/'.BLOGGER_NAME;?>" target="_blank">
<img src="<?php echo $this->data['photo'];?>" title="访问我的博客" />
</a>
<br>
... | zwh-web | trunk/wiki/application/widgets/aboutmebox/views/scripts/aboutme/index.phtml | HTML+PHP | asf20 | 965 |
<?php
class Aboutmebox_aboutmeController extends Zend_Controller_Action
{
public function init()
{
$this->_helper->layout->disableLayout();
}
public function indexAction()
{
$cache = Zend_Registry::get('cache');
$id = md5("aboutmeControllerIndex");
if(($result = $cache->load($id)) === fals... | zwh-web | trunk/wiki/application/widgets/aboutmebox/controllers/AboutmeController.php | PHP | asf20 | 2,762 |
<?php
array("name" => "日历",
"description" => "这是一个日历组件,自动显示当天的日期。",
); | zwh-web | trunk/wiki/application/widgets/calendarbox/info/detail.php | PHP | asf20 | 120 |
<section class="J_TBox calendar">
<?php
echo $this->calendar_table;
?>
</section> | zwh-web | trunk/wiki/application/widgets/calendarbox/views/scripts/calendar/index.phtml | HTML+PHP | asf20 | 90 |
<?php
class Calendarbox_calendarController extends Zend_Controller_Action
{
public function init()
{
$this->_helper->layout->disableLayout();
}
public function indexAction()
{
$cache = Zend_Registry::get('cache');
$id = md5("calendarboxControllerIndex");
if(($result = $cache->load($id)... | zwh-web | trunk/wiki/application/widgets/calendarbox/controllers/calendarController.php | PHP | asf20 | 3,778 |
<?php
array("name" => "文章分类",
"description" => "这是一个文章分类组件,展示所有文章的分类信息。",
); | zwh-web | trunk/wiki/application/widgets/artcatesbox/info/detail.php | PHP | asf20 | 138 |
<section class="J_TBox artcate">
<h3 class="hd"><a href="<?php echo '/'.BLOGGER_NAME.'/category/' ?>" target="_self">Fix</a></h3>
<section class="bd" style="min-height:475px;">
<ul class="item_list">
<?php if($this->data):?>
<?php foreach($this->data as $data):?>
<li>
... | zwh-web | trunk/wiki/application/widgets/artcatesbox/views/scripts/artcates/index.phtml | HTML+PHP | asf20 | 1,033 |
<?php
class Artcatesbox_artcatesController extends Zend_Controller_Action
{
public function init()
{
$this->_helper->layout->disableLayout();
}
public function indexAction()
{
$cache = Zend_Registry::get('cache');
$id = md5("artcateControllerIndex");
if(($result = $cache->load($id)) === false... | zwh-web | trunk/wiki/application/widgets/artcatesbox/controllers/ArtcatesController.php | PHP | asf20 | 557 |
<?php
array("name" => "热门文章推荐",
"description" => "这是一个热门文章推荐组件,根据文章的阅读量,推荐本站热门文章。",
); | zwh-web | trunk/wiki/application/widgets/recoartbox/info/detail.php | PHP | asf20 | 168 |
<section class="J_TBox recoart">
<h3 class="hd">热门文章推荐</h3>
<section class="bd">
<ul class="item_list">
<?php foreach($this->data as $data):?>
<li>
<a href="<?php echo '/'.$data['nickname'].'/article/detail/id/'.$data['id'];?>" title="<?php echo $data['tit... | zwh-web | trunk/wiki/application/widgets/recoartbox/views/scripts/recoart/index.phtml | HTML+PHP | asf20 | 462 |
<?php
class Recoartbox_recoartController extends Zend_Controller_Action
{
public function init()
{
$this->_helper->layout->disableLayout();
}
public function indexAction()
{
$cache = Zend_Registry::get('cache');
$id = md5("recoartControllerIndex");
if(($result = $cache->load($id)) === false) {... | zwh-web | trunk/wiki/application/widgets/recoartbox/controllers/RecoartController.php | PHP | asf20 | 792 |
<table class='navs' cellpadding='0' cellspacing='0'>
<?php if($this->menus != null) :?>
<tr>
<th class="th_link" style='width:500px'>操作</th>
<th style='width:478px'>导航名</th>
</tr>
<?php echo $this->partialLoop('partials/menuRow.phtml', $this->menus); ?>
<?php else: ?>
<tr><td... | zwh-web | trunk/wiki/application/core/system/views/scripts/menu/index.phtml | HTML+PHP | asf20 | 530 |
<h2 style="margin-bottom: 20px;">新建一个菜单</h2>
<?php echo $this->form; ?>
| zwh-web | trunk/wiki/application/core/system/views/scripts/menu/create.phtml | HTML+PHP | asf20 | 89 |
<h2 style="margin-bottom: 20px;">修改菜单</h2>
<?php echo $this->form; ?> | zwh-web | trunk/wiki/application/core/system/views/scripts/menu/edit.phtml | HTML+PHP | asf20 | 80 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Zend Framework Default Application</title>
</head>
<body>
<h1>An error occur... | zwh-web | trunk/wiki/application/core/system/views/scripts/error/error.phtml | HTML+PHP | asf20 | 778 |
<!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>
<title>kimbs.info - 500 error: Internal Server Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name... | zwh-web | trunk/wiki/application/core/system/views/scripts/error/500.phtml | HTML+PHP | asf20 | 768 |
<!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>
<title>kimbs.info - 404 error: Page not found</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="descr... | zwh-web | trunk/wiki/application/core/system/views/scripts/error/404.phtml | HTML+PHP | asf20 | 811 |
<?php if($this->pageCount):?>
<div class="paginationControl">
<?php if( isset($this->first) ):?>
<a href="<?php echo $this->url(array('page'=>$this->first));?>">首页</a>
<?php else: ?>
<span class="disabled">首页</span>
<?php endif;?>
<?php if( isset($this->previous) ):?>
<a href="<?php echo $this->url(array('page'... | zwh-web | trunk/wiki/application/core/system/views/scripts/paginator/pagelist.phtml | HTML+PHP | asf20 | 1,488 |
<section class="check_user">
<h2>总用户量: <?php echo $this->totals;?></h2>
<table class="userlist">
<thead>
<tr>
<th class="th_id" style="width: 150px;">账户ID</th>
<th style="width: 250px;">账户名</th>
<th style="width: 250px;">文章总数</th>
<th style="width: 120px;">评论总数</th>
<th style="width:... | zwh-web | trunk/wiki/application/core/system/views/scripts/tiger/index.phtml | HTML+PHP | asf20 | 3,310 |
<section class="blogger_set">
<form enctype="multipart/form-data" action="/tiger/webset" method="post">
<table>
<tbody>
<tr>
<td valign="top" class="right">博客logo:</td>
<td>
<input type="file" id="blog_logo" name="blog_logo">
</td>
<td></td>
</tr>
<tr>
<td ... | zwh-web | trunk/wiki/application/core/system/views/scripts/tiger/webset.phtml | HTML+PHP | asf20 | 1,184 |
<!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>
<title>kimbs.info - 404 error: Page not found</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="descr... | zwh-web | trunk/wiki/application/core/system/views/scripts/tiger/404.phtml | HTML+PHP | asf20 | 811 |
<section class="blogger_profile">
<form id="perfect_info" method="post" action="/register/index"
encType="multipart/form-data">
<table>
<tbody>
<tr>
<td valign="top" class="right"><dfn>*</dfn>项目名称:</td>
<td>
<input type="text" value="" name="name" maxlength="30"
class="inpu... | zwh-web | trunk/wiki/application/core/system/views/scripts/register/index.phtml | HTML+PHP | asf20 | 4,182 |
<h1><?php echo $this->menu->name;?></h1>
<table class="user_navs">
<?php if($this->items != null):?>
<tr>
<th class="th_link" style="width:300px">操作 </th>
<th style="width:200px">名称</th>
<th style="width:300px">链接</th>
<th style="width:178px">浏览权限</th>
</tr>
... | zwh-web | trunk/wiki/application/core/system/views/scripts/menuitem/index.phtml | HTML+PHP | asf20 | 661 |
<h2 style="margin-bottom: 20px;">修改用户管理页面的导航链接</h2>
<?php echo $this->form; ?> | zwh-web | trunk/wiki/application/core/system/views/scripts/menuitem/update.phtml | HTML+PHP | asf20 | 107 |
<h2 style="margin-bottom: 20px;">添加用户管理页面的导航链接</h2>
<?php echo $this->form; ?> | zwh-web | trunk/wiki/application/core/system/views/scripts/menuitem/add.phtml | HTML+PHP | asf20 | 107 |
<?php if ($this->pageCount): ?>
<!-- First page link -->
<?php if (isset($this->previous)): ?>
<a href="<?php echo $this->url(array('page' => $this->first)); ?>">
First
</a> |
<?php else: ?>
<span class="disabled">First</span> |
<?php endif; ?>
<!-- Previous page link -->
<?php if (isset($this->pr... | zwh-web | trunk/wiki/application/core/system/views/scripts/partials/pageCut.phtml | HTML+PHP | asf20 | 1,004 |
<tr>
<td class='td_links'>
<a href='/menu/edit/id/<?php echo $this->id;?>'>编辑</a> |
<a href='/menuitem/index/menu/<?php echo $this->id;?>'>管理导航</a> |
<a href='/menu/delete/id/<?php echo $this->id;?>'>删除</a>
</td>
<td><?php echo $this->name ?></td>
</tr> | zwh-web | trunk/wiki/application/core/system/views/scripts/partials/menuRow.phtml | HTML+PHP | asf20 | 320 |
<tr>
<td class='td_links'>
<a href='/menuitem/update/id/<?php echo $this->id;?>'>修改</a> |
<a href='/menuitem/move/direction/up/id/<?php echo $this->id;?>'>上移</a> |
<a href='/menuitem/move/direction/down/id/<?php echo $this->id;?>'>下移</a> |
<a href='/menuitem/delete/id/<?php... | zwh-web | trunk/wiki/application/core/system/views/scripts/partials/menuItemRow.phtml | HTML+PHP | asf20 | 566 |
<section class="find_form clifx">
<form action="" method="post">
<p class="user">
<label for="nickname" class="optional">用户名</label> <input
name="nickname" id="nickname" value="" type="text">
</p>
<p class="email_area">
<label for="emailname">邮箱账号</label> <input name="email" id="email"
valu... | zwh-web | trunk/wiki/application/core/system/views/scripts/index/find.phtml | HTML+PHP | asf20 | 1,268 |
<section class="login_form clifx">
<form action="" method="post">
<p class="user">
<label for="name" class="optional">用户名</label>
<input name="name" id="name" value="" type="text">
</p>
<p class="pwd">
<label for="password" class="optional">密码</label>
<input name="password" id="password" value="" typ... | zwh-web | trunk/wiki/application/core/system/views/scripts/index/index.phtml | HTML+PHP | asf20 | 588 |
<?php
/**
* this class loads the cblog skin
*
*/
class Zend_View_Helper_LoadSkin extends Zend_View_Helper_Abstract
{
public function loadSkin ($skin)
{
// load the skin config file
$skinData = new Zend_Config_Xml('../skins/' . $skin . '/skin.xml');
$stylesheets = ... | zwh-web | trunk/wiki/application/core/system/views/helpers/LoadSkin.php | PHP | asf20 | 837 |
<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
public function _inintSession()
{
Zend_Session::start();
}
public function _initView(){
$view = new Zend_View();
$view->skin = 'default';
// Add it to the ViewRenderer
$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper... | zwh-web | trunk/wiki/application/core/system/Bootstrap.php | PHP | asf20 | 1,440 |
<?php
class Application_Model_AccountMapper
{
protected $_dbTable;
public function setDbTable($dbTable)
{
if (is_string($dbTable)) {
$dbTable = new $dbTable();
}
if (!$dbTable instanceof Zend_Db_Table_Abstract) {
throw new Exception('Invalid table... | zwh-web | trunk/wiki/application/core/system/models/AccountMapper.php | PHP | asf20 | 1,862 |
<?php
class Application_Model_Account
{
public function __construct(array $options = null)
{
if (is_array($options)) {
$this->setOptions($options);
}
}
public function __set($name, $value)
{
$method = 'set' . $name;
if (('mapper' == $... | zwh-web | trunk/wiki/application/core/system/models/Account.php | PHP | asf20 | 1,085 |
<?php
class Application_Model_DbTable_MenuItem extends Zend_Db_Table_Abstract {
protected $_name = 'menu_items';
protected $_referenceMap = array(
'Menu' => array(
'columns' => array('menu_id'),
'refTableClass' => 'Application_Model_DbTable_Menu',
'refColumns' => array... | zwh-web | trunk/wiki/application/core/system/models/DbTable/MenuItem.php | PHP | asf20 | 3,502 |
<?php
class Application_Model_DbTable_Menu extends Zend_Db_Table_Abstract
{
protected $_name = 'menus';
public function createMenu($name)
{
$row = $this->createRow();
$row->name = $name;
return $row->save();
}
public function getMenus()
{
$select = $this->select... | zwh-web | trunk/wiki/application/core/system/models/DbTable/Menu.php | PHP | asf20 | 975 |
<?php
class Application_Model_DbTable_Account extends Zend_Db_Table_Abstract
{
protected $_name = 'account';
public function getAccount($id)
{
$select = $this->select();
$select->where("id = ?", $id);
$items = $this->fetchRow($select);
return $items;
}
public ... | zwh-web | trunk/wiki/application/core/system/models/DbTable/Account.php | PHP | asf20 | 1,666 |
<?php
class Application_Model_DbTable_Project extends Zend_Db_Table_Abstract
{
protected $_name = 'ui_project';
public function getProject($id)
{
$select = $this->select();
$select->where("id = ?", $id);
$items = $this->fetchRow($select);
return $items;
}
publ... | zwh-web | trunk/wiki/application/core/system/models/DbTable/Project.php | PHP | asf20 | 1,525 |
<?php
class TestController extends Zend_Controller_Action {
public function init() {
/* Initialize action controller here */
Zend_Layout::startMvc(APPLICATION_PATH.'/layouts/scripts');
$response = $this->getResponse();
$response->insert('logo', '/global/images/logo.jpg');
$this->_helper->layout->setLa... | zwh-web | trunk/wiki/application/core/system/controllers/TestController.php | PHP | asf20 | 526 |
<?php
class MenuitemController extends Zend_Controller_Action {
public function init() {
/* Initialize action controller here */
Zend_Layout::startMvc(APPLICATION_PATH.'/layouts/scripts/tiger');
$this->_helper->layout->setLayout('layout');
$user = new Zend_Session_Namespace ( 'user' );
if($user->n... | zwh-web | trunk/wiki/application/core/system/controllers/MenuitemController.php | PHP | asf20 | 3,333 |
<?php
class IndexController extends Zend_Controller_Action {
public function init() {
/* Initialize action controller here */
Zend_Layout::startMvc(APPLICATION_PATH.'/layouts/scripts');
$response = $this->getResponse();
$response->insert('logo', '/global/images/logo.jpg');
$this->_helper->layout-... | zwh-web | trunk/wiki/application/core/system/controllers/IndexController.php | PHP | asf20 | 5,625 |
<?php
class ErrorController extends Zend_Controller_Action
{
public function init(){
Zend_Layout::startMvc(APPLICATION_PATH.'/layouts/scripts/error');
$this->_helper->layout->setLayout('layout');
}
/* public function errorAction()
{
$errors = $this->_getParam('error_handler');
swit... | zwh-web | trunk/wiki/application/core/system/controllers/ErrorController.php | PHP | asf20 | 2,341 |
<?php
class TigerController extends Zend_Controller_Action
{
private $_numPerPage = 50;
private $_pageRange = 10;
public function init(){
Zend_Layout::startMvc(APPLICATION_PATH.'/layouts/scripts/tiger');
$this->_helper->layout->setLayout('layout');
$user = new Zend_Session_Namespace ( 'user' );
... | zwh-web | trunk/wiki/application/core/system/controllers/TigerController.php | PHP | asf20 | 5,400 |
<?php
class RegisterController extends Zend_Controller_Action {
public function init() {
Zend_Layout::startMvc(APPLICATION_PATH.'/layouts/scripts');
$response = $this->getResponse();
$response->insert('logo', '/global/images/logo.jpg');
$this->_helper->layout->setLayout('layout')
->setLayoutPath(APPL... | zwh-web | trunk/wiki/application/core/system/controllers/RegisterController.php | PHP | asf20 | 4,218 |
<?php
class MenuController extends Zend_Controller_Action {
public function init() {
/* Initialize action controller here */
Zend_Layout::startMvc(APPLICATION_PATH.'/layouts/scripts/tiger');
$this->_helper->layout->setLayout('layout');
$user = new Zend_Session_Namespace ( 'user' );
if($user->nickn... | zwh-web | trunk/wiki/application/core/system/controllers/MenuController.php | PHP | asf20 | 2,399 |
<?php
class Application_Form_MenuItem extends Zend_Form
{
public function init() {
$this->setMethod ( 'post' );
// create new element
$id = $this->createElement ( 'hidden', 'id' );
// element options
$id->setDecorators ( array ('ViewHelper' ) );
// add the element to the form
$this->addElement ( $i... | zwh-web | trunk/wiki/application/core/system/forms/MenuItem.php | PHP | asf20 | 1,440 |
<?php
class Application_Form_Menu extends Zend_Form{
public function init()
{
$this->setMethod('post');
// create new element
$id = $this->createElement('hidden', 'id');
// element options
$id->setDecorators(array('ViewHelper'));
// add the element to the form
$this->addElement($id);
... | zwh-web | trunk/wiki/application/core/system/forms/Menu.php | PHP | asf20 | 763 |
<h2>当前菜单</h2>
<?php if($this->menus != null) { ?>
<table class='spreadsheet' cellpadding='0' cellspacing='0'>
<tr>
<th>链接</th>
<th>菜单名</th>
</tr>
<?php echo $this->partialLoop('partials/menuRow.phtml', $this->menus); ?>
</table>
<?php }else{?>
<p>您还没有任何菜单</p>
<?php }?> ... | zwh-web | trunk/wiki/application/core/default/views/scripts/menu/index.phtml | HTML+PHP | asf20 | 441 |
<?php echo $this->navigation($this->container)->menu();?> | zwh-web | trunk/wiki/application/core/default/views/scripts/menu/render.phtml | HTML+PHP | asf20 | 57 |
<h2>新建一个菜单</h2>
<?php echo $this->form; ?>
| zwh-web | trunk/wiki/application/core/default/views/scripts/menu/create.phtml | HTML+PHP | asf20 | 60 |