code
string
repo_name
string
path
string
language
string
license
string
size
int64
<?php class configrelationModel extends relationModel{ public $table="config"; public $join=array( "config_type"=>array( "type"=>"BELONGS_TO", "foreign_key"=>'tid' ) ); } ?>
zyhhdcms
trunk/xm/index/admin/model/configrelationModel.php
PHP
asf20
208
<?php class roleviewModel extends viewModel{ public $table="user"; public $view=array( "user_role"=>array( "type"=>"inner", "on"=>"user_role.uid=user.uid" ), "role"=>array( "type"=>"inner", "on"=>"role.rid=user_role.rid" ) ); } ?>
zyhhdcms
trunk/xm/index/admin/model/roleviewModel.php
PHP
asf20
273
<?php class newsinfoModel extends viewModel{ public $table="news"; public $view =array( "user"=>array( "join_type"=>"inner", "on"=>"news.username=user.username" ), "news_data"=>array( "join_type"=>"inner", "on"=>"news.id=news_data.nid" ) ); } ?>
zyhhdcms
trunk/xm/index/admin/model/newsinfoModel.php
PHP
asf20
300
<?php class userviewModel extends viewModel{ public $table="user"; public $view=array( "user_role"=>array( "join_type"=>"inner", "on"=>"user.uid=user_role.uid", "field"=>"rid,uid" ), "role"=>array( "join_type"=>"inner", "on"=>"user_role.rid=role.rid", "field"=>"title" ) ...
zyhhdcms
trunk/xm/index/admin/model/userviewModel.php
PHP
asf20
349
<?php class configModel extends viewModel{ public $table="config"; public $view=array( "config_type"=>array( "join_type"=>"inner", "on"=>"config.tid=config_type.tid" ) ); } ?>
zyhhdcms
trunk/xm/index/admin/model/configModel.php
PHP
asf20
197
<?php class imgsrelationModel extends relationModel{ public $table="upload"; public $join=array( "news"=>array( "type"=>"belongs_to", "foreign_key"=>"id", "field"=>"title"//获取的是news里面的字段 ) ); } ?>
zyhhdcms
trunk/xm/index/admin/model/imgsrelationModel.php
PHP
asf20
253
<?php /** * Copyright [HD框架] (C)2011-2012 houdunwang ,Inc. * Encoding UTF-8 * Version $Id: functions 2012-8-23 13:04:34 * @author 向军 * Link http://www.houdunwang.com * E-mail houdunwangxj@gmail.com */ functi...
zyhhdcms
trunk/xm/index/admin/libs/functions.php
PHP
asf20
2,308
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{$hd.langUAGE.error_html_title}</title> <style type="text/css"> ...
zyhhdcms
trunk/xm/index/admin/tpl/public/error.html
HTML
asf20
2,279
<html> <head> <jquery /> <jsconst /> <js file="__PUBLIC__/js/adduser.js" /> <css file="__PUBLIC__/css/adduser.css" /> </head> <body> <p id="reg"><span>欢迎您注册</span></p> <form action=" __CONTROL__/add" method="post"> <p><span>帐号</span><input type="text" name="username" id="username"/></p> <p><span>密码</span><input type=...
zyhhdcms
trunk/xm/index/admin/tpl/public/adduser.html
HTML
asf20
612
$(function(){ $(".top_r ul li").click(function(){ index=$(this).index(); showDiv(index); function showDiv(index){ $(".left_body ul").eq(index).slideDown().siblings().slideUp(); } }) $(".left_body ul h4").click(function(){ $(this).parent().children("li").slideDown(500); $(this).parent()...
zyhhdcms
trunk/xm/index/admin/tpl/public/js/index.js
JavaScript
asf20
393
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ $(function(){ $("#left .menu span").click(function(){ $(".on").removeClass("on"); $(this).addClass("on"); $(this).parent().children("li").slideToggle(20); $(this).parent().prev().childr...
zyhhdcms
trunk/xm/index/admin/tpl/public/js/test.js
JavaScript
asf20
367
$(function (){ $(".up").click(function(){ var id=$(this).attr("name"); var form='#form'+id; data=$(form).serialize(); $.ajax({ url:CONTROL+"&m=imgupdate", data:data, type:"post", success:function(data){ if(data==1){ alert("修改成功"); }else if(data==2){ ...
zyhhdcms
trunk/xm/index/admin/tpl/public/js/imgupdate.js
JavaScript
asf20
448
$(function(){ $(".del").click(function(){ $com=confirm("确定删除吗?删除后不可恢复哦"); if($com){ var data=$(this).attr("name"); $.ajax({ url:"http://localhost/hdcms/index.php?a=admin&c=config&m=config_del", type:"post", data:"data="+data, success:function(data){ if(data==1){ ...
zyhhdcms
trunk/xm/index/admin/tpl/public/js/config_del.js
JavaScript
asf20
493
 $(function(){ var left=($(document).width()-$("form").width())/2; var top=($(document).height()-$("form").height())/2; $("#sub").mouseover(function(){ $(this).css({"background":"#2AED10"}) }) $("#sub").mouseout(function(){ $(this).css({"background":"#86DDEB"}) }) $("form").css({"left":l...
zyhhdcms
trunk/xm/index/admin/tpl/public/js/login.js
JavaScript
asf20
1,421
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ $(function(){ $("#checkall").click(function(){ if(!$(".check").attr("checked")){ $(".check").attr("checked","checked"); }else{ $(".check").removeAttr("checked"); } }) })
zyhhdcms
trunk/xm/index/admin/tpl/public/js/delete.js
JavaScript
asf20
320
$(function(){ $("select").change(function(){ $(".level").attr("value",$(this).val()); }) })
zyhhdcms
trunk/xm/index/admin/tpl/public/js/node_add.js
JavaScript
asf20
109
$(function(){ $("#tr1 .t2 input").focus(function(){ $(this).parent().next("td").text("英文名") $(this).removeClass("error"); $(this).removeClass("success"); }) $("#tr1 .t2 input").blur(function(){ var data=$(this).val(); error=1; if($(this).val()==''){ error=0; $(this).parent().next("td")....
zyhhdcms
trunk/xm/index/admin/tpl/public/js/role_add.js
JavaScript
asf20
986
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ $(function(){ var i=0 while(i<$("li").length){ if(i%2==0){ $("li").eq(i).addClass("bg"); }else{ $("li").eq(i).addClass("bg2"); } i++...
zyhhdcms
trunk/xm/index/admin/tpl/public/js/lock.js
JavaScript
asf20
340
$(function(){ $("input").focus(function(){ $(this).next("span").remove(); }) $("#username").blur(function(){ public=1; if($(this).val()==''){ $(this).after("<span style='color:red'>用户名不能为空</span>"); $("form").submit(function(){ return false; }) }else{...
zyhhdcms
trunk/xm/index/admin/tpl/public/js/adduser.js
JavaScript
asf20
2,167
$(function(){ $("input").focus(function(){ $(".on").removeClass("on"); $(this).addClass("on"); }) $(".cname").focus(function(){ $(this).removeClass("red"); }) $(".cname").blur(function(){ cname=$(this).val(); if(cname==''){ $(".error").text("栏目名不能为空") $(".error").addClass("err"); $(this).addCla...
zyhhdcms
trunk/xm/index/admin/tpl/public/js/cateAddtype.js
JavaScript
asf20
912
$(function(){ $(".button2").click(function(){ $("#selecttplview").attr("src","http://localhost/xm/index.php/admin/category/selecttemplate/tplinput/"+$(this).attr("tpltype")); $("#selecttemplate").show(); }) $("#closewindow").click(function(){ $("#selecttemplate").hide(); }) })
zyhhdcms
trunk/xm/index/admin/tpl/public/js/category.js
JavaScript
asf20
300
$(function(){ $(".file").click(funtion(){ tplinput=$(this).attr("tplinput"); $(parent.document).find("input[id='"+tplinput+"']").val($(this).attr("file")) parent_dialog(); }) function parent_dialog(){ $(parent.document).find("#selecttemplate").slideUp(); } })
zyhhdcms
trunk/xm/index/admin/tpl/public/js/selecttemplate.js
JavaScript
asf20
296
$(function(){ $(".del").hover(function(){ $(this).css({"text-decoration":"underline"}) },function(){ $(this).css({"text-decoration":"none"}) }) $(".del").click(function(){ data=$(this).attr("name"); $sure=confirm("确定删除?删除后不可恢复哦!"); if($sure){ $.ajax({ url:url, type:"post", data:"data="+data, ...
zyhhdcms
trunk/xm/index/admin/tpl/public/js/catdel.js
JavaScript
asf20
637
form{ margin: 100px 160px; } table{ height:200px; } table tr{ border: solid 1px #fff; width: 700px; height: 100px; } table tr td{ padding: 5px; } .t1{ width: 100px; text-align: right; color:#666; } .t2 input { width: 300px; } .t3{ color: #018CE8; width: 140px; } .button{ cu...
zyhhdcms
trunk/xm/index/admin/tpl/public/css/role_add.css
CSS
asf20
530
input{ display:block; } span{ color:blue; } #reg{ width:980px; height:50px; background:#25E1F2; margin:0px auto; color:#fff; font-size:28px; line-height:50px; padding:0 0 0 30px; font-weight:bold; } form{ width:700px; height:550px; margin:0 auto; background...
zyhhdcms
trunk/xm/index/admin/tpl/public/css/adduser.css
CSS
asf20
704
*{ margin:0px; padding: 0px; } a{ text-decoration: none; color: #666666; } a:visited{ color: #666666; } #top{ width: 1024px; height: auto; margin: 0 auto; } #head{ width: 1024px; height: 100px; background: url(../images/head-bg.png); } ul li { cursor: pointer; } #head .log{...
zyhhdcms
trunk/xm/index/admin/tpl/public/css/index.css
CSS
asf20
2,762
*{padding:0px;margin:0px;} h3{font-size: 16px;color:#666;margin:20px;} div{width:48%;margin:10px 10px 10px 0px;;border:solid 1px #dcdcdc;float:left;padding-bottom: 10px;} div h2{background:#F2F6F8;color:#555;font-size: 14px;height:30px; text-indent: 10px;line-height: 2em;font-weight: bold; border-bottom:solid 1...
zyhhdcms
trunk/xm/index/admin/tpl/public/css/welcome.css
CSS
asf20
490
form{ width:400px; height:300px; margin:0 auto; border:solid 8px #BABDBA; background:#FFF; margin-top:200px; border-radius:25px; } form #input img{ display:inline-block; line-height:20px; } form input{ width:200px; height:20px; display:inline-block; ...
zyhhdcms
trunk/xm/index/admin/tpl/public/css/login.css
CSS
asf20
1,023
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{$hd.language.success_html_title}</title> <style type="text/css"> ...
zyhhdcms
trunk/xm/index/admin/tpl/public/success.html
HTML
asf20
2,460
<html> <head> <title>13502KV7-5</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <!-- ImageReady Slices (13502KV7-5.png) --> <table id="__01" width="600" height="300" border="0" cellpadding=...
zyhhdcms
trunk/xm/index/admin/tpl/public/images/pas.html
HTML
asf20
872
<form action="__CONTROL__/user_role_add" method="post" > <list from="$row" name="$list" > <input type="radio" name="rid" value="{$list.rid}" />{$list.title} </list> <input type="hidden" value="{$uid}" name="uid" /> <input type="submit" value="确认添加" /> </form>
zyhhdcms
trunk/xm/index/admin/tpl/rbac/user_role_add_show.html
HTML
asf20
277
<html> <css file="__STATIC__/css/base.css" /> <table class="table2" style="margin-left:50px"> <tr> <td style="color:blue">角色名</td> <td style="color:blue">角色介绍</td> <td style="color:blue">角色权限</td> </tr> <list from="$row" name="$list"> <tr><td>{$list.rname}</td><td>{$list.title}</td><td><a class="button1" ...
zyhhdcms
trunk/xm/index/admin/tpl/rbac/role_show.html
HTML
asf20
543
<html> <css file="__STATIC__/css/base.css" /> <jquery /> <jsconst /> <js file="__STATIC__/js/node_add.js" /> <form action="__CONTROL__/node_add" method="post"> 节点名称:<input type="text" name="name" /><br/> <if value="!empty({$row})"> <input type="hidden" name="pid" value="{$row.nid}" /> 节点层级:<select> <...
zyhhdcms
trunk/xm/index/admin/tpl/rbac/node_add_show.html
HTML
asf20
956
<html> <css file="__STATIC__/css/base.css" /> <form action="__CONTROL__/node_acc_add" method="post" > <input type="hidden" name="rid" value="{$rid} " /> 应用: <list from="$row" name="$app"> <if value="{$app.level}==1"> <input type="checkbox" name="nid[]" value="{$app.nid}" />{$app.name}<br/> <input type="hidde...
zyhhdcms
trunk/xm/index/admin/tpl/rbac/role_node_show.html
HTML
asf20
864
<html> <css file="__STATIC__/css/base.css" /> <table class="table2"> <tr><td>用户名</td><td>注册时间</td><td>操作</td></tr> <list from="$row" name="$list" > <tr> <td>{$list.username}</td><td>2012-8-30</td><td><a href="__CONTROL__/user_role_add_show/uid/{$list.uid}">角色分配</a></td> </tr> </list> </table> </html>
zyhhdcms
trunk/xm/index/admin/tpl/rbac/user_show.html
HTML
asf20
343
<html> <css file="__STATIC__/css/base.css" /> <table class="table1"> <tr><td>用户名</td><td>角色</td><td>操作</td></tr> <list from="$row" name="$list"> <tr><td>{$list.username}</td><td>{$list.title}</td><td><a href="#" class="button1">删除</a><a href="#" class="button1">修改</a></td></tr> </list> </table> ...
zyhhdcms
trunk/xm/index/admin/tpl/rbac/user_role_show.html
HTML
asf20
351
<html> <css file="__STATIC__/css/base.css" /> <table class="table1"> <tr><td>节点名</td><td>节点等级</td><td>描述</td><td>添加子节点</td></tr> <list from="$row" name="$list"> <tr><td>{$list.name}</td><td>{$list.level}</td><td>{$list.title}</td> <td><a class="button1" href="__CONTROL__/node_add_show/nid/{$list.nid}"> 添加</a...
zyhhdcms
trunk/xm/index/admin/tpl/rbac/node_show.html
HTML
asf20
470
<html> </html> <form action="__CONTROL__/role_add" method="post" > 角色名<input type="text" name="rname" /><span style="color:red" >必须英文</span><br/> &nbsp;&nbsp;介绍<input type="text" name="title" /><span style="color:red"> 中文提示</span><br/> <input type="submit" value="添加" style="color:blue" /> </form>
zyhhdcms
trunk/xm/index/admin/tpl/rbac/role_add_show.html
HTML
asf20
339
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript"> url="__CONTROL__"+'&m=del'; </script> <meta http-equiv="Content-Type...
zyhhdcms
trunk/xm/index/admin/tpl/category/cate_show.html
HTML
asf20
2,089
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css/...
zyhhdcms
trunk/xm/index/admin/tpl/category/selecttemplate.html
HTML
asf20
1,462
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript"> url="__CONTROL__"+'&m=del'; </script> <meta http-equiv="Content-Ty...
zyhhdcms
trunk/xm/index/admin/tpl/category/index.html
HTML
asf20
1,875
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css/base.cs...
zyhhdcms
trunk/xm/index/admin/tpl/category/add_show.html
HTML
asf20
5,156
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__PUBLIC__/...
zyhhdcms
trunk/xm/index/admin/tpl/index/wel.html
HTML
asf20
2,750
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>图片展示页</title> <css file="__STATIC__/css/global.css"> <jquery /> <jsconst /> <js file="__STATIC__/js/slides.min.jquery.js"></script> <script> $(function(){ $('#slides').slides({ preload: true, preloadImage: '__STATIC__...
zyhhdcms
trunk/xm/index/admin/tpl/index/images.html
HTML
asf20
2,716
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__PUBLIC__/...
zyhhdcms
trunk/xm/index/admin/tpl/index/welcome.html
HTML
asf20
2,741
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Caracole" /> <!DOCTYPE html PUBLIC "...
zyhhdcms
trunk/xm/index/admin/tpl/index/upload.html
HTML
asf20
3,309
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Caracole" /> </head> <jquery /> <js...
zyhhdcms
trunk/xm/index/admin/tpl/index/login.html
HTML
asf20
1,185
<html> <head> <title>后台管理</title> <css file="__PUBLIC__/css/index.css" /> <jquery /> <js file="__PUBLIC__/js/index.js" /> </head> <body> <?php C("debug",0);?> <!--头部--> <div id="top"> <div id="head"> <a href="__APP__" class="log"></a> <div id="top_menu"><!--头部导航菜单--> <div class="top_l"> <im...
zyhhdcms
trunk/xm/index/admin/tpl/index/index.html
HTML
asf20
2,820
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css...
zyhhdcms
trunk/xm/index/admin/tpl/theme/edit_show.html
HTML
asf20
4,250
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css/base...
zyhhdcms
trunk/xm/index/admin/tpl/theme/recycled.html
HTML
asf20
2,208
<!DOCTYPE html> <html> <head> <?php C("DEBUG","0");?> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css/base.css"/> </head> <body style="padding:10px;"> <div class="send1"> <a href="__APP__/theme/add_show" ta...
zyhhdcms
trunk/xm/index/admin/tpl/theme/theme_show.html
HTML
asf20
2,015
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css...
zyhhdcms
trunk/xm/index/admin/tpl/theme/add_show.html
HTML
asf20
4,258
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body style="padding:10px;...
zyhhdcms
trunk/xm/index/admin/tpl/theme/con_show.html
HTML
asf20
815
<html> <head> </head> <style type="text/css"> *{ margin: 0px; padding: 0px; } .c{clear: both;} table{ width:700px; height: 540px; margin-left: 20px; } tr td { display: inline-block; width: 320px; height: 150px; border: solid 1px #34B9DE; margin-top: 10px; } tr td img{ width: 100p...
zyhhdcms
trunk/xm/index/admin/tpl/image/img_show.html
HTML
asf20
2,637
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript"> url="__CONTROL__"+'&m=del'; </script> <meta http-equiv="Cont...
zyhhdcms
trunk/xm/index/admin/tpl/image/imagecate_show.html
HTML
asf20
1,934
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css/base.css...
zyhhdcms
trunk/xm/index/admin/tpl/image/add_cate.html
HTML
asf20
5,397
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css/...
zyhhdcms
trunk/xm/index/admin/tpl/config/setconfig.html
HTML
asf20
5,948
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css/...
zyhhdcms
trunk/xm/index/admin/tpl/config/config_edit_show.html
HTML
asf20
5,138
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css/...
zyhhdcms
trunk/xm/index/admin/tpl/config/type.html
HTML
asf20
1,848
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css/base.c...
zyhhdcms
trunk/xm/index/admin/tpl/config/type_edit_show.html
HTML
asf20
1,714
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__DSTATIC__/css/base.c...
zyhhdcms
trunk/xm/index/admin/tpl/config/add_type_show.html
HTML
asf20
1,608
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__STATIC__/css/...
zyhhdcms
trunk/xm/index/admin/tpl/config/add_config_show.html
HTML
asf20
5,064
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <css file="__DATA__/css/ba...
zyhhdcms
trunk/xm/index/admin/tpl/config/config.html
HTML
asf20
1,904
<html> <head> <style type="text/css"> form{ margin: 140px 0 0 250px; } form div{ width: 100px; height: 30px; border:solid 1px #fff; color: #018CE7; line-height: 30px; } .button{ background: #fff; color:#666666; cursor:pointer; border: solid 1px #fff; margin-top: 10px; margi...
zyhhdcms
trunk/xm/index/admin/tpl/role/user_role_add_show.html
HTML
asf20
741
<html> <css file="__STATIC__/css/base.css" /> <table class="table2" style="margin-left:50px"> <tr> <td style="color:blue">角色名</td> <td style="color:blue">角色介绍</td> <td style="color:blue">角色权限</td> </tr> <list from="$row" name="$list"> <tr><td>{$list.rname}</td><td>{$list.title}</td><td><a class="button1" ...
zyhhdcms
trunk/xm/index/admin/tpl/role/role_show.html
HTML
asf20
543
<html> <css file="__STATIC__/css/base.css" /> <jquery /> <jsconst /> <js file="__STATIC__/js/node_add.js" /> <css file="__STATIC__/base.css" /> <form action="__CONTROL__/node_add" method="post"> 节点名称:<input type="text" name="name" /><br/> <if value="!empty({$row})"> <input type="hidden" name="pid" value="{...
zyhhdcms
trunk/xm/index/admin/tpl/role/node_add_show.html
HTML
asf20
993
<html> <css file="__STATIC__/css/base.css" /> <form action="__CONTROL__/node_acc_add" method="post" > <input type="hidden" name="rid" value="{$rid} " /> 应用: <list from="$row" name="$app"> <if value="{$app.level}==1"> <input type="checkbox" name="nid[]" value="{$app.nid}" />{$app.name}<br/> <input type="hidde...
zyhhdcms
trunk/xm/index/admin/tpl/role/role_node_show.html
HTML
asf20
864
<html> <css file="__STATIC__/css/base.css" /> <table class="table2"> <tr><td>用户名</td><td>注册时间</td><td>操作</td></tr> <list from="$row" name="$list" > <tr> <td>{$list.username}</td><td>2012-8-30</td><td><a href="__CONTROL__/user_role_add_show/uid/{$list.uid}">角色分配</a></td> </tr> </list> </table> </html>
zyhhdcms
trunk/xm/index/admin/tpl/role/user_show.html
HTML
asf20
343
<html> <css file="__STATIC__/css/base.css" /> <table class="table1"> <tr><td>用户名</td><td>角色</td><td>操作</td></tr> <list from="$row" name="$list"> <tr><td>{$list.username}</td><td>{$list.title}</td><td><a href="__CONTROL__/del" class="button1">删除</a><a href="__CONTROL__/edit" class="button1">修改</a></td></tr> ...
zyhhdcms
trunk/xm/index/admin/tpl/role/user_role_show.html
HTML
asf20
380
<html> <css file="__STATIC__/css/base.css" /> <table class="table1"> <tr><td>节点名</td><td>节点等级</td><td>描述</td><td>添加子节点</td></tr> <list from="$row" name="$list"> <tr><td>{$list.name}</td><td>{$list.level}</td><td>{$list.title}</td> <td><a class="button1" href="__CONTROL__/node_add_show/nid/{$list.nid}"> 添加</a...
zyhhdcms
trunk/xm/index/admin/tpl/role/node_show.html
HTML
asf20
470
<html> <css file="__STATIC__/css/base.css" /> <style type="text/css"> .table2 .t1{ color:#0360B4; text-align: center; } .t2{text-align: center; color: #666; } a:visited{ color:#666; } a{ color:#666; } table{ } .table2 tr td{ padding: 10px; border: solid 1px #fff; } </style> <table ...
zyhhdcms
trunk/xm/index/admin/tpl/role/index.html
HTML
asf20
698
<html> <head> <jquery /> <jsconst /> <css file="__STATIC__/css/base.css"/> <css file="__PUBLIC__/css/role_add.css" /> <js file="__PUBLIC__/js/role_add.js" /> <style type="text/css"> </style> </head> <body> <form action="__CONTROL__/role_add" method="post"> <table> <tr id="tr1"> <td class="t1"...
zyhhdcms
trunk/xm/index/admin/tpl/role/role_add_show.html
HTML
asf20
701
<?php if(!defined("PATH_HD"))exit; $base = include "./config/base.php"; $database = include "./config/database.php"; $system = include "./config/system.php"; return array_merge($base,$system,$database); ?>
zyhhdcms
trunk/xm/index/admin/config/config.php
PHP
asf20
215
<?php /***************栏目操作***************/ class categoryControl extends Control{ function index(){//栏目显示 C("debug",0); $db=M("category"); $row=$db->all(); $row=arr::channel($row,"cateid","pid",0,2,"&nbsp;"); $this->assign("row",$row); $this->display(); } function add_show(){ $cateid=isset($_G...
zyhhdcms
trunk/xm/index/admin/control/categoryControl.php
PHP
asf20
2,340
<?php class publicControl extends Control{ function login(){ $this->display(); } function logintype(){//登录验证 $username=$_POST["username"]; $password=md5($_POST["password"]); $db=M("user"); $row=$db->where("username='$username'")->find(); if(!$db->get_affected_rows()){ echo 1; return fa...
zyhhdcms
trunk/xm/index/admin/control/publicControl.php
PHP
asf20
1,878
<?php //回收站功能 class themeControl extends Control{ function theme_show(){ C("debug",1); $db=K("newsview");//使用扩展模型newsview; $catid=isset($_GET['catid'])?$_GET['catid']:false;//是否是通过点击栏目表进入的如果是就获取CID不然就返回false $where_catid=$catid?"catid='$catid'":'';//判断是否要按条件读取栏目表 $where_status=isset($_GET['statu...
zyhhdcms
trunk/xm/index/admin/control/themeControl.php
PHP
asf20
4,451
<?php class indexControl extends Control{ function index(){ $_SESSION['username']="zyh"; if(!empty($_SESSION['username'])){ $this->assign("username",$_SESSION['username']); $this->display(); }else{ $this->go("index/login"); } } function login(){//登录页面 $this->display(); } fun...
zyhhdcms
trunk/xm/index/admin/control/indexControl.php
PHP
asf20
1,016
<?php class configControl extends Control { function add_type_show(){ $this->display(); } function add_type(){ $db=M("config_type"); if($db->add()){ $this->success("配置组添加成功"); }else{ $this->error("系统出错了请再试一次吧"); } } function type(){ //C("debug",0); $db=M("config_type"); ...
zyhhdcms
trunk/xm/index/admin/control/configControl.php
PHP
asf20
2,858
<?php class imageControl extends Control{ function add_cate(){//添加图片栏目 $this->display(); } function imagecate_show(){//显示所有的图片栏 $db=M("category"); $category=$db->all(); $this->assign("category",$category); $this->display(); } function img_show(){ $db=K("imgsrelation"); $row=$db->fie...
zyhhdcms
trunk/xm/index/admin/control/imageControl.php
PHP
asf20
800
<?php class roleControl extends control{ function index(){ $db=K("userview"); $this->assign("row",$db->all()); $this->display(); } function role_set(){//角色设置 $this->display(); } function role_add_type(){//验证角色名是否存在 $db=M("role"); $rname=$_POST['data']; if($db->where("rname='$rname'")->fin...
zyhhdcms
trunk/xm/index/admin/control/roleControl.php
PHP
asf20
1,359
<?php class rbacControl extends control{ function role_set(){//角色设置 $this->display(); } function role_add(){//添加角色 $db=M("role"); if($db->add()){ $this->success("角色添加成功"); }else{ $this->error("角色添加失败"); } } function role_show(){//角色显示 $db=M("role"); $row=$db->all(); $this->...
zyhhdcms
trunk/xm/index/admin/control/rbacControl.php
PHP
asf20
2,547
<?php /** * Copyright [HD框架] (C)2011-2012 houdunwang ,Inc. * Encoding UTF-8 * @author 向军 * Link http://www.houdunwang.com * E-mail houdunwang@gmail.com */ /** * 本文件为语言包测试文件,在视图页面中通过{$hd.lang.title}即可调用 * 可以创建任意多个语言文件如...
zyhhdcms
trunk/xm/index/js/language/utf8.php
PHP
asf20
630
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{$hd.langUAGE.error_html_title}</title> <style type="text/css"> ...
zyhhdcms
trunk/xm/index/js/tpl/public/error.html
HTML
asf20
2,279
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{$hd.language.success_html_title}</title> <style type="text/css"> ...
zyhhdcms
trunk/xm/index/js/tpl/public/success.html
HTML
asf20
2,460
<?php if (!defined("PATH_HD")) exit; /** * Copyright [HD框架] (C)2011-2012 后盾网,Inc. * Encoding UTF-8 * Version $Id: newEmptyPHP.php 2012-2-18 下午01:53:33 * @author 向军 * Link http://www.houdunwang.com * E-mail ...
zyhhdcms
trunk/xm/index/js/config/config.php
PHP
asf20
9,132
<?php class indexControl extends Control{ function index(){ header("Content-type:text/html;charset=utf-8"); echo "<div style='font-size:16px;font-weight:bold;color:#333;margin-left:20px;border:solid 2px #F00;width:500px;height:30px;padding:30px 50px 20px;'>感谢使用由后盾网提供的HD开源框架,基础目录已经创建成功!</div>"; ...
zyhhdcms
trunk/xm/index/js/control/indexControl.php
PHP
asf20
382
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{$hd.langUAGE.error_html_title}</title> <style type="text/css"> ...
zyhhdcms
trunk/xm/index/tpl/public/error.html
HTML
asf20
2,279
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{$hd.language.success_html_title}</title> <style type="text/css"> ...
zyhhdcms
trunk/xm/index/tpl/public/success.html
HTML
asf20
2,460
<?php /** * Copyright [HD框架] (C)2011-2012 houdunwang ,Inc. * Encoding UTF-8 * @author 向军 * Link http://www.houdunwang.com * E-mail houdunwang@gmail.com */ /** * 本文件为语言包测试文件,在视图页面中通过{$hd.lang.title}即可调用 * 可以创建任意多个语言文件如...
zyhhdcms
trunk/xm/index/css/language/utf8.php
PHP
asf20
630
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{$hd.langUAGE.error_html_title}</title> <style type="text/css"> ...
zyhhdcms
trunk/xm/index/css/tpl/public/error.html
HTML
asf20
2,279
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{$hd.language.success_html_title}</title> <style type="text/css"> ...
zyhhdcms
trunk/xm/index/css/tpl/public/success.html
HTML
asf20
2,460
<?php if (!defined("PATH_HD")) exit; /** * Copyright [HD框架] (C)2011-2012 后盾网,Inc. * Encoding UTF-8 * Version $Id: newEmptyPHP.php 2012-2-18 下午01:53:33 * @author 向军 * Link http://www.houdunwang.com * E-mail ...
zyhhdcms
trunk/xm/index/css/config/config.php
PHP
asf20
9,132
<?php class indexControl extends Control{ function index(){ header("Content-type:text/html;charset=utf-8"); echo "<div style='font-size:16px;font-weight:bold;color:#333;margin-left:20px;border:solid 2px #F00;width:500px;height:30px;padding:30px 50px 20px;'>感谢使用由后盾网提供的HD开源框架,基础目录已经创建成功!</div>"; ...
zyhhdcms
trunk/xm/index/css/control/indexControl.php
PHP
asf20
382
<?php class fuwubjrelationModel extends relationModel{ public $table="fuwu_bj"; public $join=array( "xuqiu_fuwu"=>array( "type"=>"belongs_to", "foreign_key"=>"fid", ) ); } ?>
zyhhdcms
trunk/xm/index/index/model/fuwubjrelationModel.php
PHP
asf20
225
<?php class xuqiurelationModel extends relationModel{ public $table="xuqiu"; public $joib=array( "con"=>array( "foreign_key"=>"xid", "type"=>"has_one" ) ); } ?>
zyhhdcms
trunk/xm/index/index/model/xuqiurelationModel.php
PHP
asf20
201
<?php class xuqiuModel extends viewModel{ public $table="xuqiu"; public $view=array( "data"=>array( "join_type"=>"inner", "on"=>"xuqiu.xid=data.xid" ) ); } ?>
zyhhdcms
trunk/xm/index/index/model/xuqiuModel.php
PHP
asf20
195
<?php class roleviewModel extends viewModel{ public $table="user"; public $view=array( "user_role"=>array( "type"=>"inner", "on"=>"user_role.uid=user.uid" ), "role"=>array( "type"=>"inner", "on"=>"role.rid=user_role.rid" ) ); } ?>
zyhhdcms
trunk/xm/index/index/model/roleviewModel.php
PHP
asf20
273
<?php class xuqiuModel extends relationModel{ public $table="xuqiu"; public $joib=array( "thumb"=>array( "foeign_key"=>"xid", "type"=>"has_many" ), "con"=>array( "foreign_key"=>"xid", "type"=>"has_one" ) ); } ?>
zyhhdcms
trunk/xm/index/index/model/xuiqiuModel.php
PHP
asf20
271
<?php class userrelationModel extends relationModel{ public $table="user"; public $join=array( "user_role"=>array( "type"=>"has_one", "foreign_key"=>"uid", ) ); } ?>
zyhhdcms
trunk/xm/index/index/model/userrelationModel.php
PHP
asf20
204
<?php /** * Copyright [HD框架] (C)2011-2012 houdunwang ,Inc. * Encoding UTF-8 * Version $Id: functions 2012-8-23 13:04:34 * @author 向军 * Link http://www.houdunwang.com * E-mail houdunwangxj@gmail.com */ functi...
zyhhdcms
trunk/xm/index/index/libs/functions.php
PHP
asf20
2,308