目录深入PHP与jQuery开发源代码下载(Pro PHP and jQuery source code)

jquery下载  时间:2021-04-23  阅读:()

深入PHP与jQuery开发源代码下载Pro PHP andjQuerysource code

作者 [美] Jason Lengstorf著

人民邮电出版社

看完这本书后觉得内容挺不错的书中的代码基本上都能实现为方便广大同仁更好的学习和参考能以我个人的能力给大家做点贡献我也觉得非常荣幸欢迎大家踊跃下载本想免费供大家下载的可是为了同时也能让我下载更多的学习资料所以还是决定跟大家要点财富值吧嘿嘿

下面是这个项目的目录结构

下面是运行效果图

首先是app目录下的admin.php文件,代码如下<?php

/*

* Created on 2012-4-24 by xiongxuebing

*/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") ;includ' ;

/*

* Load the calendar

*/

$cal = new Calendar($dbo) ;

?>

<div id="content">

<?php echo @$cal->displayForm( ) ; ?>

</div><!-- end #content -->

<?php

/*

* Output the footer

*/includ' ;

?>

下面是confirmdelete.php文件

<?php

/*

* Created on 2012-4-24 by xiongxuebing

*/include_once ' . ./system/core/init.inc.php' ;

/*

* Make sure the event ID was passed

*/if ( isset($_POST[ 'event_id' ] ) && isset($_SESSION[ 'user' ] ) ){

/*

* Collect the event ID from the URL string

*/

$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") ;includ' ;

?>

<div id="content">

<?php echo $markup; ?>

</div><!-- end #content -->

<?php

/*

* Output the footer

*/include_once 'assets/common/footer.inc.php' ;

?>

Index.php

<?php

/*

* Created on 2012-4-24 by xiongxuebing

*/

/*

* Include necessary files

*/include_once ' . ./system/core/init.inc.php' ;

/*

* Load the calendar for January

*/

$cal = new Calendar($dbo, "2012-04-01 12:00:00") ;

$page_title = "Events Calendar";

$css_files = array( 'style.css' , 'admin.css' , 'ajax.css' ) ;includ' ;

?>

<div id="content">

<?phpecho $cal->buildCalendar( ) ;

?>

</div><!-- end #content -->

<p>

<?phpecho isset($_SESSION[ 'user' ] ) ? "欢迎您 " .$_SESSION[ 'user' ] [ 'name' ] . " ! " :

"还未登录 ";

?>

</p>

<?php

/*

* Include the footer

*/includ' ;

?>

Login.php

<?php

/*

* Created on 2012-4-25 by xiongxuebing

*/

/*

* Include necessary files

*/include_once ' . ./system/core/init.inc.php' ;

/*

* Output the header

*/

$page_title = "Please Log In";

$css_files = array("style.css", "admin.css") ;include_once 'assets/common/header.inc.php' ;

?>

<div id="content">

<form action="assets/inc/process.inc.php" method="post">

<fieldset>

<legend>Please Log In</legend>

<label for="uname">Username</label>

<input type="text" name="uname" id="uname" value="" /><label for="pword">Password</label>

<input type="password" name="pword" id="pword" value="" /><input type="hidden" name="token" value="<?php echo

$_SESSION[ 'token' ] ; ?>" />

<input type="hidden" name="action" value="user_login" /><input type="submit" name="login_submit" value="Log In" /> or<a href=" ./">cancel</a>

</fieldset>

</form>

</div><!-- end #content -->

<?php

/*

* Output the footer

*/include_once 'assets/common/footer.inc.php' ;

?>

View.php

<?php

/*

* Created on 2012-4-24 by xiongxuebing

*/if ( isset($_GET[ 'event_id' ] ) )

{

$id = preg_replace( '/[^0-9]/' , ' ' , $_GET[ 'event_id' ] ) ;if ( empty($id) )

{header("Location: ./") ;exit;

}

}else

{header("Location: ./") ;exit;

}include_once ' . ./system/core/init.inc.php' ;

$page_title = "View Event";

$css_files = array("style.css", "admin.css") ;includ' ;

$cal = new Calendar($dbo) ;

?>

<div id="content">

<?php echo $cal->displayEvent($id) ?>

<a href=" ./">&laquo; Back to the calendar</a>

</div><!-- end #content -->

<?phpinclude_once 'assets/common/footer.inc.php' ;

?>

下面是app目录assets目录下文件

首先是Commen目录

Footer.inc.php

<script type="text/javascript"src="assets/js/jquery-1.7.2. js"></script>

<script type="text/javascript" src="assets/js/valid-date. js"></script><script type="text/javascript" src="assets/js/init. js"></script></body>

</html>header.inc.php

<!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" xml:lang="en" lang="en"><head>

<meta http-equiv="Content-Type"content="text/html;charset=utf-8" />

<title><?php echo $page_title; ?></title>

<?php foreach ( $css_files as $css ) : ?>

<link rel="stylesheet" type="text/css" media="screen,projection"href="assets/css/<?php echo $css; ?>" />

<?php endforeach; ?>

</head>

<body>

Css目录

Admin.cssfieldset {border: 0;

}legend {font-size: 24px;

font-weight: bold;

}input[type=text] ,input[type=password] ,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;

-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;font-family: georgia, 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%;

Vultr再次发布充值多少送多少活动

昨天我们很多小伙伴们应该都有看到,包括有隔壁的一些博主们都有发布Vultr商家新的新用户注册福利活动。以前是有赠送100美元有效期30天的,这次改成有效期14天。早年才开始的时候有效期是60天的,这个是商家行为,主要还是吸引到我们后续的充值使用,毕竟他们的体验金赠送,在同类商家中算是比较大方的。昨天活动内容:重新调整Vultr新注册用户赠送100美元奖励金有效期14天今天早上群里的朋友告诉我,两年...

GeorgeDatacenter:洛杉矶/达拉斯/芝加哥/纽约vps云服务器;2核/8GB/250GB/2TB流量/1Gbps端口,$84/年

georgedatacenter怎么样?GeorgeDatacenter是一家2017年成立的美国商家,正规注册公司(REG: 10327625611),其实是oneman。现在有优惠,有几款特价VPS,基于Vmware。支持Paypal付款。GeorgeDatacenter目前推出的一款美国vps,2核/8GB内存/250GB NVMe空间/2TB流量/1Gbps端口/Vmware/洛杉矶/达拉...

gcorelabs:美国GPU服务器,8张RTX2080Ti,2*Silver-4214/256G内存/1T SSD/

gcorelabs提供美国阿什本数据中心的GPU服务器(显卡服务器),默认给8路RTX2080Ti,服务器网卡支持2*10Gbps(ANX),CPU为双路Silver-4214(24核48线程),256G内存,1Gbps独享带宽仅需150欧元、10bps带宽仅需600欧元,不限流量随便跑吧。 官方网站 :https://gcorelabs.com/hosting/dedicated/gpu/ ...

jquery下载为你推荐
Symbolbasiertefastreport2桥面163深圳做网站-确认收货手太快网店发来空箱子http://www.tutorialspoint.com/css/css_dimension.htm支持ipad支持ipadiphone连不上wifi苹果手机无法连接wifi是什么原因win10445端口WIN7怎么打开3306端口x-routerX-Router这个软件有什么用win7如何关闭445端口如何彻底永久取消win7粘滞键功能
独立ip虚拟主机 怎么申请域名 外国空间 网通代理服务器 牛人与腾讯客服对话 个人域名 免费美国空间 如何用qq邮箱发邮件 中国网通测速 hkt 100mbps 免费网页空间 ca187 双12 跟踪路由命令 空间登录首页 英雄联盟台服官网 qq金券 可外链的相册 免备案cdn加速 更多