<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('syscount'); ?> <!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" /> <title>数据统计</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="topToolbar"> <span class="title">数据统计</span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable"> <tr align="left"> <td height="45" colspan="3" class="firstCol"><strong class="sysCountNum">网站系统管理</strong></td> </tr> <tr align="left" class="head"> <td width="45%" height="36" class="firstCol">模块名称</td> <td width="10%">数据量</td> <td width="45%" class="action endCol">最后操作</td> </tr> <tr align="left" class="dataTr"> <td height="36" class="firstCol">管理员管理</td> <td><?php echo $dosql->GetTableRow('#@__admin'); ?> </td>
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('goodsbrand'); ?> <!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" /> <title>修改商品品牌</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/getuploadify.js"></script> <script type="text/javascript" src="templates/js/checkf.func.js"></script> </head> <body> <?php $row = $dosql->GetOne("SELECT * FROM `#@__goodsbrand` WHERE `id`={$id}"); ?> <div class="formHeader"> <span class="title">修改商品品牌</span> <a href="javascript:location.reload();" class="reload">刷新</a> </div> <form name="form" id="form" method="post" action="goodsbrand_save.php" onsubmit="return cfm_btype();"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="formTable"> <tr> <td width="25%" height="40" align="right">所属品牌:</td> <td width="75%"><select name="parentid" id="parentid"> <option value="0">一级品牌分类</option> <?php GetAllType('#@__goodsbrand', '#@__goodsbrand', 'parentid'); ?> </select> <span class="maroon">*</span><span class="cnote">带<span class="maroon">*</span>号表示为必填项</span></td>
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('diymodel'); /* ************************** (C)2010-2014 phpMyWind.com update: 2014-1-30 13:50:21 person: Feng ************************** */ //初始化参数 $r = $dosql->GetOne("SELECT * FROM `#@__diymodel` WHERE `modelname`='{$m}'"); $modelid = $r['id']; $tbname = $r['modeltbname']; $gourl = 'modeldata.php?m=' . $r['modelname']; $action = isset($action) ? $action : ''; //引入操作类 require_once ADMIN_INC . '/action.class.php'; //添加模型信息 if ($action == 'add') { //初始化信息 if (!isset($title)) { $title = ''; } if (!isset($flag)) { $flag = ''; } if (!isset($picurl)) { $picurl = ''; }
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('member'); /* ************************** (C)2010-2014 phpMyWind.com update: 2014-5-30 17:16:14 person: Feng ************************** */ //初始化参数 $tbname = '#@__member'; $gourl = 'member.php'; //引入操作类 require_once ADMIN_INC . '/action.class.php'; //添加会员 if ($action == 'add') { if (!isset($enteruser)) { $enteruser = ''; } if (preg_match("/[^0-9a-zA-Z_@!\\.-]/", $username) || preg_match("/[^0-9a-zA-Z_@!\\.-]/", $password)) { ShowMsg('用户名或密码非法!请使用[0-9a-zA-Z_@!.-]内的字符!', '-1'); exit; } if ($password != $repassword) { ShowMsg('两次输入的密码不一样!', '-1'); exit; } $r = $dosql->GetOne("SELECT username FROM `{$tbname}` WHERE username='******'"); if (!empty($r['username'])) {
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('web_config'); /* ************************** (C)2010-2014 phpMyWind.com update: 2012-8-22 9:08:29 person: Feng ************************** */ //初始化参数 $gourl = 'web_config.php'; $action = isset($action) ? $action : ''; //引入相关文件 $config_cache = PHPMYWIND_INC . '/config.cache.php'; $watermark_inc = PHPMYWIND_DATA . '/watermark/watermark.inc.php'; $manageui_inc = ADMIN_INC . '/manageui.inc.php'; //设置选项卡项 $config_tab_arr = array('基本设置', '附件设置', '性能设置', 'URL静态化', '核心设置'); //统计当前数组数量 $config_tab_num = count($config_tab_arr); //更新配置函数 function WriteConfig() { global $dosql, $config_cache, $gourl; $str = '<?php if(!defined(\'IN_PHPMYWIND\')) exit(\'Request Error!\');' . "\r\n\r\n"; $dosql->Execute("SELECT `varname`,`vartype`,`varvalue`,`vargroup` FROM `#@__webconfig` ORDER BY orderid ASC"); while ($row = $dosql->GetArray()) { //强制去掉 ' //强制去掉最后一位 /
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('weblinktype'); ?> <!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" /> <title>链接分类管理</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="topToolbar"> <span class="title">链接分类管理</span> <span class="text"><a href="weblink.php">链接管理</a></span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <form name="form" id="form" method="post" action=""> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable"> <tr align="left" class="head"> <td width="5%" height="36" class="firstCol"><input type="checkbox" name="checkid" onclick="CheckAll(this.checked);" /></td> <td width="3%">ID</td> <td width="40%">类别名称</td> <td width="20%" align="center" abbr="center">排序</td> <td width="32%" class="endCol">操作</td> </tr> </table> <?php function Show($id = 0, $i = 0) { global $dosql, $cfg_siteid; $dosql->Execute("SELECT * FROM `#@__weblinktype` WHERE siteid='{$cfg_siteid}' AND parentid={$id} ORDER BY orderid ASC", $id);
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('infolist'); /* ************************** (C)2010-2014 phpMyWind.com update: 2014-5-30 17:03:29 person: Feng ************************** */ //初始化参数 $tbname = '#@__infolist'; $gourl = 'infolist.php'; $action = isset($action) ? $action : ''; //添加列表信息 if ($action == 'add') { //栏目权限验证 IsCategoryPriv($classid, 'add'); //初始化参数 if (!isset($mainid)) { $mainid = '-1'; } if (!isset($flag)) { $flag = ''; } if (!isset($picarr)) { $picarr = ''; } if (!isset($rempic)) { $rempic = '';
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('job'); ?> <!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" /> <title>添加招聘信息</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/checkf.func.js"></script> <script type="text/javascript" src="editor/kindeditor-min.js"></script> <script type="text/javascript" src="editor/lang/zh_CN.js"></script> </head> <body> <div class="formHeader"> <span class="title">添加招聘信息</span> <a href="javascript:location.reload();" class="reload">刷新</a> </div> <form name="form" id="form" method="post" action="job_save.php" onsubmit="return cfm_job();"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="formTable"> <tr> <td width="25%" height="40" align="right">岗位名称:</td> <td width="75%"><input type="text" name="title" id="title" class="input" onblur="checkuser()" /> <span class="maroon">*</span><span class="cnote">带<span class="maroon">*</span>号表示为必填项</span> <span id="usernote"></span></td> </tr> <tr> <td height="40" align="right">工作地点:</td> <td><input type="text" name="jobplace" id="jobplace" class="input" /></td> </tr> <tr> <td height="40" align="right">工作性质:</td>
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('goods'); /* ************************** (C)2010-2015 phpMyWind.com update: 2014-5-30 14:07:16 person: Feng ************************** */ //初始化参数 $tbname = '#@__goods'; $gourl = 'goods.php'; $action = isset($action) ? $action : ''; //添加商品信息 if ($action == 'add') { //栏目权限验证 IsCategoryPriv($classid, 'add'); //初始化参数 if (!isset($typeid)) { $typeid = '-1'; } if (!isset($brandid)) { $brandid = '-1'; } if (!isset($attrid)) { $attrid = ''; } if (!isset($attrvalue)) { $attrvalue = '';
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('maintype'); ?> <!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" /> <title>二级类别管理</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="topToolbar"> <span class="title">二级类别管理</span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <form name="form" id="form" method="post" action=""> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable"> <tr align="left" class="head"> <td width="5%" height="36" class="firstCol"><input type="checkbox" name="checkid" onclick="CheckAll(this.checked);" /></td> <td width="3%">ID</td> <td width="40%">类别名称</td> <td width="20%" align="center" abbr="center">排序</td> <td width="32%" class="endCol">操作</td> </tr> </table> <?php function Show($id = 0, $i = 0) { global $dosql, $cfg_siteid; $i++;
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('info'); ?> <!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" /> <title>单页信息管理</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="topToolbar"> <span class="title">单页信息管理</span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable"> <tr align="left" class="head"> <td width="5%" height="36" class="firstCol">ID</td> <td width="40%">单页名称</td> <td width="40%">更新时间</td> <td width="15%" class="endCol">操作</td> </tr> <?php //权限验证 if ($cfg_adminlevel != 1) { //初始化参数 $catgoryListPriv = array(); $catgoryUpdatePriv = array(); $dosql->Execute("SELECT * FROM `#@__adminprivacy` WHERE `groupid`=" . $cfg_adminlevel . " AND `model`='category' AND `action`<>'add' AND `action`<>'del'"); while ($row = $dosql->GetArray()) {
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('goodsorder'); ?> <!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" /> <title>商品订单管理</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="topToolbar"> <span class="title">商品订单管理</span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <div class="toolbarTab"> <ul> <?php //初始化参数 $flag = isset($flag) ? $flag : 'all'; $keyword = isset($keyword) ? $keyword : ''; $flagArr = array('all' => '全部', 'core' => '星标', 'empty' => '未审', 'confirm' => '确认', 'payment' => '付款', 'postgoods' => '发货', 'getgoods' => '收货', 'applyreturn' => '申退', 'agreedreturn' => '退货', 'goodsback' => '返货', 'moneyback' => '退款', 'overorder' => '归档'); $flagArrNum = count($flagArr); $i = 1; foreach ($flagArr as $k => $v) { if ($flag == $k) { $flagOn = 'on'; } else { $flagOn = ''; }
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('usergroup'); /* ************************** (C)2010-2014 phpMyWind.com update: 2014-5-30 18:06:17 person: Feng ************************** */ //初始化参数 $tbname = '#@__usergroup'; $gourl = 'usergroup.php'; $action = isset($action) ? $action : ''; //引入操作类 require_once ADMIN_INC . '/action.class.php'; //保存操作 if ($action == 'save') { if ($groupname_add != '') { $dosql->ExecNoneQuery("INSERT INTO `{$tbname}` (groupname, expvala, expvalb, stars, color) VALUES ('{$groupname_add}', '{$expvala_add}', '{$expvalb_add}', '{$stars_add}', '{$color_add}')"); } if (isset($id)) { $ids = count($id); for ($i = 0; $i < $ids; $i++) { $dosql->ExecNoneQuery("UPDATE `{$tbname}` SET groupname='{$groupname[$i]}', expvala='{$expvala[$i]}', expvalb='{$expvalb[$i]}', stars='{$stars[$i]}', color='{$color[$i]}' WHERE id={$id[$i]}"); } } header("location:{$gourl}"); exit; } else {
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('soft'); /* ************************** (C)2010-2015 phpMyWind.com update: 2014-5-28 15:56:55 person: Feng ************************** */ //初始化参数 $action = isset($action) ? $action : ''; $keyword = isset($keyword) ? $keyword : ''; //删除单条记录 if ($action == 'del') { //栏目权限验证 $r = $dosql->GetOne("SELECT `classid` FROM `#@__{$tbname}` WHERE `id`={$id}"); IsCategoryPriv($r['classid'], 'del', 1); $deltime = time(); $dosql->ExecNoneQuery("UPDATE `#@__{$tbname}` SET delstate='true', deltime='{$deltime}' WHERE id={$id}"); } //删除选中记录 if ($action == 'delall') { if ($ids != '') { //解析id,验证是否有删除权限 $ids = explode(',', $ids); $idstr = ''; foreach ($ids as $id) { $r = $dosql->GetOne("SELECT `classid` FROM `#@__{$tbname}` WHERE `id`={$id}"); if (IsCategoryPriv($r['classid'], 'del', 1)) {
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('infoclass'); /* ************************** (C)2010-2014 phpMyWind.com update: 2014-5-30 16:53:58 person: Feng ************************** */ //初始化参数 $tbname = '#@__infoclass'; $gourl = 'infoclass.php'; //引入操作类 require_once ADMIN_INC . '/action.class.php'; //添加栏目 if ($action == 'add') { //权限验证 //如果parentid等于0,则是新添加的栏目,不验证权限 if ($parentid != 0) { IsCategoryPriv($parentid, 'add'); } $parentstr = $doaction->GetParentStr(); $sql = "INSERT INTO `{$tbname}` (siteid, parentid, parentstr, infotype, classname, linkurl, picurl, picwidth, picheight, seotitle, keywords, description, orderid, checkinfo) VALUES ('{$cfg_siteid}', '{$parentid}', '{$parentstr}', '{$infotype}', '{$classname}', '{$linkurl}', '{$picurl}', '{$picwidth}', '{$picheight}', '{$seotitle}', '{$keywords}', '{$description}', '{$orderid}', '{$checkinfo}')"; if ($dosql->ExecNoneQuery($sql)) { //为非超级管理员增加操作权限 if ($cfg_adminlevel != 1) { $groupid = $cfg_adminlevel; $siteid = $_SESSION['siteid']; $classid = $dosql->GetLastID();
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('upload_file'); ?> <!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" /> <title>上传新文件</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="topToolbar"> <span class="title">上传新文件</span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable"> <tr align="left" class="head"> <td height="36"> 技巧提示</td> </tr> <tr align="left"> <td><ul class="tipsList"> <li>如果您通过上传窗口上传失败时,您也可以尝试通过原始的上传方式进行上传,然后将上传地址手动填写到文本框内</li> <li>php.ini设置的最大内容提交限制为:<?php echo get_cfg_var('post_max_size'); ?> ;最大文件上传大小为:<?php echo get_cfg_var('upload_max_filesize') ? get_cfg_var('upload_max_filesize') : '不允许上传附件'; ?> </li> <li>允许上传格式 图片格式:<?php
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('adtype'); ?> <!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" /> <title>添加广告位</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/checkf.func.js"></script> </head> <body> <div class="formHeader"> <span class="title">添加广告位</span> <a href="javascript:location.reload();" class="reload">刷新</a> </div> <form name="form" id="form" method="post" action="adtype_save.php" onsubmit="return cfm_adtype();"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="formTable"> <tr> <td width="25%" height="40" align="right">所属广告位:</td> <td width="75%"><select name="parentid" id="parentid"> <option value="0">一级广告位</option> <?php GetAllType('#@__adtype', '#@__adtype', 'id'); ?> </select> <span class="maroon">*</span><span class="cnote">带<span class="maroon">*</span>号表示为必填项</span></td> </tr> <tr> <td height="40" align="right">广告位名称:</td> <td><input type="text" name="classname" id="classname" class="input" />
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('postmode'); /* ************************** (C)2010-2014 phpMyWind.com update: 2014-5-30 17:37:10 person: Feng ************************** */ //初始化参数 $tbname = '#@__postmode'; $gourl = 'postmode.php'; //引入操作类 require_once ADMIN_INC . '/action.class.php'; //保存配送方式 if ($action == 'save') { if ($classnameadd != '') { $dosql->ExecNoneQuery("INSERT INTO `{$tbname}` (classname, postprice, orderid, checkinfo) VALUES ('{$classnameadd}', '{$postpriceadd}', '{$orderidadd}', '{$checkinfoadd}')"); } if (isset($id)) { $ids = count($id); for ($i = 0; $i < $ids; $i++) { $dosql->ExecNoneQuery("UPDATE `{$tbname}` SET postprice='{$postprice[$i]}', orderid='{$orderid[$i]}', classname='{$classname[$i]}' WHERE id={$id[$i]}"); } } header("location:{$gourl}"); exit; } else { header("location:{$gourl}");
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('mobile'); ?> <!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" /> <title>手机网站设置</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript"> $(function(){ $(".tabMobile #h").click(function(){ $(".tabMobile a").removeClass(); $(this).addClass("on"); $("#preMobile").attr("class","preMobile"); }); $(".tabMobile #s").click(function(){ $(".tabMobile a").removeClass(); $(this).addClass("on"); $("#preMobile").attr("class","preMobile2"); }); }); </script> </head> <body> <div class="topToolbar"> <span class="title">手机网站设置</span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('weblink'); ?> <!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" /> <title>添加友情链接</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/getuploadify.js"></script> <script type="text/javascript" src="templates/js/checkf.func.js"></script> <script type="text/javascript" src="plugin/calendar/calendar.js"></script> </head> <body> <div class="formHeader"> <span class="title">添加友情链接</span> <a href="javascript:location.reload();" class="reload">刷新</a> </div> <form name="form" id="form" method="post" action="weblink_save.php" onsubmit="return cfm_weblink();"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="formTable"> <tr> <td width="25%" height="40" align="right">链接类型:</td> <td width="75%"><select name="classid" id="classid"> <option value="-1">请选择链接类型</option> <?php GetAllType('#@__weblinktype', '#@__weblinktype', 'id'); ?> </select> <span class="cnote">带<span class="maroon">*</span>号表示为必填项</span></td> </tr> <tr>
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('infoimg'); ?> <!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" /> <title>添加图片信息</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/getuploadify.js"></script> <script type="text/javascript" src="templates/js/checkf.func.js"></script> <script type="text/javascript" src="templates/js/getjcrop.js"></script> <script type="text/javascript" src="templates/js/getinfosrc.js"></script> <script type="text/javascript" src="plugin/colorpicker/colorpicker.js"></script> <script type="text/javascript" src="plugin/calendar/calendar.js"></script> <script type="text/javascript" src="editor/kindeditor-min.js"></script> <script type="text/javascript" src="editor/lang/zh_CN.js"></script> </head> <body> <div class="formHeader"> <span class="title">添加图片信息</span> <a href="javascript:location.reload();" class="reload">刷新</a> </div> <form name="form" id="form" method="post" action="infoimg_save.php" onsubmit="return cfm_infolm();"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="formTable"> <tr> <td width="25%" height="40" align="right">栏 目:</td> <td width="75%"><select name="classid" id="classid"> <option value="-1">请选择所属栏目</option> <?php CategoryType(2);
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('goodstype'); /* ************************** (C)2010-2014 phpMyWind.com update: 2014-5-30 16:45:58 person: Feng ************************** */ //初始化参数 $tbname = '#@__goodstype'; $gourl = 'goodstype.php'; //引入操作类 require_once ADMIN_INC . '/action.class.php'; //添加商品分类 if ($action == 'add') { $parentstr = $doaction->GetParentStr(); $sql = "INSERT INTO `{$tbname}` (parentid, parentstr, classname, picurl, linkurl, orderid, checkinfo) VALUES ('{$parentid}', '{$parentstr}', '{$classname}', '{$picurl}', '{$linkurl}', '{$orderid}', '{$checkinfo}')"; if ($dosql->ExecNoneQuery($sql)) { header("location:{$gourl}"); exit; } } else { if ($action == 'update') { $parentstr = $doaction->GetParentStr(); //更新所有关联parentstr if ($parentid != $repid) { $childtbname = '#@__goods'; //更新本类parentstr
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('admingroup'); ?> <!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" /> <title>添加管理组</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/checkf.func.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="formHeader"> <span class="title">添加管理组</span> <a href="javascript:location.reload();" class="reload">刷新</a> </div> <form name="form" id="form" method="post" action="admingroup_save.php" onsubmit="return cfm_admingroup();"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="formTable"> <tr> <td width="25%" height="40" align="right">管理组名称:</td> <td width="75%"><input type="text" name="groupname" id="groupname" class="input" /> <span class="maroon">*</span><span class="cnote">带<span class="maroon">*</span>号表示为必填项</span></td> </tr> <tr> <td height="118" align="right">管理组描述:</td> <td><textarea name="description" id="description" class="textarea"></textarea></td> </tr> <tr> <td height="40" align="right">默认进入站:</td> <td><?php
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('admin'); ?> <!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" /> <title>管理员管理</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="topToolbar"> <span class="title">管理员管理</span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable"> <tr align="left" class="head"> <td width="5%" height="36" class="firstCol">ID</td> <td width="25%">用户名</td> <td width="20%">管理组</td> <td width="20%">登录时间</td> <td width="15%">登录IP</td> <td width="15%" class="endCol">操作</td> </tr> <?php $sql = "SELECT * FROM `#@__admin`"; //如果非超级管理员,不显示超级管理员记录 if ($cfg_adminlevel != 1) { $sql .= " WHERE `levelname`>1"; }
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('site'); ?> <!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" /> <title>添加新站点</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/checkf.func.js"></script> <script type="text/javascript"> $(function(){ $("#site_key").blur(function(){ var site_key = $(this).val(); $("#site_lang").val(site_key); }); }); </script> </head> <body> <?php if (!empty($_SERVER['HTTP_HOST'])) { $baseurl = 'http://' . $_SERVER['HTTP_HOST']; } else { $baseurl = "http://" . $_SERVER['SERVER_NAME']; } ?> <div class="formHeader"> <span class="title">添加新站点</span> <a href="javascript:location.reload();" class="reload">刷新</a> </div>
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('cascade'); /* ************************** (C)2010-2015 phpMyWind.com update: 2014-5-30 12:16:06 person: Feng ************************** */ //初始化参数 $tbname = '#@__cascade'; $gourl = 'cascade.php'; $action = isset($action) ? $action : ''; //引入操作类 require_once ADMIN_INC . '/action.class.php'; //保存操作 if ($action == 'save') { if ($groupname_add != '') { $dosql->ExecNoneQuery("INSERT INTO `{$tbname}` (groupname, groupsign, orderid) VALUES ('{$groupname_add}', '{$groupsign_add}', '{$orderid_add}')"); } if (isset($id)) { $ids = count($id); for ($i = 0; $i < $ids; $i++) { $dosql->ExecNoneQuery("UPDATE `{$tbname}` SET groupname='{$groupname[$i]}', groupsign='{$groupsign[$i]}', orderid='{$orderid[$i]}' WHERE id={$id[$i]}"); } } header("location:{$gourl}"); exit; }
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('diymenu'); ?> <!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" /> <title>自定义菜单管理</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="topToolbar"> <span class="title">自定义菜单管理</span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <form name="form" id="form" method="post" action="diymenu_save.php"> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable"> <tr align="left" class="head"> <td width="5%" height="36" class="firstCol"><input type="checkbox" name="checkid" id="checkid" onclick="CheckAll(this.checked);"></td> <td width="30%">菜单项名称</td> <td width="20%">跳转链接</td> <td width="25%" align="center">排序</td> <td width="20%" class="endCol">操作</td> </tr> <?php $dosql->Execute("SELECT * FROM `#@__diymenu` WHERE `siteid`='{$cfg_siteid}' AND `parentid`=0 ORDER BY `orderid` ASC"); while ($row = $dosql->GetArray()) { switch ($row['checkinfo']) { case 'true': $checkinfo = '显示';
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('coupon'); /* ************************** (C)2010-2014 phpMyWind.com update: 2014-5-30 16:27:34 person: Feng ************************** */ //初始化参数 $tbname = '#@__coupon'; $gourl = 'coupon.php'; //引入操作类 require_once ADMIN_INC . '/action.class.php'; //添加 if ($action == 'add') { $price = isset($price) ? intval($price) : 0; $overprice = isset($overprice) ? intval($overprice) : 0; $num = isset($num) ? intval($num) : 0; if ($price == 0) { ShowMsg('优惠金额不能小于0!', '-1'); exit; } if ($overprice == 0) { ShowMsg('使用条件金额不能小于0!', '-1'); exit; } if ($starttime != '') { $starttime = strtotime($starttime);
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('message'); ?> <!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" /> <title>留言管理</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="topToolbar"> <span class="title">留言管理</span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <form name="form" id="form" method="post" action="message_save.php"> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable"> <tr align="left" class="head"> <td width="5%" height="36" class="firstCol"><input type="checkbox" name="checkid" id="checkid" onclick="CheckAll(this.checked);"></td> <td width="5%">ID</td> <td width="25%">留言内容</td> <td width="15%">用户名</td> <td width="20%">更新时间</td> <td width="15%">IP地址</td> <td width="15%" class="endCol">操作</td> </tr> <?php $dopage->GetPage("SELECT * FROM `#@__message` WHERE `siteid`='{$cfg_siteid}'"); while ($row = $dosql->GetArray()) { $content = '<span class="titflag" id="tit_' . $row['id'] . '">';
<?php require_once dirname(__FILE__) . '/inc/config.inc.php'; IsModelPriv('nav'); ?> <!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" /> <title>导航菜单管理</title> <link href="templates/style/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="templates/js/jquery.min.js"></script> <script type="text/javascript" src="templates/js/forms.func.js"></script> </head> <body> <div class="topToolbar"> <span class="title">导航菜单管理</span> <a href="javascript:location.reload();" class="reload">刷新</a></div> <form name="form" id="form" method="post" action=""> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable"> <tr align="left" class="head"> <td width="5%" height="36" class="firstCol"><input type="checkbox" name="checkid" onclick="CheckAll(this.checked);"></td> <td width="3%">ID</td> <td width="27%">导航名称</td> <td width="15%">跳转链接</td> <td width="15%" align="center">排序</td> <td width="25%" class="endCol">操作</td> </tr> </table> <?php function Show($id = 0, $i = 0) { global $dosql, $cfg_siteid;