深入 PHP 与 jQuery 开发
源代码 下载 (Pro
PHP and jQuery source code) )
看完这本书后觉得内容挺不错的,书中的代码基本上都能实现,为方便广大同仁更好 的学习和参考,能以我个人的能力给大家做点(
网学 )贡献我也觉得非常荣幸,欢迎大家踊跃下载! 本想
免费 供大家下载的, 可是为了同时也能让我下载更多的
学习 资料, 所以还是决定跟大家 要点财富值吧,嘿嘿! 下面是这个项目的目录结构!
下面是运行效果图:
首先是 app 目录下的 admin.php 文件,代码如下:
*/ include_once '../system/core/init.inc.php'; if ( !isset($_SESSION['user']) ) { header("Location: ./"); exit; } /* * Output the header */ $page_title = "Add/Edit Event"; $css_files = array("style.css","admin.css"); include_once 'assets/common/header.inc.php'; /* * Load the calendar */ $cal = new Calendar($dbo); ?>
displayForm(); ?>
下面是 confirmdelete.php 文件:
$id = (int) $_POST['event_id']; } else { /* * Send the user to the main page if no ID is supplied */ header("Location: ./"); exit; } $cal = new Calendar($dbo); $markup = $cal->confirmDelete($id); /* * Output the header */ $page_title = "View Event"; $css_files = array("style.css", "admin.css"); include_once 'assets/common/header.inc.php'; ?>
Index.php
$page_title = "Events Calendar"; $css_files = array('style.css','admin.css','
ajax .css'); include_once 'assets/common/header.inc.php'; ?>
buildCalendar(); ?>
Login.php
View.php
?>
displayEvent($id) ?>
&;laquo; Back to the calendar
目录下文件: 下面是 app 目录 assets 目录下文件: 目录: 首先是 Commen 目录: Footer.inc.php
header.inc.php
<
HTML XMLNS="W3.ORG 1999 lang="en" xhtml?
xml :lang="en">
" css? media="screen,projection" />
Css 目录: 目录: Admin.css
fieldset { border: 0; } legend { font-size: 24px;
font-weight: bold; } input[type=text],input[type=pass
word ],label { display: block; width: 70%; font-weight: bold; } textarea { width: 99%; height: 200px; } input[type=text],input[type=password],textarea { border: 1px solid #123; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; -moz-box-shadow: inset 1px 2px 4px #789; -webkit-box-shadow: inset 1px 2px 4px #789; box-shadow: inset 1px 2px 4px #789; padding: 4px; margin: 0 0 4px; font-size: 16px; font-family: georgia, serif; } input[type=submit] { margin: 4px 0; padding: 4px; border: 1px solid #123; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; -moz-box-shadow: inset -2px -1px 3px #345, inset 1px 1px 3px #BCF, 1px 2px 6px #789; -
web kit-box-shadow: inset -2px -1px 3px #345, inset 1px 1px 3px #BCF, 1px 2px 6px #789; box-shadow: inset -2px -1px 3px #345, inset 1px 1px 3px #BCF, 1px 2px 6px #789; background-color: #789; font-family: georg
ia, serif; text-transform: uppercase; font-weight: bold;
font-size: 14px; text-shadow: 0px 0px 1px #fff; } .admin-options { text-align: center; } .admin-options form,.admin-options p { display: inline; } a.admin,a.link{ display: inline-block; margin: 4px 0; padding: 4px; border: 1px solid #123; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; -moz-box-shadow: inset -2px -1px 3px #345, inset 1px 1px 3px #BCF, 1px 2px 6px #789; -webkit-box-shadow: inset -2px -1px 3px #345, inset 1px 1px 3px #BCF, 1px 2px 6px #789; box-shadow: inset -2px -1px 3px #345, inset 1px 1px 3px #BCF, 1px 2px 6px #789; background-color: #789; color: black; text-decoration: none; font-family: georgia, serif; text-transform: uppercase; font-weight: bold; font-size: 14px; text-shadow: 0px 0px 1px #fff; } Ajax.css .modal-overlay { position: fixed; top: 0; left: 0; bottom: 0; width: 100%;
height: 100%; background-color: rgba(0,0,0,.5); z-index: 4; } .modal-window { position: absolute; top: 140px; left: 50%; w
相关文章
最新文件
关于网学 |
万能工具 |
在线交流 |
会员中心 |
查询论文 |
招聘说明 |
精品资源 |
专题论文 |
会员中心 |
联系方式 |
下载目录
论文目录
Copyright 2005-2018 www.myeducs.cn All Rights Reserved 版权所有·网学网 提供大量原创论文 参考论文 论文资料 源代码 管理及投稿 E_mail:3710167@qq.com
郑重声明: 本网站论文均来自互联网,由本站会员上传或下载,仅供个人交流、学习、参考之用,版权归原作者所有
请下载完后24小时之内删除,任何人不得大幅抄录、在期刊上发表或作为商业之用。如涉及版权纠纷,本网站不承担任何法律及连带责任。