php代码 201204

摘要: <?php//引入文件include_once("../models/UserInfo.php");include_once("../models/UserDaoImpl.php");//开启会话session_start();//获得操作类型$action="";if($_POST['action']){$action=$_POST['action'];}else {$action=$_GET['action'];}http://www.shkpw.com/citys.phpsw 阅读全文
posted @ 2012-11-09 10:30 yueyun168 阅读(113) 评论(0) 推荐(0) 编辑

php代码 201205

摘要: <?php//引入文件include_once("../models/UserInfo.php");include_once("../models/UserDaoImpl.php");//验证登录function login(){$name=$_POST['name'];$password=$_POST['password'];$admin=new UserInfo();$admin->setusername($name);$admin->setpassword($password);$ud=new Us 阅读全文
posted @ 2012-11-09 10:30 yueyun168 阅读(88) 评论(0) 推荐(0) 编辑

php代码 2012057

摘要: <?php class LoginController extends Zend_Controller_Action{ function init(){Zend_Loader::loadClass('Admin');//加载Admin模型$this->view->baseUrl = $this->_request->getBaseUrl();//获得系统根路径$this->view->title="管理员登陆";//设置视图标题} function indexAction(){}function loginActio 阅读全文
posted @ 2012-11-09 10:30 yueyun168 阅读(102) 评论(0) 推荐(0) 编辑

php代码 201203

摘要: <?php$file_name="access.log";//定义日志文件$fp=fopen($file_name,"r");//打开日志文件$count=0;//定义访问量变量$totle_size=0;//定义访问数据流量变量echo "<table border='1'><tr><td>日期</td><td>访问ip</td><td>数据传输量</td></tr>";//显示表头while ($row 阅读全文
posted @ 2012-11-09 10:27 yueyun168 阅读(120) 评论(0) 推荐(0) 编辑

html56

摘要: <!--{eval $_TPL['titles'] = array('紫贝农场 - 邀请好友');}--><!--{template header}--><style type="text/css">#farmhead{width:100%; height:46px; overflow:hidden; margin:0px; padding:0px;}#farmhead table,td,tr,th{border:0px; margin:0px; padding:0px; font-size:12px;}. 阅读全文
posted @ 2012-10-22 00:06 yueyun168 阅读(358) 评论(0) 推荐(0) 编辑

css14

摘要: /*============================================================* 重定义样式/===========================================================*/.main{width:678px;padding:10px;}.caption{background-position:0 -121px;}/*============================================================* 案例列表/============================= 阅读全文
posted @ 2012-10-20 22:02 yueyun168 阅读(112) 评论(0) 推荐(0) 编辑

css16

摘要: /*============================================================* 表格设定http://www.shkpw.com/citys.php/===========================================================*/.box table{ empty-cells:show; border-collapse:collapse; width:100%; text-align:left; border-bottom:1px dashed #ccc;}.box th{ line-height:30p 阅读全文
posted @ 2012-10-20 22:02 yueyun168 阅读(127) 评论(0) 推荐(0) 编辑

css 12

摘要: .content{ width:908px; padding:20px; line-height:30px; font-size:14px; border:1px solid #e3e3e3; background-color:#fff;}.content h5{font-size:16px;color:#008c00;}.content p{margin-bottom:15px;}.content em{margin-right:10px;color:#333;}.content li cite{margin-right:20px;}/* 友情链接 */ http://www.shkpw.c 阅读全文
posted @ 2012-10-20 22:01 yueyun168 阅读(98) 评论(0) 推荐(0) 编辑

css13

摘要: @charset "utf-8";/*============================================================* 格式化标签/===========================================================*/*{margin:0; padding:0}body{background:#fff url(../Images/Home/bg_body.png) repeat-x;}img{vertical-align:middle; border:0;}ul,ol{list-style-typ 阅读全文
posted @ 2012-10-20 22:01 yueyun168 阅读(189) 评论(0) 推荐(0) 编辑

邮件

摘要: class smtp{/* Public Variables */var $smtp_port;var $time_out;var $host_name;var $log_file;var $relay_host;var $debug;var $auth;var $user;var $pass;/* Private Variables */var $sock;/* Constractor */function smtp($relay_host = "", $smtp_port = 25,$auth = false,$user,$pass){$this->debug = 阅读全文
posted @ 2012-10-20 21:57 yueyun168 阅读(133) 评论(0) 推荐(0) 编辑