05 2023 档案

摘要:一个简单的应用MVC思想的php程序<?php //controller.php 控制器程序 require_once("model.class.php"); $type = isset($_GET['type'])?$_GET['type']:3; $modelObj = new DateTime2(); switch($type) 阅读全文
posted @ 2023-05-22 16:11 paoPaoLong_liu 阅读(7) 评论(0) 推荐(0) 编辑
摘要:<{section name=i loop=$arr start=5 step=2 max=6}> <{$arr[i]}>, <{/section}> 阅读全文
posted @ 2023-05-04 22:25 paoPaoLong_liu 阅读(8) 评论(0) 推荐(0) 编辑
摘要:<h2>当兵年龄判断</h2> <{if $smarty.get.age ge 18 and $smarty.get.age le 23}> <font color="blue">你符合当兵的年龄要求!</font> <{else}> <font color="red">年龄不合要求</font> 阅读全文
posted @ 2023-05-04 22:16 paoPaoLong_liu 阅读(4) 评论(0) 推荐(0) 编辑
摘要:MVC原理简介 阅读全文
posted @ 2023-05-03 23:12 paoPaoLong_liu 阅读(4) 评论(0) 推荐(0) 编辑
摘要:......<table border="1"> <{section name=i loop=$arrs}> <tr> <{section name=j loop=$arrs[i]}> <td><{$arrs[i][j]}></td> <{/section}> </tr> <{/section}> 阅读全文
posted @ 2023-05-03 21:46 paoPaoLong_liu 阅读(16) 评论(0) 推荐(0) 编辑
摘要:<?php header("Content-type: text/html; charset=utf-8"); //设置中国时区 date_default_timezone_set('PRC'); require_once("./Smarty/libs/Smarty.class.php"); $sm 阅读全文
posted @ 2023-05-03 19:19 paoPaoLong_liu 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-03 17:29 paoPaoLong_liu 阅读(15) 评论(0) 推荐(0) 编辑
摘要:<?php header("Content-type: text/html; charset=utf-8"); //设置中国时区 date_default_timezone_set('PRC'); require_once("./Smarty/libs/Smarty.class.php"); $sm 阅读全文
posted @ 2023-05-03 11:13 paoPaoLong_liu 阅读(39) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示