摘要:
require('./libs/Smarty.class.php'); $smarty = new Smarty();$smarty->left_delimiter="{";$smarty->right_delimiter="}";$smarty->setTemplateDir('templates 阅读全文
摘要:
<?phpclass Mytpl{ //输出页面 protected $tpl_val = array(); function display($url){ $content = file_get_contents($url); //获取模板资源 foreach ($this->tpl_val as 阅读全文
摘要:
<ul> <?php $c =new conn11('localhost','user','','test'); $c->connect();//连接数据库 $sql2 = 'select count(*) from liuyan'; $res3 =$c->sel($sql2); $res4 = $ 阅读全文
摘要:
header( 'Content-Type:text/html;charset=utf-8 ');session_start();include_once("conn/conn.php"); $name=$_POST["username"]; $pass=$_POST["password"]; $s 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <script src="js/jquery-1.12.3 (1).js"></script> <style type="text/css"> .wap{ he 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script src="js/jquery-1.11.3.min.js" ></script> </head> <script> $(function(){ $( 阅读全文
摘要:
<?phpheader("Content-Type: textml; charset=utf-8");include_once ("../conn/conn.php");$title=$_POST["title"]; $content=$_POST["content"];$sc=$_FILES["u 阅读全文
摘要:
<td><a href="pages/xiugai.php?id=<?php echo $row["id"]?>">修改</a></td> <?phpheader('Content-Type:text/html;charset=utf-8');include_once("../conn/conn.p 阅读全文
摘要:
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title></title> <script src="jquery.js"></script></head><body> <form action="1.php" method="post" e 阅读全文
摘要:
<?phpheader("Content-Type: text/html; charset=utf-8"); // print_r($_FILES); if(!is_dir('uploads')) { mkdir('uploads'); } $t_name=$_FILES["files"]["tmp 阅读全文